Draft PH Core Implementation Guide
0.2.0 - ci-build
PH
Draft PH Core Implementation Guide, published by UP Manila National TeleHealth Center. This guide is not an authorized publication; it is the continuous build for version 0.2.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: https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-healthcareservice | Version: 0.2.0 | ||||
| Draft as of 2026-05-20 | Computable Name: PHCoreHealthcareService | ||||
This profile sets minimum expectations for a HealthcareService resource to record, search, and fetch information about healthcare services offered by an organization or at a location in the Philippine context. It is based on the FHIR R4 HealthcareService resource and identifies the additional mandatory core elements, extensions, vocabularies and value sets that SHALL be present in the HealthcareService when conforming to this profile. It provides the floor for standards development for specific use cases in a Philippine context.
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..* | HealthcareService | The details of a healthcare service available at a location | |||||||||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||||||||||
![]() ![]() |
SOΣ | 0..* | Identifier | External identifiers for this item
| ||||||||||||
![]() ![]() |
?!SOΣ | 0..1 | boolean | Whether this HealthcareService record is in active use
| ||||||||||||
![]() ![]() |
SOΣ | 0..1 | Reference(PH Core Organization) | Organization that provides this service
| ||||||||||||
![]() ![]() |
SOΣ | 0..* | CodeableConcept | Broad category of service being performed or delivered Binding: ServiceCategory (example): A category of the service(s) that could be provided.
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||||||||||
![]() ![]() |
SOΣ | 0..* | CodeableConcept | Type of service that may be delivered or performed Binding: ServiceType (example): Additional details about where the content was created (e.g. clinical specialty).
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||||||||||
![]() ![]() |
SOΣ | 0..* | CodeableConcept | Specialties handled by the HealthcareService Binding: PracticeSettingCodeValueSet (preferred): A specialty that a healthcare service may provide.
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||||||||||
![]() ![]() |
SOΣ | 0..* | Reference(PH Core Location) | Location(s) where service may be provided
| ||||||||||||
![]() ![]() |
SOΣ | 0..1 | string | Description of service as presented to a consumer while searching
| ||||||||||||
![]() ![]() |
SO | 0..* | ContactPoint | Contacts related to the healthcare service
| ||||||||||||
![]() ![]() |
0..* | Reference(PH Core Location) | Location(s) service is intended for/available to | |||||||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Conditions under which service is available/offered Binding: ServiceProvisionConditions (example): The code(s) that detail the conditions under which the healthcare service is available/offered.
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||||||||||
![]() ![]() |
0..* | BackboneElement | Specific eligibility requirements required to use the service | |||||||||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||||||||
![]() ![]() ![]() |
SO | 0..1 | CodeableConcept | Coded value for the eligibility Binding Description: (example): Coded values underwhich a specific service is made available.
| ||||||||||||
![]() ![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||||||||||
![]() ![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Programs that this service is applicable to Binding: Program (example): Government or local programs that this service applies to.
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Collection of characteristics (attributes) Binding Description: (example): A custom attribute that could be provided at a service (e.g. Wheelchair accessibiliy).
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | The language that this service is offered in 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
| ||||||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Ways that the service accepts referrals Binding: ReferralMethod (example): The methods of referral can be used when referring to a specific HealthCareService resource.
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||||||||||
Documentation for this format | ||||||||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| HealthcareService.category | Base | example | Service category | 📍4.0.1 | FHIR Std. |
| HealthcareService.type | Base | example | Service type | 📍4.0.1 | FHIR Std. |
| HealthcareService.specialty | Base | preferred | Practice Setting Code Value Set | 📍4.0.1 | FHIR Std. |
| HealthcareService.serviceProvisionCode | Base | example | ServiceProvisionConditions | 📍4.0.1 | FHIR Std. |
| HealthcareService.eligibility.code | Base | example | Not State | Unknown | |
| HealthcareService.program | Base | example | Program | 📍4.0.1 | FHIR Std. |
| HealthcareService.characteristic | Base | example | Not State | Unknown | |
| HealthcareService.communication | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| HealthcareService.referralMethod | Base | example | ReferralMethod | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | HealthcareService | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | HealthcareService | 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 | HealthcareService | 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 | HealthcareService | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | HealthcareService | 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..* | HealthcareService | The details of a healthcare service available at a location | |||||||||
![]() ![]() |
SO | 0..* | Identifier | External identifiers for this item
| ||||||||
![]() ![]() |
SO | 0..1 | boolean | Whether this HealthcareService record is in active use
| ||||||||
![]() ![]() |
SO | 0..1 | Reference(PH Core Organization) | Organization that provides this service
| ||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Broad category of service being performed or delivered
| ||||||||
![]() ![]() ![]() |
SO | 0..* | Coding | Code defined by a terminology system
| ||||||||
![]() ![]() ![]() |
SO | 0..1 | string | Plain text representation of the concept
| ||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Type of service that may be delivered or performed
| ||||||||
![]() ![]() ![]() |
SO | 0..* | Coding | Code defined by a terminology system
| ||||||||
![]() ![]() ![]() |
SO | 0..1 | string | Plain text representation of the concept
| ||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Specialties handled by the HealthcareService
| ||||||||
![]() ![]() ![]() |
SO | 0..* | Coding | Code defined by a terminology system
| ||||||||
![]() ![]() ![]() |
SO | 0..1 | string | Plain text representation of the concept
| ||||||||
![]() ![]() |
SO | 0..* | Reference(PH Core Location) | Location(s) where service may be provided
| ||||||||
![]() ![]() |
SO | 0..1 | string | Description of service as presented to a consumer while searching
| ||||||||
![]() ![]() |
SO | 0..* | ContactPoint | Contacts related to the healthcare service
| ||||||||
![]() ![]() |
0..* | Reference(PH Core Location) | Location(s) service is intended for/available to | |||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Conditions under which service is available/offered
| ||||||||
![]() ![]() ![]() |
SO | 0..* | Coding | Code defined by a terminology system
| ||||||||
![]() ![]() ![]() |
SO | 0..1 | string | Plain text representation of the concept
| ||||||||
![]() ![]() |
||||||||||||
![]() ![]() ![]() |
SO | 0..1 | CodeableConcept | Coded value for the eligibility
| ||||||||
![]() ![]() ![]() ![]() |
SO | 0..* | Coding | Code defined by a terminology system
| ||||||||
![]() ![]() ![]() ![]() |
SO | 0..1 | string | Plain text representation of the concept
| ||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Programs that this service is applicable to
| ||||||||
![]() ![]() ![]() |
SO | 0..* | Coding | Code defined by a terminology system
| ||||||||
![]() ![]() ![]() |
SO | 0..1 | string | Plain text representation of the concept
| ||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Collection of characteristics (attributes)
| ||||||||
![]() ![]() ![]() |
SO | 0..* | Coding | Code defined by a terminology system
| ||||||||
![]() ![]() ![]() |
SO | 0..1 | string | Plain text representation of the concept
| ||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | The language that this service is offered in
| ||||||||
![]() ![]() ![]() |
SO | 0..* | Coding | Code defined by a terminology system
| ||||||||
![]() ![]() ![]() |
SO | 0..1 | string | Plain text representation of the concept
| ||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Ways that the service accepts referrals
| ||||||||
![]() ![]() ![]() |
SO | 0..* | Coding | Code defined by a terminology system
| ||||||||
![]() ![]() ![]() |
SO | 0..1 | string | Plain text representation of the concept
| ||||||||
Documentation for this format | ||||||||||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
0..* | HealthcareService | The details of a healthcare service available at a location | |||||||||||||
![]() ![]() |
Σ | 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 | ||||||||||||
![]() ![]() |
SOΣ | 0..* | Identifier | External identifiers for this item
| ||||||||||||
![]() ![]() |
?!SOΣ | 0..1 | boolean | Whether this HealthcareService record is in active use
| ||||||||||||
![]() ![]() |
SOΣ | 0..1 | Reference(PH Core Organization) | Organization that provides this service
| ||||||||||||
![]() ![]() |
SOΣ | 0..* | CodeableConcept | Broad category of service being performed or delivered Binding: ServiceCategory (example): A category of the service(s) that could be provided.
| ||||||||||||
![]() ![]() ![]() |
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..* | CodeableConcept | Type of service that may be delivered or performed Binding: ServiceType (example): Additional details about where the content was created (e.g. clinical specialty).
| ||||||||||||
![]() ![]() ![]() |
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..* | CodeableConcept | Specialties handled by the HealthcareService Binding: PracticeSettingCodeValueSet (preferred): A specialty that a healthcare service may provide.
| ||||||||||||
![]() ![]() ![]() |
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..* | Reference(PH Core Location) | Location(s) where service may be provided
| ||||||||||||
![]() ![]() |
SOΣ | 0..1 | string | Description of service as presented to a consumer while searching
| ||||||||||||
![]() ![]() |
Σ | 0..1 | string | Additional description and/or any specific issues not covered elsewhere | ||||||||||||
![]() ![]() |
0..1 | markdown | Extra details about the service that can't be placed in the other fields | |||||||||||||
![]() ![]() |
Σ | 0..1 | Attachment | Facilitates quick identification of the service | ||||||||||||
![]() ![]() |
SO | 0..* | ContactPoint | Contacts related to the healthcare service
| ||||||||||||
![]() ![]() |
0..* | Reference(PH Core Location) | Location(s) service is intended for/available to | |||||||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Conditions under which service is available/offered Binding: ServiceProvisionConditions (example): The code(s) that detail the conditions under which the healthcare service is available/offered.
| ||||||||||||
![]() ![]() ![]() |
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..* | BackboneElement | Specific eligibility requirements required to use the service | |||||||||||||
![]() ![]() ![]() |
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 | 0..1 | CodeableConcept | Coded value for the eligibility Binding Description: (example): Coded values underwhich a specific service is made available.
| ||||||||||||
![]() ![]() ![]() ![]() |
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 | markdown | Describes the eligibility conditions for the service | |||||||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Programs that this service is applicable to Binding: Program (example): Government or local programs that this service applies to.
| ||||||||||||
![]() ![]() ![]() |
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..* | CodeableConcept | Collection of characteristics (attributes) Binding Description: (example): A custom attribute that could be provided at a service (e.g. Wheelchair accessibiliy).
| ||||||||||||
![]() ![]() ![]() |
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..* | CodeableConcept | The language that this service is offered in 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
| ||||||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Ways that the service accepts referrals Binding: ReferralMethod (example): The methods of referral can be used when referring to a specific HealthCareService resource.
| ||||||||||||
![]() ![]() ![]() |
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 | If an appointment is required for access to this service | |||||||||||||
![]() ![]() |
0..* | BackboneElement | Times the Service Site is available | |||||||||||||
![]() ![]() ![]() |
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 | ||||||||||||
![]() ![]() ![]() |
0..* | code | mon | tue | wed | thu | fri | sat | sun Binding: DaysOfWeek (required): The days of the week. | |||||||||||||
![]() ![]() ![]() |
0..1 | boolean | Always available? e.g. 24 hour service | |||||||||||||
![]() ![]() ![]() |
0..1 | time | Opening time of day (ignored if allDay = true) | |||||||||||||
![]() ![]() ![]() |
0..1 | time | Closing time of day (ignored if allDay = true) | |||||||||||||
![]() ![]() |
0..* | BackboneElement | Not available during this time due to provided reason | |||||||||||||
![]() ![]() ![]() |
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 | ||||||||||||
![]() ![]() ![]() |
1..1 | string | Reason presented to the user explaining why time not available | |||||||||||||
![]() ![]() ![]() |
0..1 | Period | Service not available from this date | |||||||||||||
![]() ![]() |
0..1 | string | Description of availability exceptions | |||||||||||||
![]() ![]() |
0..* | Reference(Endpoint) | Technical endpoints providing access to electronic services operated for the healthcare service | |||||||||||||
Documentation for this format | ||||||||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| HealthcareService.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| HealthcareService.category | Base | example | Service category | 📍4.0.1 | FHIR Std. |
| HealthcareService.type | Base | example | Service type | 📍4.0.1 | FHIR Std. |
| HealthcareService.specialty | Base | preferred | Practice Setting Code Value Set | 📍4.0.1 | FHIR Std. |
| HealthcareService.serviceProvisionCode | Base | example | ServiceProvisionConditions | 📍4.0.1 | FHIR Std. |
| HealthcareService.eligibility.code | Base | example | Not State | Unknown | |
| HealthcareService.program | Base | example | Program | 📍4.0.1 | FHIR Std. |
| HealthcareService.characteristic | Base | example | Not State | Unknown | |
| HealthcareService.communication | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| HealthcareService.referralMethod | Base | example | ReferralMethod | 📍4.0.1 | FHIR Std. |
| HealthcareService.availableTime.daysOfWeek | Base | required | DaysOfWeek | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | HealthcareService | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | HealthcareService | 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 | HealthcareService | 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 | HealthcareService | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | HealthcareService | 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
0..* | HealthcareService | The details of a healthcare service available at a location | |||||||||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||||||||||
![]() ![]() |
SOΣ | 0..* | Identifier | External identifiers for this item
| ||||||||||||
![]() ![]() |
?!SOΣ | 0..1 | boolean | Whether this HealthcareService record is in active use
| ||||||||||||
![]() ![]() |
SOΣ | 0..1 | Reference(PH Core Organization) | Organization that provides this service
| ||||||||||||
![]() ![]() |
SOΣ | 0..* | CodeableConcept | Broad category of service being performed or delivered Binding: ServiceCategory (example): A category of the service(s) that could be provided.
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||||||||||
![]() ![]() |
SOΣ | 0..* | CodeableConcept | Type of service that may be delivered or performed Binding: ServiceType (example): Additional details about where the content was created (e.g. clinical specialty).
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||||||||||
![]() ![]() |
SOΣ | 0..* | CodeableConcept | Specialties handled by the HealthcareService Binding: PracticeSettingCodeValueSet (preferred): A specialty that a healthcare service may provide.
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||||||||||
![]() ![]() |
SOΣ | 0..* | Reference(PH Core Location) | Location(s) where service may be provided
| ||||||||||||
![]() ![]() |
SOΣ | 0..1 | string | Description of service as presented to a consumer while searching
| ||||||||||||
![]() ![]() |
SO | 0..* | ContactPoint | Contacts related to the healthcare service
| ||||||||||||
![]() ![]() |
0..* | Reference(PH Core Location) | Location(s) service is intended for/available to | |||||||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Conditions under which service is available/offered Binding: ServiceProvisionConditions (example): The code(s) that detail the conditions under which the healthcare service is available/offered.
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||||||||||
![]() ![]() |
0..* | BackboneElement | Specific eligibility requirements required to use the service | |||||||||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||||||||
![]() ![]() ![]() |
SO | 0..1 | CodeableConcept | Coded value for the eligibility Binding Description: (example): Coded values underwhich a specific service is made available.
| ||||||||||||
![]() ![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||||||||||
![]() ![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Programs that this service is applicable to Binding: Program (example): Government or local programs that this service applies to.
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Collection of characteristics (attributes) Binding Description: (example): A custom attribute that could be provided at a service (e.g. Wheelchair accessibiliy).
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | The language that this service is offered in 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
| ||||||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Ways that the service accepts referrals Binding: ReferralMethod (example): The methods of referral can be used when referring to a specific HealthCareService resource.
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||||||||||
![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||||||||||
Documentation for this format | ||||||||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| HealthcareService.category | Base | example | Service category | 📍4.0.1 | FHIR Std. |
| HealthcareService.type | Base | example | Service type | 📍4.0.1 | FHIR Std. |
| HealthcareService.specialty | Base | preferred | Practice Setting Code Value Set | 📍4.0.1 | FHIR Std. |
| HealthcareService.serviceProvisionCode | Base | example | ServiceProvisionConditions | 📍4.0.1 | FHIR Std. |
| HealthcareService.eligibility.code | Base | example | Not State | Unknown | |
| HealthcareService.program | Base | example | Program | 📍4.0.1 | FHIR Std. |
| HealthcareService.characteristic | Base | example | Not State | Unknown | |
| HealthcareService.communication | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| HealthcareService.referralMethod | Base | example | ReferralMethod | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | HealthcareService | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | HealthcareService | 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 | HealthcareService | 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 | HealthcareService | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | HealthcareService | 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..* | HealthcareService | The details of a healthcare service available at a location | |||||||||
![]() ![]() |
SO | 0..* | Identifier | External identifiers for this item
| ||||||||
![]() ![]() |
SO | 0..1 | boolean | Whether this HealthcareService record is in active use
| ||||||||
![]() ![]() |
SO | 0..1 | Reference(PH Core Organization) | Organization that provides this service
| ||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Broad category of service being performed or delivered
| ||||||||
![]() ![]() ![]() |
SO | 0..* | Coding | Code defined by a terminology system
| ||||||||
![]() ![]() ![]() |
SO | 0..1 | string | Plain text representation of the concept
| ||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Type of service that may be delivered or performed
| ||||||||
![]() ![]() ![]() |
SO | 0..* | Coding | Code defined by a terminology system
| ||||||||
![]() ![]() ![]() |
SO | 0..1 | string | Plain text representation of the concept
| ||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Specialties handled by the HealthcareService
| ||||||||
![]() ![]() ![]() |
SO | 0..* | Coding | Code defined by a terminology system
| ||||||||
![]() ![]() ![]() |
SO | 0..1 | string | Plain text representation of the concept
| ||||||||
![]() ![]() |
SO | 0..* | Reference(PH Core Location) | Location(s) where service may be provided
| ||||||||
![]() ![]() |
SO | 0..1 | string | Description of service as presented to a consumer while searching
| ||||||||
![]() ![]() |
SO | 0..* | ContactPoint | Contacts related to the healthcare service
| ||||||||
![]() ![]() |
0..* | Reference(PH Core Location) | Location(s) service is intended for/available to | |||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Conditions under which service is available/offered
| ||||||||
![]() ![]() ![]() |
SO | 0..* | Coding | Code defined by a terminology system
| ||||||||
![]() ![]() ![]() |
SO | 0..1 | string | Plain text representation of the concept
| ||||||||
![]() ![]() |
||||||||||||
![]() ![]() ![]() |
SO | 0..1 | CodeableConcept | Coded value for the eligibility
| ||||||||
![]() ![]() ![]() ![]() |
SO | 0..* | Coding | Code defined by a terminology system
| ||||||||
![]() ![]() ![]() ![]() |
SO | 0..1 | string | Plain text representation of the concept
| ||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Programs that this service is applicable to
| ||||||||
![]() ![]() ![]() |
SO | 0..* | Coding | Code defined by a terminology system
| ||||||||
![]() ![]() ![]() |
SO | 0..1 | string | Plain text representation of the concept
| ||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Collection of characteristics (attributes)
| ||||||||
![]() ![]() ![]() |
SO | 0..* | Coding | Code defined by a terminology system
| ||||||||
![]() ![]() ![]() |
SO | 0..1 | string | Plain text representation of the concept
| ||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | The language that this service is offered in
| ||||||||
![]() ![]() ![]() |
SO | 0..* | Coding | Code defined by a terminology system
| ||||||||
![]() ![]() ![]() |
SO | 0..1 | string | Plain text representation of the concept
| ||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Ways that the service accepts referrals
| ||||||||
![]() ![]() ![]() |
SO | 0..* | Coding | Code defined by a terminology system
| ||||||||
![]() ![]() ![]() |
SO | 0..1 | string | Plain text representation of the concept
| ||||||||
Documentation for this format | ||||||||||||
Snapshot ViewView
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
0..* | HealthcareService | The details of a healthcare service available at a location | |||||||||||||
![]() ![]() |
Σ | 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 | ||||||||||||
![]() ![]() |
SOΣ | 0..* | Identifier | External identifiers for this item
| ||||||||||||
![]() ![]() |
?!SOΣ | 0..1 | boolean | Whether this HealthcareService record is in active use
| ||||||||||||
![]() ![]() |
SOΣ | 0..1 | Reference(PH Core Organization) | Organization that provides this service
| ||||||||||||
![]() ![]() |
SOΣ | 0..* | CodeableConcept | Broad category of service being performed or delivered Binding: ServiceCategory (example): A category of the service(s) that could be provided.
| ||||||||||||
![]() ![]() ![]() |
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..* | CodeableConcept | Type of service that may be delivered or performed Binding: ServiceType (example): Additional details about where the content was created (e.g. clinical specialty).
| ||||||||||||
![]() ![]() ![]() |
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..* | CodeableConcept | Specialties handled by the HealthcareService Binding: PracticeSettingCodeValueSet (preferred): A specialty that a healthcare service may provide.
| ||||||||||||
![]() ![]() ![]() |
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..* | Reference(PH Core Location) | Location(s) where service may be provided
| ||||||||||||
![]() ![]() |
SOΣ | 0..1 | string | Description of service as presented to a consumer while searching
| ||||||||||||
![]() ![]() |
Σ | 0..1 | string | Additional description and/or any specific issues not covered elsewhere | ||||||||||||
![]() ![]() |
0..1 | markdown | Extra details about the service that can't be placed in the other fields | |||||||||||||
![]() ![]() |
Σ | 0..1 | Attachment | Facilitates quick identification of the service | ||||||||||||
![]() ![]() |
SO | 0..* | ContactPoint | Contacts related to the healthcare service
| ||||||||||||
![]() ![]() |
0..* | Reference(PH Core Location) | Location(s) service is intended for/available to | |||||||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Conditions under which service is available/offered Binding: ServiceProvisionConditions (example): The code(s) that detail the conditions under which the healthcare service is available/offered.
| ||||||||||||
![]() ![]() ![]() |
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..* | BackboneElement | Specific eligibility requirements required to use the service | |||||||||||||
![]() ![]() ![]() |
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 | 0..1 | CodeableConcept | Coded value for the eligibility Binding Description: (example): Coded values underwhich a specific service is made available.
| ||||||||||||
![]() ![]() ![]() ![]() |
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 | markdown | Describes the eligibility conditions for the service | |||||||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Programs that this service is applicable to Binding: Program (example): Government or local programs that this service applies to.
| ||||||||||||
![]() ![]() ![]() |
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..* | CodeableConcept | Collection of characteristics (attributes) Binding Description: (example): A custom attribute that could be provided at a service (e.g. Wheelchair accessibiliy).
| ||||||||||||
![]() ![]() ![]() |
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..* | CodeableConcept | The language that this service is offered in 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
| ||||||||||||
![]() ![]() |
SO | 0..* | CodeableConcept | Ways that the service accepts referrals Binding: ReferralMethod (example): The methods of referral can be used when referring to a specific HealthCareService resource.
| ||||||||||||
![]() ![]() ![]() |
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 | If an appointment is required for access to this service | |||||||||||||
![]() ![]() |
0..* | BackboneElement | Times the Service Site is available | |||||||||||||
![]() ![]() ![]() |
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 | ||||||||||||
![]() ![]() ![]() |
0..* | code | mon | tue | wed | thu | fri | sat | sun Binding: DaysOfWeek (required): The days of the week. | |||||||||||||
![]() ![]() ![]() |
0..1 | boolean | Always available? e.g. 24 hour service | |||||||||||||
![]() ![]() ![]() |
0..1 | time | Opening time of day (ignored if allDay = true) | |||||||||||||
![]() ![]() ![]() |
0..1 | time | Closing time of day (ignored if allDay = true) | |||||||||||||
![]() ![]() |
0..* | BackboneElement | Not available during this time due to provided reason | |||||||||||||
![]() ![]() ![]() |
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 | ||||||||||||
![]() ![]() ![]() |
1..1 | string | Reason presented to the user explaining why time not available | |||||||||||||
![]() ![]() ![]() |
0..1 | Period | Service not available from this date | |||||||||||||
![]() ![]() |
0..1 | string | Description of availability exceptions | |||||||||||||
![]() ![]() |
0..* | Reference(Endpoint) | Technical endpoints providing access to electronic services operated for the healthcare service | |||||||||||||
Documentation for this format | ||||||||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| HealthcareService.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| HealthcareService.category | Base | example | Service category | 📍4.0.1 | FHIR Std. |
| HealthcareService.type | Base | example | Service type | 📍4.0.1 | FHIR Std. |
| HealthcareService.specialty | Base | preferred | Practice Setting Code Value Set | 📍4.0.1 | FHIR Std. |
| HealthcareService.serviceProvisionCode | Base | example | ServiceProvisionConditions | 📍4.0.1 | FHIR Std. |
| HealthcareService.eligibility.code | Base | example | Not State | Unknown | |
| HealthcareService.program | Base | example | Program | 📍4.0.1 | FHIR Std. |
| HealthcareService.characteristic | Base | example | Not State | Unknown | |
| HealthcareService.communication | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| HealthcareService.referralMethod | Base | example | ReferralMethod | 📍4.0.1 | FHIR Std. |
| HealthcareService.availableTime.daysOfWeek | Base | required | DaysOfWeek | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | HealthcareService | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | HealthcareService | 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 | HealthcareService | 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 | HealthcareService | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | HealthcareService | 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