PackagesCanonicalsLogsProblems
    Packages
    synapxe.sgcdi@1.0.0
    https://fhir.synapxe.sg/StructureDefinition/profile-otnotes
description: null
package_name: synapxe.sgcdi
derivation: constraint
name: OTNotes
type: Composition
elements:
  category: {index: 36}
  encounter:
    type: Reference
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-encounter']
    index: 45
    elements:
      reference: {index: 46}
      type:
        pattern: {type: Uri, value: Encounter}
        index: 47
      identifier:
        index: 48
        elements:
          id: {index: 49}
          extension: {index: 50}
          use: {index: 51}
          type: {index: 52}
          system:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/eventID'}
            index: 53
          value: {index: 54}
          period: {index: 55}
          assigner: {index: 56}
        extensions: {}
        required: [value, system]
      display: {index: 57}
    required: [reference]
  name: {index: 65}
  section:
    index: 102
    elements:
      orderedBy: {index: 113}
      section: {index: 117}
      emptyReason: {index: 116}
      author: {index: 109}
      extension: {index: 104}
      id: {index: 103}
      code:
        type: CodeableConcept
        binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/dischargesummary-section-types'}
        index: 106
        extensions: {}
        elements:
          extension: {index: 107}
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/dischargesummary-section-types'}
                index: 108
      focus: {index: 110}
      entry:
        elements:
          id: {index: 114}
          extension: {index: 115}
        extensions: {}
      modifierExtension: {index: 105}
      text:
        elements:
          id: {index: 111}
          extension: {index: 112}
        extensions: {}
    extensions: {}
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: value}
      min: null
      slices:
        specimen:
          match: {}
          schema:
            index: 235
            elements:
              orderedBy: {index: 247}
              section: {index: 250}
              title:
                pattern: {type: String, value: Specimens}
                index: 240
              emptyReason: {index: 249}
              author: {index: 244}
              extension:
                index: 237
                slicing:
                  slices:
                    sequenceNo:
                      match: {}
                      schema: {type: Extension, isModifier: false, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-sequenceno', index: 238}
                      min: 1
                      max: 1
              id: {index: 236}
              code:
                type: CodeableConcept
                binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/dischargesummary-section-types'}
                index: 241
                extensions: {}
                elements:
                  extension: {index: 242}
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/dischargesummary-section-types'}
                        index: 243
              focus: {index: 245}
              entry:
                type: Reference
                refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-ot-specimen']
                index: 248
              modifierExtension: {index: 239}
              text: {index: 246}
            extensions:
              sequenceNo: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-sequenceno', min: 1, max: 1, type: Extension, isModifier: false, index: 238}
            required: [entry, extension, text, title]
        medicationAdministration:
          match: {}
          schema:
            index: 191
            elements:
              orderedBy: {index: 201}
              section: {index: 204}
              title:
                pattern: {type: String, value: Procedure Orders}
                index: 196
              emptyReason: {index: 203}
              author: {index: 198}
              extension:
                index: 193
                slicing:
                  slices:
                    sequenceNo:
                      match: {}
                      schema: {type: Extension, isModifier: false, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-sequenceno', index: 194}
                      min: 1
                      max: 1
              id: {index: 192}
              code: {index: 197}
              focus: {index: 199}
              entry:
                type: Reference
                refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-ot-medicationadministration']
                index: 202
              modifierExtension: {index: 195}
              text: {index: 200}
            extensions:
              sequenceNo: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-sequenceno', min: 1, max: 1, type: Extension, isModifier: false, index: 194}
            required: [entry, extension, text, title, code]
        observation:
          match: {}
          schema:
            index: 177
            elements:
              orderedBy: {index: 187}
              section: {index: 190}
              title:
                pattern: {type: String, value: Infusion Orders}
                index: 182
              emptyReason: {index: 189}
              author: {index: 184}
              extension:
                index: 179
                slicing:
                  slices:
                    sequenceNo:
                      match: {}
                      schema: {type: Extension, isModifier: false, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-sequenceno', index: 180}
                      min: 1
                      max: 1
              id: {index: 178}
              code: {index: 183}
              focus: {index: 185}
              entry:
                type: Reference
                refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-ot-observation']
                index: 188
              modifierExtension: {index: 181}
              text: {index: 186}
            extensions:
              sequenceNo: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-sequenceno', min: 1, max: 1, type: Extension, isModifier: false, index: 180}
            required: [entry, extension, text, title, code]
        procedure:
          match: {}
          schema:
            index: 135
            elements:
              orderedBy: {index: 145}
              section: {index: 148}
              title:
                pattern: {type: String, value: Procedures}
                index: 140
              emptyReason: {index: 147}
              author: {index: 142}
              extension:
                index: 137
                slicing:
                  slices:
                    sequenceNo:
                      match: {}
                      schema: {type: Extension, isModifier: false, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-sequenceno', index: 138}
                      min: 1
                      max: 1
              id: {index: 136}
              code: {index: 141}
              focus: {index: 143}
              entry:
                type: Reference
                refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-ot-procedure']
                index: 146
              modifierExtension: {index: 139}
              text: {index: 144}
            extensions:
              sequenceNo: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-sequenceno', min: 1, max: 1, type: Extension, isModifier: false, index: 138}
            required: [entry, extension, text, title, code]
        diagnosticReport:
          match: {}
          schema:
            index: 219
            elements:
              orderedBy: {index: 231}
              section: {index: 234}
              title:
                pattern: {type: String, value: Diagnostic Reports}
                index: 224
              emptyReason: {index: 233}
              author: {index: 228}
              extension:
                index: 221
                slicing:
                  slices:
                    sequenceNo:
                      match: {}
                      schema: {type: Extension, isModifier: false, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-sequenceno', index: 222}
                      min: 1
                      max: 1
              id: {index: 220}
              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-ot-diagnosticreport']
                index: 232
              modifierExtension: {index: 223}
              text: {index: 230}
            extensions:
              sequenceNo: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-sequenceno', min: 1, max: 1, type: Extension, isModifier: false, index: 222}
            required: [entry, extension, text, title]
        condition:
          match: {}
          schema:
            index: 163
            elements:
              orderedBy: {index: 173}
              section: {index: 176}
              title:
                pattern: {type: String, value: Medication Orders}
                index: 168
              emptyReason: {index: 175}
              author: {index: 170}
              extension:
                index: 165
                slicing:
                  slices:
                    sequenceNo:
                      match: {}
                      schema: {type: Extension, isModifier: false, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-sequenceno', index: 166}
                      min: 1
                      max: 1
              id: {index: 164}
              code: {index: 169}
              focus: {index: 171}
              entry:
                type: Reference
                refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-ot-condition']
                index: 174
              modifierExtension: {index: 167}
              text: {index: 172}
            extensions:
              sequenceNo: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-sequenceno', min: 1, max: 1, type: Extension, isModifier: false, index: 166}
            required: [entry, extension, text, title, code]
        practitioner:
          match: {}
          schema:
            index: 149
            elements:
              orderedBy: {index: 159}
              section: {index: 162}
              title:
                pattern: {type: String, value: vitalSigns}
                index: 154
              emptyReason: {index: 161}
              author: {index: 156}
              extension:
                index: 151
                slicing:
                  slices:
                    sequenceNo:
                      match: {}
                      schema: {type: Extension, isModifier: false, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-sequenceno', index: 152}
                      min: 1
                      max: 1
              id: {index: 150}
              code: {index: 155}
              focus: {index: 157}
              entry:
                type: Reference
                refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-practitionerrole']
                index: 160
              modifierExtension: {index: 153}
              text: {index: 158}
            extensions:
              sequenceNo: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-sequenceno', min: 1, max: 1, type: Extension, isModifier: false, index: 152}
            required: [entry, extension, text, title, code]
        device:
          match: {}
          schema:
            index: 205
            elements:
              orderedBy: {index: 215}
              section: {index: 218}
              title:
                pattern: {type: String, value: Prescription Orders}
                index: 210
              emptyReason: {index: 217}
              author: {index: 212}
              extension:
                index: 207
                slicing:
                  slices:
                    sequenceNo:
                      match: {}
                      schema: {type: Extension, isModifier: false, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-sequenceno', index: 208}
                      min: 1
                      max: 1
              id: {index: 206}
              code: {index: 211}
              focus: {index: 213}
              entry:
                type: Reference
                refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-device']
                index: 216
              modifierExtension: {index: 209}
              text: {index: 214}
            extensions:
              sequenceNo: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-sequenceno', min: 1, max: 1, type: Extension, isModifier: false, index: 208}
            required: [entry, extension, text, title, code]
        generalInfo:
          match: {}
          schema:
            index: 118
            elements:
              orderedBy: {index: 131}
              section: {index: 134}
              title:
                pattern: {type: String, value: General Information}
                index: 124
              emptyReason: {index: 133}
              author: {index: 128}
              extension:
                array: true
                min: 2
                index: 120
                slicing:
                  slices:
                    sequenceNo:
                      match: {}
                      schema: {type: Extension, isModifier: false, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-sequenceno', index: 121}
                      min: 1
                      max: 1
                    generalInfo:
                      match: {}
                      schema: {type: Extension, isModifier: false, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-generalinfo', index: 122}
                      min: 1
                      max: 1
              id: {index: 119}
              code:
                type: CodeableConcept
                binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/dischargesummary-section-types'}
                index: 125
                extensions: {}
                elements:
                  extension: {index: 126}
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/dischargesummary-section-types'}
                        index: 127
              focus: {index: 129}
              entry:
                type: Reference
                refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-generalinfo']
                index: 132
              modifierExtension: {index: 123}
              text: {index: 130}
            extensions:
              sequenceNo: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-sequenceno', min: 1, max: 1, type: Extension, isModifier: false, index: 121}
              generalInfo: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-generalinfo', min: 1, max: 1, type: Extension, isModifier: false, index: 122}
            required: [title]
  useContext: {index: 58}
  attester:
    index: 68
    elements:
      id: {index: 69}
      extension: {index: 70}
      modifierExtension: {index: 71}
      mode:
        elements:
          id: {index: 72}
          extension: {index: 73}
          coding:
            index: 74
            elements:
              id: {index: 75}
              extension: {index: 76}
              system: {index: 77}
              code: {index: 78}
              display: {index: 79}
              userSelected: {index: 80}
            extensions: {}
            required: [display, system, code]
          text: {index: 81}
        extensions: {}
        required: [coding]
      party:
        type: Reference
        refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-practitioner']
        index: 82
        elements:
          id: {index: 83}
          extension: {index: 84}
        extensions: {}
    extensions: {}
  type:
    short: Concept - reference to a terminology or just  text
    binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/nehr-doc-types'}
    index: 32
    extensions: {}
    elements:
      extension: {index: 33}
      coding: {index: 34}
      text:
        pattern: {type: String, value: OT Notes}
        index: 35
    required: [text]
  title:
    pattern: {type: String, value: Emergency Department (ED) Notes}
    index: 66
  note: {type: Annotation, index: 67}
  author:
    type: Reference
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-practitioner']
    index: 59
    elements:
      reference: {index: 60}
      type:
        pattern: {type: Uri, value: Practitioner}
        index: 61
      identifier:
        type: Identifier
        index: 62
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/mcr'}
            index: 63
      display: {index: 64}
    required: [identifier, type]
  extension:
    index: 0
    slicing:
      slices:
        displayMethod:
          match: {}
          schema:
            type: Extension
            url: https://fhir.synapxe.sg/StructureDefinition/ext-generic
            index: 1
            elements:
              value:
                choices: [valueString]
                index: 3
              valueString: {type: string, choiceOf: value, index: 4}
  event: {index: 101}
  custodian:
    type: Reference
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-organization']
    index: 85
    elements:
      id: {index: 86}
      extension: {index: 87}
      reference: {index: 88}
      type:
        pattern: {type: Uri, value: Organization}
        index: 89
      identifier:
        type: Identifier
        index: 90
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/hci-code'}
            index: 91
      display: {index: 92}
    extensions: {}
    required: [identifier]
  identifier:
    index: 5
    elements:
      id: {index: 6}
      extension: {index: 7}
      use: {index: 8}
      type: {index: 9}
      system: {index: 10}
      value: {index: 11}
      period: {index: 12}
      assigner: {index: 13}
    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: 14
            elements:
              id: {index: 15}
              extension: {index: 16}
              use: {index: 17}
              type: {index: 18}
              system:
                pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/recordID'}
                index: 19
              value: {index: 20}
              period: {index: 21}
              assigner: {index: 22}
            extensions: {}
            required: [value, system]
        accessionNumber:
          match: {system: 'https://fhir.synapxe.sg/NamingSystem/accessionNumber'}
          schema:
            _required: true
            index: 23
            elements:
              id: {index: 24}
              extension: {index: 25}
              use: {index: 26}
              type: {index: 27}
              system:
                pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/accessionNumber'}
                index: 28
              value: {index: 29}
              period: {index: 30}
              assigner: {index: 31}
            extensions: {}
            required: [value, system]
  relatesTo:
    type: RelatedArtifact
    index: 93
    extensions:
      sequenceNo:
        url: https://fhir.synapxe.sg/StructureDefinition/ext-generic
        type: Extension
        isModifier: false
        index: 94
        elements:
          value:
            choices: [valueString]
            index: 96
          valueString: {type: string, choiceOf: value, index: 97}
    elements:
      extension:
        type: Extension
        isModifier: false
        url: https://fhir.synapxe.sg/StructureDefinition/ext-generic
        index: 94
        slicing:
          slices:
            sequenceNo:
              match: {}
              schema:
                type: Extension
                isModifier: false
                url: https://fhir.synapxe.sg/StructureDefinition/ext-generic
                index: 94
                elements:
                  value:
                    choices: [valueString]
                    index: 96
                  valueString: {type: string, choiceOf: value, index: 97}
      type:
        pattern: {type: Code, value: documentation}
        index: 98
      display: {index: 99}
      citation: {index: 100}
    required: [display]
  subject:
    type: Reference
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-patient']
    index: 37
    elements:
      id: {index: 38}
      extension: {index: 39}
      reference: {index: 40}
      type:
        pattern: {type: Uri, value: Patient}
        index: 41
      identifier:
        type: Identifier
        index: 42
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/mrn'}
            index: 43
      display: {index: 44}
    extensions: {}
    required: [identifier, type]
package_version: 1.0.0
extensions:
  displayMethod:
    url: https://fhir.synapxe.sg/StructureDefinition/ext-generic
    type: Extension
    index: 1
    elements:
      value:
        choices: [valueString]
        index: 3
      valueString: {type: string, choiceOf: value, index: 4}
class: profile
kind: resource
url: https://fhir.synapxe.sg/StructureDefinition/profile-otnotes
base: http://hl7.org/fhir/StructureDefinition/Composition
version: null
required: [encounter, extension, identifier, subject]