PackagesCanonicalsLogsProblems
    Packages
    synapxe.sgcdi@1.0.8
    https://fhir.synapxe.sg/StructureDefinition/profile-appointment
description: null
package_name: synapxe.sgcdi
derivation: constraint
name: Appointment
type: Appointment
elements:
  description: {index: 77}
  serviceCategory:
    type: CodeableConcept
    short: Patient type code
    binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/patient-type'}
    index: 50
    extensions: {}
    elements:
      extension: {index: 51}
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/patient-type'}
            index: 52
          code: {index: 53}
  slot: {index: 90}
  previousAppointment: {index: 83}
  originatingAppointment:
    type: Reference
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-appointment']
    index: 84
    elements:
      id: {index: 85}
      extension: {index: 86}
    extensions: {}
  recurrenceId: {index: 122}
  cancellationDate: {index: 93}
  specialty:
    type: CodeableConcept
    binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/department-specialty'}
    index: 62
    extensions: {}
    elements:
      extension: {index: 63}
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/department-specialty'}
            index: 64
          code: {index: 65}
  occurrenceChanged: {index: 123}
  requestedPeriod: {index: 89}
  patientInstruction: {index: 100}
  recurrenceTemplate: {index: 124}
  start: {index: 87}
  created: {index: 92}
  participant:
    elements:
      id: {index: 109}
      extension: {index: 110}
      modifierExtension: {index: 111}
      type:
        type: CodeableConcept
        binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/appointment-participant-type'}
        index: 112
        extensions: {}
        elements:
          extension: {index: 113}
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'}
                index: 114
              code: {index: 115}
      period: {index: 116}
      actor:
        type: Reference
        refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-organization', 'https://fhir.synapxe.sg/StructureDefinition/profile-practitioner']
        index: 117
        elements:
          id: {index: 118}
          extension: {index: 119}
          identifier: {type: Identifier, index: 120}
        extensions: {}
      required: {index: 121}
    extensions: {}
    required: [type, actor]
  serviceType:
    short: Appointment type code
    index: 54
    elements:
      id: {index: 55}
      extension: {index: 56}
      concept:
        type: CodeableConcept
        binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/appointment-type'}
        index: 57
        extensions: {}
        elements:
          extension: {index: 58}
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/appointment-type'}
                index: 59
              code: {index: 60}
      reference: {index: 61}
    extensions: {}
    required: [concept]
  note:
    index: 94
    elements:
      id: {index: 95}
      extension: {index: 96}
      author:
        choices: []
        index: 98
      time: {index: 99}
    extensions: {}
  account: {index: 91}
  virtualService: {index: 79}
  reason:
    type: CodeableReference
    index: 69
    elements:
      id: {index: 70}
      extension: {index: 71}
      concept:
        type: CodeableConcept
        binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/reason-for-appointment'}
        index: 72
        extensions: {}
        elements:
          extension: {index: 73}
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/reason-for-appointment'}
                index: 74
              code: {index: 75}
    extensions: {}
  extension:
    type: Extension
    url: https://fhir.synapxe.sg/StructureDefinition/ext-group
    index: 5
    slicing:
      slices:
        group:
          match: {}
          schema: {type: Extension, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-group', index: 5}
          max: 1
  contained:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: resolve(), type: profile}
      min: null
      slices:
        Organization:
          match: {}
          schema: {type: Resource, index: 1}
          max: 1
        Practitioner:
          match: {}
          schema: {type: Resource, index: 2}
        Location:
          match: {}
          schema: {type: Resource, index: 3}
        ServiceRequest:
          match: {}
          schema: {type: Resource, index: 4}
          max: 1
  supportingInformation:
    type: Reference
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-location']
    index: 80
    elements:
      id: {index: 81}
      extension: {index: 82}
    extensions: {}
  priority: {index: 76}
  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: 66
    extensions: {}
    elements:
      extension: {index: 67}
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/movement-type'}
            index: 68
  status: {index: 33}
  class:
    short: inpatient | outpatient
    index: 38
    elements:
      id: {index: 39}
      extension: {index: 40}
      coding:
        index: 41
        elements:
          id: {index: 42}
          extension: {index: 43}
          system:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/patienttype'}
            index: 44
          version: {index: 45}
          code: {index: 46}
          display: {index: 47}
          userSelected: {index: 48}
        extensions: {}
        required: [display, system, code]
      text: {index: 49}
    extensions: {}
    required: [coding]
  cancellationReason:
    type: CodeableConcept
    binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/reasonforcancellation'}
    index: 34
    extensions: {}
    elements:
      extension: {index: 35}
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/reasonforcancellation'}
            index: 36
          code: {index: 37}
  identifier:
    index: 6
    elements:
      id: {index: 7}
      extension: {index: 8}
      use: {index: 9}
      type: {index: 10}
      system:
        pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/appointment-identifier'}
        index: 11
      value: {index: 12}
      period: {index: 13}
      assigner: {index: 14}
    extensions: {}
    required: [value, system]
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: value}
      min: 1
      slices:
        recordIdentifier:
          match: {}
          schema:
            _required: true
            index: 15
            elements:
              id: {index: 16}
              extension: {index: 17}
              use: {index: 18}
              type: {index: 19}
              system:
                pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/record-identifier'}
                index: 20
              value: {index: 21}
              period: {index: 22}
              assigner: {index: 23}
            extensions: {}
            required: [value, system]
        appointmentIdentifier:
          match: {}
          schema:
            _required: true
            index: 24
            elements:
              id: {index: 25}
              extension: {index: 26}
              use: {index: 27}
              type: {index: 28}
              system:
                pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/appointment-identifier'}
                index: 29
              value: {index: 30}
              period: {index: 31}
              assigner: {index: 32}
            extensions: {}
            required: [value, system]
  replaces: {index: 78}
  basedOn:
    type: Reference
    short: The referral information of this appointment
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-servicerequest']
    index: 101
    elements:
      id: {index: 102}
      extension: {index: 103}
      identifier: {type: Identifier, index: 104}
    extensions: {}
  end: {index: 88}
  subject:
    type: Reference
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-patient']
    index: 105
    elements:
      id: {index: 106}
      extension: {index: 107}
      identifier: {type: Identifier, index: 108}
    extensions: {}
package_version: 1.0.8
extensions:
  group: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-group', max: 1, type: Extension, index: 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]