Nepal HMIS FHIR Implementation Guide – 🚨 DRAFT VERSION
0.0.1-ballot - ci-build Nepal flag

Nepal HMIS FHIR Implementation Guide – 🚨 DRAFT VERSION - Local Development build (v0.0.1-ballot) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Extension: Ethnic Code

Official URL: https://fhir.hmis.gov.np/StructureDefinition/ethnic-code Version: 0.0.1-ballot
Active as of 2025-09-08 Computable Name: EthnicCodeEx

Copyright/Legal: Used by permission of HL7 International, all rights reserved Creative Commons License

Extension to capture जाति कोड (ethnicity) based on Nepali classification

Context of Use

    This extension may be used on the following element(s)

Usage info

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Ethnic Code
... extension 0..0
... url 1..1 uri "https://fhir.hmis.gov.np/StructureDefinition/ethnic-code"
... value[x] 0..1 Coding Value of extension
Binding: Ethnic Code (required)

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Ethnic Code
... id 0..1 id Unique id for inter-element referencing
... extension 0..0
... url 1..1 uri "https://fhir.hmis.gov.np/StructureDefinition/ethnic-code"

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type Coding: Extension to capture जाति कोड (ethnicity) based on Nepali classification

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Ethnic Code
... extension 0..0
... url 1..1 uri "https://fhir.hmis.gov.np/StructureDefinition/ethnic-code"
... value[x] 0..1 Coding Value of extension
Binding: Ethnic Code (required)

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Ethnic Code
... id 0..1 id Unique id for inter-element referencing
... extension 0..0
... url 1..1 uri "https://fhir.hmis.gov.np/StructureDefinition/ethnic-code"

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type Coding: Extension to capture जाति कोड (ethnicity) based on Nepali classification

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSetURI
Extension.value[x]requiredEthnicCodeVS(a valid code from Ethnic Code)
https://fhir.hmis.gov.np/ValueSet/ethnic-code
From this IG

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()