PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.eu.base@2.0.0
    http://hl7.eu/fhir/base/StructureDefinition/medicalTestResult-eu-core
description: This profile introduces essential constraints and extensions for the Observation resource for Medical Test Results that apply across multiple use cases.
package_name: hl7.fhir.eu.base
derivation: constraint
name: MedicalTestResultEuCore
type: Observation
elements:
  category: {index: 17}
  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: 33}
    elements:
      extension:
        type: Extension
        url: http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty
        index: 33
        slicing:
          slices:
            uncertainty:
              match: {}
              schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty', index: 33}
              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: 35}
  method: {index: 38}
  specimen: {short: Specimen used for the observation, index: 39}
  valueQuantity:
    type: Quantity
    choiceOf: value
    index: 32
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema: {type: Quantity, choiceOf: value, index: 32}
          min: 0
          max: 1
  value:
    choices: []
    index: 29
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        valueQuantity:
          match: {}
          schema:
            choices: [valueQuantity]
            index: 31
          min: 0
          max: 1
  component:
    index: 44
    extensions:
      value-r5:
        url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.value
        type: Extension
        short: only for Diagrams or Pictures
        index: 46
        extensions: {}
        elements:
          extension: {index: 47}
          value:
            choices: [valueAttachment]
            index: 49
          valueAttachment: {type: Attachment, choiceOf: value, index: 50}
    elements:
      extension:
        index: 45
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            value-r5:
              match: {url: null}
              schema:
                type: Extension
                short: only for Diagrams or Pictures
                url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.value
                index: 46
                extensions: {}
                elements:
                  extension: {index: 47}
                  value:
                    choices: [valueAttachment]
                    index: 49
                  valueAttachment: {type: Attachment, choiceOf: value, index: 50}
      code:
        binding: {strength: example, valueSet: 'http://hl7.eu/fhir/base/ValueSet/medicalTestResult-eu'}
        index: 51
      value:
        choices: []
        index: 53
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            valueQuantity:
              match: {}
              schema:
                choices: [valueQuantity]
                index: 55
              min: 0
              max: 1
      valueQuantity:
        type: Quantity
        choiceOf: value
        index: 56
        slicing:
          slices:
            valueQuantity:
              match: {}
              schema: {type: Quantity, choiceOf: value, index: 56}
              min: 0
              max: 1
      value[x]:
        extensions:
          uncertainty: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty', min: 0, max: 1, type: Extension, index: 57}
        elements:
          extension:
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty
            index: 57
            slicing:
              slices:
                uncertainty:
                  match: {}
                  schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty', index: 57}
                  min: 0
                  max: 1
      dataAbsentReason: {index: 58}
      interpretation: {index: 59}
      referenceRange: {index: 60}
  note: {index: 36}
  extension:
    index: 1
    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: 2}
          min: 0
          max: 1
        triggeredBy:
          match: {url: null}
          schema:
            type: Extension
            url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.triggeredBy
            index: 3
            extensions:
              observation:
                url: null
                index: 4
                extensions: {}
                elements:
                  extension: {index: 5}
                  value:
                    choices: [valueReference]
                    index: 7
                  valueReference:
                    type: Reference
                    choiceOf: value
                    refers: ['http://hl7.eu/fhir/base/StructureDefinition/medicalTestResult-eu-core']
                    index: 8
            elements:
              extension:
                index: 4
                slicing:
                  slices:
                    observation:
                      match: {}
                      schema:
                        index: 4
                        extensions: {}
                        elements:
                          extension: {index: 5}
                          value:
                            choices: [valueReference]
                            index: 7
                          valueReference:
                            type: Reference
                            choiceOf: value
                            refers: ['http://hl7.eu/fhir/base/StructureDefinition/medicalTestResult-eu-core']
                            index: 8
        value-r5:
          match: {url: null}
          schema:
            type: Extension
            short: only for Diagrams or Pictures
            url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.value
            index: 9
            extensions: {}
            elements:
              extension: {index: 10}
              value:
                choices: [valueAttachment]
                index: 12
              valueAttachment: {type: Attachment, choiceOf: value, index: 13}
  effectiveDateTime: {type: dateTime, choiceOf: effective, index: 23}
  status: {index: 16}
  language: {short: Language of the observation, index: 0}
  effective:
    choices: [effectiveDateTime, effectivePeriod]
    index: 22
  code:
    binding: {strength: example, valueSet: 'http://hl7.eu/fhir/base/ValueSet/medicalTestResult-eu'}
    index: 18
  identifier: {index: 14}
  bodySite: {index: 37}
  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: 20
  issued: {index: 25}
  device: {index: 40}
  basedOn: {index: 15}
  subject:
    type: Reference
    refers: ['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/Location']
    index: 19
  performer:
    type: Reference
    refers: ['http://hl7.eu/fhir/base/StructureDefinition/organization-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitioner-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu-core', '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: {index: 34}
  effectivePeriod: {type: Period, choiceOf: effective, index: 24}
package_version: 2.0.0
extensions:
  bodyStructure: {url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.bodyStructure', min: 0, max: 1, type: Extension, index: 2}
  triggeredBy:
    url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.triggeredBy
    type: Extension
    index: 3
    extensions:
      observation:
        url: null
        index: 4
        extensions: {}
        elements:
          extension: {index: 5}
          value:
            choices: [valueReference]
            index: 7
          valueReference:
            type: Reference
            choiceOf: value
            refers: ['http://hl7.eu/fhir/base/StructureDefinition/medicalTestResult-eu-core']
            index: 8
    elements:
      extension:
        index: 4
        slicing:
          slices:
            observation:
              match: {}
              schema:
                index: 4
                extensions: {}
                elements:
                  extension: {index: 5}
                  value:
                    choices: [valueReference]
                    index: 7
                  valueReference:
                    type: Reference
                    choiceOf: value
                    refers: ['http://hl7.eu/fhir/base/StructureDefinition/medicalTestResult-eu-core']
                    index: 8
  value-r5:
    url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.value
    type: Extension
    short: only for Diagrams or Pictures
    index: 9
    extensions: {}
    elements:
      extension: {index: 10}
      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
required: [effectiveDateTime, effectivePeriod, subject, category, effective]