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
Official URL: http://fhir.hie.moh.gov.my/StructureDefinition/Slot-my-core | Version: 2.0.0 | |||
Active as of 2024-03-13 | Computable Name: SlotMyCore |
A slot of time on a schedule that may be available for booking appointments. For the Malaysian context, please refer to Scheduling & Appointment for the scheduling integration guide.
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Slot | A slot of time on a schedule that may be available for booking appointments 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 | |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
1..* | 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 | |
![]() ![]() ![]() ![]() |
1..1 | (Complex) | Extension about the maximum quota allocated for a slot URL: http://fhir.hie.moh.gov.my/StructureDefinition/slot-quota-my-core ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() |
?! | 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 |
![]() ![]() ![]() |
Σ | 1..* | CodeableConcept | A broad categorization of the service that is to be performed during this appointment Slice: Unordered, Open by value:coding.system Binding: ValueSetEncounterClass (MY Core) (example) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | A broad categorization of the service that is to be performed during this appointment Binding: ServiceCategory (example) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | A broad categorization of the service that is to be performed during this appointment Binding: ValueSetServiceRequestCategory( MY Core) (example) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..* | CodeableConcept | The type of appointments that can be booked into this slot (ideally this would be an identifiable service - which is at a location, rather than the location itself). If provided then this overrides the value provided on the availability resource Binding: ValueSetServiceType (MY Core) (extensible) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..* | CodeableConcept | The specialty of a practitioner that would be required to perform the service requested in this appointment Binding: ValueSetSpecialty (MYCore) (preferred) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | The style of appointment or patient that may be booked in the slot (not service type) Binding: ValueSetScheduleType (MY Core) (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..1 | Reference(Schedule (MY Core)) | The schedule resource that this slot defines an interval of status information ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..1 | code | busy | free | busy-unavailable | busy-tentative | entered-in-error Binding: SlotStatus (required): The free/busy status of the slot. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..1 | instant | Date/Time that the slot is to begin ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..1 | instant | Date/Time that the slot is to conclude ele-1: All FHIR elements must have a @value or children |
![]() |
Path | Conformance | ValueSet | URI |
Slot.serviceCategory | example | ValueSetEncounterClassMyCore (a valid code from CodeSystemEncounterClass (MY Core))http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core from this IG | |
Slot.serviceCategory:encounterClass | example | ServiceCategoryhttp://hl7.org/fhir/ValueSet/service-category from the FHIR Standard | |
Slot.serviceCategory:serviceRequestCategory | example | ValueSetServiceRequestCategoryMyCore (a valid code from CodeSystemServiceRequestCategory (MY Core))http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core from this IG | |
Slot.serviceType | extensible | ValueSetServiceTypeMyCore (a valid code from CodeSystemServiceType (MY Core))http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core from this IG | |
Slot.specialty | preferred | ValueSetSpecialtyMyCorehttp://fhir.hie.moh.gov.my/ValueSet/specialty-my-core from this IG | |
Slot.appointmentType | required | ValueSetScheduleTypeMyCore (a valid code from CodeSystemScheduleType (MYCore))http://fhir.hie.moh.gov.my/ValueSet/schedule-type-my-core from this IG | |
Slot.status | required | SlotStatushttp://hl7.org/fhir/ValueSet/slotstatus|4.0.1 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Slot | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Slot | 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 | Slot | 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 | Slot | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Slot | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
This structure is derived from Slot
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Slot | A slot of time on a schedule that may be available for booking appointments | |
![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
1..1 | (Complex) | Extension about the maximum quota allocated for a slot URL: http://fhir.hie.moh.gov.my/StructureDefinition/slot-quota-my-core | |
![]() ![]() ![]() |
1..* | CodeableConcept | A broad categorization of the service that is to be performed during this appointment Slice: Unordered, Open by value:coding.system Binding: ValueSetEncounterClass (MY Core) (example) | |
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | A broad categorization of the service that is to be performed during this appointment | |
![]() ![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core | |
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | A broad categorization of the service that is to be performed during this appointment Binding: ValueSetServiceRequestCategory( MY Core) (example) | |
![]() ![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core | |
![]() ![]() ![]() |
1..* | CodeableConcept | The type of appointments that can be booked into this slot (ideally this would be an identifiable service - which is at a location, rather than the location itself). If provided then this overrides the value provided on the availability resource Binding: ValueSetServiceType (MY Core) (extensible) | |
![]() ![]() ![]() |
1..* | CodeableConcept | The specialty of a practitioner that would be required to perform the service requested in this appointment Binding: ValueSetSpecialty (MYCore) (preferred) | |
![]() ![]() ![]() |
1..1 | CodeableConcept | The style of appointment or patient that may be booked in the slot (not service type) Binding: ValueSetScheduleType (MY Core) (required) | |
![]() ![]() ![]() |
1..1 | Reference(Schedule (MY Core)) | The schedule resource that this slot defines an interval of status information | |
![]() |
Path | Conformance | ValueSet | URI |
Slot.serviceCategory | example | ValueSetEncounterClassMyCore (a valid code from CodeSystemEncounterClass (MY Core))http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core from this IG | |
Slot.serviceCategory:serviceRequestCategory | example | ValueSetServiceRequestCategoryMyCore (a valid code from CodeSystemServiceRequestCategory (MY Core))http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core from this IG | |
Slot.serviceType | extensible | ValueSetServiceTypeMyCore (a valid code from CodeSystemServiceType (MY Core))http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core from this IG | |
Slot.specialty | preferred | ValueSetSpecialtyMyCorehttp://fhir.hie.moh.gov.my/ValueSet/specialty-my-core from this IG | |
Slot.appointmentType | required | ValueSetScheduleTypeMyCore (a valid code from CodeSystemScheduleType (MYCore))http://fhir.hie.moh.gov.my/ValueSet/schedule-type-my-core from this IG |
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | Slot | A slot of time on a schedule that may be available for booking appointments | |||||
![]() ![]() ![]() |
Σ | 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 | |||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | (Complex) | Extension about the maximum quota allocated for a slot URL: http://fhir.hie.moh.gov.my/StructureDefinition/slot-quota-my-core | |||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
Σ | 0..* | Identifier | External Ids for this item | ||||
![]() ![]() ![]() |
Σ | 1..* | CodeableConcept | A broad categorization of the service that is to be performed during this appointment Slice: Unordered, Open by value:coding.system Binding: ValueSetEncounterClass (MY Core) (example) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | A broad categorization of the service that is to be performed during this appointment Binding: ServiceCategory (example) | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | A broad categorization of the service that is to be performed during this appointment Binding: ValueSetServiceRequestCategory( MY Core) (example) | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
Σ | 1..* | CodeableConcept | The type of appointments that can be booked into this slot (ideally this would be an identifiable service - which is at a location, rather than the location itself). If provided then this overrides the value provided on the availability resource Binding: ValueSetServiceType (MY Core) (extensible) | ||||
![]() ![]() ![]() |
Σ | 1..* | CodeableConcept | The specialty of a practitioner that would be required to perform the service requested in this appointment Binding: ValueSetSpecialty (MYCore) (preferred) | ||||
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | The style of appointment or patient that may be booked in the slot (not service type) Binding: ValueSetScheduleType (MY Core) (required) | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Schedule (MY Core)) | The schedule resource that this slot defines an interval of status information | ||||
![]() ![]() ![]() |
Σ | 1..1 | code | busy | free | busy-unavailable | busy-tentative | entered-in-error Binding: SlotStatus (required): The free/busy status of the slot. | ||||
![]() ![]() ![]() |
Σ | 1..1 | instant | Date/Time that the slot is to begin | ||||
![]() ![]() ![]() |
Σ | 1..1 | instant | Date/Time that the slot is to conclude | ||||
![]() ![]() ![]() |
0..1 | boolean | This slot has already been overbooked, appointments are unlikely to be accepted for this time | |||||
![]() ![]() ![]() |
0..1 | string | Comments on the slot to describe any extended information. Such as custom constraints on the slot | |||||
![]() |
Path | Conformance | ValueSet | URI | |||
Slot.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages from the FHIR Standard
| ||||
Slot.serviceCategory | example | ValueSetEncounterClassMyCore (a valid code from CodeSystemEncounterClass (MY Core))http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core from this IG | ||||
Slot.serviceCategory:encounterClass | example | ServiceCategoryhttp://hl7.org/fhir/ValueSet/service-category from the FHIR Standard | ||||
Slot.serviceCategory:serviceRequestCategory | example | ValueSetServiceRequestCategoryMyCore (a valid code from CodeSystemServiceRequestCategory (MY Core))http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core from this IG | ||||
Slot.serviceType | extensible | ValueSetServiceTypeMyCore (a valid code from CodeSystemServiceType (MY Core))http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core from this IG | ||||
Slot.specialty | preferred | ValueSetSpecialtyMyCorehttp://fhir.hie.moh.gov.my/ValueSet/specialty-my-core from this IG | ||||
Slot.appointmentType | required | ValueSetScheduleTypeMyCore (a valid code from CodeSystemScheduleType (MYCore))http://fhir.hie.moh.gov.my/ValueSet/schedule-type-my-core from this IG | ||||
Slot.status | required | SlotStatushttp://hl7.org/fhir/ValueSet/slotstatus|4.0.1 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Slot | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Slot | 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 | Slot | 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 | Slot | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Slot | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
This structure is derived from Slot
Summary
Mandatory: 6 elements(2 nested mandatory elements)
Fixed: 2 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Slot | A slot of time on a schedule that may be available for booking appointments 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 | |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
1..* | 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 | |
![]() ![]() ![]() ![]() |
1..1 | (Complex) | Extension about the maximum quota allocated for a slot URL: http://fhir.hie.moh.gov.my/StructureDefinition/slot-quota-my-core ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() |
?! | 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 |
![]() ![]() ![]() |
Σ | 1..* | CodeableConcept | A broad categorization of the service that is to be performed during this appointment Slice: Unordered, Open by value:coding.system Binding: ValueSetEncounterClass (MY Core) (example) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | A broad categorization of the service that is to be performed during this appointment Binding: ServiceCategory (example) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | A broad categorization of the service that is to be performed during this appointment Binding: ValueSetServiceRequestCategory( MY Core) (example) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..* | CodeableConcept | The type of appointments that can be booked into this slot (ideally this would be an identifiable service - which is at a location, rather than the location itself). If provided then this overrides the value provided on the availability resource Binding: ValueSetServiceType (MY Core) (extensible) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..* | CodeableConcept | The specialty of a practitioner that would be required to perform the service requested in this appointment Binding: ValueSetSpecialty (MYCore) (preferred) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | The style of appointment or patient that may be booked in the slot (not service type) Binding: ValueSetScheduleType (MY Core) (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..1 | Reference(Schedule (MY Core)) | The schedule resource that this slot defines an interval of status information ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..1 | code | busy | free | busy-unavailable | busy-tentative | entered-in-error Binding: SlotStatus (required): The free/busy status of the slot. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..1 | instant | Date/Time that the slot is to begin ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..1 | instant | Date/Time that the slot is to conclude ele-1: All FHIR elements must have a @value or children |
![]() |
Path | Conformance | ValueSet | URI |
Slot.serviceCategory | example | ValueSetEncounterClassMyCore (a valid code from CodeSystemEncounterClass (MY Core))http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core from this IG | |
Slot.serviceCategory:encounterClass | example | ServiceCategoryhttp://hl7.org/fhir/ValueSet/service-category from the FHIR Standard | |
Slot.serviceCategory:serviceRequestCategory | example | ValueSetServiceRequestCategoryMyCore (a valid code from CodeSystemServiceRequestCategory (MY Core))http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core from this IG | |
Slot.serviceType | extensible | ValueSetServiceTypeMyCore (a valid code from CodeSystemServiceType (MY Core))http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core from this IG | |
Slot.specialty | preferred | ValueSetSpecialtyMyCorehttp://fhir.hie.moh.gov.my/ValueSet/specialty-my-core from this IG | |
Slot.appointmentType | required | ValueSetScheduleTypeMyCore (a valid code from CodeSystemScheduleType (MYCore))http://fhir.hie.moh.gov.my/ValueSet/schedule-type-my-core from this IG | |
Slot.status | required | SlotStatushttp://hl7.org/fhir/ValueSet/slotstatus|4.0.1 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Slot | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Slot | 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 | Slot | 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 | Slot | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Slot | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
Differential View
This structure is derived from Slot
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Slot | A slot of time on a schedule that may be available for booking appointments | |
![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
1..1 | (Complex) | Extension about the maximum quota allocated for a slot URL: http://fhir.hie.moh.gov.my/StructureDefinition/slot-quota-my-core | |
![]() ![]() ![]() |
1..* | CodeableConcept | A broad categorization of the service that is to be performed during this appointment Slice: Unordered, Open by value:coding.system Binding: ValueSetEncounterClass (MY Core) (example) | |
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | A broad categorization of the service that is to be performed during this appointment | |
![]() ![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core | |
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | A broad categorization of the service that is to be performed during this appointment Binding: ValueSetServiceRequestCategory( MY Core) (example) | |
![]() ![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core | |
![]() ![]() ![]() |
1..* | CodeableConcept | The type of appointments that can be booked into this slot (ideally this would be an identifiable service - which is at a location, rather than the location itself). If provided then this overrides the value provided on the availability resource Binding: ValueSetServiceType (MY Core) (extensible) | |
![]() ![]() ![]() |
1..* | CodeableConcept | The specialty of a practitioner that would be required to perform the service requested in this appointment Binding: ValueSetSpecialty (MYCore) (preferred) | |
![]() ![]() ![]() |
1..1 | CodeableConcept | The style of appointment or patient that may be booked in the slot (not service type) Binding: ValueSetScheduleType (MY Core) (required) | |
![]() ![]() ![]() |
1..1 | Reference(Schedule (MY Core)) | The schedule resource that this slot defines an interval of status information | |
![]() |
Path | Conformance | ValueSet | URI |
Slot.serviceCategory | example | ValueSetEncounterClassMyCore (a valid code from CodeSystemEncounterClass (MY Core))http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core from this IG | |
Slot.serviceCategory:serviceRequestCategory | example | ValueSetServiceRequestCategoryMyCore (a valid code from CodeSystemServiceRequestCategory (MY Core))http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core from this IG | |
Slot.serviceType | extensible | ValueSetServiceTypeMyCore (a valid code from CodeSystemServiceType (MY Core))http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core from this IG | |
Slot.specialty | preferred | ValueSetSpecialtyMyCorehttp://fhir.hie.moh.gov.my/ValueSet/specialty-my-core from this IG | |
Slot.appointmentType | required | ValueSetScheduleTypeMyCore (a valid code from CodeSystemScheduleType (MYCore))http://fhir.hie.moh.gov.my/ValueSet/schedule-type-my-core from this IG |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | Slot | A slot of time on a schedule that may be available for booking appointments | |||||
![]() ![]() ![]() |
Σ | 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 | |||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | (Complex) | Extension about the maximum quota allocated for a slot URL: http://fhir.hie.moh.gov.my/StructureDefinition/slot-quota-my-core | |||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
Σ | 0..* | Identifier | External Ids for this item | ||||
![]() ![]() ![]() |
Σ | 1..* | CodeableConcept | A broad categorization of the service that is to be performed during this appointment Slice: Unordered, Open by value:coding.system Binding: ValueSetEncounterClass (MY Core) (example) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | A broad categorization of the service that is to be performed during this appointment Binding: ServiceCategory (example) | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | A broad categorization of the service that is to be performed during this appointment Binding: ValueSetServiceRequestCategory( MY Core) (example) | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
Σ | 1..* | CodeableConcept | The type of appointments that can be booked into this slot (ideally this would be an identifiable service - which is at a location, rather than the location itself). If provided then this overrides the value provided on the availability resource Binding: ValueSetServiceType (MY Core) (extensible) | ||||
![]() ![]() ![]() |
Σ | 1..* | CodeableConcept | The specialty of a practitioner that would be required to perform the service requested in this appointment Binding: ValueSetSpecialty (MYCore) (preferred) | ||||
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | The style of appointment or patient that may be booked in the slot (not service type) Binding: ValueSetScheduleType (MY Core) (required) | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Schedule (MY Core)) | The schedule resource that this slot defines an interval of status information | ||||
![]() ![]() ![]() |
Σ | 1..1 | code | busy | free | busy-unavailable | busy-tentative | entered-in-error Binding: SlotStatus (required): The free/busy status of the slot. | ||||
![]() ![]() ![]() |
Σ | 1..1 | instant | Date/Time that the slot is to begin | ||||
![]() ![]() ![]() |
Σ | 1..1 | instant | Date/Time that the slot is to conclude | ||||
![]() ![]() ![]() |
0..1 | boolean | This slot has already been overbooked, appointments are unlikely to be accepted for this time | |||||
![]() ![]() ![]() |
0..1 | string | Comments on the slot to describe any extended information. Such as custom constraints on the slot | |||||
![]() |
Path | Conformance | ValueSet | URI | |||
Slot.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages from the FHIR Standard
| ||||
Slot.serviceCategory | example | ValueSetEncounterClassMyCore (a valid code from CodeSystemEncounterClass (MY Core))http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core from this IG | ||||
Slot.serviceCategory:encounterClass | example | ServiceCategoryhttp://hl7.org/fhir/ValueSet/service-category from the FHIR Standard | ||||
Slot.serviceCategory:serviceRequestCategory | example | ValueSetServiceRequestCategoryMyCore (a valid code from CodeSystemServiceRequestCategory (MY Core))http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core from this IG | ||||
Slot.serviceType | extensible | ValueSetServiceTypeMyCore (a valid code from CodeSystemServiceType (MY Core))http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core from this IG | ||||
Slot.specialty | preferred | ValueSetSpecialtyMyCorehttp://fhir.hie.moh.gov.my/ValueSet/specialty-my-core from this IG | ||||
Slot.appointmentType | required | ValueSetScheduleTypeMyCore (a valid code from CodeSystemScheduleType (MYCore))http://fhir.hie.moh.gov.my/ValueSet/schedule-type-my-core from this IG | ||||
Slot.status | required | SlotStatushttp://hl7.org/fhir/ValueSet/slotstatus|4.0.1 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Slot | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Slot | 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 | Slot | 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 | Slot | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Slot | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
This structure is derived from Slot
Summary
Mandatory: 6 elements(2 nested mandatory elements)
Fixed: 2 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron
This structure defines these elements as mandatory data fields:
Element | Description |
---|---|
Slot.serviceCategory
|
General category of service planned by the Slot, e.g. outpatient, virtual. |
Slot.serviceType
|
Type of service planned by the Slot, e.g. kiosk virtual consultation, specialist outpatient. |
Slot.specialty
|
The specialty of a Practitioner that would be required to perform the service planned in this Slot. |
Slot.appointmentType
|
Type of Appointment that will be made in the Slot, e.g. walk-in, emergency, follow-up. |
Slot.schedule
|
References the Schedule that contains the Slot. |
Slot.status
|
Status of the Slot, e.g. free, busy, busy-unavailable. |
Slot.start
|
Date/Time where the Slot will begin. |
Slot.end
|
Date/Time where the Slot will conclude. |
Slot.extension:SlotQuota
|
Extension for the maximum quota allocated for the Slot. |
This structure slices the following elements:
Element | Discriminator Path (Type) | Value |
---|---|---|
Slot.serviceCategory
|
:encounterClass.coding.system(Value)
|
http://fhir.hie.moh.gov.my/CodeSystem/encounter-class-my-core |
:serviceRequestCategory.coding.system(Value)
|
http://fhir.hie.moh.gov.my/CodeSystem/servicerequest-category-my-core |