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