PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.home@lab-report-1.0.0-ballot
    http://hl7.org/fhir/us/home-lab-report/StructureDefinition/DiagnosticReport-at-home-in-vitro-results
description: This profile constrains the US Core Diagnostic Report for Laboratory Results profile to At-Home In-Vitro Tests.
package_name: hl7.fhir.us.home
derivation: constraint
name: DiagnosticReportAtHomeInVitroResult
type: DiagnosticReport
elements:
  extension:
    mustSupport: true
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        supportingInformationPatientQuestionAnswer:
          match: {url: null}
          schema:
            type: Extension
            short: The supportingInformation Extension will house answers the patient supplied to questions asked by the At Home App
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo
            index: 2
            elements:
              value:
                mustSupport: true
                choices: [valueReference]
                index: 4
              valueReference:
                type: Reference
                mustSupport: true
                choiceOf: value
                refers: ['http://hl7.org/fhir/us/home-lab-report/StructureDefinition/Observation-patient-question-answer']
                index: 5
            required: [valueReference, value]
  effectiveDateTime:
    type: dateTime
    constraint:
      aht-1: {human: 'The effectiveTime SHALL be precise to at least the minute and SHALL include a time zone offset. For example YYYY-MM-DDTHH:mm+/-HH:NN', severity: warning, expression: Observation.effectiveDateTime.exists() implies Observation.effectiveDateTime.toString().length() >= 25}
    choiceOf: effective
    index: 11
  status:
    type: code
    pattern: {type: Code, value: final}
    index: 7
  result:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/home-lab-report/StructureDefinition/Observation-at-home-in-vitro-test-result']
    index: 12
  effective:
    constraint:
      aht-1: {human: 'The effectiveTime SHALL be precise to at least the minute and SHALL include a time zone offset. For example YYYY-MM-DDTHH:mm+/-HH:NN', severity: warning, expression: Observation.effectiveDateTime.exists() implies Observation.effectiveDateTime.toString().length() >= 25}
    choices: [effectiveDateTime]
    index: 10
  id: {mustSupport: true, index: 0}
  code: {mustSupport: true, index: 8}
  identifier: {mustSupport: true, index: 6}
  media: {short: 'Images related to the test, such as a photo of the test result, images to support proctor interpretation of test results, etc.', index: 13}
package_version: lab-report-1.0.0-ballot
extensions:
  supportingInformationPatientQuestionAnswer:
    url: http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo
    type: Extension
    short: The supportingInformation Extension will house answers the patient supplied to questions asked by the At Home App
    mustSupport: true
    index: 2
    elements:
      value:
        mustSupport: true
        choices: [valueReference]
        index: 4
      valueReference:
        type: Reference
        mustSupport: true
        choiceOf: value
        refers: ['http://hl7.org/fhir/us/home-lab-report/StructureDefinition/Observation-patient-question-answer']
        index: 5
    required: [valueReference, value]
class: profile
kind: resource
url: http://hl7.org/fhir/us/home-lab-report/StructureDefinition/DiagnosticReport-at-home-in-vitro-results
base: http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab
version: 1.0.0-ballot
required: [result]