PH eReferral Implementation Guide
0.1.0 - ci-build
PH
PH eReferral Implementation Guide, published by SILab CoP IG Accelerator (eReferral). 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/niccoreyes/ph-ereferral/ and changes regularly. See the Directory of published versions
| Official URL: urn://example.com/ph-ereferral/fhir/StructureDefinition/ereferral-related-person | Version: 0.1.0 | ||||
| Draft as of 2026-05-26 | Computable Name: ERefRelatedPerson | ||||
RelatedPerson profile for the Philippine eReferral system. This profile represents optional patient contacts used in referral workflows, including next of kin, emergency contacts, accompanying persons, and guardians. It extends PHCoreRelatedPerson and maps to TDG element REF-29.
The EReferral RelatedPerson profile represents an optional patient contact exchanged as a separate resource in the Philippine eReferral workflow.
Use this profile when next-of-kin, emergency contact, guardian, or accompanying-person details need to be represented independently from Patient.contact. The profile maps to TDG element REF-29: Accompanied By / Next of Kin.
This profile supports:
This profile extends PHCoreRelatedPerson. PH Core already provides the Philippine localization for RelatedPerson, including PH Core address support. EReferral adds referral-specific must-support expectations and an extensible binding for common relationship roles.
The RelatedPerson resource is optional in an eReferral exchange. Systems may use Patient.contact for simple contact details. When a separate RelatedPerson resource is exchanged, patient remains required because FHIR R4 requires every RelatedPerson to identify the patient it is related to.
| Element | Cardinality | Description |
|---|---|---|
patient |
1..1 | Patient associated with this contact |
relationship |
0..* | Relationship to the patient |
name |
0..* | Name of the related person |
telecom |
0..* | Contact details |
address |
0..* | Address |
gender |
0..1 | Administrative gender |
birthDate |
0..1 | Date of birth |
period |
0..1 | Relationship validity period |
Usages:
You can also check for usages in the FHIR IG Statistics
Description Differentials, Snapshots, and other representations.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
0..* | PHCoreRelatedPerson | A person that is related to a patient, but who is not a direct target of care | |||||||||||||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||||||||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||||||||||||||
![]() ![]() |
Σ | 0..* | Identifier | A human identifier for this person Slice: Unordered, Open by value:system | ||||||||||||||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||||||||||||||
![]() ![]() ![]() ![]() |
?!SOΣ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
| ||||||||||||||||
![]() ![]() ![]() |
SOΣ | 0..* | PHCorePhilHealthID | A human identifier for this person
| ||||||||||||||||
![]() ![]() ![]() ![]() |
?!SOΣ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
| ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://philhealth.gov.ph/fhir/Identifier/philhealth-id | ||||||||||||||||
![]() ![]() ![]() |
SOΣ | 0..* | PHCorePhilSysID | A human identifier for this person
| ||||||||||||||||
![]() ![]() ![]() ![]() |
?!SOΣ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
| ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://philsys.gov.ph/fhir/Identifier/philsys-id | ||||||||||||||||
![]() ![]() |
?!Σ | 0..1 | boolean | Whether this related person's record is in active use | ||||||||||||||||
![]() ![]() |
SΣ | 1..1 | Reference(Patient) | Patient associated with this contact | ||||||||||||||||
![]() ![]() |
SOΣ | 0..* | CodeableConcept | Relationship to the patient Binding: eReferral Relationship Type (extensible)
| ||||||||||||||||
![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||||||||||||||
![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||||||||||||||
![]() ![]() |
SOΣ | 0..* | PHCoreName | Name of related person
| ||||||||||||||||
![]() ![]() |
SOΣ | 0..* | ContactPoint | Contact details for related person
| ||||||||||||||||
![]() ![]() |
SΣ | 0..1 | code | Administrative gender Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. | ||||||||||||||||
![]() ![]() |
SΣ | 0..1 | date | Date of birth | ||||||||||||||||
![]() ![]() |
SOΣ | 0..* | PHCoreAddress | Address of related person
| ||||||||||||||||
![]() ![]() |
S | 0..1 | Period | Relationship validity period | ||||||||||||||||
![]() ![]() |
0..* | BackboneElement | A language which may be used to communicate with about the patient's health | |||||||||||||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||||||||||||
![]() ![]() ![]() |
SO | 1..1 | CodeableConcept | The language which can be used to communicate with the patient about his or her health Binding: CommonLanguages (preferred): A human language.
| ||||||||||||||||
![]() ![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||||||||||||||
![]() ![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||||||||||||||
Documentation for this format | ||||||||||||||||||||
| Name | PH Core Creator | PH Core Server | PH Core Consumer![]() |
|---|---|---|---|
![]() |
|||
![]() ![]() |
|||
![]() ![]() ![]() |
|||
![]() ![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() ![]() |
|
|
|
![]() ![]() |
|
|
|
![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() |
|
|
|
![]() ![]() |
|
|
|
![]() ![]() |
|
|
|
![]() ![]() |
|
|
|
![]() ![]() |
|||
![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() ![]() |
|
|
|
Documentation for this format | |||
| Path | Status | Usage | ValueSet | Version | Source |
| RelatedPerson.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| RelatedPerson.identifier:PHCorePhilHealthID.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| RelatedPerson.identifier:PHCorePhilSysID.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| RelatedPerson.relationship | Base | extensible |
urn://example.com/ph-ereferral/fhir/ValueSet/ereferral-relationship-type |
Not State | Unknown |
| RelatedPerson.gender | Base | required | AdministrativeGender | 📍4.0.1 | FHIR Std. |
| RelatedPerson.communication.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | RelatedPerson | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | RelatedPerson | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | RelatedPerson | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | RelatedPerson | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | RelatedPerson | A resource should have narrative for robust management |
text.`div`.exists()
|
| 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()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | PHCoreRelatedPerson | A person that is related to a patient, but who is not a direct target of care | |
![]() ![]() |
S | 1..1 | Reference(Patient) | Patient associated with this contact |
![]() ![]() |
0..* | CodeableConcept | Relationship to the patient Binding: eReferral Relationship Type (extensible) | |
![]() ![]() |
0..* | PHCoreName | Name of related person | |
![]() ![]() |
0..* | ContactPoint | Contact details for related person | |
![]() ![]() |
S | 0..1 | code | Administrative gender |
![]() ![]() |
S | 0..1 | date | Date of birth |
![]() ![]() |
0..* | PHCoreAddress | Address of related person | |
![]() ![]() |
S | 0..1 | Period | Relationship validity period |
Documentation for this format | ||||
Name![]() |
|---|
Documentation for this format |
| Path | Status | Usage | ValueSet | Version | Source |
| RelatedPerson.relationship | Base | extensible |
urn://example.com/ph-ereferral/fhir/ValueSet/ereferral-relationship-type |
Not State | Unknown |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
0..* | PHCoreRelatedPerson | A person that is related to a patient, but who is not a direct target of care | |||||||||||||||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||||||||||||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||||||||||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||||||||||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||||||||||||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||||||||||||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||||||||||||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||||||||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||||||||||||||
![]() ![]() |
Σ | 0..* | Identifier | A human identifier for this person Slice: Unordered, Open by value:system | ||||||||||||||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||||||||||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||||||||
![]() ![]() ![]() ![]() |
?!SOΣ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
| ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The value that is unique Example General: 123456 | ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||||||||||||||
![]() ![]() ![]() |
SOΣ | 0..* | PHCorePhilHealthID | A human identifier for this person
| ||||||||||||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||||||||
![]() ![]() ![]() ![]() |
?!SOΣ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
| ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203 | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system Fixed Value: NH | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://philhealth.gov.ph/fhir/Identifier/philhealth-id | ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | PhilHealth ID Example General: 123456 Example PhilHealth ID: nn-nnnnnnnnn-n | ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||||||||||||||
![]() ![]() ![]() |
SOΣ | 0..* | PHCorePhilSysID | A human identifier for this person
| ||||||||||||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||||||||
![]() ![]() ![]() ![]() |
?!SOΣ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
| ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203 | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system Fixed Value: NI | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://philsys.gov.ph/fhir/Identifier/philsys-id | ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | PhilSys ID Example General: 123456 Example PhilSys ID: 1234-5678-9101-1213 | ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||||||||||||||
![]() ![]() |
?!Σ | 0..1 | boolean | Whether this related person's record is in active use | ||||||||||||||||
![]() ![]() |
SΣ | 1..1 | Reference(Patient) | Patient associated with this contact | ||||||||||||||||
![]() ![]() |
SOΣ | 0..* | CodeableConcept | Relationship to the patient Binding: eReferral Relationship Type (extensible)
| ||||||||||||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||||||||
![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||||||||||||||
![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||||||||||||||
![]() ![]() |
SOΣ | 0..* | PHCoreName | Name of related person
| ||||||||||||||||
![]() ![]() |
SOΣ | 0..* | ContactPoint | Contact details for related person
| ||||||||||||||||
![]() ![]() |
SΣ | 0..1 | code | Administrative gender Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. | ||||||||||||||||
![]() ![]() |
SΣ | 0..1 | date | Date of birth | ||||||||||||||||
![]() ![]() |
SOΣ | 0..* | PHCoreAddress | Address of related person
| ||||||||||||||||
![]() ![]() |
0..* | Attachment | Image of the person | |||||||||||||||||
![]() ![]() |
S | 0..1 | Period | Relationship validity period | ||||||||||||||||
![]() ![]() |
0..* | BackboneElement | A language which may be used to communicate with about the patient's health | |||||||||||||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||||||||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||||||||||||
![]() ![]() ![]() |
SO | 1..1 | CodeableConcept | The language which can be used to communicate with the patient about his or her health Binding: CommonLanguages (preferred): A human language.
| ||||||||||||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||||||||
![]() ![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||||||||||||||
![]() ![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||||||||||||||
![]() ![]() ![]() |
0..1 | boolean | Language preference indicator | |||||||||||||||||
Documentation for this format | ||||||||||||||||||||
| Name | PH Core Creator | PH Core Server | PH Core Consumer![]() |
|---|---|---|---|
![]() |
|||
![]() ![]() |
|||
![]() ![]() ![]() |
|||
![]() ![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() ![]() |
|
|
|
![]() ![]() |
|
|
|
![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() |
|
|
|
![]() ![]() |
|
|
|
![]() ![]() |
|
|
|
![]() ![]() |
|
|
|
![]() ![]() |
|||
![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() ![]() |
|
|
|
Documentation for this format | |||
| Path | Status | Usage | ValueSet | Version | Source |
| RelatedPerson.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| RelatedPerson.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| RelatedPerson.identifier.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| RelatedPerson.identifier:PHCorePhilHealthID.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| RelatedPerson.identifier:PHCorePhilHealthID.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| RelatedPerson.identifier:PHCorePhilSysID.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| RelatedPerson.identifier:PHCorePhilSysID.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| RelatedPerson.relationship | Base | extensible |
urn://example.com/ph-ereferral/fhir/ValueSet/ereferral-relationship-type |
Not State | Unknown |
| RelatedPerson.gender | Base | required | AdministrativeGender | 📍4.0.1 | FHIR Std. |
| RelatedPerson.communication.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | RelatedPerson | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | RelatedPerson | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | RelatedPerson | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | RelatedPerson | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | RelatedPerson | A resource should have narrative for robust management |
text.`div`.exists()
|
| 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()
|
| Name | PH Core Creator | PH Core Server | PH Core Consumer![]() |
|---|---|---|---|
![]() |
|||
![]() ![]() |
|||
![]() ![]() ![]() |
|||
![]() ![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() ![]() |
|
|
|
![]() ![]() |
|
|
|
![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() |
|
|
|
![]() ![]() |
|
|
|
![]() ![]() |
|
|
|
![]() ![]() |
|
|
|
![]() ![]() |
|||
![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() ![]() |
|
|
|
Documentation for this format | |||
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
0..* | PHCoreRelatedPerson | A person that is related to a patient, but who is not a direct target of care | |||||||||||||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||||||||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||||||||||||||
![]() ![]() |
Σ | 0..* | Identifier | A human identifier for this person Slice: Unordered, Open by value:system | ||||||||||||||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||||||||||||||
![]() ![]() ![]() ![]() |
?!SOΣ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
| ||||||||||||||||
![]() ![]() ![]() |
SOΣ | 0..* | PHCorePhilHealthID | A human identifier for this person
| ||||||||||||||||
![]() ![]() ![]() ![]() |
?!SOΣ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
| ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://philhealth.gov.ph/fhir/Identifier/philhealth-id | ||||||||||||||||
![]() ![]() ![]() |
SOΣ | 0..* | PHCorePhilSysID | A human identifier for this person
| ||||||||||||||||
![]() ![]() ![]() ![]() |
?!SOΣ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
| ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://philsys.gov.ph/fhir/Identifier/philsys-id | ||||||||||||||||
![]() ![]() |
?!Σ | 0..1 | boolean | Whether this related person's record is in active use | ||||||||||||||||
![]() ![]() |
SΣ | 1..1 | Reference(Patient) | Patient associated with this contact | ||||||||||||||||
![]() ![]() |
SOΣ | 0..* | CodeableConcept | Relationship to the patient Binding: eReferral Relationship Type (extensible)
| ||||||||||||||||
![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||||||||||||||
![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||||||||||||||
![]() ![]() |
SOΣ | 0..* | PHCoreName | Name of related person
| ||||||||||||||||
![]() ![]() |
SOΣ | 0..* | ContactPoint | Contact details for related person
| ||||||||||||||||
![]() ![]() |
SΣ | 0..1 | code | Administrative gender Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. | ||||||||||||||||
![]() ![]() |
SΣ | 0..1 | date | Date of birth | ||||||||||||||||
![]() ![]() |
SOΣ | 0..* | PHCoreAddress | Address of related person
| ||||||||||||||||
![]() ![]() |
S | 0..1 | Period | Relationship validity period | ||||||||||||||||
![]() ![]() |
0..* | BackboneElement | A language which may be used to communicate with about the patient's health | |||||||||||||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||||||||||||
![]() ![]() ![]() |
SO | 1..1 | CodeableConcept | The language which can be used to communicate with the patient about his or her health Binding: CommonLanguages (preferred): A human language.
| ||||||||||||||||
![]() ![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||||||||||||||
![]() ![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||||||||||||||
Documentation for this format | ||||||||||||||||||||
| Name | PH Core Creator | PH Core Server | PH Core Consumer![]() |
|---|---|---|---|
![]() |
|||
![]() ![]() |
|||
![]() ![]() ![]() |
|||
![]() ![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() ![]() |
|
|
|
![]() ![]() |
|
|
|
![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() |
|
|
|
![]() ![]() |
|
|
|
![]() ![]() |
|
|
|
![]() ![]() |
|
|
|
![]() ![]() |
|||
![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() ![]() |
|
|
|
Documentation for this format | |||
| Path | Status | Usage | ValueSet | Version | Source |
| RelatedPerson.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| RelatedPerson.identifier:PHCorePhilHealthID.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| RelatedPerson.identifier:PHCorePhilSysID.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| RelatedPerson.relationship | Base | extensible |
urn://example.com/ph-ereferral/fhir/ValueSet/ereferral-relationship-type |
Not State | Unknown |
| RelatedPerson.gender | Base | required | AdministrativeGender | 📍4.0.1 | FHIR Std. |
| RelatedPerson.communication.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | RelatedPerson | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | RelatedPerson | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | RelatedPerson | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | RelatedPerson | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | RelatedPerson | A resource should have narrative for robust management |
text.`div`.exists()
|
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | PHCoreRelatedPerson | A person that is related to a patient, but who is not a direct target of care | |
![]() ![]() |
S | 1..1 | Reference(Patient) | Patient associated with this contact |
![]() ![]() |
0..* | CodeableConcept | Relationship to the patient Binding: eReferral Relationship Type (extensible) | |
![]() ![]() |
0..* | PHCoreName | Name of related person | |
![]() ![]() |
0..* | ContactPoint | Contact details for related person | |
![]() ![]() |
S | 0..1 | code | Administrative gender |
![]() ![]() |
S | 0..1 | date | Date of birth |
![]() ![]() |
0..* | PHCoreAddress | Address of related person | |
![]() ![]() |
S | 0..1 | Period | Relationship validity period |
Documentation for this format | ||||
Name![]() |
|---|
Documentation for this format |
| Path | Status | Usage | ValueSet | Version | Source |
| RelatedPerson.relationship | Base | extensible |
urn://example.com/ph-ereferral/fhir/ValueSet/ereferral-relationship-type |
Not State | Unknown |
Snapshot ViewView
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
0..* | PHCoreRelatedPerson | A person that is related to a patient, but who is not a direct target of care | |||||||||||||||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||||||||||||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||||||||||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||||||||||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||||||||||||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||||||||||||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||||||||||||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||||||||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||||||||||||||
![]() ![]() |
Σ | 0..* | Identifier | A human identifier for this person Slice: Unordered, Open by value:system | ||||||||||||||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||||||||||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||||||||
![]() ![]() ![]() ![]() |
?!SOΣ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
| ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The value that is unique Example General: 123456 | ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||||||||||||||
![]() ![]() ![]() |
SOΣ | 0..* | PHCorePhilHealthID | A human identifier for this person
| ||||||||||||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||||||||
![]() ![]() ![]() ![]() |
?!SOΣ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
| ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203 | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system Fixed Value: NH | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://philhealth.gov.ph/fhir/Identifier/philhealth-id | ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | PhilHealth ID Example General: 123456 Example PhilHealth ID: nn-nnnnnnnnn-n | ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||||||||||||||
![]() ![]() ![]() |
SOΣ | 0..* | PHCorePhilSysID | A human identifier for this person
| ||||||||||||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||||||||
![]() ![]() ![]() ![]() |
?!SOΣ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
| ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203 | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system Fixed Value: NI | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://philsys.gov.ph/fhir/Identifier/philsys-id | ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | PhilSys ID Example General: 123456 Example PhilSys ID: 1234-5678-9101-1213 | ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||||||||||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||||||||||||||
![]() ![]() |
?!Σ | 0..1 | boolean | Whether this related person's record is in active use | ||||||||||||||||
![]() ![]() |
SΣ | 1..1 | Reference(Patient) | Patient associated with this contact | ||||||||||||||||
![]() ![]() |
SOΣ | 0..* | CodeableConcept | Relationship to the patient Binding: eReferral Relationship Type (extensible)
| ||||||||||||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||||||||
![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||||||||||||||
![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||||||||||||||
![]() ![]() |
SOΣ | 0..* | PHCoreName | Name of related person
| ||||||||||||||||
![]() ![]() |
SOΣ | 0..* | ContactPoint | Contact details for related person
| ||||||||||||||||
![]() ![]() |
SΣ | 0..1 | code | Administrative gender Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. | ||||||||||||||||
![]() ![]() |
SΣ | 0..1 | date | Date of birth | ||||||||||||||||
![]() ![]() |
SOΣ | 0..* | PHCoreAddress | Address of related person
| ||||||||||||||||
![]() ![]() |
0..* | Attachment | Image of the person | |||||||||||||||||
![]() ![]() |
S | 0..1 | Period | Relationship validity period | ||||||||||||||||
![]() ![]() |
0..* | BackboneElement | A language which may be used to communicate with about the patient's health | |||||||||||||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||||||||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||||||||||||
![]() ![]() ![]() |
SO | 1..1 | CodeableConcept | The language which can be used to communicate with the patient about his or her health Binding: CommonLanguages (preferred): A human language.
| ||||||||||||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||||||||
![]() ![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||||||||||||||
![]() ![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||||||||||||||
![]() ![]() ![]() |
0..1 | boolean | Language preference indicator | |||||||||||||||||
Documentation for this format | ||||||||||||||||||||
| Name | PH Core Creator | PH Core Server | PH Core Consumer![]() |
|---|---|---|---|
![]() |
|||
![]() ![]() |
|||
![]() ![]() ![]() |
|||
![]() ![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() ![]() |
|
|
|
![]() ![]() |
|
|
|
![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() |
|
|
|
![]() ![]() |
|
|
|
![]() ![]() |
|
|
|
![]() ![]() |
|
|
|
![]() ![]() |
|||
![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() ![]() |
|
|
|
Documentation for this format | |||
| Path | Status | Usage | ValueSet | Version | Source |
| RelatedPerson.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| RelatedPerson.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| RelatedPerson.identifier.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| RelatedPerson.identifier:PHCorePhilHealthID.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| RelatedPerson.identifier:PHCorePhilHealthID.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| RelatedPerson.identifier:PHCorePhilSysID.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| RelatedPerson.identifier:PHCorePhilSysID.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| RelatedPerson.relationship | Base | extensible |
urn://example.com/ph-ereferral/fhir/ValueSet/ereferral-relationship-type |
Not State | Unknown |
| RelatedPerson.gender | Base | required | AdministrativeGender | 📍4.0.1 | FHIR Std. |
| RelatedPerson.communication.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | RelatedPerson | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | RelatedPerson | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | RelatedPerson | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | RelatedPerson | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | RelatedPerson | A resource should have narrative for robust management |
text.`div`.exists()
|
| 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()
|
| Name | PH Core Creator | PH Core Server | PH Core Consumer![]() |
|---|---|---|---|
![]() |
|||
![]() ![]() |
|||
![]() ![]() ![]() |
|||
![]() ![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() ![]() |
|
|
|
![]() ![]() |
|
|
|
![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() |
|
|
|
![]() ![]() |
|
|
|
![]() ![]() |
|
|
|
![]() ![]() |
|
|
|
![]() ![]() |
|||
![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() ![]() |
|
|
|
![]() ![]() ![]() ![]() |
|
|
|
Documentation for this format | |||
Other representations of profile: CSV, Excel, Schematron