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