NHDR Implementation Guide Release 1.0
0.1.0 - ci-build

NHDR Implementation Guide Release 1.0, published by NHDR. 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/PhilHealth-NHDR-IG-Review/ and changes regularly. See the Directory of published versions

Resource Profile: PH RelatedPerson

Official URL: https://nhdr.gov.ph/fhir/StructureDefinition/PH-RelatedPerson Version: 0.1.0
Standards status: Draft Computable Name: PH_RelatedPerson

Copyright/Legal: Used by permission of HL7 International, all rights reserved Creative Commons License

Information about a person that is involved in the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: doco
RelatedPerson 0..* RelatedPerson A person that is related to a patient, but who is not a direct target of care
RelatedPerson.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
RelatedPerson.Slices for extension.extension:sex 0..1 code Sex at birth
URL: https://nhdr.gov.ph/fhir/StructureDefinition/Sex
Binding: Sex (required): Sex ValueSet
RelatedPerson.Slices for extension.extension:occupation 0..* CodeableConcept Occupation / In Years
URL: https://nhdr.gov.ph/fhir/StructureDefinition/Occupation
RelatedPerson.Slices for extension.extension:nationality 0..* (Complex) Nationality
URL: http://hl7.org/fhir/StructureDefinition/patient-nationality
RelatedPerson.Slices for extension.extension:maritalStatus 0..* CodeableConcept Marital Status
URL: https://nhdr.gov.ph/fhir/StructureDefinition/MaritalStatus
Binding: Marital Status Codes (required)
RelatedPerson.patient This element is included in summaries. 1..1 Reference(Patient) The patient this person is related to
RelatedPerson.address This element is included in summaries. 0..* PH_Address Address where the related person can be contacted or visited

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
RelatedPerson.communication.​language Base preferred Common Languages 📍4.0.1 FHIR Std.

Constraints

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()

This structure is derived from RelatedPerson

