PH Core Implementation Guide
0.1.0 - ci-build
PH Core Implementation Guide, published by UP Manila SILab. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/UP-Manila-SILab/ph-core/ and changes regularly. See the Directory of published versions
Official URL: urn://example.com/ph-core/fhir/StructureDefinition/ph-core-address | Version: 0.1.0 | |||
Draft as of 2025-06-19 | Computable Name: PHCoreAddress |
An address for the individual.
Usages:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Address | An address expressed using postal conventions (as opposed to GPS or other location definition formats) | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..* | Coding | Extension URL: urn://example.com/ph-core/fhir/StructureDefinition/province Binding: Provinces (extensible) | |
![]() ![]() ![]() ![]() |
0..* | Coding | City/Municipality URL: urn://example.com/ph-core/fhir/StructureDefinition/city-municipality Binding: Cities (extensible) | |
![]() ![]() ![]() ![]() |
0..* | Coding | Extension URL: urn://example.com/ph-core/fhir/StructureDefinition/barangay Binding: Barangays (extensible) | |
![]() ![]() ![]() |
?!Σ | 0..1 | code | home | work | temp | old | billing - purpose of this address Binding: AddressUse (required): The use of an address. Example General: home |
![]() |
Path | Conformance | ValueSet | URI |
Address.use | required | AddressUsehttp://hl7.org/fhir/ValueSet/address-use|4.0.1 From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
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 Address
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Address | An address expressed using postal conventions (as opposed to GPS or other location definition formats) | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..* | Coding | Extension URL: urn://example.com/ph-core/fhir/StructureDefinition/province Binding: Provinces (extensible) | |
![]() ![]() ![]() ![]() |
0..* | Coding | City/Municipality URL: urn://example.com/ph-core/fhir/StructureDefinition/city-municipality Binding: Cities (extensible) | |
![]() ![]() ![]() ![]() |
0..* | Coding | Extension URL: urn://example.com/ph-core/fhir/StructureDefinition/barangay Binding: Barangays (extensible) | |
![]() |
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Address | 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 | |
![]() ![]() ![]() ![]() |
0..* | Coding | Extension URL: urn://example.com/ph-core/fhir/StructureDefinition/province Binding: Provinces (extensible) | |
![]() ![]() ![]() ![]() |
0..* | Coding | City/Municipality URL: urn://example.com/ph-core/fhir/StructureDefinition/city-municipality Binding: Cities (extensible) | |
![]() ![]() ![]() ![]() |
0..* | Coding | Extension URL: urn://example.com/ph-core/fhir/StructureDefinition/barangay Binding: Barangays (extensible) | |
![]() ![]() ![]() |
?!Σ | 0..1 | code | home | work | temp | old | billing - purpose of this address Binding: AddressUse (required): The use of an address. Example General: home |
![]() ![]() ![]() |
Σ | 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 |
![]() ![]() ![]() |
Σ | 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 | Name of city, town etc. Example General: Erewhon |
![]() ![]() ![]() |
Σ | 0..1 | string | District name (aka county) Example General: Madison |
![]() ![]() ![]() |
Σ | 0..1 | string | Sub-unit of country (abbreviations ok) |
![]() ![]() ![]() |
Σ | 0..1 | string | Postal code for area Example General: 9132 |
![]() ![]() ![]() |
Σ | 0..1 | string | Country (e.g. can be ISO 3166 2 or 3 letter code) |
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when address was/is in use Example General: {"start":"2010-03-23","end":"2010-07-01"} |
![]() |
Path | Conformance | ValueSet | 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 |
Id | Grade | Path(s) | Details | Requirements |
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 Address
Key Elements View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Address | An address expressed using postal conventions (as opposed to GPS or other location definition formats) | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..* | Coding | Extension URL: urn://example.com/ph-core/fhir/StructureDefinition/province Binding: Provinces (extensible) | |
![]() ![]() ![]() ![]() |
0..* | Coding | City/Municipality URL: urn://example.com/ph-core/fhir/StructureDefinition/city-municipality Binding: Cities (extensible) | |
![]() ![]() ![]() ![]() |
0..* | Coding | Extension URL: urn://example.com/ph-core/fhir/StructureDefinition/barangay Binding: Barangays (extensible) | |
![]() ![]() ![]() |
?!Σ | 0..1 | code | home | work | temp | old | billing - purpose of this address Binding: AddressUse (required): The use of an address. Example General: home |
![]() |
Path | Conformance | ValueSet | URI |
Address.use | required | AddressUsehttp://hl7.org/fhir/ValueSet/address-use|4.0.1 From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
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 Address
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Address | An address expressed using postal conventions (as opposed to GPS or other location definition formats) | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..* | Coding | Extension URL: urn://example.com/ph-core/fhir/StructureDefinition/province Binding: Provinces (extensible) | |
![]() ![]() ![]() ![]() |
0..* | Coding | City/Municipality URL: urn://example.com/ph-core/fhir/StructureDefinition/city-municipality Binding: Cities (extensible) | |
![]() ![]() ![]() ![]() |
0..* | Coding | Extension URL: urn://example.com/ph-core/fhir/StructureDefinition/barangay Binding: Barangays (extensible) | |
![]() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Address | 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 | |
![]() ![]() ![]() ![]() |
0..* | Coding | Extension URL: urn://example.com/ph-core/fhir/StructureDefinition/province Binding: Provinces (extensible) | |
![]() ![]() ![]() ![]() |
0..* | Coding | City/Municipality URL: urn://example.com/ph-core/fhir/StructureDefinition/city-municipality Binding: Cities (extensible) | |
![]() ![]() ![]() ![]() |
0..* | Coding | Extension URL: urn://example.com/ph-core/fhir/StructureDefinition/barangay Binding: Barangays (extensible) | |
![]() ![]() ![]() |
?!Σ | 0..1 | code | home | work | temp | old | billing - purpose of this address Binding: AddressUse (required): The use of an address. Example General: home |
![]() ![]() ![]() |
Σ | 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 |
![]() ![]() ![]() |
Σ | 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 | Name of city, town etc. Example General: Erewhon |
![]() ![]() ![]() |
Σ | 0..1 | string | District name (aka county) Example General: Madison |
![]() ![]() ![]() |
Σ | 0..1 | string | Sub-unit of country (abbreviations ok) |
![]() ![]() ![]() |
Σ | 0..1 | string | Postal code for area Example General: 9132 |
![]() ![]() ![]() |
Σ | 0..1 | string | Country (e.g. can be ISO 3166 2 or 3 letter code) |
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when address was/is in use Example General: {"start":"2010-03-23","end":"2010-07-01"} |
![]() |
Path | Conformance | ValueSet | 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 |
Id | Grade | Path(s) | Details | Requirements |
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 Address
Other representations of profile: CSV, Excel, Schematron