PackagesCanonicalsLogsProblems
    Packages
    synapxe.sgcdi@1.0.3
    https://fhir.synapxe.sg/StructureDefinition/profile-encounter
description: null
package_name: synapxe.sgcdi
derivation: constraint
name: Encounter
type: Encounter
elements:
  appointment: {index: 74}
  admission:
    elements:
      dischargeDisposition:
        short: Concept - reference to a terminology or just  text
        binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/discharge-disposition'}
        index: 113
        extensions: {}
        elements:
          extension: {index: 114}
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/discharge-disposition'}
                index: 115
              version: {index: 116}
              code: {index: 117}
          text: {short: Description of the outcome or end state of the discharge for patient, index: 118}
        required: [text]
      preAdmissionIdentifier: {index: 106}
      admitSource: {index: 108}
      extension: {index: 104}
      id: {index: 103}
      reAdmission: {index: 109}
      origin: {index: 107}
      destination:
        type: Reference
        short: A reference from one resource to another
        refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-organization']
        index: 110
        elements:
          identifier:
            elements:
              value: {index: 111}
          display: {index: 112}
        required: [display]
      modifierExtension: {index: 105}
    extensions: {}
    required: [dischargeDisposition]
  diagnosis: {index: 98}
  subjectStatus:
    type: CodeableConcept
    short: event type
    binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/event-type'}
    index: 42
    extensions: {}
    elements:
      extension: {index: 43}
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/event-type'}
            index: 44
          code: {index: 45}
  serviceProvider:
    type: Reference
    short: A reference from one resource to another
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-organization']
    index: 50
    elements:
      display: {index: 51}
  specialArrangement: {index: 101}
  dietPreference: {index: 100}
  episodeOfCare: {index: 46}
  type:
    index: 21
    elements:
      id: {index: 22}
      extension: {index: 23}
      coding:
        index: 24
        elements:
          id: {index: 25}
          extension: {index: 26}
          system: {index: 27}
          version: {index: 28}
          code: {index: 29}
          display: {index: 30}
          userSelected: {index: 31}
        extensions: {}
        required: [display, system, code]
      text: {index: 32}
    extensions: {}
    required: [coding]
  specialCourtesy: {index: 102}
  participant:
    elements:
      id: {index: 52}
      extension: {index: 53}
      modifierExtension: {index: 54}
      type:
        short: Concept - reference to a terminology or just  text
        type: CodeableConcept
        binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/encounter-participant-type'}
        index: 55
        extensions: {}
        elements:
          extension: {index: 56}
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'}
                index: 57
              code: {index: 58}
      period: {index: 59}
      actor:
        elements:
          id: {index: 60}
          extension: {index: 61}
          reference: {index: 62}
          type:
            pattern: {type: Uri, value: Practitioner}
            index: 63
          identifier:
            index: 64
            elements:
              id: {index: 65}
              extension: {index: 66}
              use: {index: 67}
              type: {index: 68}
              system:
                pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/mcr-no'}
                index: 69
              value: {index: 70}
              period: {index: 71}
              assigner: {index: 72}
            extensions: {}
            required: [value, system]
          display: {index: 73}
        extensions: {}
        required: [identifier, type, display]
    extensions: {}
    required: [type]
  serviceType:
    short: Service Speciality type
    index: 33
    elements:
      id: {index: 34}
      extension: {index: 35}
      concept:
        type: CodeableConcept
        short: Concept - reference to a terminology or just  text
        binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/service-speciality'}
        index: 36
        extensions: {}
        elements:
          extension: {index: 37}
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/service-speciality'}
                index: 38
              code: {index: 39}
      reference: {index: 40}
    extensions: {}
    required: [concept]
  account: {index: 99}
  virtualService: {index: 75}
  reason:
    elements:
      id: {index: 81}
      extension: {index: 82}
      modifierExtension: {index: 83}
      use:
        index: 84
        elements:
          id: {index: 85}
          extension: {index: 86}
          coding:
            index: 87
            elements:
              id: {index: 88}
              extension: {index: 89}
              system: {index: 90}
              version: {index: 91}
              code: {index: 92}
              display: {index: 93}
              userSelected: {index: 94}
            extensions: {}
            required: [display, system, code]
          text: {index: 95}
        extensions: {}
        required: [coding]
      value:
        elements:
          id: {index: 96}
          extension: {index: 97}
        extensions: {}
    extensions: {}
    required: [use]
  priority: {index: 20}
  actualPeriod:
    index: 76
    elements:
      start: {index: 77}
    required: [start]
  status:
    short: completed | cancelled
    binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/encounter-status'}
    index: 14
  class:
    type: CodeableConcept
    short: Concept - reference to a terminology or just  text
    binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/patient-type'}
    index: 15
    extensions: {}
    elements:
      extension: {index: 16}
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/patient-type'}
            index: 17
          version: {index: 18}
          code: {index: 19}
  length: {index: 80}
  identifier:
    index: 0
    elements:
      id: {index: 1}
      extension: {index: 2}
      type: {index: 3}
      system: {index: 4}
      value: {index: 5}
      period: {index: 6}
      assigner: {index: 7}
    extensions: {}
    required: [value, system]
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: value}
      min: 1
      slices:
        recordIdentifier:
          match: {}
          schema:
            type: Identifier
            short: A unique identifier for this encounter record
            index: 8
            elements:
              system:
                pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/recordIdentifier'}
                index: 9
        caseIdentifier:
          match: {}
          schema:
            type: Identifier
            short: An identifier of the episode/case
            index: 10
            elements:
              system:
                pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/caseIdentifier'}
                index: 11
        movementIdentifier:
          match: {}
          schema:
            type: Identifier
            short: the sequence identifier of this encounter record within the episode/case identifier
            index: 12
            elements:
              system:
                pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/movementIdentifier'}
                index: 13
  plannedStartDate: {index: 78}
  basedOn: {index: 47}
  partOf: {index: 49}
  location:
    index: 119
    elements:
      id: {index: 120}
      extension: {index: 121}
      modifierExtension: {index: 122}
      location:
        type: Reference
        refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-location']
        index: 123
      status: {index: 124}
      form: {index: 125}
      period: {index: 126}
    extensions: {}
  subject:
    type: Reference
    short: A reference from one resource to another
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-patient']
    index: 41
  plannedEndDate: {index: 79}
  careTeam: {index: 48}
package_version: 1.0.3
class: profile
kind: resource
url: https://fhir.synapxe.sg/StructureDefinition/profile-encounter
base: http://hl7.org/fhir/StructureDefinition/Encounter
version: null
required: [serviceType, class, serviceProvider, actualPeriod, location, identifier, subject, subjectStatus]