NameFlagsCard.TypeDescription & Constraints    Filter: doco
RelatedPerson 0..* RelatedPerson A person that is related to a patient, but who is not a direct target of care
RelatedPerson.meta
RelatedPerson.meta.Slices for extension Content/Rules for all slices
RelatedPerson.meta.Slices for extension.extension:hfRecordedDate 0..1 dateTime The recorded date indicating when the record was uploaded by the health facility.
URL: https://nhdr.gov.ph/fhir/StructureDefinition/HFRecordedDate
RelatedPerson.meta.Slices for extension.extension:hfLastUpdated 0..* dateTime The date indicating when the record was last updated by the health facility.
URL: https://nhdr.gov.ph/fhir/StructureDefinition/HFLastUpdated
RelatedPerson.meta.lastUpdated 0..1 instant When the resource was uploaded to the NHDR.
RelatedPerson.implicitRules 0..0 A set of rules under which this content was created
RelatedPerson.language 0..0 Language of the resource content
RelatedPerson.contained 0..0 Contained, inline Resources
RelatedPerson.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
RelatedPerson.Slices for extension.extension:sex 0..1 code Sex at birth
URL: https://nhdr.gov.ph/fhir/StructureDefinition/Sex
Binding: Sex (required): Sex ValueSet
RelatedPerson.Slices for extension.extension:occupation 0..* CodeableConcept Occupation / In Years
URL: https://nhdr.gov.ph/fhir/StructureDefinition/Occupation
RelatedPerson.Slices for extension.extension:nationality 0..* (Complex) Nationality
URL: http://hl7.org/fhir/StructureDefinition/patient-nationality
RelatedPerson.Slices for extension.extension:maritalStatus 0..* CodeableConcept Marital Status
URL: https://nhdr.gov.ph/fhir/StructureDefinition/MaritalStatus
Binding: Marital Status Codes (required)
RelatedPerson.modifierExtension 0..0 Extension
RelatedPerson.active 0..0 Whether this related person's record is in active use
RelatedPerson.name
RelatedPerson.name.id 0..0 Unique id for inter-element referencing
RelatedPerson.name.extension 0..0 Extension
RelatedPerson.name.use 0..0 usual | official | temp | nickname | anonymous | old | maiden
RelatedPerson.name.text 0..0 Text representation of the full name
RelatedPerson.name.prefix 0..0 Parts that come before the name
RelatedPerson.name.period 0..0 Time period when name was/is in use
RelatedPerson.telecom
RelatedPerson.telecom.id 0..0 Unique id for inter-element referencing
RelatedPerson.telecom.extension 0..0 Extension
RelatedPerson.telecom.use 0..0 home | work | temp | old | mobile - purpose of this contact point
RelatedPerson.telecom.rank 0..0 Specify preferred order of use (1 = highest)
RelatedPerson.telecom.period 0..0 Time period when the contact point was/is in use
RelatedPerson.gender 0..0 male | female | other | unknown
RelatedPerson.address 0..* PH_Address Address where the related person can be contacted or visited
RelatedPerson.photo 0..0 Image of the person
RelatedPerson.period 0..0 Period of time that this relationship is considered valid
RelatedPerson.communication 0..0 A language which may be used to communicate with about the patient's health

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: doco
RelatedPerson 0..* RelatedPerson A person that is related to a patient, but who is not a direct target of care
RelatedPerson.id This element is included in summaries. 0..1 id Logical id of this artifact
RelatedPerson.meta This element is included in summaries. 0..1 Meta Metadata about the resource
RelatedPerson.meta.id 0..1 string Unique id for inter-element referencing
RelatedPerson.meta.Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
RelatedPerson.meta.Slices for extension.extension:hfRecordedDate 0..1 dateTime The recorded date indicating when the record was uploaded by the health facility.
URL: https://nhdr.gov.ph/fhir/StructureDefinition/HFRecordedDate
RelatedPerson.meta.Slices for extension.extension:hfLastUpdated 0..* dateTime The date indicating when the record was last updated by the health facility.
URL: https://nhdr.gov.ph/fhir/StructureDefinition/HFLastUpdated
RelatedPerson.meta.versionId This element is included in summaries. 0..1 id Version specific identifier
RelatedPerson.meta.lastUpdated This element is included in summaries. 0..1 instant When the resource was uploaded to the NHDR.
RelatedPerson.meta.source This element is included in summaries. 0..1 uri Identifies where the resource comes from
RelatedPerson.meta.profile This element is included in summaries. 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
RelatedPerson.meta.security This element is included in summaries. 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
RelatedPerson.meta.tag This element is included in summaries. 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
RelatedPerson.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
RelatedPerson.Slices for extension.extension:sex 0..1 code Sex at birth
URL: https://nhdr.gov.ph/fhir/StructureDefinition/Sex
Binding: Sex (required): Sex ValueSet
RelatedPerson.Slices for extension.extension:occupation 0..* CodeableConcept Occupation / In Years
URL: https://nhdr.gov.ph/fhir/StructureDefinition/Occupation
RelatedPerson.Slices for extension.extension:nationality 0..* (Complex) Nationality
URL: http://hl7.org/fhir/StructureDefinition/patient-nationality
RelatedPerson.Slices for extension.extension:maritalStatus 0..* CodeableConcept Marital Status
URL: https://nhdr.gov.ph/fhir/StructureDefinition/MaritalStatus
Binding: Marital Status Codes (required)
RelatedPerson.identifier This element is included in summaries. 0..* Identifier A human identifier for this person
RelatedPerson.patient This element is included in summaries. 1..1 Reference(Patient) The patient this person is related to
RelatedPerson.relationship This element is included in summaries. 0..* CodeableConcept The nature of the relationship
Binding: PatientRelationshipType (preferred): The nature of the relationship between a patient and the related person.
RelatedPerson.name This element is included in summaries. 0..* HumanName A name associated with the person
RelatedPerson.name.extension 0..0 Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
RelatedPerson.name.family This element is included in summaries. 0..1 string Family name (often called 'Surname')
RelatedPerson.name.given This element is included in summaries. 0..* string Given names (not always 'first'). Includes middle names
This repeating element order: Given Names appear in the correct order for presenting the name
RelatedPerson.name.suffix This element is included in summaries. 0..* string Parts that come after the name
This repeating element order: Suffixes appear in the correct order for presenting the name
RelatedPerson.telecom This element is included in summaries. 0..* ContactPoint A contact detail for the person
RelatedPerson.telecom.extension 0..0 Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
RelatedPerson.telecom.system This element is included in summaries. C 0..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.
RelatedPerson.telecom.value This element is included in summaries. 0..1 string The actual contact point details
RelatedPerson.birthDate This element is included in summaries. 0..1 date The date on which the related person was born
RelatedPerson.address This element is included in summaries. 0..* PH_Address Address where the related person can be contacted or visited

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
RelatedPerson.meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
RelatedPerson.meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
RelatedPerson.relationship Base preferred Patient relationship type 📍4.0.1 FHIR Std.
RelatedPerson.telecom.​system Base required ContactPointSystem 📍4.0.1 FHIR Std.
RelatedPerson.communication.​language Base preferred Common Languages 📍4.0.1 FHIR Std.

