PackagesCanonicalsLogsProblems
    Packages
    synapxe.hsar@1.0.0
    http://ihis.sg/StructureDefinition/GetCareReport
description: null
package_name: synapxe.hsar
derivation: constraint
name: profile-Composition-get-care-report
type: Composition
elements:
  contained:
    index: 0
    slicing:
      rules: closed
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        Patient:
          match: {}
          schema: {type: Resource, _required: true, index: 1}
          min: 1
          max: 1
        Observation:
          match: {}
          schema: {type: Resource, _required: true, index: 2}
          min: 1
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
    index: 3
    elements:
      id: {index: 4}
      extension: {index: 5}
      reference: {short: 'Literal reference, relative, internal or absolute url', index: 6}
      type: {index: 7}
      identifier: {index: 8}
      display: {index: 9}
    extensions: {}
    required: [reference]
  confidentiality: {short: NA, index: 10}
  section:
    short: Care report section
    index: 11
    elements:
      orderedBy: {index: 27}
      section: {index: 36}
      mode: {index: 26}
      title: {index: 12}
      emptyReason: {index: 35}
      author: {index: 23}
      code:
        short: Type of section
        index: 13
        elements:
          coding:
            index: 14
            elements:
              id: {index: 15}
              extension: {index: 16}
              system:
                pattern: {type: Uri, value: 'http://ihis.sg/extension/enrollment-status'}
                index: 17
              version: {index: 18}
              code: {short: Terminology code, index: 19}
              display: {short: Display name of the code, index: 20}
              userSelected: {index: 21}
            extensions: {}
            required: [system, code]
          text: {index: 22}
        required: [coding]
      focus: {index: 24}
      entry:
        index: 28
        elements:
          id: {index: 29}
          extension: {index: 30}
          reference: {short: A reference from one resource to another actual data element under the respective section, index: 31}
          type: {index: 32}
          identifier: {index: 33}
          display: {index: 34}
        extensions: {}
        required: [reference]
      text: {index: 25}
    required: [entry, code]
package_version: 1.0.0
class: profile
kind: resource
url: http://ihis.sg/StructureDefinition/GetCareReport
base: https://ihis.sg/StructureDefinition/profile-Composition-get-base
version: null
required: [confidentiality, section, subject]