PackagesCanonicalsLogsProblems
    Packages
    rs/ch.fhir.ig.ch@lab-order-3.0.0-ballot
    http://fhir.ch/ig/ch-lab-order/StructureDefinition/ch-lab-order-composition-with-sr
description: Definition for Composition resource in the context of CH LAB-Order with Service Request, parent is CHCoreComposition
package_name: rs/ch.fhir.ig.ch
derivation: constraint
name: ChLabOrderCompositionWithSR
type: Composition
elements:
  type:
    short: Precise type of clinical document
    binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-term/ValueSet/DocumentEntry.typeCode'}
    index: 0
  category:
    short: Order Document
    binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-term/ValueSet/DocumentEntry.classCode'}
    index: 1
  subject: {short: Patient as the principle target of service request, mustSupport: true, index: 2}
  author:
    type: Reference
    short: The person/organization responsible for the form content
    mustSupport: true
    refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitionerrole']
    index: 3
  title: {short: Meaningful title, mustSupport: true, index: 4}
  section:
    mustSupport: true
    index: 5
    slicing:
      rules: open
      discriminator:
      - {path: code, type: value}
      min: 1
      slices:
        orderReferral:
          match:
            code:
              coding:
              - {code: '721963009', system: 'http://snomed.info/sct', display: Order (record artifact)}
          schema:
            short: Contains the data that supports the order by ServiceRequest.
            mustSupport: true
            _required: true
            index: 6
            elements:
              title: {short: Laboratory Order by Service Request, mustSupport: true, index: 7}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '721963009', system: 'http://snomed.info/sct', display: Order (record artifact)}
                type: CodeableConcept
                index: 8
              text: {mustSupport: true, index: 9}
              entry:
                mustSupport: true
                index: 10
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: 1
                  slices:
                    ServiceRequest:
                      match: {}
                      schema:
                        min: 1
                        short: ServiceRequest
                        index: 11
                        refers: ['http://fhir.ch/ig/ch-lab-order/StructureDefinition/ch-lab-order-SR']
                        type: Reference
                        mustSupport: true
                        array: true
                        elements:
                          reference: {mustSupport: true, index: 12}
                        _required: true
                        required: [reference]
                    DocumentReference:
                      match: {}
                      schema:
                        short: DocumentReference
                        refers: ['http://fhir.ch/ig/ch-lab-order/StructureDefinition/ch-lab-document-reference']
                        type: Reference
                        mustSupport: true
                        array: true
                        index: 13
                        elements:
                          reference: {mustSupport: true, index: 14}
                        required: [reference]
              section: {index: 15}
            required: [code, entry, title]
package_version: lab-order-3.0.0-ballot
class: profile
kind: resource
url: http://fhir.ch/ig/ch-lab-order/StructureDefinition/ch-lab-order-composition-with-sr
base: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-composition
version: 3.0.0-ballot
required: [category, section, subject]