CH Core (R4)
2.0.0 - STU 2
This page is part of the CH Core (R4) (v2.0.0: STU 2) based on FHIR R4. . For a full list of available versions, see the Directory of published versions
Defining URL: | http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-address-ech-11-placeofbirth |
Version: | 2.0.0 |
Name: | CHCoreAddressEch11PlaceOfBirth |
Title: | Address for place of Birth |
Status: | Active as of 2018-11-21T00:00:00+10:00 |
Definition: | PlaceOfBirth for ech-11 |
Publisher: | HL7 Switzerland |
Copyright: | CC-BY-SA-4.0 |
Source Resource: | XML / JSON / Turtle |
The official URL for this profile is:
http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-address-ech-11-placeofbirth
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from CHCoreAddress
This structure is derived from CHCoreAddress
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Address | 0..* | CHCoreAddress | An address expressed using postal conventions (as opposed to GPS or other location definition formats) | |
use | 0..0 | |||
type | 0..0 | |||
text | 0..0 | |||
line | 0..0 | |||
city | Σ | 0..1 | string | Place of Birth (municipality) |
extension:bfs | 0..1 | ECH007MunicipalityId | Extension | |
district | Σ | 0..0 | ||
state | Σ | 0..1 | string | Canton |
postalCode | 0..0 | |||
country | Σ | 0..1 | string | Country if place of Birth is not Switzerland |
period | 0..0 | |||
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Address | 0..* | CHCoreAddress | 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 | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
city | Σ | 0..1 | string | Place of Birth (municipality) Example General: Erewhon |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
ch-ext-ech-7-municipalityid | 0..1 | string | Extension URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-7-municipalityid | |
value | 0..1 | string | Primitive value for string Max Length: 1048576 | |
state | Σ | 0..1 | string | Canton |
country | Σ | 0..1 | string | Country if place of Birth is not Switzerland |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
iso21090-SC-coding | I | 0..1 | Coding | ISO Country Alpha-2 or ISO Country Alpha-3 code URL: http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding Binding: (unbound) (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. |
value | 0..1 | string | Primitive value for string Max Length: 1048576 | |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Address | 0..* | CHCoreAddress | An address expressed using postal conventions (as opposed to GPS or other location definition formats) | |
Documentation for this format |
This structure is derived from CHCoreAddress
Differential View
This structure is derived from CHCoreAddress
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Address | 0..* | CHCoreAddress | An address expressed using postal conventions (as opposed to GPS or other location definition formats) | |
use | 0..0 | |||
type | 0..0 | |||
text | 0..0 | |||
line | 0..0 | |||
city | Σ | 0..1 | string | Place of Birth (municipality) |
extension:bfs | 0..1 | ECH007MunicipalityId | Extension | |
district | Σ | 0..0 | ||
state | Σ | 0..1 | string | Canton |
postalCode | 0..0 | |||
country | Σ | 0..1 | string | Country if place of Birth is not Switzerland |
period | 0..0 | |||
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Address | 0..* | CHCoreAddress | 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 | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
city | Σ | 0..1 | string | Place of Birth (municipality) Example General: Erewhon |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
ch-ext-ech-7-municipalityid | 0..1 | string | Extension URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-7-municipalityid | |
value | 0..1 | string | Primitive value for string Max Length: 1048576 | |
state | Σ | 0..1 | string | Canton |
country | Σ | 0..1 | string | Country if place of Birth is not Switzerland |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
iso21090-SC-coding | I | 0..1 | Coding | ISO Country Alpha-2 or ISO Country Alpha-3 code URL: http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding Binding: (unbound) (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. |
value | 0..1 | string | Primitive value for string Max Length: 1048576 | |
Documentation for this format |
Other representations of profile: Schematron
Path | Conformance | ValueSet / Code |
Address.line.extension:addressLine1.value[x]:valueCode | required | Fixed Value: addressLine1 |
Address.line.extension:addressLine2.value[x]:valueCode | required | Fixed Value: addressLine2 |
Address.line.extension:street.value[x]:valueCode | required | Fixed Value: street |
Address.line.extension:postOfficeBoxText.value[x]:valueCode | required | Fixed Value: postOfficeBoxText |
Id | Path | Details | Requirements |
ele-1 | Address | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Address.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Address.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Address.line.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Address.line.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Address.line.extension:addressLine1 | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Address.line.extension:addressLine1 | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Address.line.extension:addressLine1.value[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Address.line.extension:addressLine1.value[x]:valueCode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Address.line.extension:addressLine2 | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Address.line.extension:addressLine2 | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Address.line.extension:addressLine2.value[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Address.line.extension:addressLine2.value[x]:valueCode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Address.line.extension:street | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Address.line.extension:street | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Address.line.extension:street.value[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Address.line.extension:street.value[x]:valueCode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Address.line.extension:houseNumber | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Address.line.extension:houseNumber | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Address.line.extension:unitID | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Address.line.extension:unitID | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Address.line.extension:postOfficeBoxText | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Address.line.extension:postOfficeBoxText | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Address.line.extension:postOfficeBoxText.value[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Address.line.extension:postOfficeBoxText.value[x]:valueCode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Address.line.extension:postOfficeBoxNumber | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Address.line.extension:postOfficeBoxNumber | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Address.city | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Address.city.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Address.city.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Address.city.extension:bfs | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Address.city.extension:bfs | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Address.state | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Address.country | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Address.country.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Address.country.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Address.country.extension:countrycode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Address.country.extension:countrycode | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ch-addr-1 | 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')) |