Constraints

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()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
RelatedPerson 0..* RelatedPerson A person that is related to a patient, but who is not a direct target of care
RelatedPerson.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
RelatedPerson.Slices for extension.extension:sex 0..1 code Sex at birth
URL: https://nhdr.gov.ph/fhir/StructureDefinition/Sex
Binding: Sex (required): Sex ValueSet
RelatedPerson.Slices for extension.extension:occupation 0..* CodeableConcept Occupation / In Years
URL: https://nhdr.gov.ph/fhir/StructureDefinition/Occupation
RelatedPerson.Slices for extension.extension:nationality 0..* (Complex) Nationality
URL: http://hl7.org/fhir/StructureDefinition/patient-nationality
RelatedPerson.Slices for extension.extension:maritalStatus 0..* CodeableConcept Marital Status
URL: https://nhdr.gov.ph/fhir/StructureDefinition/MaritalStatus
Binding: Marital Status Codes (required)
RelatedPerson.patient This element is included in summaries. 1..1 Reference(Patient) The patient this person is related to
RelatedPerson.address This element is included in summaries. 0..* PH_Address Address where the related person can be contacted or visited

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
RelatedPerson.communication.​language Base preferred Common Languages 📍4.0.1 FHIR Std.

Constraints

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

This structure is derived from RelatedPerson

