PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-lab-report@1.0.0-ballot
    http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-observation-results-laboratory
description: This profile constrains the Observation resource for the purpose of laboratory test reports in Switzerland.
package_name: ch.fhir.ig.ch-lab-report
derivation: constraint
name: ChLabObservationResultsLaboratory
type: Observation
elements:
  category:
    index: 13
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: 1
      slices:
        laboratory:
          match:
            coding:
            - {code: laboratory, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: laboratory, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
            _required: true
            index: 14
          min: 1
          max: 1
        studyType:
          match: {}
          schema:
            short: The way of grouping of the test results into clinically meaningful domains (e.g. hematology study, microbiology study, etc.)
            binding: {strength: required, valueSet: 'http://hl7.eu/fhir/laboratory/ValueSet/lab-studyType-eu-lab'}
            array: true
            index: 15
          min: 0
        specialty:
          match: {}
          schema:
            short: The clinical domain of the laboratory performing the observation (e.g. microbiology, toxicology, chemistry)
            binding: {strength: required, valueSet: 'http://hl7.eu/fhir/laboratory/ValueSet/lab-specialty-eu-lab'}
            array: true
            index: 16
          min: 0
  hasMember:
    type: Reference
    refers: ['http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-observation-results-laboratory']
    index: 58
  method:
    binding: {strength: preferred, valueSet: 'http://hl7.eu/fhir/laboratory/ValueSet/lab-technique-eu-lab'}
    index: 55
  valueTime:
    type: time
    choiceOf: value
    index: 41
    slicing:
      slices:
        valueTime:
          match: {}
          schema: {type: time, choiceOf: value, index: 41}
          min: 0
          max: 1
  specimen:
    type: Reference
    refers: ['http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-specimen']
    index: 56
  valueQuantity:
    type: Quantity
    choiceOf: value
    index: 50
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema: {type: Quantity, choiceOf: value, index: 50}
          min: 0
          max: 1
  value:
    choices: [valueCodeableConcept]
    index: 52
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema:
            choices: [valueCodeableConcept]
            index: 52
          min: 0
          max: 1
  valueString:
    type: string
    choiceOf: value
    index: 32
    slicing:
      slices:
        valueString:
          match: {}
          schema: {type: string, choiceOf: value, index: 32}
          min: 0
          max: 1
  valueRatio:
    type: Ratio
    choiceOf: value
    index: 38
    slicing:
      slices:
        valueRatio:
          match: {}
          schema: {type: Ratio, choiceOf: value, index: 38}
          min: 0
          max: 1
  valueDateTime:
    type: dateTime
    choiceOf: value
    index: 44
    slicing:
      slices:
        valueDateTime:
          match: {}
          schema: {type: dateTime, choiceOf: value, index: 44}
          min: 0
          max: 1
  component:
    short: Laboratory result
    index: 59
    extensions:
      value-r5:
        url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.value[x]
        type: Extension
        short: only for result of type Attachment
        index: 61
        elements:
          value:
            choices: [valueAttachment]
            index: 63
          valueAttachment: {type: Attachment, choiceOf: value, index: 64}
    elements:
      valueTime:
        type: time
        choiceOf: value
        index: 78
        slicing:
          slices:
            valueTime:
              match: {}
              schema: {type: time, choiceOf: value, index: 78}
              min: 0
              max: 1
      valueQuantity:
        type: Quantity
        choiceOf: value
        index: 87
        slicing:
          slices:
            valueQuantity:
              match: {}
              schema: {type: Quantity, choiceOf: value, index: 87}
              min: 0
              max: 1
      value:
        choices: [valueCodeableConcept]
        index: 89
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema:
                choices: [valueCodeableConcept]
                index: 89
              min: 0
              max: 1
      valueString:
        type: string
        choiceOf: value
        index: 69
        slicing:
          slices:
            valueString:
              match: {}
              schema: {type: string, choiceOf: value, index: 69}
              min: 0
              max: 1
      valueRatio:
        type: Ratio
        choiceOf: value
        index: 75
        slicing:
          slices:
            valueRatio:
              match: {}
              schema: {type: Ratio, choiceOf: value, index: 75}
              min: 0
              max: 1
      valueDateTime:
        type: dateTime
        choiceOf: value
        index: 81
        slicing:
          slices:
            valueDateTime:
              match: {}
              schema: {type: dateTime, choiceOf: value, index: 81}
              min: 0
              max: 1
      extension:
        index: 60
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            value-r5:
              match: {url: null}
              schema:
                type: Extension
                short: only for result of type Attachment
                url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.value[x]
                index: 61
                elements:
                  value:
                    choices: [valueAttachment]
                    index: 63
                  valueAttachment: {type: Attachment, choiceOf: value, index: 64}
      valueCodeableConcept:
        type: CodeableConcept
        choiceOf: value
        index: 90
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, choiceOf: value, index: 90}
              min: 0
              max: 1
      valuePeriod:
        type: Period
        choiceOf: value
        index: 84
        slicing:
          slices:
            valuePeriod:
              match: {}
              schema: {type: Period, choiceOf: value, index: 84}
              min: 0
              max: 1
      valueRange:
        type: Range
        choiceOf: value
        index: 72
        slicing:
          slices:
            valueRange:
              match: {}
              schema: {type: Range, choiceOf: value, index: 72}
              min: 0
              max: 1
  effective[x]:
    extensions:
      data-absent-reason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', min: 0, max: 1, type: Extension, short: 'effective[x] absence reason', index: 24}
    elements:
      extension:
        type: Extension
        short: effective[x] absence reason
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        index: 24
        slicing:
          slices:
            data-absent-reason:
              match: {}
              schema: {type: Extension, short: 'effective[x] absence reason', url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 24}
              min: 0
              max: 1
  extension:
    short: Laboratory Test Kit
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        supportingInfo:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo', index: 1}
          min: 0
        triggeredBy-r5:
          match: {url: null}
          schema:
            type: Extension
            url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.triggeredBy
            index: 2
            extensions:
              observation: {url: null, short: Triggering observation., index: 3}
              type: {url: null, short: The type of trigger, index: 4}
            elements:
              extension:
                short: Triggering observation.
                index: 3
                slicing:
                  slices:
                    observation:
                      match: {}
                      schema: {short: Triggering observation., index: 3}
                    type:
                      match: {}
                      schema: {short: The type of trigger, index: 4}
        certifiedRefMaterialCodeable:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.eu/fhir/laboratory/StructureDefinition/observation-certifiedRefMaterialCodeable', index: 5}
          min: 0
        certifiedRefMaterialIdentifer:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.eu/fhir/laboratory/StructureDefinition/observation-certifiedRefMaterialIdentifer', index: 6}
          min: 0
        labTestKit:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.eu/fhir/laboratory/StructureDefinition/observation-deviceLabTestKit', index: 7}
          min: 0
        value-r5:
          match: {url: null}
          schema:
            type: Extension
            short: only for result of type Attachment
            url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.value[x]
            index: 8
            elements:
              value:
                choices: [valueAttachment]
                index: 10
              valueAttachment: {type: Attachment, choiceOf: value, index: 11}
  effectiveDateTime: {type: dateTime, choiceOf: effective, index: 22}
  status: {short: 'Status of this observation (e.g. preliminary, final,...)', index: 12}
  effective:
    choices: [effectiveDateTime, effectivePeriod]
    index: 21
  code:
    binding: {strength: preferred, valueSet: 'http://hl7.eu/fhir/laboratory/ValueSet/lab-obsCode-eu-lab'}
    index: 17
  valueCodeableConcept:
    type: CodeableConcept
    choiceOf: value
    index: 53
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, choiceOf: value, index: 53}
          min: 0
          max: 1
  issued: {short: Date/Time this result was made available, index: 25}
  valuePeriod:
    type: Period
    choiceOf: value
    index: 47
    slicing:
      slices:
        valuePeriod:
          match: {}
          schema: {type: Period, choiceOf: value, index: 47}
          min: 0
          max: 1
  device: {short: Measuring instrument, index: 57}
  valueRange:
    type: Range
    choiceOf: value
    index: 35
    slicing:
      slices:
        valueRange:
          match: {}
          schema: {type: Range, choiceOf: value, index: 35}
          min: 0
          max: 1
  subject:
    type: Reference
    refers: ['http://hl7.eu/fhir/laboratory/StructureDefinition/Patient-animal-eu-lab', 'http://hl7.eu/fhir/laboratory/StructureDefinition/Patient-eu-lab', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Location']
    index: 18
    elements:
      reference: {index: 19}
    required: [reference]
  performer:
    type: Reference
    refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-organization', 'http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-patient', 'http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-practitioner', 'http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-practitionerrole', 'http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
    index: 26
    extensions:
      performerFunction: {url: 'http://hl7.org/fhir/StructureDefinition/event-performerFunction', min: 0, type: Extension, index: 27}
    elements:
      extension:
        type: Extension
        url: http://hl7.org/fhir/StructureDefinition/event-performerFunction
        index: 27
        slicing:
          slices:
            performerFunction:
              match: {}
              schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/event-performerFunction', index: 27}
              min: 0
  dataAbsentReason: {short: Provides a reason why the expected value is missing., index: 54}
  effectivePeriod: {type: Period, choiceOf: effective, index: 23}
package_version: 1.0.0-ballot
extensions:
  supportingInfo: {url: 'http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo', min: 0, type: Extension, index: 1}
  triggeredBy-r5:
    url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.triggeredBy
    type: Extension
    index: 2
    extensions:
      observation: {url: null, short: Triggering observation., index: 3}
      type: {url: null, short: The type of trigger, index: 4}
    elements:
      extension:
        short: Triggering observation.
        index: 3
        slicing:
          slices:
            observation:
              match: {}
              schema: {short: Triggering observation., index: 3}
            type:
              match: {}
              schema: {short: The type of trigger, index: 4}
  certifiedRefMaterialCodeable: {url: 'http://hl7.eu/fhir/laboratory/StructureDefinition/observation-certifiedRefMaterialCodeable', min: 0, type: Extension, index: 5}
  certifiedRefMaterialIdentifer: {url: 'http://hl7.eu/fhir/laboratory/StructureDefinition/observation-certifiedRefMaterialIdentifer', min: 0, type: Extension, index: 6}
  labTestKit: {url: 'http://hl7.eu/fhir/laboratory/StructureDefinition/observation-deviceLabTestKit', min: 0, type: Extension, index: 7}
  value-r5:
    url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.value[x]
    type: Extension
    short: only for result of type Attachment
    index: 8
    elements:
      value:
        choices: [valueAttachment]
        index: 10
      valueAttachment: {type: Attachment, choiceOf: value, index: 11}
class: profile
kind: resource
url: http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-observation-results-laboratory
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 1.0.0-ballot
required: [effectiveDateTime, effectivePeriod, subject, category, effective, performer]