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