MedNet interface implementation guide
0.16.0 - CI Build
Publication Build: This will be filled in by the publication tooling
Official URL: https://mednet.swiss/fhir/StructureDefinition/mni-address | Version: 0.16.0 | |||
Active as of 2022-06-13 | Computable Name: MNIAddress | |||
Copyright/Legal: novcom AG |
MedNet Interface (MNI) - Address Profile
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | CHCoreAddress | An address expressed using postal conventions (as opposed to GPS or other location definition formats) | |
![]() ![]() ![]() |
?!SΣ | 0..1 | code | home | work | temp | old | billing - purpose of this address Binding: AddressUse (required): The use of an address. Example General: home |
![]() ![]() ![]() |
SΣ | 0..1 | code | postal | physical | both Binding: AddressType (required): The type of an address (physical / postal). Example General: both |
![]() ![]() ![]() |
SΣ | 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 |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | (Complex) | Extension URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype" | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | Value of extension Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Value of extension Binding: eCH-010 Address Line Type (required): A set of codes advising a system or user which name in a set of names to select for a given purpose. Fixed Value: addressLine1 | |
![]() ![]() ![]() ![]() ![]() |
0..1 | (Complex) | Extension URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype" | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | Value of extension Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Value of extension Binding: eCH-010 Address Line Type (required): A set of codes advising a system or user which name in a set of names to select for a given purpose. Fixed Value: addressLine2 | |
![]() ![]() ![]() ![]() ![]() |
0..1 | (Complex) | Extension URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype" | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | Value of extension Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Value of extension Binding: eCH-010 Address Line Type (required): A set of codes advising a system or user which name in a set of names to select for a given purpose. Fixed Value: street | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | houseNumber part of the street line URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | unitID, dwellingNumber part of the street line URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID | |
![]() ![]() ![]() ![]() ![]() |
0..1 | (Complex) | Postbox addresses need an postbox text and optional postbox number URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype" | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | Value of extension Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Value of extension Binding: eCH-010 Address Line Type (required): A set of codes advising a system or user which name in a set of names to select for a given purpose. Fixed Value: postOfficeBoxText | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Optional postOfficeBoxNumber as a separate part of the postOfficeBoxText URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox | |
![]() ![]() ![]() |
SΣ | 0..1 | string | Name of city, town etc. Example General: Erewhon |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Extension URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-7-municipalityid | |
![]() ![]() ![]() |
SΣ | 0..1 | string | Sub-unit of country (abbreviations ok) |
![]() ![]() ![]() |
SΣ | 0..1 | string | Postal code for area Example General: 9132 |
![]() ![]() ![]() |
SΣ | 0..1 | string | ISO 3166 2 or 3 letter country code |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Coding | ISO Country Alpha-2 or ISO Country Alpha-3 code URL: http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding Binding Description (No ValueSet): (example): A coded representation for a string. Could be codes for country in a country address part, codes for prefixes in a name part, etc. ch-addr-1: ISO Country Alpha-2 or ISO Country Alpha-3 code |
![]() |
Path | Conformance | ValueSet / Code | URI |
Address.use | required | AddressUsehttp://hl7.org/fhir/ValueSet/address-use|4.0.1 from the FHIR Standard | |
Address.type | required | AddressTypehttp://hl7.org/fhir/ValueSet/address-type|4.0.1 from the FHIR Standard | |
Address.line.extension:addressLine1.value[x]:valueCode | required | Fixed Value: addressLine1http://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype | |
Address.line.extension:addressLine2.value[x]:valueCode | required | Fixed Value: addressLine2http://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype | |
Address.line.extension:street.value[x]:valueCode | required | Fixed Value: streethttp://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype | |
Address.line.extension:postOfficeBoxText.value[x]:valueCode | required | Fixed Value: postOfficeBoxTexthttp://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype |
Id | Grade | Path(s) | Details | Requirements |
ch-addr-1 | error | Address.country.extension:countrycode | ISO Country Alpha-2 or ISO Country Alpha-3 code : ((valueCoding.code.length()=2) and valueCoding.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-2')) or ((valueCoding.code.length() = 3) and valueCoding.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-3')) | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
This structure is derived from CHCoreAddress
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
CHCoreAddress | |||
![]() ![]() ![]() |
S | 0..1 | code | home | work | temp | old | billing - purpose of this address |
![]() ![]() ![]() |
S | 0..1 | code | postal | physical | both |
![]() ![]() ![]() |
S | 0..* | string | Street name, number, direction & P.O. Box etc. |
![]() ![]() ![]() |
S | 0..1 | string | Name of city, town etc. |
![]() ![]() ![]() |
S | 0..1 | string | Sub-unit of country (abbreviations ok) |
![]() ![]() ![]() |
S | 0..1 | string | Postal code for area |
![]() ![]() ![]() |
S | 0..1 | string | ISO 3166 2 or 3 letter country code |
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | CHCoreAddress | An address expressed using postal conventions (as opposed to GPS or other location definition formats) | |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
?!SΣ | 0..1 | code | home | work | temp | old | billing - purpose of this address Binding: AddressUse (required): The use of an address. Example General: home |
![]() ![]() ![]() |
SΣ | 0..1 | code | postal | physical | both Binding: AddressType (required): The type of an address (physical / postal). Example General: both |
![]() ![]() ![]() |
Σ | 0..1 | string | Text representation of the address Example General: 137 Nowhere Street, Erewhon 9132 |
![]() ![]() ![]() |
SΣ | 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 |
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Ordered, Open by value:url, value:value | |
![]() ![]() ![]() ![]() ![]() |
0..1 | (Complex) | Extension URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype" | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | Value of extension Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Value of extension Binding: eCH-010 Address Line Type (required): A set of codes advising a system or user which name in a set of names to select for a given purpose. Fixed Value: addressLine1 | |
![]() ![]() ![]() ![]() ![]() |
0..1 | (Complex) | Extension URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype" | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | Value of extension Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Value of extension Binding: eCH-010 Address Line Type (required): A set of codes advising a system or user which name in a set of names to select for a given purpose. Fixed Value: addressLine2 | |
![]() ![]() ![]() ![]() ![]() |
0..1 | (Complex) | Extension URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype" | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | Value of extension Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Value of extension Binding: eCH-010 Address Line Type (required): A set of codes advising a system or user which name in a set of names to select for a given purpose. Fixed Value: street | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | houseNumber part of the street line URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | unitID, dwellingNumber part of the street line URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID | |
![]() ![]() ![]() ![]() ![]() |
0..1 | (Complex) | Postbox addresses need an postbox text and optional postbox number URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype" | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | Value of extension Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Value of extension Binding: eCH-010 Address Line Type (required): A set of codes advising a system or user which name in a set of names to select for a given purpose. Fixed Value: postOfficeBoxText | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Optional postOfficeBoxNumber as a separate part of the postOfficeBoxText URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox | |
![]() ![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |
![]() ![]() ![]() |
SΣ | 0..1 | string | Name of city, town etc. Example General: Erewhon |
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Extension URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-7-municipalityid | |
![]() ![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |
![]() ![]() ![]() |
Σ | 0..1 | string | District name (aka county) Example General: Madison |
![]() ![]() ![]() |
SΣ | 0..1 | string | Sub-unit of country (abbreviations ok) |
![]() ![]() ![]() |
SΣ | 0..1 | string | Postal code for area Example General: 9132 |
![]() ![]() ![]() |
SΣ | 0..1 | string | ISO 3166 2 or 3 letter country code |
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Coding | ISO Country Alpha-2 or ISO Country Alpha-3 code URL: http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding Binding Description (No ValueSet): (example): A coded representation for a string. Could be codes for country in a country address part, codes for prefixes in a name part, etc. ch-addr-1: ISO Country Alpha-2 or ISO Country Alpha-3 code |
![]() ![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when address was/is in use Example General: {"start":"2010-03-23","end":"2010-07-01"} |
![]() |
Path | Conformance | ValueSet / Code | URI |
Address.use | required | AddressUsehttp://hl7.org/fhir/ValueSet/address-use|4.0.1 from the FHIR Standard | |
Address.type | required | AddressTypehttp://hl7.org/fhir/ValueSet/address-type|4.0.1 from the FHIR Standard | |
Address.line.extension:addressLine1.value[x]:valueCode | required | Fixed Value: addressLine1http://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype | |
Address.line.extension:addressLine2.value[x]:valueCode | required | Fixed Value: addressLine2http://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype | |
Address.line.extension:street.value[x]:valueCode | required | Fixed Value: streethttp://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype | |
Address.line.extension:postOfficeBoxText.value[x]:valueCode | required | Fixed Value: postOfficeBoxTexthttp://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype |
Id | Grade | Path(s) | Details | Requirements |
ch-addr-1 | error | Address.country.extension:countrycode | ISO Country Alpha-2 or ISO Country Alpha-3 code : ((valueCoding.code.length()=2) and valueCoding.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-2')) or ((valueCoding.code.length() = 3) and valueCoding.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-3')) | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
This structure is derived from CHCoreAddress
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | CHCoreAddress | An address expressed using postal conventions (as opposed to GPS or other location definition formats) | |
![]() ![]() ![]() |
?!SΣ | 0..1 | code | home | work | temp | old | billing - purpose of this address Binding: AddressUse (required): The use of an address. Example General: home |
![]() ![]() ![]() |
SΣ | 0..1 | code | postal | physical | both Binding: AddressType (required): The type of an address (physical / postal). Example General: both |
![]() ![]() ![]() |
SΣ | 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 |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | (Complex) | Extension URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype" | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | Value of extension Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Value of extension Binding: eCH-010 Address Line Type (required): A set of codes advising a system or user which name in a set of names to select for a given purpose. Fixed Value: addressLine1 | |
![]() ![]() ![]() ![]() ![]() |
0..1 | (Complex) | Extension URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype" | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | Value of extension Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Value of extension Binding: eCH-010 Address Line Type (required): A set of codes advising a system or user which name in a set of names to select for a given purpose. Fixed Value: addressLine2 | |
![]() ![]() ![]() ![]() ![]() |
0..1 | (Complex) | Extension URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype" | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | Value of extension Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Value of extension Binding: eCH-010 Address Line Type (required): A set of codes advising a system or user which name in a set of names to select for a given purpose. Fixed Value: street | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | houseNumber part of the street line URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | unitID, dwellingNumber part of the street line URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID | |
![]() ![]() ![]() ![]() ![]() |
0..1 | (Complex) | Postbox addresses need an postbox text and optional postbox number URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype" | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | Value of extension Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Value of extension Binding: eCH-010 Address Line Type (required): A set of codes advising a system or user which name in a set of names to select for a given purpose. Fixed Value: postOfficeBoxText | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Optional postOfficeBoxNumber as a separate part of the postOfficeBoxText URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox | |
![]() ![]() ![]() |
SΣ | 0..1 | string | Name of city, town etc. Example General: Erewhon |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Extension URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-7-municipalityid | |
![]() ![]() ![]() |
SΣ | 0..1 | string | Sub-unit of country (abbreviations ok) |
![]() ![]() ![]() |
SΣ | 0..1 | string | Postal code for area Example General: 9132 |
![]() ![]() ![]() |
SΣ | 0..1 | string | ISO 3166 2 or 3 letter country code |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Coding | ISO Country Alpha-2 or ISO Country Alpha-3 code URL: http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding Binding Description (No ValueSet): (example): A coded representation for a string. Could be codes for country in a country address part, codes for prefixes in a name part, etc. ch-addr-1: ISO Country Alpha-2 or ISO Country Alpha-3 code |
![]() |
Path | Conformance | ValueSet / Code | URI |
Address.use | required | AddressUsehttp://hl7.org/fhir/ValueSet/address-use|4.0.1 from the FHIR Standard | |
Address.type | required | AddressTypehttp://hl7.org/fhir/ValueSet/address-type|4.0.1 from the FHIR Standard | |
Address.line.extension:addressLine1.value[x]:valueCode | required | Fixed Value: addressLine1http://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype | |
Address.line.extension:addressLine2.value[x]:valueCode | required | Fixed Value: addressLine2http://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype | |
Address.line.extension:street.value[x]:valueCode | required | Fixed Value: streethttp://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype | |
Address.line.extension:postOfficeBoxText.value[x]:valueCode | required | Fixed Value: postOfficeBoxTexthttp://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype |
Id | Grade | Path(s) | Details | Requirements |
ch-addr-1 | error | Address.country.extension:countrycode | ISO Country Alpha-2 or ISO Country Alpha-3 code : ((valueCoding.code.length()=2) and valueCoding.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-2')) or ((valueCoding.code.length() = 3) and valueCoding.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-3')) | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
Differential View
This structure is derived from CHCoreAddress
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
CHCoreAddress | |||
![]() ![]() ![]() |
S | 0..1 | code | home | work | temp | old | billing - purpose of this address |
![]() ![]() ![]() |
S | 0..1 | code | postal | physical | both |
![]() ![]() ![]() |
S | 0..* | string | Street name, number, direction & P.O. Box etc. |
![]() ![]() ![]() |
S | 0..1 | string | Name of city, town etc. |
![]() ![]() ![]() |
S | 0..1 | string | Sub-unit of country (abbreviations ok) |
![]() ![]() ![]() |
S | 0..1 | string | Postal code for area |
![]() ![]() ![]() |
S | 0..1 | string | ISO 3166 2 or 3 letter country code |
![]() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | CHCoreAddress | An address expressed using postal conventions (as opposed to GPS or other location definition formats) | |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
?!SΣ | 0..1 | code | home | work | temp | old | billing - purpose of this address Binding: AddressUse (required): The use of an address. Example General: home |
![]() ![]() ![]() |
SΣ | 0..1 | code | postal | physical | both Binding: AddressType (required): The type of an address (physical / postal). Example General: both |
![]() ![]() ![]() |
Σ | 0..1 | string | Text representation of the address Example General: 137 Nowhere Street, Erewhon 9132 |
![]() ![]() ![]() |
SΣ | 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 |
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Ordered, Open by value:url, value:value | |
![]() ![]() ![]() ![]() ![]() |
0..1 | (Complex) | Extension URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype" | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | Value of extension Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Value of extension Binding: eCH-010 Address Line Type (required): A set of codes advising a system or user which name in a set of names to select for a given purpose. Fixed Value: addressLine1 | |
![]() ![]() ![]() ![]() ![]() |
0..1 | (Complex) | Extension URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype" | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | Value of extension Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Value of extension Binding: eCH-010 Address Line Type (required): A set of codes advising a system or user which name in a set of names to select for a given purpose. Fixed Value: addressLine2 | |
![]() ![]() ![]() ![]() ![]() |
0..1 | (Complex) | Extension URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype" | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | Value of extension Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Value of extension Binding: eCH-010 Address Line Type (required): A set of codes advising a system or user which name in a set of names to select for a given purpose. Fixed Value: street | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | houseNumber part of the street line URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | unitID, dwellingNumber part of the street line URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID | |
![]() ![]() ![]() ![]() ![]() |
0..1 | (Complex) | Postbox addresses need an postbox text and optional postbox number URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-linetype" | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | Value of extension Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Value of extension Binding: eCH-010 Address Line Type (required): A set of codes advising a system or user which name in a set of names to select for a given purpose. Fixed Value: postOfficeBoxText | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Optional postOfficeBoxNumber as a separate part of the postOfficeBoxText URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox | |
![]() ![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |
![]() ![]() ![]() |
SΣ | 0..1 | string | Name of city, town etc. Example General: Erewhon |
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Extension URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-7-municipalityid | |
![]() ![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |
![]() ![]() ![]() |
Σ | 0..1 | string | District name (aka county) Example General: Madison |
![]() ![]() ![]() |
SΣ | 0..1 | string | Sub-unit of country (abbreviations ok) |
![]() ![]() ![]() |
SΣ | 0..1 | string | Postal code for area Example General: 9132 |
![]() ![]() ![]() |
SΣ | 0..1 | string | ISO 3166 2 or 3 letter country code |
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Coding | ISO Country Alpha-2 or ISO Country Alpha-3 code URL: http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding Binding Description (No ValueSet): (example): A coded representation for a string. Could be codes for country in a country address part, codes for prefixes in a name part, etc. ch-addr-1: ISO Country Alpha-2 or ISO Country Alpha-3 code |
![]() ![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when address was/is in use Example General: {"start":"2010-03-23","end":"2010-07-01"} |
![]() |
Path | Conformance | ValueSet / Code | URI |
Address.use | required | AddressUsehttp://hl7.org/fhir/ValueSet/address-use|4.0.1 from the FHIR Standard | |
Address.type | required | AddressTypehttp://hl7.org/fhir/ValueSet/address-type|4.0.1 from the FHIR Standard | |
Address.line.extension:addressLine1.value[x]:valueCode | required | Fixed Value: addressLine1http://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype | |
Address.line.extension:addressLine2.value[x]:valueCode | required | Fixed Value: addressLine2http://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype | |
Address.line.extension:street.value[x]:valueCode | required | Fixed Value: streethttp://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype | |
Address.line.extension:postOfficeBoxText.value[x]:valueCode | required | Fixed Value: postOfficeBoxTexthttp://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype |
Id | Grade | Path(s) | Details | Requirements |
ch-addr-1 | error | Address.country.extension:countrycode | ISO Country Alpha-2 or ISO Country Alpha-3 code : ((valueCoding.code.length()=2) and valueCoding.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-2')) or ((valueCoding.code.length() = 3) and valueCoding.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-3')) | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
This structure is derived from CHCoreAddress
Other representations of profile: CSV, Excel, Schematron