PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.cz.lab@1.0.0
    https://hl7.cz/fhir/lab/StructureDefinition/observation-resultlab-cz-lab
description: This profile constrains the Observation resource to represent results produced by laboratory tests or panels/studies.\n\nThis observation may represent the result of a simple laboratory test such as hematocrit or it may group the set of results produced by a multi-test study or panel such as a complete blood count, a dynamic function test, a urine specimen study. In the latter case, the observation carries the overall conclusion of the study and or a global interpretation by the producer of the study in the comment element; and references the atomic results of the study as \"has-member\" child observations.
package_name: hl7.fhir.cz.lab
derivation: constraint
name: CZ_ObservationResultLaboratory
type: Observation
elements:
  category:
    type: CodeableConcept
    index: 10
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      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: 11
          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: 'https://ncez.mzcr.cz/terminology/ValueSet/cz-lab-study-type'}
            array: true
            index: 12
          min: 0
        specialty:
          match: {}
          schema:
            short: The clinical domain of the laboratory performing the observation (e.g. microbiology, toxicology, chemistry)
            binding: {strength: required, valueSet: 'https://ncez.mzcr.cz/terminology/ValueSet/cz-lab-specialty'}
            array: true
            index: 13
          min: 0
  hasMember:
    type: Reference
    refers: ['https://hl7.cz/fhir/lab/StructureDefinition/observation-resultlab-cz-lab']
    index: 55
  value[x]:
    extensions:
      uncertaintyType: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType|5.3.0', min: 0, max: 1, type: Extension, index: 28}
    elements:
      extension:
        type: Extension
        url: http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType|5.3.0
        index: 28
        slicing:
          slices:
            uncertaintyType:
              match: {}
              schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType|5.3.0', index: 28}
              min: 0
              max: 1
  derivedFrom:
    type: Reference
    short: Derived from another laboratory observation or an imaging study
    refers: ['http://hl7.org/fhir/StructureDefinition/ImagingStudy', 'https://hl7.cz/fhir/lab/StructureDefinition/observation-resultlab-cz-lab']
    index: 56
  interpretation: {type: CodeableConcept, index: 51}
  method:
    type: CodeableConcept
    binding: {strength: preferred, valueSet: 'https://ncez.mzcr.cz/terminology/ValueSet/cz-lab-technique'}
    index: 52
  valueTime:
    type: time
    choiceOf: value
    index: 40
    slicing:
      slices:
        valueTime:
          match: {}
          schema: {type: time, choiceOf: value, index: 40}
          min: 0
          max: 1
  specimen:
    type: Reference
    refers: ['https://hl7.cz/fhir/lab/StructureDefinition/cz-specimen-lab']
    index: 53
  valueQuantity:
    type: Quantity
    choiceOf: value
    index: 27
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema: {type: Quantity, choiceOf: value, index: 27}
  value:
    choices: [valueCodeableConcept]
    index: 48
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema:
            choices: [valueCodeableConcept]
            index: 48
          min: 0
          max: 1
  valueString:
    type: string
    choiceOf: value
    index: 31
    slicing:
      slices:
        valueString:
          match: {}
          schema: {type: string, choiceOf: value, index: 31}
          min: 0
          max: 1
  valueRatio:
    type: Ratio
    choiceOf: value
    index: 37
    slicing:
      slices:
        valueRatio:
          match: {}
          schema: {type: Ratio, choiceOf: value, index: 37}
          min: 0
          max: 1
  valueDateTime:
    type: dateTime
    choiceOf: value
    index: 43
    slicing:
      slices:
        valueDateTime:
          match: {}
          schema: {type: dateTime, choiceOf: value, index: 43}
          min: 0
          max: 1
  component:
    elements:
      value[x]:
        extensions:
          uncertaintyType: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType|5.3.0', min: 0, max: 1, type: Extension, index: 63}
        elements:
          extension:
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType|5.3.0
            index: 63
            slicing:
              slices:
                uncertaintyType:
                  match: {}
                  schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType|5.3.0', index: 63}
                  min: 0
                  max: 1
      valueTime:
        type: time
        choiceOf: value
        index: 75
        slicing:
          slices:
            valueTime:
              match: {}
              schema: {type: time, choiceOf: value, index: 75}
              min: 0
              max: 1
      valueQuantity:
        type: Quantity
        choiceOf: value
        index: 62
        slicing:
          slices:
            valueQuantity:
              match: {}
              schema: {type: Quantity, choiceOf: value, index: 62}
      value:
        choices: [valueCodeableConcept]
        index: 83
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema:
                choices: [valueCodeableConcept]
                index: 83
              min: 0
              max: 1
      valueString:
        type: string
        choiceOf: value
        index: 66
        slicing:
          slices:
            valueString:
              match: {}
              schema: {type: string, choiceOf: value, index: 66}
              min: 0
              max: 1
      valueRatio:
        type: Ratio
        choiceOf: value
        index: 72
        slicing:
          slices:
            valueRatio:
              match: {}
              schema: {type: Ratio, choiceOf: value, index: 72}
              min: 0
              max: 1
      valueDateTime:
        type: dateTime
        choiceOf: value
        index: 78
        slicing:
          slices:
            valueDateTime:
              match: {}
              schema: {type: dateTime, choiceOf: value, index: 78}
              min: 0
              max: 1
      code:
        type: CodeableConcept
        binding: {strength: preferred, valueSet: 'https://ncez.mzcr.cz/nclp/ValueSet/nclppol'}
        index: 57
      valueCodeableConcept:
        type: CodeableConcept
        choiceOf: value
        index: 84
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, choiceOf: value, index: 84}
              min: 0
              max: 1
      valuePeriod:
        type: Period
        choiceOf: value
        index: 81
        slicing:
          slices:
            valuePeriod:
              match: {}
              schema: {type: Period, choiceOf: value, index: 81}
              min: 0
              max: 1
      valueRange:
        type: Range
        choiceOf: value
        index: 69
        slicing:
          slices:
            valueRange:
              match: {}
              schema: {type: Range, choiceOf: value, index: 69}
              min: 0
              max: 1
  effective[x]:
    extensions:
      ClinicallyRelevantTime: {url: 'https://hl7.cz/fhir/lab/StructureDefinition/cz-lab-clinically-relevant-time', min: 0, max: 1, type: Extension, mustSupport: true, index: 19}
      data-absent-reason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.3.0', min: 0, max: 1, type: Extension, short: 'effective[x] absence reason', index: 20}
    elements:
      extension:
        type: Extension
        mustSupport: true
        url: https://hl7.cz/fhir/lab/StructureDefinition/cz-lab-clinically-relevant-time
        index: 19
        slicing:
          slices:
            ClinicallyRelevantTime:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'https://hl7.cz/fhir/lab/StructureDefinition/cz-lab-clinically-relevant-time', index: 19}
              min: 0
              max: 1
            data-absent-reason:
              match: {}
              schema: {type: Extension, short: 'effective[x] absence reason', url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.3.0', index: 20}
              min: 0
              max: 1
  extension:
    short: Information on the laboratory’s accreditation for the respective test
    index: 0
    slicing:
      slices:
        supportingInfo:
          match: {}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo|5.3.0', index: 1}
          min: 0
        triggeredBy-r5:
          match: {}
          schema:
            type: Extension
            url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.triggeredBy|0.1.0
            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: {}
          schema: {type: Extension, url: 'http://hl7.eu/fhir/laboratory/StructureDefinition/observation-certifiedRefMaterialCodeable', index: 5}
          min: 0
        certifiedRefMaterialIdentifer:
          match: {}
          schema: {type: Extension, url: 'http://hl7.eu/fhir/laboratory/StructureDefinition/observation-certifiedRefMaterialIdentifer', index: 6}
          min: 0
        labTestKit:
          match: {}
          schema: {type: Extension, url: 'http://hl7.eu/fhir/laboratory/StructureDefinition/observation-deviceLabTestKit', index: 7}
          min: 0
        accreditation:
          match: {}
          schema: {type: Extension, url: 'https://hl7.cz/fhir/core/StructureDefinition/accreditation-cz', index: 8}
          min: 0
          max: 1
  status: {short: 'Status of this observation (e.g. preliminary, final,...)', index: 9}
  effective:
    constraint:
      cz-lab-3: {human: Datetime musí být uveden s přesností alespoň na den, source: 'https://hl7.cz/fhir/lab/StructureDefinition/observation-resultlab-cz-lab', severity: error, expression: ($this as dateTime).hasValue() implies ($this as dateTime).toString().length() >= 8}
    choices: []
    index: 18
  code:
    type: CodeableConcept
    binding: {strength: required, valueSet: 'https://ncez.mzcr.cz/nclp/ValueSet/nclppol'}
    index: 14
  valueCodeableConcept:
    type: CodeableConcept
    choiceOf: value
    index: 49
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, choiceOf: value, index: 49}
          min: 0
          max: 1
  issued: {short: Date/Time this result was made available, index: 21}
  valuePeriod:
    type: Period
    choiceOf: value
    index: 46
    slicing:
      slices:
        valuePeriod:
          match: {}
          schema: {type: Period, choiceOf: value, index: 46}
          min: 0
          max: 1
  device:
    type: Reference
    short: Measuring instrument
    refers: ['http://hl7.org/fhir/StructureDefinition/DeviceMetric', 'https://hl7.cz/fhir/core/StructureDefinition/cz-device-observer']
    index: 54
  valueRange:
    type: Range
    choiceOf: value
    index: 34
    slicing:
      slices:
        valueRange:
          match: {}
          schema: {type: Range, choiceOf: value, index: 34}
          min: 0
          max: 1
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'https://hl7.cz/fhir/core/StructureDefinition/cz-location-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-patient-core']
    index: 15
    elements:
      reference: {index: 16}
    required: [reference]
  performer:
    type: Reference
    refers: ['https://hl7.cz/fhir/core/StructureDefinition/cz-organization-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-patient-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-practitioner-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-practitionerrole-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-relatedPerson-core']
    index: 22
  dataAbsentReason: {short: Provides a reason why the expected value is missing., index: 50}
package_version: 1.0.0
extensions:
  supportingInfo: {url: 'http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo|5.3.0', min: 0, type: Extension, index: 1}
  triggeredBy-r5:
    url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.triggeredBy|0.1.0
    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}
  accreditation: {url: 'https://hl7.cz/fhir/core/StructureDefinition/accreditation-cz', min: 0, max: 1, type: Extension, index: 8}
class: profile
kind: resource
url: https://hl7.cz/fhir/lab/StructureDefinition/observation-resultlab-cz-lab
base: https://hl7.cz/fhir/core/StructureDefinition/medicalTestResult-cz-core
version: 1.0.0
required: [performer]