description: A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s). package_name: MyHIE.v4 derivation: constraint name: AppointmentMyCore type: Appointment elements: extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: 0 slices: simpleRegister: match: {url: null} schema: type: Extension isModifier: false url: http://fhir.hie.moh.gov.my/StructureDefinition/simple-register-my-core index: 1 extensions: identifier: {url: null, min: 0, max: 1, index: 3} name: {url: null, min: 0, max: 1, index: 4} birthDate: {url: null, min: 0, max: 1, index: 5} elements: extension: index: 2 slicing: rules: open discriminator: - {path: url, type: value} min: 0 slices: identifier: match: {url: null} schema: {index: 3} min: 0 max: 1 name: match: {url: null} schema: {index: 4} min: 0 max: 1 birthDate: match: {url: null} schema: {index: 5} min: 0 max: 1 cancelationReason: binding: {strength: required, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/cancelation-reason-my-core'} index: 6 serviceCategory: binding: {strength: example, valueSet: 'http://fhir.hie.moh.gov.my/Valueset/service-request-category-my-core'} index: 7 slicing: rules: open discriminator: - {path: coding.system, type: value} min: null slices: encounterClass: match: coding: {system: 'http://fhir.hie.moh.gov.my/Valueset/service-request-category-my-core'} schema: binding: {strength: example, valueSet: 'http://fhir.hie.moh.gov.my/Valueset/service-request-category-my-core'} index: 8 elements: coding: elements: system: pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/Valueset/service-request-category-my-core'} index: 9 serviceRequestCategory: match: coding: {system: 'http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core'} schema: binding: {strength: example, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core'} index: 10 elements: coding: elements: system: pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core'} index: 11 serviceType: binding: {strength: required, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core'} index: 12 specialty: binding: {strength: required, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/specialty-my-core'} index: 13 appointmentType: binding: {strength: required, valueSet: 'http://fhir.hie.moh.gov.my/Valueset/schedule-type-my-core'} index: 14 participant: constraint: app-1: {human: Either the type or actor on the participant SHALL be specified, source: 'http://fhir.hie.moh.gov.my/StructureDefinition/Appointment', severity: error} index: 15 elements: actor: elements: type: {index: 16} display: {index: 17} required: [type, display] package_version: 2.0.0-alpha extensions: simpleRegister: url: http://fhir.hie.moh.gov.my/StructureDefinition/simple-register-my-core type: Extension isModifier: false index: 1 extensions: identifier: {url: null, min: 0, max: 1, index: 3} name: {url: null, min: 0, max: 1, index: 4} birthDate: {url: null, min: 0, max: 1, index: 5} elements: extension: index: 2 slicing: rules: open discriminator: - {path: url, type: value} min: 0 slices: identifier: match: {url: null} schema: {index: 3} min: 0 max: 1 name: match: {url: null} schema: {index: 4} min: 0 max: 1 birthDate: match: {url: null} schema: {index: 5} min: 0 max: 1 class: profile kind: resource url: http://fhir.hie.moh.gov.my/StructureDefinition/Appointment-my-core base: http://hl7.org/fhir/StructureDefinition/Appointment version: 1.0.0