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