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

Data Type Profile: Address (MY Core)

Official URL: http://fhir.hie.moh.gov.my/StructureDefinition/Address-my-core Version: 0.0.1
Active as of 2024-02-14 Responsible: Malaysia Healthcare Nexus (MHN) Realm: International flag Computable Name: AddressMyCore

Usage:

Formal Views of Profile Content

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

This structure is derived from Address

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..* Address An address expressed using postal conventions (as opposed to GPS or other location definition formats)
... Slices for extension Content/Rules for all slices
.... state 0..1 CodeableConcept Optional Extensions Element
URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-state-my-core
Binding: ValueSetState (MY Core) (required)
.... district 0..1 CodeableConcept Optional Extensions Element
URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-district-my-core
Binding: ValueSetDistrict (MY Core) (required)
.... division 0..1 CodeableConcept Optional Extensions Element
URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-division-my-core
Binding: ValueSetDistrict (MY Core) (required)
.... subDivision 0..1 CodeableConcept Optional Extensions Element
URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-sub-division-my-core
... city 0..1 string Name of city, town etc.
Binding: ValueSetCity (MY Core) (example)
... postalCode 0..1 string Postal code for area
Binding: ValueSetPostCode (MY Core) (preferred)

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Address.cityexampleValueSetCityMyCore (a valid code from CodeSystemCity (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/city-my-core
from this IG
Address.postalCodepreferredValueSetPostcodeMyCore (a valid code from CodeSystemPostCode (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/postcode-my-core
from this IG
NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..* Address An address expressed using postal conventions (as opposed to GPS or other location definition formats)
... Slices for extension Content/Rules for all slices
.... state 0..1 CodeableConcept Optional Extensions Element
URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-state-my-core
Binding: ValueSetState (MY Core) (required)
.... district 0..1 CodeableConcept Optional Extensions Element
URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-district-my-core
Binding: ValueSetDistrict (MY Core) (required)
.... division 0..1 CodeableConcept Optional Extensions Element
URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-division-my-core
Binding: ValueSetDistrict (MY Core) (required)
.... subDivision 0..1 CodeableConcept Optional Extensions Element
URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-sub-division-my-core
... use ?!Σ 0..1 code home | work | temp | old | billing - purpose of this address
Binding: AddressUse (required): The use of an address.


Example General: home
... city Σ 0..1 string Name of city, town etc.
Binding: ValueSetCity (MY Core) (example)
Example General: Erewhon

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Address.userequiredAddressUse
http://hl7.org/fhir/ValueSet/address-use|4.0.1
from the FHIR Standard
Address.cityexampleValueSetCityMyCore (a valid code from CodeSystemCity (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/city-my-core
from this IG
Address.postalCodepreferredValueSetPostcodeMyCore (a valid code from CodeSystemPostCode (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/postcode-my-core
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()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..* Address An address expressed using postal conventions (as opposed to GPS or other location definition formats)
... 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
.... state 0..1 CodeableConcept Optional Extensions Element
URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-state-my-core
Binding: ValueSetState (MY Core) (required)
.... district 0..1 CodeableConcept Optional Extensions Element
URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-district-my-core
Binding: ValueSetDistrict (MY Core) (required)
.... division 0..1 CodeableConcept Optional Extensions Element
URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-division-my-core
Binding: ValueSetDistrict (MY Core) (required)
.... subDivision 0..1 CodeableConcept Optional Extensions Element
URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-sub-division-my-core
... use ?!Σ 0..1 code home | work | temp | old | billing - purpose of this address
Binding: AddressUse (required): The use of an address.


Example General: home
... text Σ 0..1 string Text representation of the address
Example General: 137 Nowhere Street, Erewhon 9132
... line Σ 0..* string Street name, number, direction & P.O. Box etc.
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
... city Σ 0..1 string Name of city, town etc.
Binding: ValueSetCity (MY Core) (example)
Example General: Erewhon
... district Σ 0..1 string District name (aka county)
Example General: Madison
... state Σ 0..1 string Sub-unit of country (abbreviations ok)
... postalCode Σ 0..1 string Postal code for area
Binding: ValueSetPostCode (MY Core) (preferred)
Example General: 9132
... country Σ 0..1 string Country (e.g. can be ISO 3166 2 or 3 letter code)
... period Σ 0..1 Period Time period when address was/is in use
Example General: {"start":"2010-03-23","end":"2010-07-01"}

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Address.userequiredAddressUse
http://hl7.org/fhir/ValueSet/address-use|4.0.1
from the FHIR Standard
Address.typerequiredAddressType
http://hl7.org/fhir/ValueSet/address-type|4.0.1
from the FHIR Standard
Address.cityexampleValueSetCityMyCore (a valid code from CodeSystemCity (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/city-my-core
from this IG
Address.postalCodepreferredValueSetPostcodeMyCore (a valid code from CodeSystemPostCode (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/postcode-my-core
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()

Differential View

This structure is derived from Address

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..* Address An address expressed using postal conventions (as opposed to GPS or other location definition formats)
... Slices for extension Content/Rules for all slices
.... state 0..1 CodeableConcept Optional Extensions Element
URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-state-my-core
Binding: ValueSetState (MY Core) (required)
.... district 0..1 CodeableConcept Optional Extensions Element
URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-district-my-core
Binding: ValueSetDistrict (MY Core) (required)
.... division 0..1 CodeableConcept Optional Extensions Element
URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-division-my-core
Binding: ValueSetDistrict (MY Core) (required)
.... subDivision 0..1 CodeableConcept Optional Extensions Element
URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-sub-division-my-core
... city 0..1 string Name of city, town etc.
Binding: ValueSetCity (MY Core) (example)
... postalCode 0..1 string Postal code for area
Binding: ValueSetPostCode (MY Core) (preferred)

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Address.cityexampleValueSetCityMyCore (a valid code from CodeSystemCity (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/city-my-core
from this IG
Address.postalCodepreferredValueSetPostcodeMyCore (a valid code from CodeSystemPostCode (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/postcode-my-core
from this IG

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..* Address An address expressed using postal conventions (as opposed to GPS or other location definition formats)
... Slices for extension Content/Rules for all slices
.... state 0..1 CodeableConcept Optional Extensions Element
URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-state-my-core
Binding: ValueSetState (MY Core) (required)
.... district 0..1 CodeableConcept Optional Extensions Element
URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-district-my-core
Binding: ValueSetDistrict (MY Core) (required)
.... division 0..1 CodeableConcept Optional Extensions Element
URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-division-my-core
Binding: ValueSetDistrict (MY Core) (required)
.... subDivision 0..1 CodeableConcept Optional Extensions Element
URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-sub-division-my-core
... use ?!Σ 0..1 code home | work | temp | old | billing - purpose of this address
Binding: AddressUse (required): The use of an address.


Example General: home
... city Σ 0..1 string Name of city, town etc.
Binding: ValueSetCity (MY Core) (example)
Example General: Erewhon

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Address.userequiredAddressUse
http://hl7.org/fhir/ValueSet/address-use|4.0.1
from the FHIR Standard
Address.cityexampleValueSetCityMyCore (a valid code from CodeSystemCity (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/city-my-core
from this IG
Address.postalCodepreferredValueSetPostcodeMyCore (a valid code from CodeSystemPostCode (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/postcode-my-core
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()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..* Address An address expressed using postal conventions (as opposed to GPS or other location definition formats)
... 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
.... state 0..1 CodeableConcept Optional Extensions Element
URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-state-my-core
Binding: ValueSetState (MY Core) (required)
.... district 0..1 CodeableConcept Optional Extensions Element
URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-district-my-core
Binding: ValueSetDistrict (MY Core) (required)
.... division 0..1 CodeableConcept Optional Extensions Element
URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-division-my-core
Binding: ValueSetDistrict (MY Core) (required)
.... subDivision 0..1 CodeableConcept Optional Extensions Element
URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-sub-division-my-core
... use ?!Σ 0..1 code home | work | temp | old | billing - purpose of this address
Binding: AddressUse (required): The use of an address.


Example General: home
... text Σ 0..1 string Text representation of the address
Example General: 137 Nowhere Street, Erewhon 9132
... line Σ 0..* string Street name, number, direction & P.O. Box etc.
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
... city Σ 0..1 string Name of city, town etc.
Binding: ValueSetCity (MY Core) (example)
Example General: Erewhon
... district Σ 0..1 string District name (aka county)
Example General: Madison
... state Σ 0..1 string Sub-unit of country (abbreviations ok)
... postalCode Σ 0..1 string Postal code for area
Binding: ValueSetPostCode (MY Core) (preferred)
Example General: 9132
... country Σ 0..1 string Country (e.g. can be ISO 3166 2 or 3 letter code)
... period Σ 0..1 Period Time period when address was/is in use
Example General: {"start":"2010-03-23","end":"2010-07-01"}

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Address.userequiredAddressUse
http://hl7.org/fhir/ValueSet/address-use|4.0.1
from the FHIR Standard
Address.typerequiredAddressType
http://hl7.org/fhir/ValueSet/address-type|4.0.1
from the FHIR Standard
Address.cityexampleValueSetCityMyCore (a valid code from CodeSystemCity (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/city-my-core
from this IG
Address.postalCodepreferredValueSetPostcodeMyCore (a valid code from CodeSystemPostCode (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/postcode-my-core
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()

 

Other representations of profile: CSV, Excel, Schematron