PackagesCanonicalsLogsProblems
    Packages
    healthdata.be.r4.laboratorytestresult@0.3.0-alpha
    https://fhir.healthdata.be/StructureDefinition/HdBe-LaboratoryTestResult-Composition
description: Composition of LaboratoryTestResults.
package_name: healthdata.be.r4.laboratorytestresult
derivation: constraint
name: HdBeLaboratoryTestResultComposition
type: Composition
elements:
  identifier: {index: 0}
  type:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 11502-2, system: 'http://loinc.org'}
    index: 1
  subject:
    type: Reference
    refers: ['https://fhir.healthdata.be/StructureDefinition/HdBe-Patient']
    index: 2
  author:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://fhir.healthdata.be/StructureDefinition/HdBe-HealthProfessional-Practitioner', 'https://fhir.healthdata.be/StructureDefinition/HdBe-HealthProfessional-PractitionerRole', 'https://fhir.healthdata.be/StructureDefinition/HdBe-HealthcareOrganization-Organization']
    index: 3
  title:
    pattern: {type: String, value: LaboratoryTestResults}
    index: 4
  custodian:
    type: Reference
    refers: ['https://fhir.healthdata.be/StructureDefinition/HdBe-HealthcareOrganization-Organization']
    index: 5
  relatesTo:
    elements:
      target:
        choices: [targetIdentifier, targetReference]
        index: 7
      targetIdentifier: {type: Identifier, choiceOf: target, index: 8}
      targetReference:
        type: Reference
        choiceOf: target
        refers: ['https://fhir.healthdata.be/StructureDefinition/HdBe-LaboratoryTestResult-Composition']
        index: 9
  section:
    index: 10
    elements:
      code: {index: 11}
      section:
        elementReference: ['https://fhir.healthdata.be/StructureDefinition/HdBe-LaboratoryTestResult-Composition', elements, org/fhir/StructureDefinition/Composition#Composition, elements, section]
        index: 12
    required: [code]
    slicing:
      rules: open
      discriminator:
      - {path: code, type: pattern}
      min: 1
      slices:
        results:
          match:
            code:
              coding:
              - {code: 30954-2, system: 'http://loinc.org'}
          schema:
            _required: true
            index: 13
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 30954-2, system: 'http://loinc.org'}
                index: 14
              entry:
                type: Reference
                refers: ['https://fhir.healthdata.be/StructureDefinition/HdBe-LaboratoryTestResult']
                index: 15
              section:
                elementReference: ['https://fhir.healthdata.be/StructureDefinition/HdBe-LaboratoryTestResult-Composition', elements, org/fhir/StructureDefinition/Composition#Composition, elements, section]
                index: 16
            required: [entry, code]
package_version: 0.3.0-alpha
class: profile
kind: resource
url: https://fhir.healthdata.be/StructureDefinition/HdBe-LaboratoryTestResult-Composition
base: http://hl7.org/fhir/StructureDefinition/Composition
version: null
required: [section, identifier, subject]