PackagesCanonicalsLogsProblems
    Packages
    myhealth.eu.fhir.core@1.0.0
    http://fhir.ehdsi.eu/core/StructureDefinition/medicalTestResult-myhealtheu-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: myhealth.eu.fhir.core
derivation: constraint
name: MedicalTestResultMyHealthCore
type: Observation
elements:
  category:
    binding: {strength: extensible, valueSet: 'http://terminology.ehdsi.eu/ValueSet/eHDSIObservationCategory'}
    index: 6
  referenceRange:
    elements:
      type:
        binding: {strength: required, valueSet: 'http://fhir.ehdsi.eu/core/ValueSet/eHDSIReferenceRangeMeaningWithExceptions'}
        index: 28
      appliesTo:
        binding: {strength: required, valueSet: 'http://fhir.ehdsi.eu/core/ValueSet/eHDSIReferenceRangeAppliesToWithExceptions'}
        index: 29
  hasMember:
    type: Reference
    refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/medicalTestResult-myhealtheu-core']
    index: 30
  derivedFrom:
    type: Reference
    refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/medicalTestResult-myhealtheu-core', 'http://hl7.org/fhir/StructureDefinition/ImagingStudy']
    index: 31
  interpretation:
    binding: {strength: required, valueSet: 'http://fhir.ehdsi.eu/core/ValueSet/eHDSIObservationInterpretationWithExceptions'}
    index: 21
  method:
    binding: {strength: required, valueSet: 'http://fhir.ehdsi.eu/core/ValueSet/eHDSIObservationMethodWithExceptions'}
    index: 27
  valueQuantity:
    type: Quantity
    choiceOf: value
    index: 13
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema: {type: Quantity, choiceOf: value, index: 13}
  value:
    choices: [valueRatio]
    index: 18
    slicing:
      slices:
        valueRatio:
          match: {}
          schema:
            choices: [valueRatio]
            index: 18
          min: 0
          max: 1
  valueRatio:
    type: Ratio
    choiceOf: value
    index: 19
    slicing:
      slices:
        valueRatio:
          match: {}
          schema: {type: Ratio, choiceOf: value, index: 19}
          min: 0
          max: 1
  component:
    elements:
      code:
        binding: {strength: required, valueSet: 'http://fhir.ehdsi.eu/core/ValueSet/eHDSIObservationCodeWithExceptions'}
        index: 32
      value:
        choices: [valueRatio]
        index: 40
        slicing:
          slices:
            valueRatio:
              match: {}
              schema:
                choices: [valueRatio]
                index: 40
              min: 0
              max: 1
      valueQuantity:
        type: Quantity
        choiceOf: value
        index: 35
        slicing:
          slices:
            valueQuantity:
              match: {}
              schema: {type: Quantity, choiceOf: value, index: 35}
      valueCodeableConcept:
        type: CodeableConcept
        choiceOf: value
        index: 38
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, choiceOf: value, index: 38}
              min: 0
              max: 1
      valueRatio:
        type: Ratio
        choiceOf: value
        index: 41
        slicing:
          slices:
            valueRatio:
              match: {}
              schema: {type: Ratio, choiceOf: value, index: 41}
              min: 0
              max: 1
      dataAbsentReason:
        binding: {strength: extensible, valueSet: 'http://terminology.ehdsi.eu/ValueSet/eHDSIDataAbsentReason'}
        index: 42
      interpretation:
        binding: {strength: required, valueSet: 'http://fhir.ehdsi.eu/core/ValueSet/eHDSIObservationInterpretationWithExceptions'}
        index: 43
  extension:
    index: 1
    slicing:
      slices:
        triggeredBy:
          match: {}
          schema:
            index: 1
            extensions:
              observation:
                url: null
                index: 2
                elements:
                  value:
                    choices: [valueReference]
                    index: 4
                  valueReference:
                    type: Reference
                    choiceOf: value
                    refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/medicalTestResult-myhealtheu-core']
                    index: 5
            elements:
              extension:
                index: 2
                slicing:
                  slices:
                    observation:
                      match: {}
                      schema:
                        index: 2
                        elements:
                          value:
                            choices: [valueReference]
                            index: 4
                          valueReference:
                            type: Reference
                            choiceOf: value
                            refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/medicalTestResult-myhealtheu-core']
                            index: 5
  language:
    binding: {strength: required, valueSet: 'http://terminology.ehdsi.eu/ValueSet/eHDSILanguage'}
    index: 0
  code:
    binding: {strength: required, valueSet: 'http://fhir.ehdsi.eu/core/ValueSet/eHDSIObservationCodeWithExceptions'}
    index: 7
  valueCodeableConcept:
    type: CodeableConcept
    choiceOf: value
    index: 16
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, choiceOf: value, index: 16}
          min: 0
          max: 1
  bodySite:
    binding: {strength: required, valueSet: 'http://fhir.ehdsi.eu/core/ValueSet/eHDSIBodySiteWithExceptions'}
    index: 22
    extensions:
      bodySite:
        url: http://hl7.org/fhir/StructureDefinition/bodySite|5.2.0
        type: Extension
        index: 23
        elements:
          value:
            choices: [valueReference]
            index: 25
          valueReference:
            type: Reference
            choiceOf: value
            refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/bodyStructure-myhealtheu-core']
            index: 26
    elements:
      extension:
        type: Extension
        url: http://hl7.org/fhir/StructureDefinition/bodySite|5.2.0
        index: 23
        slicing:
          slices:
            bodySite:
              match: {}
              schema:
                type: Extension
                url: http://hl7.org/fhir/StructureDefinition/bodySite|5.2.0
                index: 23
                elements:
                  value:
                    choices: [valueReference]
                    index: 25
                  valueReference:
                    type: Reference
                    choiceOf: value
                    refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/bodyStructure-myhealtheu-core']
                    index: 26
  focus:
    type: Reference
    refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/location-myhealtheu-core', 'http://fhir.ehdsi.eu/core/StructureDefinition/patient-myhealtheu-core', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
    index: 9
  subject:
    type: Reference
    refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/patient-myhealtheu-core']
    index: 8
  performer:
    type: Reference
    refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/organization-myhealtheu-core', 'http://fhir.ehdsi.eu/core/StructureDefinition/practitioner-myhealtheu-core', 'http://fhir.ehdsi.eu/core/StructureDefinition/practitionerRole-myhealtheu-core']
    index: 10
  dataAbsentReason:
    binding: {strength: extensible, valueSet: 'http://terminology.ehdsi.eu/ValueSet/eHDSIDataAbsentReason'}
    index: 20
package_version: 1.0.0
extensions:
  triggeredBy:
    url: null
    index: 1
    extensions:
      observation:
        url: null
        index: 2
        elements:
          value:
            choices: [valueReference]
            index: 4
          valueReference:
            type: Reference
            choiceOf: value
            refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/medicalTestResult-myhealtheu-core']
            index: 5
    elements:
      extension:
        index: 2
        slicing:
          slices:
            observation:
              match: {}
              schema:
                index: 2
                elements:
                  value:
                    choices: [valueReference]
                    index: 4
                  valueReference:
                    type: Reference
                    choiceOf: value
                    refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/medicalTestResult-myhealtheu-core']
                    index: 5
class: profile
kind: resource
url: http://fhir.ehdsi.eu/core/StructureDefinition/medicalTestResult-myhealtheu-core
base: http://hl7.eu/fhir/base/StructureDefinition/medicalTestResult-eu-core
version: 1.0.0