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