description: null package_name: synapxe.sgcdi derivation: constraint name: Appointment type: Appointment elements: description: {index: 74} serviceCategory: type: CodeableConcept short: Patient type code binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/patient-type'} index: 47 extensions: {} elements: extension: {index: 48} coding: elements: system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/patient-type'} index: 49 code: {index: 50} slot: {index: 86} previousAppointment: {index: 80} originatingAppointment: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-appointment'] index: 81 elements: id: {index: 82} extension: {index: 83} extensions: {} recurrenceId: {index: 118} cancellationDate: {index: 89} specialty: type: CodeableConcept index: 59 extensions: {} elements: extension: {index: 60} coding: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 61 code: {index: 62} occurrenceChanged: {index: 119} requestedPeriod: {index: 85} patientInstruction: {index: 96} recurrenceTemplate: {index: 120} start: {index: 84} created: {index: 88} participant: elements: id: {index: 105} extension: {index: 106} modifierExtension: {index: 107} type: type: CodeableConcept binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/appointment-participant-type'} index: 108 extensions: {} elements: extension: {index: 109} coding: elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'} index: 110 code: {index: 111} period: {index: 112} actor: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-organization', 'https://fhir.synapxe.sg/StructureDefinition/profile-practitioner'] index: 113 elements: id: {index: 114} extension: {index: 115} identifier: {type: Identifier, index: 116} extensions: {} required: {index: 117} extensions: {} required: [type, actor] serviceType: short: Appointment type code index: 51 elements: id: {index: 52} extension: {index: 53} concept: type: CodeableConcept binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/appointment-type'} index: 54 extensions: {} elements: extension: {index: 55} coding: elements: system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/appointment-type'} index: 56 code: {index: 57} reference: {index: 58} extensions: {} required: [concept] note: index: 90 elements: id: {index: 91} extension: {index: 92} author: choices: [] index: 94 time: {index: 95} extensions: {} account: {index: 87} virtualService: {index: 76} reason: type: CodeableReference index: 66 elements: id: {index: 67} extension: {index: 68} concept: type: CodeableConcept binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/reason-for-appointment'} index: 69 extensions: {} elements: extension: {index: 70} coding: elements: system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/reason-for-appointment'} index: 71 code: {index: 72} extensions: {} contained: type: Resource short: A grouping of people or organizations with a common purpose constraint: dom-2: {human: 'If the resource is contained in another resource, it SHALL NOT contain nested Resources', source: 'http://hl7.org/fhir/StructureDefinition/DomainResource', severity: error, expression: contained.contained.empty()} dom-4: {human: 'If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated', source: 'http://hl7.org/fhir/StructureDefinition/DomainResource', severity: error, expression: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()} dom-3: {human: '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', source: 'http://hl7.org/fhir/StructureDefinition/DomainResource', severity: error, expression: 'contained.where(((''#''+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = ''#'').exists() or descendants().where(ofType(canonical) = ''#'').exists() or descendants().where(ofType(canonical) = ''#'').exists()).not()).trace(''unmatched'', id).empty()'} dom-6: {human: A resource should have narrative for robust management, source: 'http://hl7.org/fhir/StructureDefinition/DomainResource', severity: warning, expression: text.`div`.exists()} dom-5: {human: 'If a resource is contained in another resource, it SHALL NOT have a security label', source: 'http://hl7.org/fhir/StructureDefinition/DomainResource', severity: error, expression: contained.meta.security.empty()} org-1: {human: 'The organization SHALL at least have a name or an identifier, and possibly more than one', source: 'http://hl7.org/fhir/StructureDefinition/Organization', severity: error, expression: (identifier.count() + name.count()) > 0} index: 0 supportingInformation: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-location'] index: 77 elements: id: {index: 78} extension: {index: 79} extensions: {} priority: {index: 73} appointmentType: type: CodeableConcept short: The movement type associated with the appointment can be represented as an admission or visit type binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/movement-type'} index: 63 extensions: {} elements: extension: {index: 64} coding: elements: system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/movement-type'} index: 65 status: {index: 30} class: short: inpatient | outpatient index: 35 elements: id: {index: 36} extension: {index: 37} coding: index: 38 elements: id: {index: 39} extension: {index: 40} system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/patienttype'} index: 41 version: {index: 42} code: {index: 43} display: {index: 44} userSelected: {index: 45} extensions: {} required: [display, system, code] text: {index: 46} extensions: {} required: [coding] cancellationReason: type: CodeableConcept binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/reasonforcancellation'} index: 31 extensions: {} elements: extension: {index: 32} coding: elements: system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/reasonforcancellation'} index: 33 code: {index: 34} identifier: index: 1 elements: id: {index: 2} extension: {index: 3} use: {index: 4} type: {index: 5} system: {index: 6} value: {index: 7} period: {index: 8} assigner: {index: 9} extensions: {} required: [value, system] slicing: rules: open discriminator: - {path: system, type: value} min: 1 slices: recordIdentifier: match: {system: 'https://fhir.synapxe.sg/NamingSystem/record-id'} schema: _required: true index: 10 elements: id: {index: 11} extension: {index: 12} use: {index: 13} type: {index: 14} system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/record-id'} index: 15 value: {index: 16} period: {index: 17} assigner: {index: 18} extensions: {} required: [value, system] appointmentIdentifier: match: {system: 'https://fhir.synapxe.sg/NamingSystem/appointment-id'} schema: _required: true index: 19 elements: id: {index: 20} extension: {index: 21} use: {index: 22} type: {index: 23} system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/appointment-id'} index: 24 value: {index: 25} period: {index: 26} assigner: {index: 27} extensions: {} required: [value, system] groupNo: match: {system: 'https://fhir.synapxe.sg/NamingSystem/group-no'} schema: type: Identifier index: 28 elements: system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/group-no'} index: 29 replaces: {index: 75} basedOn: type: Reference short: The referral information of this appointment refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-servicerequest'] index: 97 elements: id: {index: 98} extension: {index: 99} identifier: {type: Identifier, index: 100} extensions: {} subject: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-patient'] index: 101 elements: id: {index: 102} extension: {index: 103} identifier: {type: Identifier, index: 104} extensions: {} package_version: 1.1.5 class: profile kind: resource url: https://fhir.synapxe.sg/StructureDefinition/profile-appointment base: http://hl7.org/fhir/StructureDefinition/Appointment version: null required: [start, identifier, subject, reason]