PackagesCanonicalsLogsProblems
    Packages
    synapxe.sgcdi@1.0.8
    https://fhir.synapxe.sg/StructureDefinition/profile-ednotes
description: null
package_name: synapxe.sgcdi
derivation: constraint
name: EDNotes
type: Composition
elements:
  category: {index: 34}
  encounter:
    type: Reference
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-edvisit']
    index: 43
    elements:
      reference: {index: 44}
      type:
        pattern: {type: Uri, value: Encounter}
        index: 45
      identifier:
        index: 46
        elements:
          id: {index: 47}
          extension: {index: 48}
          use: {index: 49}
          type: {index: 50}
          system:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/eventID'}
            index: 51
          value: {index: 52}
          period: {index: 53}
          assigner: {index: 54}
        extensions: {}
        required: [value, system]
      display: {index: 55}
    required: [reference]
  name: {index: 63}
  section:
    index: 98
    elements:
      orderedBy: {index: 109}
      section: {index: 113}
      emptyReason: {index: 112}
      author: {index: 105}
      extension: {index: 100}
      id: {index: 99}
      code:
        type: CodeableConcept
        binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/dischargesummary-section-types'}
        index: 102
        extensions: {}
        elements:
          extension: {index: 103}
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/dischargesummary-section-types'}
                index: 104
      focus: {index: 106}
      entry:
        elements:
          id: {index: 110}
          extension: {index: 111}
        extensions: {}
      modifierExtension: {index: 101}
      text:
        elements:
          id: {index: 107}
          extension: {index: 108}
        extensions: {}
    extensions: {}
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: value}
      min: null
      slices:
        consultation:
          match: {}
          schema:
            index: 268
            elements:
              orderedBy: {index: 279}
              section: {index: 288}
              title:
                pattern: {type: String, value: consultation}
                index: 272
              emptyReason: {index: 287}
              author: {index: 276}
              extension: {index: 270}
              id: {index: 269}
              code:
                type: CodeableConcept
                binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/dischargesummary-section-types'}
                index: 273
                extensions: {}
                elements:
                  extension: {index: 274}
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/dischargesummary-section-types'}
                        index: 275
              focus: {index: 277}
              entry:
                type: Reference
                refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-ed-questionnaireresponse']
                index: 280
                elements:
                  id: {index: 281}
                  extension: {index: 282}
                  reference: {index: 283}
                  type: {index: 284}
                  identifier: {index: 285}
                  display: {index: 286}
                extensions: {}
                required: [reference]
              modifierExtension: {index: 271}
              text: {index: 278}
            extensions: {}
            required: [entry, title]
        infusionOrders:
          match: {}
          schema:
            index: 153
            elements:
              orderedBy: {index: 162}
              section: {index: 165}
              title:
                pattern: {type: String, value: Infusion Orders}
                index: 157
              emptyReason: {index: 164}
              author: {index: 159}
              extension: {index: 155}
              id: {index: 154}
              code: {index: 158}
              focus: {index: 160}
              entry:
                type: Reference
                refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-medicationadministration']
                index: 163
              modifierExtension: {index: 156}
              text: {index: 161}
            extensions: {}
            required: [entry, title]
        gcs:
          match: {}
          schema:
            index: 114
            elements:
              orderedBy: {index: 123}
              section: {index: 126}
              title:
                pattern: {type: String, value: GCS}
                index: 118
              emptyReason: {index: 125}
              author: {index: 120}
              extension: {index: 116}
              id: {index: 115}
              code: {index: 119}
              focus: {index: 121}
              entry:
                type: Reference
                refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-observation']
                index: 124
              modifierExtension: {index: 117}
              text: {index: 122}
            extensions: {}
            required: [entry, title]
        procedureOrders:
          match: {}
          schema:
            index: 166
            elements:
              orderedBy: {index: 175}
              section: {index: 178}
              title:
                pattern: {type: String, value: Procedure Orders}
                index: 170
              emptyReason: {index: 177}
              author: {index: 172}
              extension: {index: 168}
              id: {index: 167}
              code: {index: 171}
              focus: {index: 173}
              entry:
                type: Reference
                refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-procedure']
                index: 176
              modifierExtension: {index: 169}
              text: {index: 174}
            extensions: {}
            required: [entry, title]
        prescriptionOrders:
          match: {}
          schema:
            index: 179
            elements:
              orderedBy: {index: 188}
              section: {index: 191}
              title:
                pattern: {type: String, value: Prescription Orders}
                index: 183
              emptyReason: {index: 190}
              author: {index: 185}
              extension: {index: 181}
              id: {index: 180}
              code: {index: 184}
              focus: {index: 186}
              entry:
                type: Reference
                refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-medicationrequest']
                index: 189
              modifierExtension: {index: 182}
              text: {index: 187}
            extensions: {}
            required: [entry, title]
        alert:
          match: {}
          schema:
            index: 226
            elements:
              orderedBy: {index: 237}
              section: {index: 246}
              title:
                pattern: {type: String, value: Alert}
                index: 230
              emptyReason: {index: 245}
              author: {index: 234}
              extension: {index: 228}
              id: {index: 227}
              code:
                type: CodeableConcept
                binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/dischargesummary-section-types'}
                index: 231
                extensions: {}
                elements:
                  extension: {index: 232}
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/dischargesummary-section-types'}
                        index: 233
              focus: {index: 235}
              entry:
                type: Reference
                refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-flag']
                index: 238
                elements:
                  id: {index: 239}
                  extension: {index: 240}
                  reference: {index: 241}
                  type: {index: 242}
                  identifier: {index: 243}
                  display: {index: 244}
                extensions: {}
                required: [reference]
              modifierExtension: {index: 229}
              text: {index: 236}
            extensions: {}
            required: [entry, title]
        vitalSigns:
          match: {}
          schema:
            index: 127
            elements:
              orderedBy: {index: 136}
              section: {index: 139}
              title:
                pattern: {type: String, value: vitalSigns}
                index: 131
              emptyReason: {index: 138}
              author: {index: 133}
              extension: {index: 129}
              id: {index: 128}
              code: {index: 132}
              focus: {index: 134}
              entry:
                type: Reference
                refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-observation']
                index: 137
              modifierExtension: {index: 130}
              text: {index: 135}
            extensions: {}
            required: [entry, title]
        medicationOrders:
          match: {}
          schema:
            index: 140
            elements:
              orderedBy: {index: 149}
              section: {index: 152}
              title:
                pattern: {type: String, value: Medication Orders}
                index: 144
              emptyReason: {index: 151}
              author: {index: 146}
              extension: {index: 142}
              id: {index: 141}
              code: {index: 145}
              focus: {index: 147}
              entry:
                type: Reference
                refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-medicationadministration']
                index: 150
              modifierExtension: {index: 143}
              text: {index: 148}
            extensions: {}
            required: [entry, title]
        allergy:
          match: {}
          schema:
            index: 205
            elements:
              orderedBy: {index: 216}
              section: {index: 225}
              title:
                pattern: {type: String, value: Allergy}
                index: 209
              emptyReason: {index: 224}
              author: {index: 213}
              extension: {index: 207}
              id: {index: 206}
              code:
                type: CodeableConcept
                binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/dischargesummary-section-types'}
                index: 210
                extensions: {}
                elements:
                  extension: {index: 211}
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/dischargesummary-section-types'}
                        index: 212
              focus: {index: 214}
              entry:
                type: Reference
                refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-allergyintolerance']
                index: 217
                elements:
                  id: {index: 218}
                  extension: {index: 219}
                  reference: {index: 220}
                  type: {index: 221}
                  identifier: {index: 222}
                  display: {index: 223}
                extensions: {}
                required: [reference]
              modifierExtension: {index: 208}
              text: {index: 215}
            extensions: {}
            required: [entry, title]
        triage:
          match: {}
          schema:
            index: 247
            elements:
              orderedBy: {index: 258}
              section: {index: 267}
              title:
                pattern: {type: String, value: triage}
                index: 251
              emptyReason: {index: 266}
              author: {index: 255}
              extension: {index: 249}
              id: {index: 248}
              code:
                type: CodeableConcept
                binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/dischargesummary-section-types'}
                index: 252
                extensions: {}
                elements:
                  extension: {index: 253}
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/dischargesummary-section-types'}
                        index: 254
              focus: {index: 256}
              entry:
                type: Reference
                refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-ed-questionnaireresponse']
                index: 259
                elements:
                  id: {index: 260}
                  extension: {index: 261}
                  reference: {index: 262}
                  type: {index: 263}
                  identifier: {index: 264}
                  display: {index: 265}
                extensions: {}
                required: [reference]
              modifierExtension: {index: 250}
              text: {index: 257}
            extensions: {}
            required: [entry, title]
        medicalCertificate:
          match: {}
          schema:
            index: 192
            elements:
              orderedBy: {index: 201}
              section: {index: 204}
              title:
                pattern: {type: String, value: Medical Certificate}
                index: 196
              emptyReason: {index: 203}
              author: {index: 198}
              extension: {index: 194}
              id: {index: 193}
              code: {index: 197}
              focus: {index: 199}
              entry:
                type: Reference
                refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-medicalcertificate']
                index: 202
              modifierExtension: {index: 195}
              text: {index: 200}
            extensions: {}
            required: [entry, title]
  useContext: {index: 56}
  attester:
    index: 66
    elements:
      id: {index: 67}
      extension: {index: 68}
      modifierExtension: {index: 69}
      mode:
        elements:
          id: {index: 70}
          extension: {index: 71}
          coding:
            index: 72
            elements:
              id: {index: 73}
              extension: {index: 74}
              system: {index: 75}
              code: {index: 76}
              display: {index: 77}
              userSelected: {index: 78}
            extensions: {}
            required: [display, system, code]
          text: {index: 79}
        extensions: {}
        required: [coding]
      party:
        type: Reference
        refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-practitioner']
        index: 80
        elements:
          id: {index: 81}
          extension: {index: 82}
        extensions: {}
    extensions: {}
  type:
    type: CodeableConcept
    binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/nehr-doc-types'}
    index: 31
    extensions: {}
    elements:
      extension: {index: 32}
      text:
        pattern: {type: String, value: ED Notes}
        index: 33
  title:
    pattern: {type: String, value: Emergency Department (ED) Notes}
    index: 64
  note: {type: Annotation, index: 65}
  author:
    type: Reference
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-practitioner']
    index: 57
    elements:
      reference: {index: 58}
      type:
        pattern: {type: Uri, value: Practitioner}
        index: 59
      identifier:
        type: Identifier
        index: 60
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/mcr'}
            index: 61
      display: {index: 62}
    required: [identifier, type]
  extension:
    type: Extension
    url: https://fhir.synapxe.sg/StructureDefinition/ext-ed-trauma
    index: 0
    slicing:
      slices:
        trauma:
          match: {}
          schema: {type: Extension, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-ed-trauma', index: 0}
          max: 1
        accidentType:
          match: {}
          schema: {type: Extension, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-ed-accidentType', index: 1}
        emergency:
          match: {}
          schema: {type: Extension, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-ed-emergency', index: 2}
        causeOfInjury:
          match: {}
          schema: {type: Extension, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-ed-causeOfInjury', index: 3}
  event: {index: 97}
  custodian:
    type: Reference
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-organization']
    index: 83
    elements:
      id: {index: 84}
      extension: {index: 85}
      reference: {index: 86}
      type:
        pattern: {type: Uri, value: Organization}
        index: 87
      identifier:
        type: Identifier
        index: 88
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/hci-code'}
            index: 89
      display: {index: 90}
    extensions: {}
    required: [identifier]
  identifier:
    index: 4
    elements:
      id: {index: 5}
      extension: {index: 6}
      use: {index: 7}
      type: {index: 8}
      system: {index: 9}
      value: {index: 10}
      period: {index: 11}
      assigner: {index: 12}
    extensions: {}
    required: [value, system]
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        recordID:
          match: {system: 'https://fhir.synapxe.sg/NamingSystem/recordID'}
          schema:
            _required: true
            index: 13
            elements:
              id: {index: 14}
              extension: {index: 15}
              use: {index: 16}
              type: {index: 17}
              system:
                pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/recordID'}
                index: 18
              value: {index: 19}
              period: {index: 20}
              assigner: {index: 21}
            extensions: {}
            required: [value, system]
        accessionNumber:
          match: {system: 'https://fhir.synapxe.sg/NamingSystem/accessionNumber'}
          schema:
            _required: true
            index: 22
            elements:
              id: {index: 23}
              extension: {index: 24}
              use: {index: 25}
              type: {index: 26}
              system:
                pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/accessionNumber'}
                index: 27
              value: {index: 28}
              period: {index: 29}
              assigner: {index: 30}
            extensions: {}
            required: [value, system]
  relatesTo:
    type: RelatedArtifact
    index: 91
    extensions:
      sequenceNo: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-sequenceno', min: 1, max: 1, type: Extension, isModifier: false, index: 93}
    elements:
      extension:
        index: 92
        slicing:
          slices:
            sequenceNo:
              match: {}
              schema: {type: Extension, isModifier: false, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-sequenceno', index: 93}
              min: 1
              max: 1
      type:
        pattern: {type: Code, value: documentation}
        index: 94
      display: {index: 95}
      citation: {index: 96}
    required: [extension, display]
  subject:
    type: Reference
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-patient']
    index: 35
    elements:
      id: {index: 36}
      extension: {index: 37}
      reference: {index: 38}
      type:
        pattern: {type: Uri, value: Patient}
        index: 39
      identifier:
        type: Identifier
        index: 40
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/mrn'}
            index: 41
      display: {index: 42}
    extensions: {}
    required: [identifier, type]
package_version: 1.0.8
extensions:
  trauma: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-ed-trauma', max: 1, type: Extension, index: 0}
  accidentType: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-ed-accidentType', type: Extension, index: 1}
  emergency: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-ed-emergency', type: Extension, index: 2}
  causeOfInjury: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-ed-causeOfInjury', type: Extension, index: 3}
class: profile
kind: resource
url: https://fhir.synapxe.sg/StructureDefinition/profile-ednotes
base: http://hl7.org/fhir/StructureDefinition/Composition
version: null
required: [encounter, identifier, subject]