ImplementationGuide for Malaysia Core (MY Core)
0.0.1 - CI Build

ImplementationGuide for Malaysia Core (MY Core), published by Malaysia Healthcare Nexus (MHN). This guide is not an authorized publication; it is the continuous build for version 0.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/nhphong245/my-core-ig-r4/ and changes regularly. See the Directory of published versions

Extension: ExtensionCitizenship (MY Core)

Official URL: http://fhir.hie.moh.gov.my/StructureDefinition/citizenship-my-core Version: 0.0.1
Active as of 2024-02-12 Maturity Level: 1 Responsible: Malaysia Healthcare Nexus (MHN) Realm: International flag Computable Name: ExtensionCitizenshipMyCore

Extension to define the citizenship status of an individual

Context of Use

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

  • Element ID Patient

Usage info

Usage:

Formal Views of Extension Content

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

This structure is derived from Extension

Summary

Complex Extension: Extension to define the citizenship status of an individual

  • citizenship: boolean: An Extension
  • citizenshipStatus: code: An Extension

Maturity: 1

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:citizenship 0..* Extension Extension
..... url 1..1 uri "citizenship"
..... value[x] 0..1 boolean Value of extension
.... extension:citizenshipStatus 0..* Extension Extension
..... url 1..1 uri "citizenshipStatus"
..... value[x] 0..1 code Value of extension
... url 1..1 uri "http://fhir.hie.moh.gov.my/StructureDefinition/citizenship-my-core"
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Optional Extensions Element
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:citizenship 0..* Extension Extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "citizenship"
..... value[x] 0..1 boolean Value of extension
.... extension:citizenshipStatus 0..* Extension Extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "citizenshipStatus"
..... value[x] 0..1 code Value of extension
... url 1..1 uri "http://fhir.hie.moh.gov.my/StructureDefinition/citizenship-my-core"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: Extension to define the citizenship status of an individual

  • citizenship: boolean: An Extension
  • citizenshipStatus: code: An Extension

Maturity: 1

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:citizenship 0..* Extension Extension
..... url 1..1 uri "citizenship"
..... value[x] 0..1 boolean Value of extension
.... extension:citizenshipStatus 0..* Extension Extension
..... url 1..1 uri "citizenshipStatus"
..... value[x] 0..1 code Value of extension
... url 1..1 uri "http://fhir.hie.moh.gov.my/StructureDefinition/citizenship-my-core"
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Optional Extensions Element
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:citizenship 0..* Extension Extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "citizenship"
..... value[x] 0..1 boolean Value of extension
.... extension:citizenshipStatus 0..* Extension Extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "citizenshipStatus"
..... value[x] 0..1 code Value of extension
... url 1..1 uri "http://fhir.hie.moh.gov.my/StructureDefinition/citizenship-my-core"

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

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()