NameFlagsCard.TypeDescription & Constraints    Filter: doco
RelatedPerson 0..* RelatedPerson A person that is related to a patient, but who is not a direct target of care
RelatedPerson.meta
RelatedPerson.meta.Slices for extension Content/Rules for all slices
RelatedPerson.meta.Slices for extension.extension:hfRecordedDate 0..1 dateTime The recorded date indicating when the record was uploaded by the health facility.
URL: https://nhdr.gov.ph/fhir/StructureDefinition/HFRecordedDate
RelatedPerson.meta.Slices for extension.extension:hfLastUpdated 0..* dateTime The date indicating when the record was last updated by the health facility.
URL: https://nhdr.gov.ph/fhir/StructureDefinition/HFLastUpdated
RelatedPerson.meta.lastUpdated 0..1 instant When the resource was uploaded to the NHDR.
RelatedPerson.implicitRules 0..0 A set of rules under which this content was created
RelatedPerson.language 0..0 Language of the resource content
RelatedPerson.text 0..0 Text summary of the resource, for human interpretation
RelatedPerson.contained 0..0 Contained, inline Resources
RelatedPerson.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
RelatedPerson.Slices for extension.extension:sex 0..1 code Sex at birth
URL: https://nhdr.gov.ph/fhir/StructureDefinition/Sex
Binding: Sex (required): Sex ValueSet
RelatedPerson.Slices for extension.extension:occupation 0..* CodeableConcept Occupation / In Years
URL: https://nhdr.gov.ph/fhir/StructureDefinition/Occupation
RelatedPerson.Slices for extension.extension:nationality 0..* (Complex) Nationality
URL: http://hl7.org/fhir/StructureDefinition/patient-nationality
RelatedPerson.Slices for extension.extension:maritalStatus 0..* CodeableConcept Marital Status
URL: https://nhdr.gov.ph/fhir/StructureDefinition/MaritalStatus
Binding: Marital Status Codes (required)
RelatedPerson.modifierExtension 0..0 Extension
RelatedPerson.active 0..0 Whether this related person's record is in active use
RelatedPerson.name
RelatedPerson.name.id 0..0 Unique id for inter-element referencing
RelatedPerson.name.extension 0..0 Extension
RelatedPerson.name.use 0..0 usual | official | temp | nickname | anonymous | old | maiden
RelatedPerson.name.text 0..0 Text representation of the full name
RelatedPerson.name.prefix 0..0 Parts that come before the name
RelatedPerson.name.period 0..0 Time period when name was/is in use
RelatedPerson.telecom
RelatedPerson.telecom.id 0..0 Unique id for inter-element referencing
RelatedPerson.telecom.extension 0..0 Extension
RelatedPerson.telecom.use 0..0 home | work | temp | old | mobile - purpose of this contact point
RelatedPerson.telecom.rank 0..0 Specify preferred order of use (1 = highest)
RelatedPerson.telecom.period 0..0 Time period when the contact point was/is in use
RelatedPerson.gender 0..0 male | female | other | unknown
RelatedPerson.address 0..* PH_Address Address where the related person can be contacted or visited
RelatedPerson.photo 0..0 Image of the person
RelatedPerson.period 0..0 Period of time that this relationship is considered valid
RelatedPerson.communication 0..0 A language which may be used to communicate with about the patient's health

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
RelatedPerson 0..* RelatedPerson A person that is related to a patient, but who is not a direct target of care
RelatedPerson.id This element is included in summaries. 0..1 id Logical id of this artifact
RelatedPerson.meta This element is included in summaries. 0..1 Meta Metadata about the resource
RelatedPerson.meta.id 0..1 string Unique id for inter-element referencing
RelatedPerson.meta.Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
RelatedPerson.meta.Slices for extension.extension:hfRecordedDate 0..1 dateTime The recorded date indicating when the record was uploaded by the health facility.
URL: https://nhdr.gov.ph/fhir/StructureDefinition/HFRecordedDate
RelatedPerson.meta.Slices for extension.extension:hfLastUpdated 0..* dateTime The date indicating when the record was last updated by the health facility.
URL: https://nhdr.gov.ph/fhir/StructureDefinition/HFLastUpdated
RelatedPerson.meta.versionId This element is included in summaries. 0..1 id Version specific identifier
RelatedPerson.meta.lastUpdated This element is included in summaries. 0..1 instant When the resource was uploaded to the NHDR.
RelatedPerson.meta.source This element is included in summaries. 0..1 uri Identifies where the resource comes from
RelatedPerson.meta.profile This element is included in summaries. 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
RelatedPerson.meta.security This element is included in summaries. 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
RelatedPerson.meta.tag This element is included in summaries. 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
RelatedPerson.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
RelatedPerson.Slices for extension.extension:sex 0..1 code Sex at birth
URL: https://nhdr.gov.ph/fhir/StructureDefinition/Sex
Binding: Sex (required): Sex ValueSet
RelatedPerson.Slices for extension.extension:occupation 0..* CodeableConcept Occupation / In Years
URL: https://nhdr.gov.ph/fhir/StructureDefinition/Occupation
RelatedPerson.Slices for extension.extension:nationality 0..* (Complex) Nationality
URL: http://hl7.org/fhir/StructureDefinition/patient-nationality
RelatedPerson.Slices for extension.extension:maritalStatus 0..* CodeableConcept Marital Status
URL: https://nhdr.gov.ph/fhir/StructureDefinition/MaritalStatus
Binding: Marital Status Codes (required)
RelatedPerson.identifier This element is included in summaries. 0..* Identifier A human identifier for this person
RelatedPerson.patient This element is included in summaries. 1..1 Reference(Patient) The patient this person is related to
RelatedPerson.relationship This element is included in summaries. 0..* CodeableConcept The nature of the relationship
Binding: PatientRelationshipType (preferred): The nature of the relationship between a patient and the related person.
RelatedPerson.name This element is included in summaries. 0..* HumanName A name associated with the person
RelatedPerson.name.extension 0..0 Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
RelatedPerson.name.family This element is included in summaries. 0..1 string Family name (often called 'Surname')
RelatedPerson.name.given This element is included in summaries. 0..* string Given names (not always 'first'). Includes middle names
This repeating element order: Given Names appear in the correct order for presenting the name
RelatedPerson.name.suffix This element is included in summaries. 0..* string Parts that come after the name
This repeating element order: Suffixes appear in the correct order for presenting the name
RelatedPerson.telecom This element is included in summaries. 0..* ContactPoint A contact detail for the person
RelatedPerson.telecom.extension 0..0 Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
RelatedPerson.telecom.system This element is included in summaries. C 0..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.
RelatedPerson.telecom.value This element is included in summaries. 0..1 string The actual contact point details
RelatedPerson.birthDate This element is included in summaries. 0..1 date The date on which the related person was born
RelatedPerson.address This element is included in summaries. 0..* PH_Address Address where the related person can be contacted or visited

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
RelatedPerson.meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
RelatedPerson.meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
RelatedPerson.relationship Base preferred Patient relationship type 📍4.0.1 FHIR Std.
RelatedPerson.telecom.​system Base required ContactPointSystem 📍4.0.1 FHIR Std.
RelatedPerson.communication.​language Base preferred Common Languages 📍4.0.1 FHIR Std.

Constraints

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()

 

Other representations of profile: CSV, Excel, Schematron