Tutorial
A complete, hands-on guide to testing your software against NP Core — from FHIR basics to automated testing in CI.
-
FHIR & NP Core basics
What FHIR is, how NP Core profiles it for Nepal, and the vocabulary you need.
-
Register & get approved
Create your company account, what MoHFS reviews, and what each status means.
-
Validate your first Patient
Walk through a real validation error and fix it step by step.
-
Reading the error report
Severity, location paths, categories, and terminology warnings vs errors.
-
Conformance scenarios
Work through the scenario checklist and produce your conformance report.
-
Machine testing via the API
API keys, curl, Postman, Python, Node, Java (HAPI) and .NET (Firely) examples.
-
Nepal-specific rules
Health ID, National ID, NHFR, NHWR, address coding, Bikram Sambat dates, caste/ethnicity.
-
CI integration
Fail your build when FHIR output stops conforming — GitHub Actions and GitLab CI.
-
Troubleshooting & FAQ
The most common problems and how to solve them.
-
Getting help
How to contact MoHFS and the sandbox team, and what to include.