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/Schedule-my-core | Version: 2.0.0 | |||
Active as of 2024-02-12 | Computable Name: ScheduleMyCore |
A container for slots of time 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..* | Schedule | A container for slots of time 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..* | CodeableConcept | Extension about the type of schedule URL: http://fhir.hie.moh.gov.my/StructureDefinition/schedule-type-my-core Binding: ValueSetScheduleType (MY Core) (required): Schedule type for booking ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Extension to store address state in a Codeable Concept URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-state-my-core Binding: ValueSetState (MY Core) (required) ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Extension to store district address in the form of a Codeable Concept URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-district-my-core Binding: ValueSetDistrict (MY Core) (required) ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() |
0..1 | (Complex) | Extension about the Global Positioning System (GPS) position in a Schedule URL: http://fhir.hie.moh.gov.my/StructureDefinition/schedule-position-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..1 | (Complex) | Extension of the individual who recorded and updated the date 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 | |
![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Extension to reference the custodian of this Resource URL: http://fhir.hie.moh.gov.my/StructureDefinition/service-provider-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..1 | boolean | Whether an appointment booked under this schedule requires approval from the provider side prior booking URL: http://fhir.hie.moh.gov.my/StructureDefinition/require-approval-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 |
![]() ![]() ![]() |
?!Σ | 0..1 | boolean | Whether this schedule is in active use ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..* | CodeableConcept | High-level category 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 | High-level category Binding: ServiceCategory (example) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | High-level category Binding: ValueSetServiceRequestCategory( MY Core) (example) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..* | CodeableConcept | Specific service Binding: ValueSetServiceType (MY Core) (example) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..* | CodeableConcept | Type of specialty needed Binding: ValueSetSpecialty (MYCore) (preferred) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..* | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Device | HealthcareService | Location) | Resource(s) that availability information is being provided for ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Text alternative for the resource ele-1: All FHIR elements must have a @value or children |
![]() |
Path | Conformance | ValueSet | URI |
Schedule.serviceCategory | example | ValueSetEncounterClassMyCore (a valid code from CodeSystemEncounterClass (MY Core))http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core from this IG | |
Schedule.serviceCategory:encounterClass | example | ServiceCategoryhttp://hl7.org/fhir/ValueSet/service-category from the FHIR Standard | |
Schedule.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 | |
Schedule.serviceType | example | ValueSetServiceTypeMyCore (a valid code from CodeSystemServiceType (MY Core))http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core from this IG | |
Schedule.specialty | preferred | ValueSetSpecialtyMyCorehttp://fhir.hie.moh.gov.my/ValueSet/specialty-my-core from this IG | |
Schedule.actor.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Schedule | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Schedule | 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 | Schedule | 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 | Schedule | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Schedule | 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 Schedule
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Schedule | A container for slots of time that may be available for booking appointments | |
![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
1..* | CodeableConcept | Extension about the type of schedule URL: http://fhir.hie.moh.gov.my/StructureDefinition/schedule-type-my-core Binding: ValueSetScheduleType (MY Core) (required): Schedule type for booking | |
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Extension to store address state in a Codeable Concept URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-state-my-core Binding: ValueSetState (MY Core) (required) | |
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Extension to store district address in the form of a Codeable Concept URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-district-my-core Binding: ValueSetDistrict (MY Core) (required) | |
![]() ![]() ![]() ![]() |
0..1 | (Complex) | Extension about the Global Positioning System (GPS) position in a Schedule URL: http://fhir.hie.moh.gov.my/StructureDefinition/schedule-position-my-core | |
![]() ![]() ![]() ![]() |
0..1 | (Complex) | Extension of the individual who recorded and updated the date URL: http://fhir.hie.moh.gov.my/StructureDefinition/audit-my-core | |
![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Extension to reference the custodian of this Resource URL: http://fhir.hie.moh.gov.my/StructureDefinition/service-provider-my-core | |
![]() ![]() ![]() ![]() |
0..1 | boolean | Whether an appointment booked under this schedule requires approval from the provider side prior booking URL: http://fhir.hie.moh.gov.my/StructureDefinition/require-approval-my-core | |
![]() ![]() ![]() |
1..* | CodeableConcept | High-level category Slice: Unordered, Open by value:coding.system Binding: ValueSetEncounterClass (MY Core) (example) | |
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | High-level category | |
![]() ![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core | |
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | High-level category 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 | Specific service Binding: ValueSetServiceType (MY Core) (example) | |
![]() ![]() ![]() |
1..* | CodeableConcept | Type of specialty needed Binding: ValueSetSpecialty (MYCore) (preferred) | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
1..1 | uri | Type the reference refers to (e.g. "Patient") | |
![]() ![]() ![]() ![]() |
1..1 | string | Text alternative for the resource | |
![]() |
Path | Conformance | ValueSet | URI |
Schedule.serviceCategory | example | ValueSetEncounterClassMyCore (a valid code from CodeSystemEncounterClass (MY Core))http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core from this IG | |
Schedule.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 | |
Schedule.serviceType | example | ValueSetServiceTypeMyCore (a valid code from CodeSystemServiceType (MY Core))http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core from this IG | |
Schedule.specialty | preferred | ValueSetSpecialtyMyCorehttp://fhir.hie.moh.gov.my/ValueSet/specialty-my-core from this IG |
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | Schedule | A container for slots of time 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..* | CodeableConcept | Extension about the type of schedule URL: http://fhir.hie.moh.gov.my/StructureDefinition/schedule-type-my-core Binding: ValueSetScheduleType (MY Core) (required): Schedule type for booking | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Extension to store address state in a Codeable Concept URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-state-my-core Binding: ValueSetState (MY Core) (required) | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Extension to store district address in the form of a Codeable Concept URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-district-my-core Binding: ValueSetDistrict (MY Core) (required) | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | Extension about the Global Positioning System (GPS) position in a Schedule URL: http://fhir.hie.moh.gov.my/StructureDefinition/schedule-position-my-core | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | Extension of the individual who recorded and updated the date URL: http://fhir.hie.moh.gov.my/StructureDefinition/audit-my-core | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Extension to reference the custodian of this Resource URL: http://fhir.hie.moh.gov.my/StructureDefinition/service-provider-my-core | |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | Whether an appointment booked under this schedule requires approval from the provider side prior booking URL: http://fhir.hie.moh.gov.my/StructureDefinition/require-approval-my-core | |||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
Σ | 0..* | Identifier | External Ids for this item | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | boolean | Whether this schedule is in active use | ||||
![]() ![]() ![]() |
Σ | 1..* | CodeableConcept | High-level category Slice: Unordered, Open by value:coding.system Binding: ValueSetEncounterClass (MY Core) (example) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | High-level category 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 | High-level category 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 | Specific service Binding: ValueSetServiceType (MY Core) (example) | ||||
![]() ![]() ![]() |
Σ | 1..* | CodeableConcept | Type of specialty needed Binding: ValueSetSpecialty (MYCore) (preferred) | ||||
![]() ![]() ![]() |
Σ | 1..* | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Device | HealthcareService | Location) | Resource(s) that availability information is being provided for | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Period of time covered by schedule | ||||
![]() ![]() ![]() |
0..1 | string | Comments on availability | |||||
![]() |
Path | Conformance | ValueSet | URI | |||
Schedule.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages from the FHIR Standard
| ||||
Schedule.serviceCategory | example | ValueSetEncounterClassMyCore (a valid code from CodeSystemEncounterClass (MY Core))http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core from this IG | ||||
Schedule.serviceCategory:encounterClass | example | ServiceCategoryhttp://hl7.org/fhir/ValueSet/service-category from the FHIR Standard | ||||
Schedule.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 | ||||
Schedule.serviceType | example | ValueSetServiceTypeMyCore (a valid code from CodeSystemServiceType (MY Core))http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core from this IG | ||||
Schedule.specialty | preferred | ValueSetSpecialtyMyCorehttp://fhir.hie.moh.gov.my/ValueSet/specialty-my-core from this IG | ||||
Schedule.actor.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Schedule | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Schedule | 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 | Schedule | 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 | Schedule | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Schedule | 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 Schedule
Summary
Mandatory: 7 elements(2 nested mandatory elements)
Fixed: 2 elements
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Schedule | A container for slots of time 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..* | CodeableConcept | Extension about the type of schedule URL: http://fhir.hie.moh.gov.my/StructureDefinition/schedule-type-my-core Binding: ValueSetScheduleType (MY Core) (required): Schedule type for booking ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Extension to store address state in a Codeable Concept URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-state-my-core Binding: ValueSetState (MY Core) (required) ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Extension to store district address in the form of a Codeable Concept URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-district-my-core Binding: ValueSetDistrict (MY Core) (required) ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() |
0..1 | (Complex) | Extension about the Global Positioning System (GPS) position in a Schedule URL: http://fhir.hie.moh.gov.my/StructureDefinition/schedule-position-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..1 | (Complex) | Extension of the individual who recorded and updated the date 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 | |
![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Extension to reference the custodian of this Resource URL: http://fhir.hie.moh.gov.my/StructureDefinition/service-provider-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..1 | boolean | Whether an appointment booked under this schedule requires approval from the provider side prior booking URL: http://fhir.hie.moh.gov.my/StructureDefinition/require-approval-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 |
![]() ![]() ![]() |
?!Σ | 0..1 | boolean | Whether this schedule is in active use ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..* | CodeableConcept | High-level category 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 | High-level category Binding: ServiceCategory (example) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | High-level category Binding: ValueSetServiceRequestCategory( MY Core) (example) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..* | CodeableConcept | Specific service Binding: ValueSetServiceType (MY Core) (example) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..* | CodeableConcept | Type of specialty needed Binding: ValueSetSpecialty (MYCore) (preferred) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..* | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Device | HealthcareService | Location) | Resource(s) that availability information is being provided for ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Text alternative for the resource ele-1: All FHIR elements must have a @value or children |
![]() |
Path | Conformance | ValueSet | URI |
Schedule.serviceCategory | example | ValueSetEncounterClassMyCore (a valid code from CodeSystemEncounterClass (MY Core))http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core from this IG | |
Schedule.serviceCategory:encounterClass | example | ServiceCategoryhttp://hl7.org/fhir/ValueSet/service-category from the FHIR Standard | |
Schedule.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 | |
Schedule.serviceType | example | ValueSetServiceTypeMyCore (a valid code from CodeSystemServiceType (MY Core))http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core from this IG | |
Schedule.specialty | preferred | ValueSetSpecialtyMyCorehttp://fhir.hie.moh.gov.my/ValueSet/specialty-my-core from this IG | |
Schedule.actor.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Schedule | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Schedule | 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 | Schedule | 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 | Schedule | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Schedule | 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 Schedule
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Schedule | A container for slots of time that may be available for booking appointments | |
![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
1..* | CodeableConcept | Extension about the type of schedule URL: http://fhir.hie.moh.gov.my/StructureDefinition/schedule-type-my-core Binding: ValueSetScheduleType (MY Core) (required): Schedule type for booking | |
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Extension to store address state in a Codeable Concept URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-state-my-core Binding: ValueSetState (MY Core) (required) | |
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Extension to store district address in the form of a Codeable Concept URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-district-my-core Binding: ValueSetDistrict (MY Core) (required) | |
![]() ![]() ![]() ![]() |
0..1 | (Complex) | Extension about the Global Positioning System (GPS) position in a Schedule URL: http://fhir.hie.moh.gov.my/StructureDefinition/schedule-position-my-core | |
![]() ![]() ![]() ![]() |
0..1 | (Complex) | Extension of the individual who recorded and updated the date URL: http://fhir.hie.moh.gov.my/StructureDefinition/audit-my-core | |
![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Extension to reference the custodian of this Resource URL: http://fhir.hie.moh.gov.my/StructureDefinition/service-provider-my-core | |
![]() ![]() ![]() ![]() |
0..1 | boolean | Whether an appointment booked under this schedule requires approval from the provider side prior booking URL: http://fhir.hie.moh.gov.my/StructureDefinition/require-approval-my-core | |
![]() ![]() ![]() |
1..* | CodeableConcept | High-level category Slice: Unordered, Open by value:coding.system Binding: ValueSetEncounterClass (MY Core) (example) | |
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | High-level category | |
![]() ![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core | |
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | High-level category 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 | Specific service Binding: ValueSetServiceType (MY Core) (example) | |
![]() ![]() ![]() |
1..* | CodeableConcept | Type of specialty needed Binding: ValueSetSpecialty (MYCore) (preferred) | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
1..1 | uri | Type the reference refers to (e.g. "Patient") | |
![]() ![]() ![]() ![]() |
1..1 | string | Text alternative for the resource | |
![]() |
Path | Conformance | ValueSet | URI |
Schedule.serviceCategory | example | ValueSetEncounterClassMyCore (a valid code from CodeSystemEncounterClass (MY Core))http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core from this IG | |
Schedule.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 | |
Schedule.serviceType | example | ValueSetServiceTypeMyCore (a valid code from CodeSystemServiceType (MY Core))http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core from this IG | |
Schedule.specialty | preferred | ValueSetSpecialtyMyCorehttp://fhir.hie.moh.gov.my/ValueSet/specialty-my-core from this IG |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | Schedule | A container for slots of time 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..* | CodeableConcept | Extension about the type of schedule URL: http://fhir.hie.moh.gov.my/StructureDefinition/schedule-type-my-core Binding: ValueSetScheduleType (MY Core) (required): Schedule type for booking | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Extension to store address state in a Codeable Concept URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-state-my-core Binding: ValueSetState (MY Core) (required) | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Extension to store district address in the form of a Codeable Concept URL: http://fhir.hie.moh.gov.my/StructureDefinition/address-district-my-core Binding: ValueSetDistrict (MY Core) (required) | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | Extension about the Global Positioning System (GPS) position in a Schedule URL: http://fhir.hie.moh.gov.my/StructureDefinition/schedule-position-my-core | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | Extension of the individual who recorded and updated the date URL: http://fhir.hie.moh.gov.my/StructureDefinition/audit-my-core | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Extension to reference the custodian of this Resource URL: http://fhir.hie.moh.gov.my/StructureDefinition/service-provider-my-core | |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | Whether an appointment booked under this schedule requires approval from the provider side prior booking URL: http://fhir.hie.moh.gov.my/StructureDefinition/require-approval-my-core | |||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
Σ | 0..* | Identifier | External Ids for this item | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | boolean | Whether this schedule is in active use | ||||
![]() ![]() ![]() |
Σ | 1..* | CodeableConcept | High-level category Slice: Unordered, Open by value:coding.system Binding: ValueSetEncounterClass (MY Core) (example) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | High-level category 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 | High-level category 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 | Specific service Binding: ValueSetServiceType (MY Core) (example) | ||||
![]() ![]() ![]() |
Σ | 1..* | CodeableConcept | Type of specialty needed Binding: ValueSetSpecialty (MYCore) (preferred) | ||||
![]() ![]() ![]() |
Σ | 1..* | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Device | HealthcareService | Location) | Resource(s) that availability information is being provided for | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Period of time covered by schedule | ||||
![]() ![]() ![]() |
0..1 | string | Comments on availability | |||||
![]() |
Path | Conformance | ValueSet | URI | |||
Schedule.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages from the FHIR Standard
| ||||
Schedule.serviceCategory | example | ValueSetEncounterClassMyCore (a valid code from CodeSystemEncounterClass (MY Core))http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core from this IG | ||||
Schedule.serviceCategory:encounterClass | example | ServiceCategoryhttp://hl7.org/fhir/ValueSet/service-category from the FHIR Standard | ||||
Schedule.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 | ||||
Schedule.serviceType | example | ValueSetServiceTypeMyCore (a valid code from CodeSystemServiceType (MY Core))http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core from this IG | ||||
Schedule.specialty | preferred | ValueSetSpecialtyMyCorehttp://fhir.hie.moh.gov.my/ValueSet/specialty-my-core from this IG | ||||
Schedule.actor.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Schedule | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Schedule | 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 | Schedule | 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 | Schedule | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Schedule | 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 Schedule
Summary
Mandatory: 7 elements(2 nested mandatory elements)
Fixed: 2 elements
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 |
---|---|
Schedule.serviceCategory
|
General category of service planned by the Schedule, e.g. outpatient, virtual. |
Schedule.serviceType
|
Type of service planned by the Schedule, e.g. kiosk virtual consultation, specialist outpatient. |
Schedule.specialty
|
The specialty of a Practitioner that would be required to perform the service planned in this Schedule. |
Schedule.actor
|
Provides the availability details to these referenced resources. Can be Location, PractitionerRole, HealthcareService, etc. |
Schedule.extension:scheduleType
|
Type of Schedule made, e.g. internal, affiliated Organization, public. |
This structure slices the following elements:
Element | Discriminator Path (Type) | Value |
---|---|---|
Schedule.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 |