PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-elm@1.3.1
    http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-composition
description: This CH ELM base profile constrains the Composition resource for the purpose of laboratory test reports.
package_name: ch.fhir.ig.ch-elm
derivation: constraint
name: ChElmComposition
type: Composition
elements:
  identifier:
    short: Persistent, unique identifier for the diagnostic report (UUID)
    index: 0
    elements:
      system:
        pattern: {type: Uri, value: 'urn:ietf:rfc:3986'}
        index: 1
      value:
        constraint:
          ch-elm-doc-identifier: {human: The identifier must be an UUID., source: 'http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-composition', severity: error, expression: 'startsWith(''urn:uuid:'')'}
        index: 2
    required: [value, system]
  status:
    pattern: {type: Code, value: final}
    index: 3
  subject:
    type: Reference
    refers: ['http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-patient']
    index: 4
  author:
    type: Reference
    refers: ['http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-organization-author']
    index: 5
  section:
    index: 6
    slicing:
      slices:
        lab-no-subsections:
          match: {}
          schema:
            _required: true
            index: 7
            elements:
              title: {index: 8}
              code:
                type: CodeableConcept
                binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-elm/ValueSet/ch-elm-lab-study-types'}
                index: 9
              entry:
                type: Reference
                refers: ['http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-observation-results-laboratory']
                index: 10
            required: [title, code]
        lab-subsections:
          match: {}
          schema: {index: 11}
          max: 0
package_version: 1.3.1
class: profile
kind: resource
url: http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-composition
base: http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-report-composition
version: 1.3.1
required: [identifier, subject]