PackagesCanonicalsLogsProblems
    Packages
    synapxe.hsar.hsg@4.3.0-v3
    http://ihis.sg/StructureDefinition/GetCareReport
description: null
package_name: synapxe.hsar.hsg
derivation: constraint
name: profile-Composition-get-care-report
type: Composition
elements:
  contained:
    short: n/a
    index: 0
    slicing:
      rules: closed
      discriminator:
      - {path: $this, type: type}
      min: 1
      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
  extension:
    index: 3
    slicing:
      slices:
        extensionCompositionCareReportYear:
          match: {}
          schema:
            _required: true
            index: 4
            extensions: {}
            elements:
              extension: {index: 5}
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
    index: 6
    elements:
      id: {index: 7}
      extension: {index: 8}
      reference:
        short: n/a
        constraint:
          max-string-length-255: {human: String length must not exceed 255 characters, severity: error, expression: $this.toString().length() <= 255}
        index: 9
      type: {index: 10}
      identifier: {index: 11}
      display: {index: 12}
    extensions: {}
    required: [reference]
  confidentiality:
    constraint:
      max-string-length-255: {human: String length must not exceed 255 characters, severity: error, expression: $this.toString().length() <= 255}
    index: 13
  section:
    short: n/a
    index: 14
    elements:
      orderedBy: {index: 35}
      section: {index: 44}
      mode: {index: 34}
      title: {index: 18}
      emptyReason: {index: 43}
      author: {index: 31}
      extension: {index: 16}
      id: {index: 15}
      code:
        short: n/a
        index: 19
        elements:
          id: {index: 20}
          extension: {index: 21}
          coding:
            short: n/a
            index: 22
            elements:
              id: {index: 23}
              extension: {index: 24}
              system:
                constraint:
                  max-string-length-255: {human: String length must not exceed 255 characters, severity: error, expression: $this.toString().length() <= 255}
                short: n/a
                pattern: {type: Uri, value: 'http://ihis.sg/ValueSet/hsg-carereport-section'}
                index: 25
              version: {index: 26}
              code:
                short: n/a
                constraint:
                  max-string-length-255: {human: String length must not exceed 255 characters, severity: error, expression: $this.toString().length() <= 255}
                index: 27
              display:
                short: n/a
                constraint:
                  max-string-length-255: {human: String length must not exceed 255 characters, severity: error, expression: $this.toString().length() <= 255}
                index: 28
              userSelected: {index: 29}
            extensions: {}
            required: [system, code]
          text: {index: 30}
        extensions: {}
        required: [coding]
      focus: {index: 32}
      entry:
        short: n/a
        index: 36
        elements:
          id: {index: 37}
          extension: {index: 38}
          reference: {short: n/a, index: 39}
          type: {index: 40}
          identifier: {index: 41}
          display: {index: 42}
        extensions: {}
        required: [reference]
      modifierExtension: {index: 17}
      text: {index: 33}
    extensions: {}
    required: [entry, code]
package_version: 4.3.0-v3
extensions:
  extensionCompositionCareReportYear:
    url: null
    _required: true
    index: 4
    extensions: {}
    elements:
      extension: {index: 5}
class: profile
kind: resource
url: http://ihis.sg/StructureDefinition/GetCareReport
base: https://ihis.sg/StructureDefinition/profile-Composition-get-base
version: 4.3.0-v3
required: [confidentiality, extension, section, subject, contained]