PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.eu.base@2.0.0-ballot
    http://hl7.eu/fhir/base/StructureDefinition/medicalTestResult-eu-core
description: This profile sets minimum expectations for the Observation resource for Medical Test Results common to most of the use cases.
package_name: hl7.fhir.eu.base
derivation: constraint
name: MedicalTestResultEuCore
type: Observation
elements:
  category:
    index: 17
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: value}
      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'}
            index: 18
          min: 0
          max: 1
        vital-signs:
          match:
            coding:
            - {code: vital-signs, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: vital-signs, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
            index: 19
          min: 0
          max: 1
  referenceRange: {index: 41}
  hasMember:
    type: Reference
    refers: ['http://hl7.eu/fhir/base/StructureDefinition/medicalTestResult-eu-core']
    index: 42
  value[x]:
    extensions:
      uncertainty: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty', min: 0, max: 1, type: Extension, index: 34}
    elements:
      extension:
        type: Extension
        url: http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty
        index: 34
        slicing:
          slices:
            uncertainty:
              match: {}
              schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty', index: 34}
              min: 0
              max: 1
  derivedFrom:
    type: Reference
    refers: ['http://hl7.eu/fhir/base/StructureDefinition/medicalTestResult-eu-core', 'http://hl7.org/fhir/StructureDefinition/ImagingStudy']
    index: 43
  interpretation: {index: 36}
  method: {index: 39}
  valueQuantity:
    type: Quantity
    choiceOf: value
    index: 33
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema: {type: Quantity, choiceOf: value, index: 33}
          min: 0
          max: 1
  value:
    choices: []
    index: 30
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        valueQuantity:
          match: {}
          schema:
            choices: [valueQuantity]
            index: 32
          min: 0
          max: 1
  component:
    index: 44
    elements:
      code:
        binding: {strength: preferred, valueSet: 'http://hl7.eu/fhir/base/ValueSet/lab-obsCode-eu-lab'}
        index: 45
      value:
        choices: []
        index: 47
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            valueQuantity:
              match: {}
              schema:
                choices: [valueQuantity]
                index: 49
              min: 0
              max: 1
      valueQuantity:
        type: Quantity
        choiceOf: value
        index: 50
        slicing:
          slices:
            valueQuantity:
              match: {}
              schema: {type: Quantity, choiceOf: value, index: 50}
              min: 0
              max: 1
      value[x]:
        extensions:
          uncertainty: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty', min: 0, max: 1, type: Extension, index: 51}
        elements:
          extension:
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty
            index: 51
            slicing:
              slices:
                uncertainty:
                  match: {}
                  schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty', index: 51}
                  min: 0
                  max: 1
      dataAbsentReason: {index: 52}
      interpretation: {index: 53}
      referenceRange: {index: 54}
  note: {index: 37}
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        bodyStructure:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.bodyStructure', index: 1}
          min: 0
          max: 1
        triggeredBy:
          match: {url: null}
          schema:
            type: Extension
            url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.triggeredBy
            index: 2
            extensions:
              observation:
                url: null
                index: 3
                extensions: {}
                elements:
                  extension: {index: 4}
                  value:
                    choices: [valueReference]
                    index: 6
                  valueReference:
                    type: Reference
                    choiceOf: value
                    refers: ['http://hl7.eu/fhir/base/StructureDefinition/medicalTestResult-eu-core']
                    index: 7
            elements:
              extension:
                index: 3
                slicing:
                  slices:
                    observation:
                      match: {}
                      schema:
                        index: 3
                        extensions: {}
                        elements:
                          extension: {index: 4}
                          value:
                            choices: [valueReference]
                            index: 6
                          valueReference:
                            type: Reference
                            choiceOf: value
                            refers: ['http://hl7.eu/fhir/base/StructureDefinition/medicalTestResult-eu-core']
                            index: 7
              value:
                choices: []
                index: 9
        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%5Bx%5D
            index: 10
            elements:
              value:
                choices: [valueAttachment]
                index: 12
              valueAttachment: {type: Attachment, choiceOf: value, index: 13}
  effectiveDateTime: {type: dateTime, choiceOf: effective, index: 25}
  status: {index: 16}
  effective:
    choices: [effectiveDateTime, effectivePeriod]
    index: 24
  code:
    binding: {strength: preferred, valueSet: 'http://hl7.eu/fhir/base/ValueSet/lab-obsCode-eu-lab'}
    index: 20
  identifier: {index: 14}
  bodySite: {index: 38}
  focus:
    type: Reference
    refers: ['http://hl7.eu/fhir/base/StructureDefinition/location-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
    index: 22
  issued: {index: 27}
  device: {index: 40}
  basedOn: {index: 15}
  subject:
    type: Reference
    refers: ['http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core']
    index: 21
  performer:
    type: Reference
    refers: ['http://hl7.eu/fhir/base/StructureDefinition/organization-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitioner-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu-core']
    index: 28
  dataAbsentReason: {index: 35}
  effectivePeriod: {type: Period, choiceOf: effective, index: 26}
package_version: 2.0.0-ballot
extensions:
  bodyStructure: {url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.bodyStructure', min: 0, max: 1, type: Extension, index: 1}
  triggeredBy:
    url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.triggeredBy
    type: Extension
    index: 2
    extensions:
      observation:
        url: null
        index: 3
        extensions: {}
        elements:
          extension: {index: 4}
          value:
            choices: [valueReference]
            index: 6
          valueReference:
            type: Reference
            choiceOf: value
            refers: ['http://hl7.eu/fhir/base/StructureDefinition/medicalTestResult-eu-core']
            index: 7
    elements:
      extension:
        index: 3
        slicing:
          slices:
            observation:
              match: {}
              schema:
                index: 3
                extensions: {}
                elements:
                  extension: {index: 4}
                  value:
                    choices: [valueReference]
                    index: 6
                  valueReference:
                    type: Reference
                    choiceOf: value
                    refers: ['http://hl7.eu/fhir/base/StructureDefinition/medicalTestResult-eu-core']
                    index: 7
      value:
        choices: []
        index: 9
  value-r5:
    url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.value%5Bx%5D
    type: Extension
    short: only for result of type Attachment
    index: 10
    elements:
      value:
        choices: [valueAttachment]
        index: 12
      valueAttachment: {type: Attachment, choiceOf: value, index: 13}
class: profile
kind: resource
url: http://hl7.eu/fhir/base/StructureDefinition/medicalTestResult-eu-core
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 2.0.0-ballot
required: [effectiveDateTime, effectivePeriod, subject, category, effective]