PackagesCanonicalsLogsProblems
    Packages
    synapxe.sgcdi@1.0.3
    https://fhir.synapxe.sg/StructureDefinition/profile-summarynotes
description: null
package_name: synapxe.sgcdi
derivation: constraint
name: SummaryNotes
type: Composition
elements:
  category: {index: 24}
  encounter:
    type: Reference
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-encounter']
    index: 33
    elements:
      id: {index: 34}
      extension: {index: 35}
      reference: {index: 36}
      type:
        pattern: {type: Uri, value: Encounter}
        index: 37
      identifier:
        type: Identifier
        index: 38
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/eventID'}
            index: 39
      display: {index: 40}
    extensions: {}
    required: [identifier, type]
  name: {index: 50}
  section:
    index: 96
    elements:
      orderedBy: {index: 104}
      section: {index: 113}
      title: {index: 100}
      emptyReason: {index: 112}
      author: {index: 102}
      extension: {index: 98}
      id: {index: 97}
      code: {index: 101}
      focus: {index: 103}
      entry:
        type: Reference
        refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-sn-condition', 'https://fhir.synapxe.sg/StructureDefinition/profile-sn-diagnosticreport', 'https://fhir.synapxe.sg/StructureDefinition/profile-sn-observation', 'https://fhir.synapxe.sg/StructureDefinition/profile-sn-questionnaireresponse', 'https://fhir.synapxe.sg/StructureDefinition/profile-sn-referralrequest']
        index: 105
        elements:
          id: {index: 106}
          extension: {index: 107}
          reference: {index: 108}
          type: {index: 109}
          identifier: {index: 110}
          display: {index: 111}
        extensions: {}
        required: [reference]
      modifierExtension: {index: 99}
    extensions: {}
    required: [entry, title, code]
    slicing:
      rules: open
      discriminator:
      - {path: title, type: value}
      min: 1
      slices:
        Questionnaire:
          match: {title: Questionnaire}
          schema:
            index: 114
            elements:
              orderedBy: {index: 123}
              section: {index: 132}
              title:
                pattern: {type: String, value: Questionnaire}
                index: 118
              emptyReason: {index: 131}
              author: {index: 120}
              extension: {index: 116}
              id: {index: 115}
              code: {index: 119}
              focus: {index: 121}
              entry:
                type: Reference
                refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-sn-questionnaireresponse']
                index: 124
                elements:
                  id: {index: 125}
                  extension: {index: 126}
                  reference: {index: 127}
                  type: {index: 128}
                  identifier: {index: 129}
                  display: {index: 130}
                extensions: {}
                required: [reference]
              modifierExtension: {index: 117}
              text: {index: 122}
            extensions: {}
            required: [entry, title]
        DiagnosticReport:
          match: {title: DiagnosticReport}
          schema:
            index: 133
            elements:
              orderedBy: {index: 142}
              section: {index: 151}
              title:
                pattern: {type: String, value: DiagnosticReport}
                index: 137
              emptyReason: {index: 150}
              author: {index: 139}
              extension: {index: 135}
              id: {index: 134}
              code: {index: 138}
              focus: {index: 140}
              entry:
                type: Reference
                refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-diagnosticreport']
                index: 143
                elements:
                  id: {index: 144}
                  extension: {index: 145}
                  reference: {index: 146}
                  type: {index: 147}
                  identifier: {index: 148}
                  display: {index: 149}
                extensions: {}
                required: [reference]
              modifierExtension: {index: 136}
              text: {index: 141}
            extensions: {}
            required: [entry, title]
        Observation:
          match: {title: Observation}
          schema:
            index: 152
            elements:
              orderedBy: {index: 161}
              section: {index: 170}
              title:
                pattern: {type: String, value: Observation}
                index: 156
              emptyReason: {index: 169}
              author: {index: 158}
              extension: {index: 154}
              id: {index: 153}
              code: {index: 157}
              focus: {index: 159}
              entry:
                type: Reference
                refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-sn-observation']
                index: 162
                elements:
                  id: {index: 163}
                  extension: {index: 164}
                  reference: {index: 165}
                  type: {index: 166}
                  identifier: {index: 167}
                  display: {index: 168}
                extensions: {}
                required: [reference]
              modifierExtension: {index: 155}
              text: {index: 160}
            extensions: {}
            required: [entry, title]
        Condition:
          match: {title: Condition}
          schema:
            index: 171
            elements:
              orderedBy: {index: 180}
              section: {index: 189}
              title:
                pattern: {type: String, value: Condition}
                index: 175
              emptyReason: {index: 188}
              author: {index: 177}
              extension: {index: 173}
              id: {index: 172}
              code: {index: 176}
              focus: {index: 178}
              entry:
                type: Reference
                refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-sn-condition']
                index: 181
                elements:
                  id: {index: 182}
                  extension: {index: 183}
                  reference: {index: 184}
                  type: {index: 185}
                  identifier: {index: 186}
                  display: {index: 187}
                extensions: {}
                required: [reference]
              modifierExtension: {index: 174}
              text: {index: 179}
            extensions: {}
            required: [entry, title]
        ReferralRequest:
          match: {title: ReferralRequest}
          schema:
            index: 190
            elements:
              orderedBy: {index: 199}
              section: {index: 208}
              title:
                pattern: {type: String, value: ReferralRequest}
                index: 194
              emptyReason: {index: 207}
              author: {index: 196}
              extension: {index: 192}
              id: {index: 191}
              code: {index: 195}
              focus: {index: 197}
              entry:
                type: Reference
                refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-sn-referralrequest']
                index: 200
                elements:
                  id: {index: 201}
                  extension: {index: 202}
                  reference: {index: 203}
                  type: {index: 204}
                  identifier: {index: 205}
                  display: {index: 206}
                extensions: {}
                required: [reference]
              modifierExtension: {index: 193}
              text: {index: 198}
            extensions: {}
            required: [entry, title]
        EpisodeOfCare:
          match: {title: EpisodeOfCare}
          schema:
            index: 209
            elements:
              orderedBy: {index: 218}
              section: {index: 227}
              title:
                pattern: {type: String, value: EpisodeOfCare}
                index: 213
              emptyReason: {index: 226}
              author: {index: 215}
              extension: {index: 211}
              id: {index: 210}
              code: {index: 214}
              focus: {index: 216}
              entry:
                type: Reference
                refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-sn-episodeofcare']
                index: 219
                elements:
                  id: {index: 220}
                  extension: {index: 221}
                  reference: {index: 222}
                  type: {index: 223}
                  identifier: {index: 224}
                  display: {index: 225}
                extensions: {}
                required: [reference]
              modifierExtension: {index: 212}
              text: {index: 217}
            extensions: {}
            required: [entry, title]
        Other:
          match: {title: null}
          schema:
            index: 228
            elements:
              orderedBy: {index: 237}
              section: {index: 240}
              title: {index: 232}
              emptyReason: {index: 239}
              author: {index: 234}
              extension: {index: 230}
              id: {index: 229}
              code: {index: 233}
              focus: {index: 235}
              entry: {index: 238}
              modifierExtension: {index: 231}
              text: {index: 236}
            extensions: {}
            required: [text, title, code]
  useContext: {index: 41}
  attester:
    index: 52
    elements:
      id: {index: 53}
      extension: {index: 54}
      modifierExtension: {index: 55}
      mode:
        type: CodeableConcept
        index: 56
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'http://hl7.org/fhir/CodeSystem/composition-attestation-mode'}
                index: 57
              code:
                pattern: {type: Code, value: official}
                index: 58
      time: {index: 59}
      party:
        type: Reference
        refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-practitioner']
        index: 60
        elements:
          id: {index: 61}
          extension: {index: 62}
          reference: {index: 63}
          type:
            pattern: {type: Uri, value: Practitioner}
            index: 64
          identifier:
            type: Identifier
            index: 65
            elements:
              system:
                pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/mcr'}
                index: 66
          display: {index: 67}
        extensions: {}
        required: [identifier, type, display]
    extensions: {}
    required: [time, party]
  type:
    type: CodeableConcept
    binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/nehr-doc-types'}
    index: 17
    extensions:
      version:
        url: https://fhir.synapxe.sg/StructureDefinition/ext-composition-type
        type: Extension
        isModifier: false
        index: 18
        elements:
          url:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/StructureDefinition/ext-composition-type'}
            index: 19
          value:
            choices: [valueString]
            index: 21
          valueString: {type: string, choiceOf: value, index: 22}
    elements:
      extension:
        type: Extension
        isModifier: false
        url: https://fhir.synapxe.sg/StructureDefinition/ext-composition-type
        index: 18
        slicing:
          slices:
            version:
              match: {}
              schema:
                type: Extension
                isModifier: false
                url: https://fhir.synapxe.sg/StructureDefinition/ext-composition-type
                index: 18
                elements:
                  url:
                    pattern: {type: Uri, value: 'https://fhir.synapxe.sg/StructureDefinition/ext-composition-type'}
                    index: 19
                  value:
                    choices: [valueString]
                    index: 21
                  valueString: {type: string, choiceOf: value, index: 22}
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/nehr-doc-types'}
            index: 23
  note: {type: Annotation, index: 51}
  author:
    type: Reference
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-practitioner']
    index: 42
    elements:
      id: {index: 43}
      extension: {index: 44}
      reference: {index: 45}
      type:
        pattern: {type: Uri, value: Practitioner}
        index: 46
      identifier:
        type: Identifier
        index: 47
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/mcr'}
            index: 48
      display: {index: 49}
    extensions: {}
    required: [identifier, type, display]
  extension:
    type: Extension
    url: https://fhir.synapxe.sg/StructureDefinition/ext-generalinfo
    index: 1
    slicing:
      slices:
        generalInfo:
          match: {}
          schema:
            type: Extension
            url: https://fhir.synapxe.sg/StructureDefinition/ext-generalinfo
            index: 1
            extensions:
              name:
                url: null
                index: 2
                elements:
                  value:
                    choices: [valueCodeableConcept]
                    index: 4
                  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 5}
              value:
                url: null
                index: 6
                elements:
                  value:
                    choices: [valueCodeableConcept]
                    index: 8
                  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 9}
            elements:
              extension:
                index: 2
                slicing:
                  slices:
                    name:
                      match: {}
                      schema:
                        index: 2
                        elements:
                          value:
                            choices: [valueCodeableConcept]
                            index: 4
                          valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 5}
                    value:
                      match: {}
                      schema:
                        index: 6
                        elements:
                          value:
                            choices: [valueCodeableConcept]
                            index: 8
                          valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 9}
  contained: {index: 0}
  event:
    index: 80
    elements:
      id: {index: 81}
      extension: {index: 82}
      modifierExtension: {index: 83}
      period: {index: 84}
      detail:
        type: CodeableReference
        index: 85
        elements:
          id: {index: 86}
          extension: {index: 87}
          concept: {index: 88}
          reference:
            type: Reference
            refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-sn-procedure']
            index: 89
            elements:
              id: {index: 90}
              extension: {index: 91}
              reference: {index: 92}
              type: {index: 93}
              identifier: {index: 94}
              display: {index: 95}
            extensions: {}
            required: [reference]
        extensions: {}
        required: [reference]
    extensions: {}
    required: [detail]
  custodian:
    type: Reference
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-organization']
    index: 68
    elements:
      id: {index: 69}
      extension: {index: 70}
      reference: {index: 71}
      type:
        pattern: {type: Uri, value: Organization}
        index: 72
      identifier:
        type: Identifier
        index: 73
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/hci-code'}
            index: 74
      display: {index: 75}
    extensions: {}
    required: [type, display]
  url: {index: 10}
  identifier:
    type: Identifier
    index: 11
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        recordIdentifier:
          match: {system: 'https://fhir.synapxe.sg/NamingSystem/recordIdentifier'}
          schema:
            short: Version-independent identifier for the Composition
            type: Identifier
            _required: true
            index: 12
            elements:
              system:
                pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/recordIdentifier'}
                index: 13
        accessionNumber:
          match: {system: 'https://fhir.synapxe.sg/NamingSystem/accessionNumber'}
          schema:
            type: Identifier
            short: Version-independent identifier for the Composition
            index: 14
            elements:
              system:
                pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/accessionNumber'}
                index: 15
  relatesTo:
    type: RelatedArtifact
    index: 76
    extensions: {}
    elements:
      extension: {index: 77}
      type:
        pattern: {type: Code, value: documentation}
        index: 78
      citation: {index: 79}
  version: {index: 16}
  subject:
    type: Reference
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-patient']
    index: 25
    elements:
      id: {index: 26}
      extension: {index: 27}
      reference: {index: 28}
      type:
        pattern: {type: Uri, value: Patient}
        index: 29
      identifier:
        type: Identifier
        index: 30
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/nric'}
            index: 31
      display: {index: 32}
    extensions: {}
    required: [identifier, type]
package_version: 1.0.3
extensions:
  generalInfo:
    url: https://fhir.synapxe.sg/StructureDefinition/ext-generalinfo
    type: Extension
    index: 1
    extensions:
      name:
        url: null
        index: 2
        elements:
          value:
            choices: [valueCodeableConcept]
            index: 4
          valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 5}
      value:
        url: null
        index: 6
        elements:
          value:
            choices: [valueCodeableConcept]
            index: 8
          valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 9}
    elements:
      extension:
        index: 2
        slicing:
          slices:
            name:
              match: {}
              schema:
                index: 2
                elements:
                  value:
                    choices: [valueCodeableConcept]
                    index: 4
                  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 5}
            value:
              match: {}
              schema:
                index: 6
                elements:
                  value:
                    choices: [valueCodeableConcept]
                    index: 8
                  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 9}
class: profile
kind: resource
url: https://fhir.synapxe.sg/StructureDefinition/profile-summarynotes
base: http://hl7.org/fhir/StructureDefinition/Composition
version: null
required: [relatesTo, encounter, event, section, identifier, subject, custodian, contained]