PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.core@5.0.0
    http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test
description: The US Core Observation Clinical Test Result Profile is based upon the core FHIR Observation Resource, and, along with the US Core DiagnosticReport Profile for Report and Note exchange, meets the U.S. Core Data for Interoperability (USCDI) v2 ‘Clinical Tests’ requirements. Clinical tests includes non-imaging and non-laboratory tests performed on a patient that results in structured or unstructured (narrative) findings specific to the patient, such as electrocardiogram (ECG), visual acuity exam, macular exam, or graded exercise testing (GXT), to facilitate the diagnosis and management of conditions. The US Core Observation Clinical Test Result Profile profile sets minimum expectations for the Observation resource to record, search, and fetch clinical tests for a patient to promote interoperability and adoption through common implementation.  It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile.  It provides the floor for standards development for specific uses cases.
package_name: hl7.fhir.us.core
derivation: constraint
name: USCoreObservationClinicalTestResultProfile
type: Observation
elements:
  category:
    mustSupport: true
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: 1
      slices:
        clinical-test:
          match:
            coding:
            - {code: clinical-test, system: 'http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category'}
          schema:
            mustSupport: true
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: clinical-test, system: 'http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category'}
            _required: true
            index: 2
          min: 1
          max: 1
  valueTime:
    type: time
    short: Result Value
    constraint:
      us-core-3: {human: SHALL use UCUM for coded quantity units., severity: error, expression: 'valueQuantity.system.empty() or valueQuantity.system = ''http://unitsofmeasure.org'''}
    mustSupport: true
    choiceOf: value
    index: 21
  valueQuantity:
    type: Quantity
    short: Result Value
    constraint:
      us-core-3: {human: SHALL use UCUM for coded quantity units., severity: error, expression: 'valueQuantity.system.empty() or valueQuantity.system = ''http://unitsofmeasure.org'''}
    mustSupport: true
    choiceOf: value
    index: 13
  value:
    short: Result Value
    constraint:
      us-core-3: {human: SHALL use UCUM for coded quantity units., severity: error, expression: 'valueQuantity.system.empty() or valueQuantity.system = ''http://unitsofmeasure.org'''}
    mustSupport: true
    choices: [valueQuantity, valueCodeableConcept, valueString, valueBoolean, valueInteger, valueRange, valueRatio, valueSampledData, valueTime, valueDateTime, valuePeriod]
    index: 12
  valueString:
    type: string
    short: Result Value
    constraint:
      us-core-3: {human: SHALL use UCUM for coded quantity units., severity: error, expression: 'valueQuantity.system.empty() or valueQuantity.system = ''http://unitsofmeasure.org'''}
    mustSupport: true
    choiceOf: value
    index: 15
  valueRatio:
    type: Ratio
    short: Result Value
    constraint:
      us-core-3: {human: SHALL use UCUM for coded quantity units., severity: error, expression: 'valueQuantity.system.empty() or valueQuantity.system = ''http://unitsofmeasure.org'''}
    mustSupport: true
    choiceOf: value
    index: 19
  valueBoolean:
    type: boolean
    short: Result Value
    constraint:
      us-core-3: {human: SHALL use UCUM for coded quantity units., severity: error, expression: 'valueQuantity.system.empty() or valueQuantity.system = ''http://unitsofmeasure.org'''}
    mustSupport: true
    choiceOf: value
    index: 16
  valueDateTime:
    type: dateTime
    short: Result Value
    constraint:
      us-core-3: {human: SHALL use UCUM for coded quantity units., severity: error, expression: 'valueQuantity.system.empty() or valueQuantity.system = ''http://unitsofmeasure.org'''}
    mustSupport: true
    choiceOf: value
    index: 22
  valueSampledData:
    type: SampledData
    short: Result Value
    constraint:
      us-core-3: {human: SHALL use UCUM for coded quantity units., severity: error, expression: 'valueQuantity.system.empty() or valueQuantity.system = ''http://unitsofmeasure.org'''}
    mustSupport: true
    choiceOf: value
    index: 20
  effectiveDateTime:
    type: dateTime
    constraint:
      us-core-1: {human: Datetime must be at least to day., severity: error, expression: $this is DateTime implies $this.toString().length() >= 10}
    mustSupport: true
    choiceOf: effective
    index: 7
  status: {mustSupport: true, index: 0}
  effective:
    constraint:
      us-core-1: {human: Datetime must be at least to day., severity: error, expression: $this is DateTime implies $this.toString().length() >= 10}
    mustSupport: true
    choices: [effectiveDateTime, effectivePeriod, effectiveTiming, effectiveInstant]
    index: 6
  code:
    short: Clinical Test Name
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-test-codes'}
    mustSupport: true
    index: 3
  effectiveTiming:
    type: Timing
    constraint:
      us-core-1: {human: Datetime must be at least to day., severity: error, expression: $this is DateTime implies $this.toString().length() >= 10}
    mustSupport: true
    choiceOf: effective
    index: 9
  valueCodeableConcept:
    type: CodeableConcept
    short: Result Value
    constraint:
      us-core-3: {human: SHALL use UCUM for coded quantity units., severity: error, expression: 'valueQuantity.system.empty() or valueQuantity.system = ''http://unitsofmeasure.org'''}
    mustSupport: true
    choiceOf: value
    index: 14
  valuePeriod:
    type: Period
    short: Result Value
    constraint:
      us-core-3: {human: SHALL use UCUM for coded quantity units., severity: error, expression: 'valueQuantity.system.empty() or valueQuantity.system = ''http://unitsofmeasure.org'''}
    mustSupport: true
    choiceOf: value
    index: 23
  effectiveInstant:
    type: instant
    constraint:
      us-core-1: {human: Datetime must be at least to day., severity: error, expression: $this is DateTime implies $this.toString().length() >= 10}
    mustSupport: true
    choiceOf: effective
    index: 10
  valueRange:
    type: Range
    short: Result Value
    constraint:
      us-core-3: {human: SHALL use UCUM for coded quantity units., severity: error, expression: 'valueQuantity.system.empty() or valueQuantity.system = ''http://unitsofmeasure.org'''}
    mustSupport: true
    choiceOf: value
    index: 18
  valueInteger:
    type: integer
    short: Result Value
    constraint:
      us-core-3: {human: SHALL use UCUM for coded quantity units., severity: error, expression: 'valueQuantity.system.empty() or valueQuantity.system = ''http://unitsofmeasure.org'''}
    mustSupport: true
    choiceOf: value
    index: 17
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']
    index: 4
  dataAbsentReason: {mustSupport: true, index: 24}
  effectivePeriod:
    type: Period
    constraint:
      us-core-1: {human: Datetime must be at least to day., severity: error, expression: $this is DateTime implies $this.toString().length() >= 10}
    mustSupport: true
    choiceOf: effective
    index: 8
package_version: 5.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 5.0.0
required: [subject, category]