PackagesCanonicalsLogsProblems
    Packages
    synapxe.nehr@2.0.0
    https://fhir.synapxe.sg/StructureDefinition/profile-appointment
description: null
package_name: synapxe.nehr
derivation: constraint
name: Appointment
type: Appointment
elements:
  description: {index: 120}
  serviceCategory:
    short: Patient type code
    binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/patient-type'}
    index: 57
    elements:
      id: {index: 58}
      extension: {index: 59}
      coding:
        index: 60
        elements:
          id: {index: 61}
          extension: {index: 62}
          system:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/patient-type'}
            index: 63
          code: {index: 64}
          display: {index: 65}
          userSelected: {index: 66}
        extensions: {}
        required: [display, system, code]
      text: {index: 67}
    extensions: {}
    required: [coding]
  slot: {index: 133}
  previousAppointment: {index: 126}
  originatingAppointment:
    type: Reference
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-appointment']
    index: 127
    elements:
      id: {index: 128}
      extension: {index: 129}
    extensions: {}
  recurrenceId: {index: 169}
  cancellationDate: {index: 136}
  specialty:
    binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/department-specialty'}
    index: 83
    elements:
      id: {index: 84}
      extension: {index: 85}
      coding:
        index: 86
        elements:
          id: {index: 87}
          extension: {index: 88}
          system:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/department-specialty'}
            index: 89
          code: {index: 90}
          display: {index: 91}
          userSelected: {index: 92}
        extensions: {}
        required: [display, system, code]
      text: {index: 93}
    extensions: {}
    required: [coding]
  occurrenceChanged: {index: 170}
  requestedPeriod: {index: 132}
  patientInstruction: {index: 143}
  recurrenceTemplate: {index: 171}
  start: {index: 130}
  created: {index: 135}
  participant:
    elements:
      id: {index: 150}
      extension: {index: 151}
      modifierExtension: {index: 152}
      type:
        binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/appointment-participant-type'}
        index: 153
        elements:
          id: {index: 154}
          extension: {index: 155}
          coding:
            index: 156
            elements:
              id: {index: 157}
              extension: {index: 158}
              system:
                pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'}
                index: 159
              code: {index: 160}
              display: {index: 161}
              userSelected: {index: 162}
            extensions: {}
            required: [display, system, code]
          text: {index: 163}
        extensions: {}
        required: [coding]
      period: {index: 164}
      actor:
        type: Reference
        refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-organization', 'https://fhir.synapxe.sg/StructureDefinition/profile-practitioner']
        index: 165
        elements:
          id: {index: 166}
          extension: {index: 167}
        extensions: {}
      required: {index: 168}
    extensions: {}
    required: [type, actor]
  serviceType:
    short: Appointment type code
    index: 68
    elements:
      id: {index: 69}
      extension: {index: 70}
      concept:
        binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/appointment-type'}
        index: 71
        elements:
          id: {index: 72}
          extension: {index: 73}
          coding:
            index: 74
            elements:
              id: {index: 75}
              extension: {index: 76}
              system:
                pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/appointment-type'}
                index: 77
              code: {index: 78}
              display: {index: 79}
              userSelected: {index: 80}
            extensions: {}
            required: [display, system, code]
          text: {index: 81}
        extensions: {}
        required: [coding]
      reference: {index: 82}
    extensions: {}
    required: [concept]
  note:
    index: 137
    elements:
      id: {index: 138}
      extension: {index: 139}
      author:
        choices: []
        index: 141
      time: {index: 142}
    extensions: {}
  account: {index: 134}
  virtualService: {index: 122}
  reason:
    type: CodeableReference
    index: 105
    elements:
      id: {index: 106}
      extension: {index: 107}
      concept:
        binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/reason-for-appointment'}
        index: 108
        elements:
          id: {index: 109}
          extension: {index: 110}
          coding:
            index: 111
            elements:
              id: {index: 112}
              extension: {index: 113}
              system:
                pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/reason-for-appointment'}
                index: 114
              code: {index: 115}
              display: {index: 116}
              userSelected: {index: 117}
            extensions: {}
            required: [display, system, code]
          text: {index: 118}
        extensions: {}
        required: [coding]
    extensions: {}
  extension:
    type: Extension
    short: The group that this appointment belongs to
    url: https://fhir.synapxe.sg/StructureDefinition/ext-appointmentgroup
    index: 5
    slicing:
      slices:
        group:
          match: {}
          schema: {type: Extension, short: The group that this appointment belongs to, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-appointmentgroup', 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: 123
    elements:
      id: {index: 124}
      extension: {index: 125}
    extensions: {}
  priority: {index: 119}
  appointmentType:
    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: 94
    elements:
      id: {index: 95}
      extension: {index: 96}
      coding:
        index: 97
        elements:
          id: {index: 98}
          extension: {index: 99}
          system:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/movement-type'}
            index: 100
          code: {index: 101}
          display: {index: 102}
          userSelected: {index: 103}
        extensions: {}
        required: [display, system, code]
      text: {index: 104}
    extensions: {}
    required: [coding]
  status: {index: 33}
  class:
    short: inpatient | outpatient
    index: 45
    elements:
      id: {index: 46}
      extension: {index: 47}
      coding:
        index: 48
        elements:
          id: {index: 49}
          extension: {index: 50}
          system:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/patienttype'}
            index: 51
          version: {index: 52}
          code: {index: 53}
          display: {index: 54}
          userSelected: {index: 55}
        extensions: {}
        required: [display, system, code]
      text: {index: 56}
    extensions: {}
    required: [coding]
  cancellationReason:
    binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/reasonforcancellation'}
    index: 34
    elements:
      id: {index: 35}
      extension: {index: 36}
      coding:
        index: 37
        elements:
          id: {index: 38}
          extension: {index: 39}
          system:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/reasonforcancellation'}
            index: 40
          code: {index: 41}
          display: {index: 42}
          userSelected: {index: 43}
        extensions: {}
        required: [display, system, code]
      text: {index: 44}
    extensions: {}
    required: [coding]
  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: 121}
  basedOn:
    type: Reference
    short: The referral information of this appointment
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-servicerequest']
    index: 144
    elements:
      id: {index: 145}
      extension: {index: 146}
    extensions: {}
  end: {index: 131}
  subject:
    type: Reference
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-patient']
    index: 147
    elements:
      id: {index: 148}
      extension: {index: 149}
    extensions: {}
package_version: 2.0.0
extensions:
  group: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-appointmentgroup', max: 1, type: Extension, short: The group that this appointment belongs to, 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]