HL7 FHIR Malaysia Core (MY Core) Implementation Guide
2.0.0 - ci-build

HL7 FHIR Malaysia Core (MY Core) Implementation Guide - Local Development build (v2.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: HealthcareService (MY Core)

Official URL: http://fhir.hie.moh.gov.my/StructureDefinition/HealthcareService-my-core Version: 2.0.0
Active as of 2024-03-13 Computable Name: HealthcareServiceMyCore

Used to describe a single healthcare service or a category of services provided by an organization at a location. The location of the services could be virtual, as with telemedicine services.

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. HealthcareService 0..* HealthcareService The details of a healthcare service available at a location
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: 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
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... publicBooking 0..1 boolean Extension to determine if this HealthcareService is allowed to be booked publicly (through patients/customer)
URL: http://fhir.hie.moh.gov.my/StructureDefinition/public-booking-my-core
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... audit 0..1 (Complex) Record audit on individual who recorded and updated the data
URL: http://fhir.hie.moh.gov.my/StructureDefinition/audit-my-core
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... additionalInfo 0..* Reference(SpecimenDefinition | Specimen | ImagingStudy) Extension to reference additional relevant Resources pertaining to the HealthcareService
URL: http://fhir.hie.moh.gov.my/StructureDefinition/additional-info-my-core
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... formRequired 0..1 boolean Extension to determine if this ServiceRequest requires a form attached to the request
URL: http://fhir.hie.moh.gov.my/StructureDefinition/extension-form-required-my-core
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... formType 0..1 canonical() An extension to define the type of form this ServiceRequest uses when requesting this service
URL: http://fhir.hie.moh.gov.my/StructureDefinition/extension-form-type-my-core
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... providedBy Σ 1..1 Reference(Organization) Organization that provides this service
ele-1: All FHIR elements must have a @value or children
... category Σ 1..* CodeableConcept Broad category of service being performed or delivered
Binding: ServiceCategory (example): A category of the service(s) that could be provided.


ele-1: All FHIR elements must have a @value or children
.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
ele-1: All FHIR elements must have a @value or children
..... coding:encounterClass Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetEncounterClass (MY Core) (preferred)
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/encounter-class-my-core
..... coding:serviceRequestCategory Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetServiceRequestCategory( MY Core) (preferred)
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/servicerequest-category-my-core
... type Σ 1..* CodeableConcept Type of service that may be delivered or performed
Binding: ValueSetServiceType (MY Core) (example)
ele-1: All FHIR elements must have a @value or children
.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
ele-1: All FHIR elements must have a @value or children
..... coding:encounterClass Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetEncounterClass (MY Core) (preferred)
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/encounter-class-my-core
..... coding:serviceRequestCategory Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetServiceRequestCategory( MY Core) (preferred)
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/servicerequest-category-my-core
..... coding:serviceType Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetServiceType (MY Core) (preferred)
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/service-type-my-core
..... coding:labSubGroup Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetLabSubGroup (MY Core) (preferred)
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/lab-sub-group-my-core
..... coding:lab Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetLab (MY Core) (preferred)
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/lab-my-core
..... coding:imagingModality Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetImagingModality (MY Core) (preferred)
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/imaging-modality-my-core
..... coding:imagingRegion Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetImagingRegion (MY Core) (preferred)
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/imaging-region-my-core
..... coding:imaging Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetImaging (MY Core) (preferred)
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/imaging-my-core
... specialty Σ 0..1 CodeableConcept Specialties handled by the HealthcareService
Binding: ValueSetSpecialty (MYCore) (preferred)
ele-1: All FHIR elements must have a @value or children
... name Σ 1..1 string Description of service as presented to a consumer while searching
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
HealthcareService.categoryexampleServiceCategory
http://hl7.org/fhir/ValueSet/service-category
from the FHIR Standard
HealthcareService.category.coding:encounterClasspreferredValueSetEncounterClassMyCore (a valid code from CodeSystemEncounterClass (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core
from this IG
HealthcareService.category.coding:serviceRequestCategorypreferredValueSetServiceRequestCategoryMyCore (a valid code from CodeSystemServiceRequestCategory (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core
from this IG
HealthcareService.typeexampleValueSetServiceTypeMyCore (a valid code from CodeSystemServiceType (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core
from this IG
HealthcareService.type.coding:encounterClasspreferredValueSetEncounterClassMyCore (a valid code from CodeSystemEncounterClass (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core
from this IG
HealthcareService.type.coding:serviceRequestCategorypreferredValueSetServiceRequestCategoryMyCore (a valid code from CodeSystemServiceRequestCategory (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core
from this IG
HealthcareService.type.coding:serviceTypepreferredValueSetServiceTypeMyCore (a valid code from CodeSystemServiceType (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core
from this IG
HealthcareService.type.coding:labSubGrouppreferredValueSetLabSubGroupMyCore (a valid code from CodeSystemLabSubGroup (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/lab-sub-group-my-core
from this IG
HealthcareService.type.coding:labpreferredValueSetLabMyCore (a valid code from CodeSystemLab (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/lab-my-core
from this IG
HealthcareService.type.coding:imagingModalitypreferredValueSetImagingModalityMyCore (a valid code from CodeSystemImagingModality (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/imaging-modality-my-core
from this IG
HealthcareService.type.coding:imagingRegionpreferredValueSetImagingRegionMyCore (a valid code from CodeSystemImagingRegion (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/imaging-region-my-core
from this IG
HealthcareService.type.coding:imagingpreferredValueSetImagingMyCore (a valid code from CodeSystemImaging (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/imaging-my-core
from this IG
HealthcareService.specialtypreferredValueSetSpecialtyMyCore
http://fhir.hie.moh.gov.my/ValueSet/specialty-my-core
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorHealthcareServiceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorHealthcareServiceIf 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-4errorHealthcareServiceIf 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-5errorHealthcareServiceIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceHealthcareServiceA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from HealthcareService

NameFlagsCard.TypeDescription & Constraintsdoco
.. HealthcareService 0..* HealthcareService The details of a healthcare service available at a location
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... publicBooking 0..1 boolean Extension to determine if this HealthcareService is allowed to be booked publicly (through patients/customer)
URL: http://fhir.hie.moh.gov.my/StructureDefinition/public-booking-my-core
.... audit 0..1 (Complex) Record audit on individual who recorded and updated the data
URL: http://fhir.hie.moh.gov.my/StructureDefinition/audit-my-core
.... additionalInfo 0..* Reference(SpecimenDefinition | Specimen | ImagingStudy) Extension to reference additional relevant Resources pertaining to the HealthcareService
URL: http://fhir.hie.moh.gov.my/StructureDefinition/additional-info-my-core
.... formRequired 0..1 boolean Extension to determine if this ServiceRequest requires a form attached to the request
URL: http://fhir.hie.moh.gov.my/StructureDefinition/extension-form-required-my-core
.... formType 0..1 canonical() An extension to define the type of form this ServiceRequest uses when requesting this service
URL: http://fhir.hie.moh.gov.my/StructureDefinition/extension-form-type-my-core
... providedBy 1..1 Reference(Organization) Organization that provides this service
... category 1..* CodeableConcept Broad category of service being performed or delivered
.... Slices for coding 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:encounterClass 0..* Coding Code defined by a terminology system
Binding: ValueSetEncounterClass (MY Core) (preferred)
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/encounter-class-my-core
..... coding:serviceRequestCategory 0..* Coding Code defined by a terminology system
Binding: ValueSetServiceRequestCategory( MY Core) (preferred)
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/servicerequest-category-my-core
.... Slices for coding 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:encounterClass 0..* Coding Code defined by a terminology system
Binding: ValueSetEncounterClass (MY Core) (preferred)
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/encounter-class-my-core
..... coding:serviceRequestCategory 0..* Coding Code defined by a terminology system
Binding: ValueSetServiceRequestCategory( MY Core) (preferred)
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/servicerequest-category-my-core
..... coding:serviceType 0..* Coding Code defined by a terminology system
Binding: ValueSetServiceType (MY Core) (preferred)
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/service-type-my-core
..... coding:labSubGroup 0..* Coding Code defined by a terminology system
Binding: ValueSetLabSubGroup (MY Core) (preferred)
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/lab-sub-group-my-core
..... coding:lab 0..* Coding Code defined by a terminology system
Binding: ValueSetLab (MY Core) (preferred)
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/lab-my-core
..... coding:imagingModality 0..* Coding Code defined by a terminology system
Binding: ValueSetImagingModality (MY Core) (preferred)
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/imaging-modality-my-core
..... coding:imagingRegion 0..* Coding Code defined by a terminology system
Binding: ValueSetImagingRegion (MY Core) (preferred)
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/imaging-region-my-core
..... coding:imaging 0..* Coding Code defined by a terminology system
Binding: ValueSetImaging (MY Core) (preferred)
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/imaging-my-core
... specialty 0..1 CodeableConcept Specialties handled by the HealthcareService
Binding: ValueSetSpecialty (MYCore) (preferred)
... name 1..1 string Description of service as presented to a consumer while searching

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
HealthcareService.category.coding:encounterClasspreferredValueSetEncounterClassMyCore (a valid code from CodeSystemEncounterClass (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core
from this IG
HealthcareService.category.coding:serviceRequestCategorypreferredValueSetServiceRequestCategoryMyCore (a valid code from CodeSystemServiceRequestCategory (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core
from this IG
HealthcareService.typeexampleValueSetServiceTypeMyCore (a valid code from CodeSystemServiceType (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core
from this IG
HealthcareService.type.coding:encounterClasspreferredValueSetEncounterClassMyCore (a valid code from CodeSystemEncounterClass (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core
from this IG
HealthcareService.type.coding:serviceRequestCategorypreferredValueSetServiceRequestCategoryMyCore (a valid code from CodeSystemServiceRequestCategory (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core
from this IG
HealthcareService.type.coding:serviceTypepreferredValueSetServiceTypeMyCore (a valid code from CodeSystemServiceType (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core
from this IG
HealthcareService.type.coding:labSubGrouppreferredValueSetLabSubGroupMyCore (a valid code from CodeSystemLabSubGroup (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/lab-sub-group-my-core
from this IG
HealthcareService.type.coding:labpreferredValueSetLabMyCore (a valid code from CodeSystemLab (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/lab-my-core
from this IG
HealthcareService.type.coding:imagingModalitypreferredValueSetImagingModalityMyCore (a valid code from CodeSystemImagingModality (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/imaging-modality-my-core
from this IG
HealthcareService.type.coding:imagingRegionpreferredValueSetImagingRegionMyCore (a valid code from CodeSystemImagingRegion (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/imaging-region-my-core
from this IG
HealthcareService.type.coding:imagingpreferredValueSetImagingMyCore (a valid code from CodeSystemImaging (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/imaging-my-core
from this IG
HealthcareService.specialtypreferredValueSetSpecialtyMyCore
http://fhir.hie.moh.gov.my/ValueSet/specialty-my-core
from this IG
NameFlagsCard.TypeDescription & Constraintsdoco
.. HealthcareService 0..* HealthcareService The details of a healthcare service available at a location
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... publicBooking 0..1 boolean Extension to determine if this HealthcareService is allowed to be booked publicly (through patients/customer)
URL: http://fhir.hie.moh.gov.my/StructureDefinition/public-booking-my-core
.... audit 0..1 (Complex) Record audit on individual who recorded and updated the data
URL: http://fhir.hie.moh.gov.my/StructureDefinition/audit-my-core
.... additionalInfo 0..* Reference(SpecimenDefinition | Specimen | ImagingStudy) Extension to reference additional relevant Resources pertaining to the HealthcareService
URL: http://fhir.hie.moh.gov.my/StructureDefinition/additional-info-my-core
.... formRequired 0..1 boolean Extension to determine if this ServiceRequest requires a form attached to the request
URL: http://fhir.hie.moh.gov.my/StructureDefinition/extension-form-required-my-core
.... formType 0..1 canonical() An extension to define the type of form this ServiceRequest uses when requesting this service
URL: http://fhir.hie.moh.gov.my/StructureDefinition/extension-form-type-my-core
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier External identifiers for this item
... active ?!Σ 0..1 boolean Whether this HealthcareService record is in active use
... providedBy Σ 1..1 Reference(Organization) Organization that provides this service
... category Σ 1..* CodeableConcept Broad category of service being performed or delivered
Binding: ServiceCategory (example): A category of the service(s) that could be provided.


.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:encounterClass Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetEncounterClass (MY Core) (preferred)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/encounter-class-my-core
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:serviceRequestCategory Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetServiceRequestCategory( MY Core) (preferred)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/servicerequest-category-my-core
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... type Σ 1..* CodeableConcept Type of service that may be delivered or performed
Binding: ValueSetServiceType (MY Core) (example)
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:encounterClass Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetEncounterClass (MY Core) (preferred)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/encounter-class-my-core
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:serviceRequestCategory Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetServiceRequestCategory( MY Core) (preferred)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/servicerequest-category-my-core
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:serviceType Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetServiceType (MY Core) (preferred)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/service-type-my-core
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:labSubGroup Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetLabSubGroup (MY Core) (preferred)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/lab-sub-group-my-core
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:lab Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetLab (MY Core) (preferred)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/lab-my-core
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:imagingModality Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetImagingModality (MY Core) (preferred)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/imaging-modality-my-core
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:imagingRegion Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetImagingRegion (MY Core) (preferred)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/imaging-region-my-core
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:imaging Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetImaging (MY Core) (preferred)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/imaging-my-core
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... specialty Σ 0..1 CodeableConcept Specialties handled by the HealthcareService
Binding: ValueSetSpecialty (MYCore) (preferred)
... location Σ 0..* Reference(Location) Location(s) where service may be provided
... name Σ 1..1 string Description of service as presented to a consumer while searching
... comment Σ 0..1 string Additional description and/or any specific issues not covered elsewhere
... extraDetails 0..1 markdown Extra details about the service that can't be placed in the other fields
... photo Σ 0..1 Attachment Facilitates quick identification of the service
... telecom 0..* ContactPoint Contacts related to the healthcare service
... coverageArea 0..* Reference(Location) Location(s) service is intended for/available to
... serviceProvisionCode 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.


... eligibility 0..* BackboneElement Specific eligibility requirements required to use the service
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... code 0..1 CodeableConcept Coded value for the eligibility
Binding Description (No ValueSet): (example): Coded values underwhich a specific service is made available.

.... comment 0..1 markdown Describes the eligibility conditions for the service
... program 0..* CodeableConcept Programs that this service is applicable to
Binding: Program (example): Government or local programs that this service applies to.


... characteristic 0..* CodeableConcept Collection of characteristics (attributes)
Binding Description (No ValueSet): (example): A custom attribute that could be provided at a service (e.g. Wheelchair accessibiliy).


... communication 0..* CodeableConcept The language that this service is offered in
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguages Max Binding

... referralMethod 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.


... appointmentRequired 0..1 boolean If an appointment is required for access to this service
... availableTime 0..* BackboneElement Times the Service Site is available
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... daysOfWeek 0..* code mon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required): The days of the week.


.... allDay 0..1 boolean Always available? e.g. 24 hour service
.... availableStartTime 0..1 time Opening time of day (ignored if allDay = true)
.... availableEndTime 0..1 time Closing time of day (ignored if allDay = true)
... notAvailable 0..* BackboneElement Not available during this time due to provided reason
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... description 1..1 string Reason presented to the user explaining why time not available
.... during 0..1 Period Service not available from this date
... availabilityExceptions 0..1 string Description of availability exceptions
... endpoint 0..* Reference(Endpoint) Technical endpoints providing access to electronic services operated for the healthcare service

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
HealthcareService.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
HealthcareService.categoryexampleServiceCategory
http://hl7.org/fhir/ValueSet/service-category
from the FHIR Standard
HealthcareService.category.coding:encounterClasspreferredValueSetEncounterClassMyCore (a valid code from CodeSystemEncounterClass (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core
from this IG
HealthcareService.category.coding:serviceRequestCategorypreferredValueSetServiceRequestCategoryMyCore (a valid code from CodeSystemServiceRequestCategory (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core
from this IG
HealthcareService.typeexampleValueSetServiceTypeMyCore (a valid code from CodeSystemServiceType (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core
from this IG
HealthcareService.type.coding:encounterClasspreferredValueSetEncounterClassMyCore (a valid code from CodeSystemEncounterClass (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core
from this IG
HealthcareService.type.coding:serviceRequestCategorypreferredValueSetServiceRequestCategoryMyCore (a valid code from CodeSystemServiceRequestCategory (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core
from this IG
HealthcareService.type.coding:serviceTypepreferredValueSetServiceTypeMyCore (a valid code from CodeSystemServiceType (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core
from this IG
HealthcareService.type.coding:labSubGrouppreferredValueSetLabSubGroupMyCore (a valid code from CodeSystemLabSubGroup (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/lab-sub-group-my-core
from this IG
HealthcareService.type.coding:labpreferredValueSetLabMyCore (a valid code from CodeSystemLab (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/lab-my-core
from this IG
HealthcareService.type.coding:imagingModalitypreferredValueSetImagingModalityMyCore (a valid code from CodeSystemImagingModality (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/imaging-modality-my-core
from this IG
HealthcareService.type.coding:imagingRegionpreferredValueSetImagingRegionMyCore (a valid code from CodeSystemImagingRegion (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/imaging-region-my-core
from this IG
HealthcareService.type.coding:imagingpreferredValueSetImagingMyCore (a valid code from CodeSystemImaging (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/imaging-my-core
from this IG
HealthcareService.specialtypreferredValueSetSpecialtyMyCore
http://fhir.hie.moh.gov.my/ValueSet/specialty-my-core
from this IG
HealthcareService.serviceProvisionCodeexampleServiceProvisionConditions
http://hl7.org/fhir/ValueSet/service-provision-conditions
from the FHIR Standard
HealthcareService.eligibility.codeexample
HealthcareService.programexampleProgram
http://hl7.org/fhir/ValueSet/program
from the FHIR Standard
HealthcareService.characteristicexample
HealthcareService.communicationpreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
HealthcareService.referralMethodexampleReferralMethod
http://hl7.org/fhir/ValueSet/service-referral-method
from the FHIR Standard
HealthcareService.availableTime.daysOfWeekrequiredDaysOfWeek
http://hl7.org/fhir/ValueSet/days-of-week|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorHealthcareServiceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorHealthcareServiceIf 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-4errorHealthcareServiceIf 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-5errorHealthcareServiceIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceHealthcareServiceA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from HealthcareService

Summary

Mandatory: 4 elements(10 nested mandatory elements)
Fixed: 10 elements

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of HealthcareService.category.coding
  • The element 1 is sliced based on the value of HealthcareService.type.coding

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. HealthcareService 0..* HealthcareService The details of a healthcare service available at a location
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: 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
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... publicBooking 0..1 boolean Extension to determine if this HealthcareService is allowed to be booked publicly (through patients/customer)
URL: http://fhir.hie.moh.gov.my/StructureDefinition/public-booking-my-core
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... audit 0..1 (Complex) Record audit on individual who recorded and updated the data
URL: http://fhir.hie.moh.gov.my/StructureDefinition/audit-my-core
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... additionalInfo 0..* Reference(SpecimenDefinition | Specimen | ImagingStudy) Extension to reference additional relevant Resources pertaining to the HealthcareService
URL: http://fhir.hie.moh.gov.my/StructureDefinition/additional-info-my-core
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... formRequired 0..1 boolean Extension to determine if this ServiceRequest requires a form attached to the request
URL: http://fhir.hie.moh.gov.my/StructureDefinition/extension-form-required-my-core
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... formType 0..1 canonical() An extension to define the type of form this ServiceRequest uses when requesting this service
URL: http://fhir.hie.moh.gov.my/StructureDefinition/extension-form-type-my-core
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... providedBy Σ 1..1 Reference(Organization) Organization that provides this service
ele-1: All FHIR elements must have a @value or children
... category Σ 1..* CodeableConcept Broad category of service being performed or delivered
Binding: ServiceCategory (example): A category of the service(s) that could be provided.


ele-1: All FHIR elements must have a @value or children
.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
ele-1: All FHIR elements must have a @value or children
..... coding:encounterClass Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetEncounterClass (MY Core) (preferred)
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/encounter-class-my-core
..... coding:serviceRequestCategory Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetServiceRequestCategory( MY Core) (preferred)
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/servicerequest-category-my-core
... type Σ 1..* CodeableConcept Type of service that may be delivered or performed
Binding: ValueSetServiceType (MY Core) (example)
ele-1: All FHIR elements must have a @value or children
.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
ele-1: All FHIR elements must have a @value or children
..... coding:encounterClass Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetEncounterClass (MY Core) (preferred)
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/encounter-class-my-core
..... coding:serviceRequestCategory Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetServiceRequestCategory( MY Core) (preferred)
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/servicerequest-category-my-core
..... coding:serviceType Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetServiceType (MY Core) (preferred)
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/service-type-my-core
..... coding:labSubGroup Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetLabSubGroup (MY Core) (preferred)
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/lab-sub-group-my-core
..... coding:lab Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetLab (MY Core) (preferred)
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/lab-my-core
..... coding:imagingModality Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetImagingModality (MY Core) (preferred)
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/imaging-modality-my-core
..... coding:imagingRegion Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetImagingRegion (MY Core) (preferred)
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/imaging-region-my-core
..... coding:imaging Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetImaging (MY Core) (preferred)
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/imaging-my-core
... specialty Σ 0..1 CodeableConcept Specialties handled by the HealthcareService
Binding: ValueSetSpecialty (MYCore) (preferred)
ele-1: All FHIR elements must have a @value or children
... name Σ 1..1 string Description of service as presented to a consumer while searching
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
HealthcareService.categoryexampleServiceCategory
http://hl7.org/fhir/ValueSet/service-category
from the FHIR Standard
HealthcareService.category.coding:encounterClasspreferredValueSetEncounterClassMyCore (a valid code from CodeSystemEncounterClass (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core
from this IG
HealthcareService.category.coding:serviceRequestCategorypreferredValueSetServiceRequestCategoryMyCore (a valid code from CodeSystemServiceRequestCategory (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core
from this IG
HealthcareService.typeexampleValueSetServiceTypeMyCore (a valid code from CodeSystemServiceType (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core
from this IG
HealthcareService.type.coding:encounterClasspreferredValueSetEncounterClassMyCore (a valid code from CodeSystemEncounterClass (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core
from this IG
HealthcareService.type.coding:serviceRequestCategorypreferredValueSetServiceRequestCategoryMyCore (a valid code from CodeSystemServiceRequestCategory (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core
from this IG
HealthcareService.type.coding:serviceTypepreferredValueSetServiceTypeMyCore (a valid code from CodeSystemServiceType (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core
from this IG
HealthcareService.type.coding:labSubGrouppreferredValueSetLabSubGroupMyCore (a valid code from CodeSystemLabSubGroup (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/lab-sub-group-my-core
from this IG
HealthcareService.type.coding:labpreferredValueSetLabMyCore (a valid code from CodeSystemLab (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/lab-my-core
from this IG
HealthcareService.type.coding:imagingModalitypreferredValueSetImagingModalityMyCore (a valid code from CodeSystemImagingModality (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/imaging-modality-my-core
from this IG
HealthcareService.type.coding:imagingRegionpreferredValueSetImagingRegionMyCore (a valid code from CodeSystemImagingRegion (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/imaging-region-my-core
from this IG
HealthcareService.type.coding:imagingpreferredValueSetImagingMyCore (a valid code from CodeSystemImaging (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/imaging-my-core
from this IG
HealthcareService.specialtypreferredValueSetSpecialtyMyCore
http://fhir.hie.moh.gov.my/ValueSet/specialty-my-core
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorHealthcareServiceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorHealthcareServiceIf 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-4errorHealthcareServiceIf 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-5errorHealthcareServiceIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceHealthcareServiceA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Differential View

This structure is derived from HealthcareService

NameFlagsCard.TypeDescription & Constraintsdoco
.. HealthcareService 0..* HealthcareService The details of a healthcare service available at a location
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... publicBooking 0..1 boolean Extension to determine if this HealthcareService is allowed to be booked publicly (through patients/customer)
URL: http://fhir.hie.moh.gov.my/StructureDefinition/public-booking-my-core
.... audit 0..1 (Complex) Record audit on individual who recorded and updated the data
URL: http://fhir.hie.moh.gov.my/StructureDefinition/audit-my-core
.... additionalInfo 0..* Reference(SpecimenDefinition | Specimen | ImagingStudy) Extension to reference additional relevant Resources pertaining to the HealthcareService
URL: http://fhir.hie.moh.gov.my/StructureDefinition/additional-info-my-core
.... formRequired 0..1 boolean Extension to determine if this ServiceRequest requires a form attached to the request
URL: http://fhir.hie.moh.gov.my/StructureDefinition/extension-form-required-my-core
.... formType 0..1 canonical() An extension to define the type of form this ServiceRequest uses when requesting this service
URL: http://fhir.hie.moh.gov.my/StructureDefinition/extension-form-type-my-core
... providedBy 1..1 Reference(Organization) Organization that provides this service
... category 1..* CodeableConcept Broad category of service being performed or delivered
.... Slices for coding 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:encounterClass 0..* Coding Code defined by a terminology system
Binding: ValueSetEncounterClass (MY Core) (preferred)
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/encounter-class-my-core
..... coding:serviceRequestCategory 0..* Coding Code defined by a terminology system
Binding: ValueSetServiceRequestCategory( MY Core) (preferred)
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/servicerequest-category-my-core
.... Slices for coding 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:encounterClass 0..* Coding Code defined by a terminology system
Binding: ValueSetEncounterClass (MY Core) (preferred)
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/encounter-class-my-core
..... coding:serviceRequestCategory 0..* Coding Code defined by a terminology system
Binding: ValueSetServiceRequestCategory( MY Core) (preferred)
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/servicerequest-category-my-core
..... coding:serviceType 0..* Coding Code defined by a terminology system
Binding: ValueSetServiceType (MY Core) (preferred)
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/service-type-my-core
..... coding:labSubGroup 0..* Coding Code defined by a terminology system
Binding: ValueSetLabSubGroup (MY Core) (preferred)
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/lab-sub-group-my-core
..... coding:lab 0..* Coding Code defined by a terminology system
Binding: ValueSetLab (MY Core) (preferred)
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/lab-my-core
..... coding:imagingModality 0..* Coding Code defined by a terminology system
Binding: ValueSetImagingModality (MY Core) (preferred)
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/imaging-modality-my-core
..... coding:imagingRegion 0..* Coding Code defined by a terminology system
Binding: ValueSetImagingRegion (MY Core) (preferred)
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/imaging-region-my-core
..... coding:imaging 0..* Coding Code defined by a terminology system
Binding: ValueSetImaging (MY Core) (preferred)
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/imaging-my-core
... specialty 0..1 CodeableConcept Specialties handled by the HealthcareService
Binding: ValueSetSpecialty (MYCore) (preferred)
... name 1..1 string Description of service as presented to a consumer while searching

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
HealthcareService.category.coding:encounterClasspreferredValueSetEncounterClassMyCore (a valid code from CodeSystemEncounterClass (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core
from this IG
HealthcareService.category.coding:serviceRequestCategorypreferredValueSetServiceRequestCategoryMyCore (a valid code from CodeSystemServiceRequestCategory (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core
from this IG
HealthcareService.typeexampleValueSetServiceTypeMyCore (a valid code from CodeSystemServiceType (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core
from this IG
HealthcareService.type.coding:encounterClasspreferredValueSetEncounterClassMyCore (a valid code from CodeSystemEncounterClass (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core
from this IG
HealthcareService.type.coding:serviceRequestCategorypreferredValueSetServiceRequestCategoryMyCore (a valid code from CodeSystemServiceRequestCategory (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core
from this IG
HealthcareService.type.coding:serviceTypepreferredValueSetServiceTypeMyCore (a valid code from CodeSystemServiceType (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core
from this IG
HealthcareService.type.coding:labSubGrouppreferredValueSetLabSubGroupMyCore (a valid code from CodeSystemLabSubGroup (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/lab-sub-group-my-core
from this IG
HealthcareService.type.coding:labpreferredValueSetLabMyCore (a valid code from CodeSystemLab (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/lab-my-core
from this IG
HealthcareService.type.coding:imagingModalitypreferredValueSetImagingModalityMyCore (a valid code from CodeSystemImagingModality (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/imaging-modality-my-core
from this IG
HealthcareService.type.coding:imagingRegionpreferredValueSetImagingRegionMyCore (a valid code from CodeSystemImagingRegion (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/imaging-region-my-core
from this IG
HealthcareService.type.coding:imagingpreferredValueSetImagingMyCore (a valid code from CodeSystemImaging (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/imaging-my-core
from this IG
HealthcareService.specialtypreferredValueSetSpecialtyMyCore
http://fhir.hie.moh.gov.my/ValueSet/specialty-my-core
from this IG

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. HealthcareService 0..* HealthcareService The details of a healthcare service available at a location
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... publicBooking 0..1 boolean Extension to determine if this HealthcareService is allowed to be booked publicly (through patients/customer)
URL: http://fhir.hie.moh.gov.my/StructureDefinition/public-booking-my-core
.... audit 0..1 (Complex) Record audit on individual who recorded and updated the data
URL: http://fhir.hie.moh.gov.my/StructureDefinition/audit-my-core
.... additionalInfo 0..* Reference(SpecimenDefinition | Specimen | ImagingStudy) Extension to reference additional relevant Resources pertaining to the HealthcareService
URL: http://fhir.hie.moh.gov.my/StructureDefinition/additional-info-my-core
.... formRequired 0..1 boolean Extension to determine if this ServiceRequest requires a form attached to the request
URL: http://fhir.hie.moh.gov.my/StructureDefinition/extension-form-required-my-core
.... formType 0..1 canonical() An extension to define the type of form this ServiceRequest uses when requesting this service
URL: http://fhir.hie.moh.gov.my/StructureDefinition/extension-form-type-my-core
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier External identifiers for this item
... active ?!Σ 0..1 boolean Whether this HealthcareService record is in active use
... providedBy Σ 1..1 Reference(Organization) Organization that provides this service
... category Σ 1..* CodeableConcept Broad category of service being performed or delivered
Binding: ServiceCategory (example): A category of the service(s) that could be provided.


.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:encounterClass Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetEncounterClass (MY Core) (preferred)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/encounter-class-my-core
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:serviceRequestCategory Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetServiceRequestCategory( MY Core) (preferred)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/servicerequest-category-my-core
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... type Σ 1..* CodeableConcept Type of service that may be delivered or performed
Binding: ValueSetServiceType (MY Core) (example)
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:encounterClass Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetEncounterClass (MY Core) (preferred)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/encounter-class-my-core
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:serviceRequestCategory Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetServiceRequestCategory( MY Core) (preferred)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/servicerequest-category-my-core
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:serviceType Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetServiceType (MY Core) (preferred)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/service-type-my-core
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:labSubGroup Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetLabSubGroup (MY Core) (preferred)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/lab-sub-group-my-core
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:lab Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetLab (MY Core) (preferred)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/lab-my-core
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:imagingModality Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetImagingModality (MY Core) (preferred)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/imaging-modality-my-core
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:imagingRegion Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetImagingRegion (MY Core) (preferred)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/imaging-region-my-core
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:imaging Σ 0..* Coding Code defined by a terminology system
Binding: ValueSetImaging (MY Core) (preferred)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.hie.moh.gov.my/CodeSystem/imaging-my-core
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... specialty Σ 0..1 CodeableConcept Specialties handled by the HealthcareService
Binding: ValueSetSpecialty (MYCore) (preferred)
... location Σ 0..* Reference(Location) Location(s) where service may be provided
... name Σ 1..1 string Description of service as presented to a consumer while searching
... comment Σ 0..1 string Additional description and/or any specific issues not covered elsewhere
... extraDetails 0..1 markdown Extra details about the service that can't be placed in the other fields
... photo Σ 0..1 Attachment Facilitates quick identification of the service
... telecom 0..* ContactPoint Contacts related to the healthcare service
... coverageArea 0..* Reference(Location) Location(s) service is intended for/available to
... serviceProvisionCode 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.


... eligibility 0..* BackboneElement Specific eligibility requirements required to use the service
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... code 0..1 CodeableConcept Coded value for the eligibility
Binding Description (No ValueSet): (example): Coded values underwhich a specific service is made available.

.... comment 0..1 markdown Describes the eligibility conditions for the service
... program 0..* CodeableConcept Programs that this service is applicable to
Binding: Program (example): Government or local programs that this service applies to.


... characteristic 0..* CodeableConcept Collection of characteristics (attributes)
Binding Description (No ValueSet): (example): A custom attribute that could be provided at a service (e.g. Wheelchair accessibiliy).


... communication 0..* CodeableConcept The language that this service is offered in
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguages Max Binding

... referralMethod 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.


... appointmentRequired 0..1 boolean If an appointment is required for access to this service
... availableTime 0..* BackboneElement Times the Service Site is available
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... daysOfWeek 0..* code mon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required): The days of the week.


.... allDay 0..1 boolean Always available? e.g. 24 hour service
.... availableStartTime 0..1 time Opening time of day (ignored if allDay = true)
.... availableEndTime 0..1 time Closing time of day (ignored if allDay = true)
... notAvailable 0..* BackboneElement Not available during this time due to provided reason
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... description 1..1 string Reason presented to the user explaining why time not available
.... during 0..1 Period Service not available from this date
... availabilityExceptions 0..1 string Description of availability exceptions
... endpoint 0..* Reference(Endpoint) Technical endpoints providing access to electronic services operated for the healthcare service

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
HealthcareService.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
HealthcareService.categoryexampleServiceCategory
http://hl7.org/fhir/ValueSet/service-category
from the FHIR Standard
HealthcareService.category.coding:encounterClasspreferredValueSetEncounterClassMyCore (a valid code from CodeSystemEncounterClass (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core
from this IG
HealthcareService.category.coding:serviceRequestCategorypreferredValueSetServiceRequestCategoryMyCore (a valid code from CodeSystemServiceRequestCategory (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core
from this IG
HealthcareService.typeexampleValueSetServiceTypeMyCore (a valid code from CodeSystemServiceType (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core
from this IG
HealthcareService.type.coding:encounterClasspreferredValueSetEncounterClassMyCore (a valid code from CodeSystemEncounterClass (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core
from this IG
HealthcareService.type.coding:serviceRequestCategorypreferredValueSetServiceRequestCategoryMyCore (a valid code from CodeSystemServiceRequestCategory (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core
from this IG
HealthcareService.type.coding:serviceTypepreferredValueSetServiceTypeMyCore (a valid code from CodeSystemServiceType (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core
from this IG
HealthcareService.type.coding:labSubGrouppreferredValueSetLabSubGroupMyCore (a valid code from CodeSystemLabSubGroup (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/lab-sub-group-my-core
from this IG
HealthcareService.type.coding:labpreferredValueSetLabMyCore (a valid code from CodeSystemLab (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/lab-my-core
from this IG
HealthcareService.type.coding:imagingModalitypreferredValueSetImagingModalityMyCore (a valid code from CodeSystemImagingModality (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/imaging-modality-my-core
from this IG
HealthcareService.type.coding:imagingRegionpreferredValueSetImagingRegionMyCore (a valid code from CodeSystemImagingRegion (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/imaging-region-my-core
from this IG
HealthcareService.type.coding:imagingpreferredValueSetImagingMyCore (a valid code from CodeSystemImaging (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/imaging-my-core
from this IG
HealthcareService.specialtypreferredValueSetSpecialtyMyCore
http://fhir.hie.moh.gov.my/ValueSet/specialty-my-core
from this IG
HealthcareService.serviceProvisionCodeexampleServiceProvisionConditions
http://hl7.org/fhir/ValueSet/service-provision-conditions
from the FHIR Standard
HealthcareService.eligibility.codeexample
HealthcareService.programexampleProgram
http://hl7.org/fhir/ValueSet/program
from the FHIR Standard
HealthcareService.characteristicexample
HealthcareService.communicationpreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
HealthcareService.referralMethodexampleReferralMethod
http://hl7.org/fhir/ValueSet/service-referral-method
from the FHIR Standard
HealthcareService.availableTime.daysOfWeekrequiredDaysOfWeek
http://hl7.org/fhir/ValueSet/days-of-week|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorHealthcareServiceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorHealthcareServiceIf 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-4errorHealthcareServiceIf 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-5errorHealthcareServiceIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceHealthcareServiceA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from HealthcareService

Summary

Mandatory: 4 elements(10 nested mandatory elements)
Fixed: 10 elements

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of HealthcareService.category.coding
  • The element 1 is sliced based on the value of HealthcareService.type.coding

 

Other representations of profile: CSV, Excel, Schematron

Notes:

Mandatory Data Elements

This structure defines these elements as mandatory data fields:

Element Description
HealthcareService.providedBy References the Organization that provides this HealthcareService.
HealthcareService.category General category of HealthcareService provided, e.g. inpatient, outpatient, virtual.
HealthcareService.type Type of HealthcareService provided, e.g. kiosk virtual consultation, specialist outpatient.
HealthcareService.name Description of HealthcareService as would be shown to the consumer.

Slices

This structure slices the following elements:

Element Discriminator Path (Type) Value
HealthcareService.category.coding :encounterClass.system(Value) http://fhir.hie.moh.gov.my/CodeSystem/encounter-class-my-core
:serviceRequestCategory.system(Value) http://fhir.hie.moh.gov.my/CodeSystem/servicerequest-category-my-core
HealthcareService.type.coding :encounterClass.system(Value) http://fhir.hie.moh.gov.my/CodeSystem/encounter-class-my-core
:serviceRequestCategory.system(Value) http://fhir.hie.moh.gov.my/CodeSystem/servicerequest-category-my-core
:serviceType.system(Value) http://fhir.hie.moh.gov.my/CodeSystem/service-type-my-core
:labSubGroup.system.system(Value) http://fhir.hie.moh.gov.my/CodeSystem/lab-sub-group-my-core
:lab.system(Value) http://fhir.hie.moh.gov.my/CodeSystem/lab-my-core
:imagingModality.system(Value) http://fhir.hie.moh.gov.my/CodeSystem/imaging-modality-my-core
:imagingRegion.system(Value) http://fhir.hie.moh.gov.my/CodeSystem/imaging-region-my-core
:imaging.system(Value) http://fhir.hie.moh.gov.my/CodeSystem/imaging-my-core