ResultObservation
type: StructureDefinition
node role: treeRoot
id:
  v: ResultObservation
text:
  status:
    v: extensions
  div: Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Observation C 1..1 Observation XML Namespace: urn:hl7-org:v3 Elements defined in Ancestors: @nullFlavor, realmCode, <a href="http://hl7.org/cda/stds/core/2.0.0-sd-snapshot1/StructureDefinition-InfrastructureRoot.html" title="When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question.">typeId, templateId, @classCode, @moodCode, @negationInd, id, code, derivationExpr, text, statusCode, effectiveTime, priorityCode, repeatNumber, languageCode, value, interpretationCode, methodCode, targetSiteCode, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition, sdtcPrecondition2, referenceRange, sdtcInFulfillmentOf1 Base for all types and resources Instances of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) should-text-ref-value: SHOULD contain text/reference/@value should-interpretationCode: SHOULD contain interpretationCode should-author: SHOULD contain author should-referenceRange: SHOULD contain referenceRange Slices for templateId 1..* II Slice: Unordered, Open by value:root, value:extension templateId:result-obs 1..1 II @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.10.20.22.4.2 @extension 1..1 st Required Pattern: 2023-05-01 @classCode 1..1 cs Fixed Value: OBS @moodCode 1..1 cs Fixed Value: EVN id 1..* II code C 1..1 CD (USCDI) Tests shall-code-or-nullflavor: SHALL contain either a @code attribute or a @nullFlavor attribute, but not both. 4537-19212: This code **SHOULD** be a code from the LOINC that identifies the result observation. If an appropriate LOINC code does not exist, then t…
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/logical-target
  value: boolean
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/data-absent-reason
      value:
        v: not-applicable
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
  value:
    v: urn:hl7-org:v3
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
  value:
    v: observation
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/logical-container
  value:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/type-profile-style
  value:
    v: cda
url:
  v: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
identifier:
  value:
    v: urn:hl7ii:2.16.840.1.113883.10.20.22.4.2:2023-05-01
version:
  v: 3.0.0-ballot
name:
  v: ResultObservation
title:
  v: Result Observation
status:
  v: draft
date:
  v: 2023-12-21T01:13:10+10:00
publisher:
  v: Health Level Seven
contact:
  name:
    v: HL7 International - Structured Documents
  telecom:
    system:
      v: url
    value:
      v: http://www.hl7.org/Special/committees/structure
description:
  v: This template represents the results of a laboratory, radiology, or other study performed on a patient. The result observation includes a statusCode to allow recording the status of an observation. Pending results (e.g., a test has been run but results have not been reported yet) should be represented as active ActStatus. If code contains a valid non-null LOINC then the xsi:type value SHOULD match the LOINC Scale Part based on the table below: | LOINC Scale Part | Value xsi:type | | -------- | ------- | | Qn - Quantitative | INT, IVL_INT, MO, IVL_MO, REAL, IVL_REAL, PQ, IVL_PQ, RTO, TS, IVL_TS | | Ord - Ordinal | CD | | Nom - Nominal | CD | | Nar - Narrative | ED, ST | | OrdQn - Quantitative or Ordinal | CD, INT, IVL_INT, MO, IVL_MO, REAL, IVL_REAL, PQ, IVL_PQ, RTO, TS, IVL_TS | | Multi - Multi | ED | | Doc - Document | ED |
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
    code:
      v: US
fhir version:
  v: 5.0.0
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
  name:
    v: RIM Mapping
kind:
  v: logical
abstract:
  v: false
type:
  v: http://hl7.org/cda/stds/core/StructureDefinition/Observation
base definition:
  v: http://hl7.org/cda/stds/core/StructureDefinition/Observation
  link: http://hl7.org/cda/stds/core/StructureDefinition/Observation
derivation:
  v: constraint
snapshot:
  element:
    id:
      v: Observation
    path:
      v: Observation
    short:
      v: Base for all types and resources
    definition:
      v: Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type.
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    constraint:
      key:
        v: should-text-ref-value
      severity:
        v: warning
      human:
        v: SHOULD contain text/reference/@value
      expression:
        v: text.reference.value.exists()
      source:
        v: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
        link: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
    constraint:
      key:
        v: should-interpretationCode
      severity:
        v: warning
      human:
        v: SHOULD contain interpretationCode
      expression:
        v: interpretationCode.exists()
      source:
        v: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
        link: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
    constraint:
      key:
        v: should-author
      severity:
        v: warning
      human:
        v: SHOULD contain author
      expression:
        v: author.exists()
      source:
        v: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
        link: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
    constraint:
      key:
        v: should-referenceRange
      severity:
        v: warning
      human:
        v: SHOULD contain referenceRange
      expression:
        v: referenceRange.exists()
      source:
        v: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
        link: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
    is modifier:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: Observation.nullFlavor
    path:
      v: Observation.nullFlavor
    representation:
      v: xmlAttr
    label:
      v: Exceptional Value Detail
    definition:
      v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: ANY.nullFlavor
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: code
      profile:
        v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
        link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    binding:
      strength:
        v: required
      value set:
        v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
        link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
  element:
    id:
      v: Observation.realmCode

v: Observation.realmCode

v: When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question

v: 0

v: *

path:
  v: InfrastructureRoot.realmCode
min:
  v: 0
max:
  v: *

id:
  v: Observation.typeId
path:
  v: Observation.typeId
definition:
  v: When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: InfrastructureRoot.typeId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II

id:
  v: Observation.typeId.nullFlavor
path:
  v: Observation.typeId.nullFlavor
representation:
  v: xmlAttr
label:
  v: Exceptional Value Detail
definition:
  v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ANY.nullFlavor
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

id:
  v: Observation.typeId.assigningAuthorityName
path:
  v: Observation.typeId.assigningAuthorityName
representation:
  v: xmlAttr
label:
  v: Assigning Authority Name
definition:
  v: A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: II.assigningAuthorityName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Observation.typeId.displayable
path:
  v: Observation.typeId.displayable
representation:
  v: xmlAttr
label:
  v: Displayable
definition:
  v: Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: II.displayable
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple

id:
  v: Observation.typeId.root
path:
  v: Observation.typeId.root
representation:
  v: xmlAttr
label:
  v: Root
definition:
  v: Identifies the type as an HL7 Registered model
min:
  v: 1
max:
  v: 1
base:
  path:
    v: II.root
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    link: http://hl7.org/cda/stds/core/StructureDefinition/oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    link: http://hl7.org/cda/stds/core/StructureDefinition/uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    link: http://hl7.org/cda/stds/core/StructureDefinition/ruid
fixed:
  v: 2.16.840.1.113883.1.3

id:
  v: Observation.typeId.extension
path:
  v: Observation.typeId.extension
representation:
  v: xmlAttr
label:
  v: Extension
definition:
  v: A character string as a unique identifier within the scope of the identifier root.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: II.extension
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Observation.templateId
path:
  v: Observation.templateId
slicing:
  discriminator:
    type:
      v: value
    path:
      v: root
  discriminator:
    type:
      v: value
    path:
      v: extension
  rules:
    v: open
definition:
  v: When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question
min:
  v: 1
max:
  v: *
base:
  path:
    v: InfrastructureRoot.templateId
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II

id:
  v: Observation.templateId:result-obs
path:
  v: Observation.templateId
slice name:
  v: result-obs
definition:
  v: When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question
min:
  v: 1
max:
  v: 1
base:
  path:
    v: InfrastructureRoot.templateId
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II

id:
  v: Observation.templateId:result-obs.nullFlavor
path:
  v: Observation.templateId.nullFlavor
representation:
  v: xmlAttr
label:
  v: Exceptional Value Detail
definition:
  v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ANY.nullFlavor
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

id:
  v: Observation.templateId:result-obs.assigningAuthorityName
path:
  v: Observation.templateId.assigningAuthorityName
representation:
  v: xmlAttr
label:
  v: Assigning Authority Name
definition:
  v: A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: II.assigningAuthorityName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Observation.templateId:result-obs.displayable
path:
  v: Observation.templateId.displayable
representation:
  v: xmlAttr
label:
  v: Displayable
definition:
  v: Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: II.displayable
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple

id:
  v: Observation.templateId:result-obs.root
path:
  v: Observation.templateId.root
representation:
  v: xmlAttr
label:
  v: Root
definition:
  v: A unique identifier that guarantees the global uniqueness of the instance identifier. The root alone may be the entire instance identifier.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: II.root
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    link: http://hl7.org/cda/stds/core/StructureDefinition/oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    link: http://hl7.org/cda/stds/core/StructureDefinition/uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    link: http://hl7.org/cda/stds/core/StructureDefinition/ruid
pattern:
  v: 2.16.840.1.113883.10.20.22.4.2

id:
  v: Observation.templateId:result-obs.extension
path:
  v: Observation.templateId.extension
representation:
  v: xmlAttr
label:
  v: Extension
definition:
  v: A character string as a unique identifier within the scope of the identifier root.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: II.extension
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
pattern:
  v: 2023-05-01

id:
  v: Observation.classCode
path:
  v: Observation.classCode
representation:
  v: xmlAttr
comment:
  v: SHALL contain exactly one [1..1] @classCode="OBS" Observation (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:4537-7130).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Observation.classCode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
fixed:
  v: OBS
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ActClassObservation|2.0.0
    link: 2.0
    link: .0

id:
  v: Observation.moodCode
path:
  v: Observation.moodCode
representation:
  v: xmlAttr
comment:
  v: SHALL contain exactly one [1..1] @moodCode="EVN" Event (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:4537-7131).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Observation.moodCode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
fixed:
  v: EVN
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-xActMoodDocumentObservation|2.0.0
    link: 2.0
    link: .0

id:
  v: Observation.negationInd
path:
  v: Observation.negationInd
representation:
  v: xmlAttr
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.negationInd
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple

id:
  v: Observation.id
path:
  v: Observation.id
comment:
  v: SHALL contain at least one [1..*] id (CONF:4537-7137).
min:
  v: 1
max:
  v: *
base:
  path:
    v: Observation.id
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II

id:
  v: Observation.code
extension:
  url:
    v: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
  value:
    v: true
path:
  v: Observation.code
representation:
  v: typeAttr
short:
  v: (USCDI) Tests
comment:
  v: SHALL contain exactly one [1..1] code, which SHOULD be selected from CodeSystem LOINC (urn:oid:2.16.840.1.113883.6.1) (CONF:4537-7133).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Observation.code
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CD
constraint:
  key:
    v: shall-code-or-nullflavor
  severity:
    v: error
  human:
    v: SHALL contain either a @code attribute or a @nullFlavor attribute, but not both.
  expression:
    v: (code | nullFlavor).count() = 1
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
    link: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
constraint:
  key:
    v: 4537-19212
  severity:
    v: warning
  human:
    v: This code **SHOULD** be a code from the LOINC that identifies the result observation. If an appropriate LOINC code does not exist, then the local code for this result **SHALL** be sent (CONF:4537-19212).
  expression:
    v: codeSystem = '2.16.840.1.113883.6.1'
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
    link: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
binding:
  strength:
    v: example
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ObservationType
    link: http://terminology.hl7.org/ValueSet/v3-ObservationType

id:
  v: Observation.code.nullFlavor
path:
  v: Observation.code.nullFlavor
representation:
  v: xmlAttr
label:
  v: Exceptional Value Detail
definition:
  v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
comment:
  v: Either code or nullFlavor MUST be present
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ANY.nullFlavor
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

id:
  v: Observation.code.code
path:
  v: Observation.code.code
representation:
  v: xmlAttr
label:
  v: Code
definition:
  v: The plain code symbol defined by the code system. For example, "784.0" is the code symbol of the ICD-9 code "784.0" for headache.
comment:
  v: Either code or nullFlavor MUST be present
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CD.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple

id:
  v: Observation.code.codeSystem
path:
  v: Observation.code.codeSystem
representation:
  v: xmlAttr
label:
  v: Code System
definition:
  v: Specifies the code system that defines the code.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CD.codeSystem
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    link: http://hl7.org/cda/stds/core/StructureDefinition/oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    link: http://hl7.org/cda/stds/core/StructureDefinition/uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    link: http://hl7.org/cda/stds/core/StructureDefinition/ruid

id:
  v: Observation.code.codeSystemName
path:
  v: Observation.code.codeSystemName
representation:
  v: xmlAttr
label:
  v: Code System Name
definition:
  v: The common name of the coding system.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CD.codeSystemName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Observation.code.codeSystemVersion
path:
  v: Observation.code.codeSystemVersion
representation:
  v: xmlAttr
label:
  v: Code System Version
definition:
  v: If applicable, a version descriptor defined specifically for the given code system.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CD.codeSystemVersion
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Observation.code.displayName
path:
  v: Observation.code.displayName
representation:
  v: xmlAttr
label:
  v: Display Name
definition:
  v: A name or title for the code, under which the sending system shows the code value to its users.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CD.displayName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Observation.code.sdtcValueSet
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
  value:
    v: urn:hl7-org:sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
  value:
    v: valueSet
path:
  v: Observation.code.sdtcValueSet
representation:
  v: xmlAttr
definition:
  v: The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CD.valueSet
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    link: http://hl7.org/cda/stds/core/StructureDefinition/oid

id:
  v: Observation.code.sdtcValueSetVersion
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
  value:
    v: urn:hl7-org:sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
  value:
    v: valueSetVersion
path:
  v: Observation.code.sdtcValueSetVersion
representation:
  v: xmlAttr
definition:
  v: The valueSetVersion extension adds an attribute for elements with a CD dataType which indicates the version of the particular value set constraining the coded concept.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CD.sdtcValueSetVersion
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Observation.code.originalText
path:
  v: Observation.code.originalText
label:
  v: Original Text
definition:
  v: The text or phrase used as the basis for the coding.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CD.originalText
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ED

id:
  v: Observation.code.qualifier
path:
  v: Observation.code.qualifier
label:
  v: Qualifier
definition:
  v: Specifies additional codes that increase the specificity of the the primary code.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CD.qualifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CR

id:
  v: Observation.code.translation
path:
  v: Observation.code.translation
representation:
  v: typeAttr
label:
  v: Translation
definition:
  v: A set of other concept descriptors that translate this concept descriptor into other code systems.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CD.translation
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CD

id:
  v: Observation.derivationExpr
path:
  v: Observation.derivationExpr
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.derivationExpr
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ST

id:
  v: Observation.text
path:
  v: Observation.text
representation:
  v: typeAttr
short:
  v: SHOULD reference the portion of section narrative text corresponding to this entry
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ED

id:
  v: Observation.text.nullFlavor
path:
  v: Observation.text.nullFlavor
representation:
  v: xmlAttr
label:
  v: Exceptional Value Detail
definition:
  v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ANY.nullFlavor
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

id:
  v: Observation.text.compression
path:
  v: Observation.text.compression
representation:
  v: xmlAttr
label:
  v: Compression
definition:
  v: Indicates whether the raw byte data is compressed, and what compression algorithm was used.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ED.compression
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDACompressionAlgorithm
    link: http://hl7.org/cda/stds/core/ValueSet/CDACompressionAlgorithm

id:
  v: Observation.text.integrityCheck
path:
  v: Observation.text.integrityCheck
representation:
  v: xmlAttr
label:
  v: Integrity Check
definition:
  v: The integrity check is a short binary value representing a cryptographically strong checksum that is calculated over the binary data. The purpose of this property, when communicated with a reference is for anyone to validate later whether the reference still resolved to the same data that the reference resolved to when the encapsulated data value with reference was created.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ED.integrityCheck
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: base64Binary
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bin
    link: http://hl7.org/cda/stds/core/StructureDefinition/bin

id:
  v: Observation.text.integrityCheckAlgorithm
path:
  v: Observation.text.integrityCheckAlgorithm
representation:
  v: xmlAttr
label:
  v: Integrity Check Algorithm
definition:
  v: Specifies the algorithm used to compute the integrityCheck value. The cryptographically strong checksum algorithm Secure Hash Algorithm-1 (SHA-1) is currently the industry standard. It has superseded the MD5 algorithm only a couple of years ago, when certain flaws in the security of MD5 were discovered. Currently the SHA-1 hash algorithm is the default choice for the integrity check algorithm. Note that SHA-256 is also entering widespread usage.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ED.integrityCheckAlgorithm
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-IntegrityCheckAlgorithm|2.0.0
    link: 2.0
    link: .0

id:
  v: Observation.text.language
path:
  v: Observation.text.language
representation:
  v: xmlAttr
label:
  v: Language
definition:
  v: For character based information the language property specifies the human language of the text.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ED.language
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple

id:
  v: Observation.text.mediaType
path:
  v: Observation.text.mediaType
representation:
  v: xmlAttr
label:
  v: Media Type
definition:
  v: Identifies the type of the encapsulated data and identifies a method to interpret or render the data.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ED.mediaType
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
binding:
  strength:
    v: example
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-MediaType
    link: http://terminology.hl7.org/ValueSet/v3-MediaType

id:
  v: Observation.text.representation
path:
  v: Observation.text.representation
representation:
  v: xmlAttr
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ED.representation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/BinaryDataEncoding
    link: http://hl7.org/cda/stds/core/ValueSet/BinaryDataEncoding

id:
  v: Observation.text.xmlText
path:
  v: Observation.text.xmlText
representation:
  v: xmlText
short:
  v: Allows for mixed text content. If @representation='B64', this SHALL be a base64binary string.
definition:
  v: Data that is primarily intended for human interpretation or for further machine processing is outside the scope of HL7. This includes unformatted or formatted written language, multimedia data, or structured information as defined by a different standard (e.g., XML-signatures.)
comment:
  v: This element is represented in XML as textual content. The actual name "xmlText" will not appear in a CDA instance.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ED.xmlText
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Observation.text.reference
path:
  v: Observation.text.reference
label:
  v: Reference
definition:
  v: A telecommunication address (TEL), such as a URL for HTTP or FTP, which will resolve to precisely the same binary data that could as well have been provided as inline data.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ED.reference
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/TEL
constraint:
  key:
    v: value-starts-octothorpe
  severity:
    v: error
  human:
    v: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative
  expression:
    v: value.exists() implies value.startsWith('#')
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
    link: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation

id:
  v: Observation.text.thumbnail
path:
  v: Observation.text.thumbnail
label:
  v: Thumbnail
definition:
  v: An abbreviated rendition of the full data. A thumbnail requires significantly fewer resources than the full data, while still maintaining some distinctive similarity with the full data. A thumbnail is typically used with by-reference encapsulated data. It allows a user to select data more efficiently before actually downloading through the reference.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ED.thumbnail
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ED

id:
  v: Observation.statusCode
path:
  v: Observation.statusCode
comment:
  v: SHALL contain exactly one [1..1] statusCode (CONF:4537-7134).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Observation.statusCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CS
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ActStatus
    link: http://terminology.hl7.org/ValueSet/v3-ActStatus

id:
  v: Observation.statusCode.nullFlavor
path:
  v: Observation.statusCode.nullFlavor
representation:
  v: xmlAttr
label:
  v: Exceptional Value Detail
definition:
  v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ANY.nullFlavor
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

id:
  v: Observation.statusCode.code
path:
  v: Observation.statusCode.code
representation:
  v: xmlAttr
label:
  v: Code
definition:
  v: The plain code symbol defined by the code system. For example, "784.0" is the code symbol of the ICD-9 code "784.0" for headache.
comment:
  v: This statusCode SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Result Status urn:oid:2.16.840.1.113883.11.20.9.39 STATIC (CONF:4537-14849).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: CD.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.39
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.39

id:
  v: Observation.statusCode.codeSystem
path:
  v: Observation.statusCode.codeSystem
representation:
  v: xmlAttr
label:
  v: Code System
definition:
  v: Specifies the code system that defines the code.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: CD.codeSystem
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    link: http://hl7.org/cda/stds/core/StructureDefinition/oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    link: http://hl7.org/cda/stds/core/StructureDefinition/uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    link: http://hl7.org/cda/stds/core/StructureDefinition/ruid

id:
  v: Observation.statusCode.codeSystemName
path:
  v: Observation.statusCode.codeSystemName
representation:
  v: xmlAttr
label:
  v: Code System Name
definition:
  v: The common name of the coding system.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: CD.codeSystemName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Observation.statusCode.codeSystemVersion
path:
  v: Observation.statusCode.codeSystemVersion
representation:
  v: xmlAttr
label:
  v: Code System Version
definition:
  v: If applicable, a version descriptor defined specifically for the given code system.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: CD.codeSystemVersion
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Observation.statusCode.displayName
path:
  v: Observation.statusCode.displayName
representation:
  v: xmlAttr
label:
  v: Display Name
definition:
  v: A name or title for the code, under which the sending system shows the code value to its users.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: CD.displayName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Observation.statusCode.sdtcValueSet
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
  value:
    v: urn:hl7-org:sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
  value:
    v: valueSet
path:
  v: Observation.statusCode.sdtcValueSet
representation:
  v: xmlAttr
definition:
  v: The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CD.valueSet
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    link: http://hl7.org/cda/stds/core/StructureDefinition/oid

id:
  v: Observation.statusCode.sdtcValueSetVersion
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
  value:
    v: urn:hl7-org:sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
  value:
    v: valueSetVersion
path:
  v: Observation.statusCode.sdtcValueSetVersion
representation:
  v: xmlAttr
definition:
  v: The valueSetVersion extension adds an attribute for elements with a CD dataType which indicates the version of the particular value set constraining the coded concept.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CD.sdtcValueSetVersion
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Observation.statusCode.originalText
path:
  v: Observation.statusCode.originalText
label:
  v: Original Text
definition:
  v: The text or phrase used as the basis for the coding.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: CD.originalText
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ED

id:
  v: Observation.statusCode.qualifier
path:
  v: Observation.statusCode.qualifier
label:
  v: Qualifier
definition:
  v: Specifies additional codes that increase the specificity of the the primary code.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: CD.qualifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CR

id:
  v: Observation.statusCode.translation
path:
  v: Observation.statusCode.translation
representation:
  v: typeAttr
label:
  v: Translation
definition:
  v: A set of other concept descriptors that translate this concept descriptor into other code systems.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: CD.translation
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CD

id:
  v: Observation.effectiveTime
path:
  v: Observation.effectiveTime
short:
  v: Represents the clinically relevant time of the measurement (e.g., the time a blood pressure reading is obtained, the time the blood sample was obtained for a chemistry test).
comment:
  v: SHALL contain exactly one [1..1] effectiveTime (CONF:4537-7140).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Observation.effectiveTime
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS

id:
  v: Observation.priorityCode
path:
  v: Observation.priorityCode
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.priorityCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CE
binding:
  strength:
    v: example
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ActPriority
    link: http://terminology.hl7.org/ValueSet/v3-ActPriority

id:
  v: Observation.repeatNumber
path:
  v: Observation.repeatNumber
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.repeatNumber
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/IVL-INT

id:
  v: Observation.languageCode
path:
  v: Observation.languageCode
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.languageCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CS
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/fhir/ValueSet/all-languages
    link: http://hl7.org/fhir/ValueSet/all-languages

id:
  v: Observation.value
extension:
  url:
    v: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
  value:
    v: true
path:
  v: Observation.value
representation:
  v: typeAttr
slicing:
  discriminator:
    type:
      v: type
    path:
      v: $this
  rules:
    v: open
short:
  v: (USCDI) Values/Results - Value can be any type, but certain types have additional rules.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Observation.value
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ANY
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/BL
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ED
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ST
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CD
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CV
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CE
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CO
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/SC
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/TEL
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/AD
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/EN
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/INT
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/REAL
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/PQ
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/MO
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/TS
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/IVL-PQ
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/PIVL-TS
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/EIVL-TS
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/RTO-PQ-PQ

id:
  v: Observation.value:physical-quantity
path:
  v: Observation.value
representation:
  v: typeAttr
slice name:
  v: physical-quantity
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.value
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/PQ

id:
  v: Observation.value:physical-quantity.nullFlavor
path:
  v: Observation.value.nullFlavor
representation:
  v: xmlAttr
label:
  v: Exceptional Value Detail
definition:
  v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ANY.nullFlavor
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

id:
  v: Observation.value:physical-quantity.unit
extension:
  url:
    v: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
  value:
    v: true
path:
  v: Observation.value.unit
representation:
  v: xmlAttr
label:
  v: Unit of Measure
short:
  v: (USCDI) Result Unit of Measure
definition:
  v: The unit of measure specified in the Unified Code for Units of Measure (UCUM) [].
min:
  v: 1
max:
  v: 1
base:
  path:
    v: PQ.unit
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
default value:
  v: 1
binding:
  strength:
    v: preferred
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-UnitsOfMeasureCaseSensitive
    link: http://terminology.hl7.org/ValueSet/v3-UnitsOfMeasureCaseSensitive

id:
  v: Observation.value:physical-quantity.value
path:
  v: Observation.value.value
representation:
  v: xmlAttr
label:
  v: Maginitude Value
definition:
  v: The magnitude of the quantity measured in terms of the unit.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: PQ.value
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/real-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/real-simple

id:
  v: Observation.value:physical-quantity.translation
path:
  v: Observation.value.translation
label:
  v: Translation
short:
  v: Can be used to represent the original results as output by the lab
definition:
  v: An alternative representation of the same physical quantity expressed in a different unit, of a different unit code system and possibly with a different value.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: PQ.translation
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/PQR

id:
  v: Observation.value:coded
path:
  v: Observation.value
representation:
  v: typeAttr
slice name:
  v: coded
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.value
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CD
constraint:
  key:
    v: 4537-32610
  severity:
    v: warning
  human:
    v: If Observation/value is a CD (**xsi:type="CD"**) the value **SHOULD** be SNOMED-CT or LOINC (CONF:4537-32610).
  expression:
    v: codeSystem = '2.16.840.1.113883.6.96' or codeSystem = '2.16.840.1.113883.6.1'
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
    link: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation

id:
  v: Observation.value:coded.nullFlavor
path:
  v: Observation.value.nullFlavor
representation:
  v: xmlAttr
label:
  v: Exceptional Value Detail
definition:
  v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ANY.nullFlavor
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

id:
  v: Observation.value:coded.code
path:
  v: Observation.value.code
representation:
  v: xmlAttr
label:
  v: Code
definition:
  v: The plain code symbol defined by the code system. For example, "784.0" is the code symbol of the ICD-9 code "784.0" for headache.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CD.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple

id:
  v: Observation.value:coded.codeSystem
path:
  v: Observation.value.codeSystem
representation:
  v: xmlAttr
label:
  v: Code System
definition:
  v: Specifies the code system that defines the code.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CD.codeSystem
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    link: http://hl7.org/cda/stds/core/StructureDefinition/oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    link: http://hl7.org/cda/stds/core/StructureDefinition/uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    link: http://hl7.org/cda/stds/core/StructureDefinition/ruid

id:
  v: Observation.value:coded.codeSystemName
path:
  v: Observation.value.codeSystemName
representation:
  v: xmlAttr
label:
  v: Code System Name
definition:
  v: The common name of the coding system.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CD.codeSystemName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Observation.value:coded.codeSystemVersion
path:
  v: Observation.value.codeSystemVersion
representation:
  v: xmlAttr
label:
  v: Code System Version
definition:
  v: If applicable, a version descriptor defined specifically for the given code system.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CD.codeSystemVersion
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Observation.value:coded.displayName
path:
  v: Observation.value.displayName
representation:
  v: xmlAttr
label:
  v: Display Name
definition:
  v: A name or title for the code, under which the sending system shows the code value to its users.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CD.displayName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Observation.value:coded.sdtcValueSet
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
  value:
    v: urn:hl7-org:sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
  value:
    v: valueSet
path:
  v: Observation.value.sdtcValueSet
representation:
  v: xmlAttr
definition:
  v: The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CD.valueSet
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    link: http://hl7.org/cda/stds/core/StructureDefinition/oid

id:
  v: Observation.value:coded.sdtcValueSetVersion
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
  value:
    v: urn:hl7-org:sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
  value:
    v: valueSetVersion
path:
  v: Observation.value.sdtcValueSetVersion
representation:
  v: xmlAttr
definition:
  v: The valueSetVersion extension adds an attribute for elements with a CD dataType which indicates the version of the particular value set constraining the coded concept.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CD.sdtcValueSetVersion
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Observation.value:coded.originalText
path:
  v: Observation.value.originalText
label:
  v: Original Text
definition:
  v: The text or phrase used as the basis for the coding.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CD.originalText
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ED

id:
  v: Observation.value:coded.qualifier
path:
  v: Observation.value.qualifier
label:
  v: Qualifier
definition:
  v: Specifies additional codes that increase the specificity of the the primary code.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CD.qualifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CR

id:
  v: Observation.value:coded.translation
path:
  v: Observation.value.translation
representation:
  v: typeAttr
label:
  v: Translation
short:
  v: Can be used to represent the original results as output by the lab
definition:
  v: A set of other concept descriptors that translate this concept descriptor into other code systems.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CD.translation
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CD

id:
  v: Observation.interpretationCode
extension:
  url:
    v: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
  value:
    v: true
path:
  v: Observation.interpretationCode
short:
  v: (USCDI) Result Interpretation
comment:
  v: SHOULD contain zero or more [0..*] interpretationCode, which SHALL be selected from ValueSet Observation Interpretation (HL7) urn:oid:2.16.840.1.113883.1.11.78 DYNAMIC (CONF:4537-7147).
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.interpretationCode
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CE
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ObservationInterpretation
    link: http://terminology.hl7.org/ValueSet/v3-ObservationInterpretation

id:
  v: Observation.methodCode
path:
  v: Observation.methodCode
comment:
  v: MAY contain zero or one [0..1] methodCode (CONF:4537-7148).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.methodCode
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CE
binding:
  strength:
    v: example
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ObservationMethod
    link: http://terminology.hl7.org/ValueSet/v3-ObservationMethod

id:
  v: Observation.targetSiteCode
path:
  v: Observation.targetSiteCode
definition:
  v: Drawn from concept domain ActSite
comment:
  v: MAY contain zero or one [0..1] targetSiteCode (CONF:4537-7153).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.targetSiteCode
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CD

id:
  v: Observation.subject
path:
  v: Observation.subject
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.subject
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Subject

id:
  v: Observation.specimen
path:
  v: Observation.specimen
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.specimen
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Specimen

id:
  v: Observation.performer
path:
  v: Observation.performer
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.performer
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Performer2

id:
  v: Observation.author
path:
  v: Observation.author
short:
  v: Base for all types and resources
definition:
  v: Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type.
comment:
  v: SHOULD contain zero or more [0..*] Author Participation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.119) (CONF:4537-7149).
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.author
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Author
  profile:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/AuthorParticipation
    link: http://hl7.org/cda/us/ccda/StructureDefinition/AuthorParticipation
is modifier:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Observation.informant
path:
  v: Observation.informant
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.informant
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Informant

id:
  v: Observation.participant
path:
  v: Observation.participant
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.participant
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Participant2

id:
  v: Observation.entryRelationship
path:
  v: Observation.entryRelationship
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.entryRelationship
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship

id:
  v: Observation.reference
path:
  v: Observation.reference
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.reference
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Reference

id:
  v: Observation.precondition
path:
  v: Observation.precondition
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.precondition
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Precondition

id:
  v: Observation.sdtcPrecondition2
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
  value:
    v: urn:hl7-org:sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
  value:
    v: precondition2
path:
  v: Observation.sdtcPrecondition2
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.sdtcPrecondition2
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Precondition2

id:
  v: Observation.referenceRange
extension:
  url:
    v: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
  value:
    v: true
path:
  v: Observation.referenceRange
short:
  v: (USCDI) Result Reference Range
definition:
  v: Relates an Observation to the ObservationRange class, where the expected range of values for a particular observation can be specified.
comment:
  v: SHOULD contain zero or more [0..*] referenceRange (CONF:4537-7150).
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.referenceRange
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot

id:
  v: Observation.referenceRange.nullFlavor
path:
  v: Observation.referenceRange.nullFlavor
representation:
  v: xmlAttr
label:
  v: Exceptional Value Detail
definition:
  v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ANY.nullFlavor
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

id:
  v: Observation.referenceRange.realmCode
path:
  v: Observation.referenceRange.realmCode
definition:
  v: When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question
min:
  v: 0
max:
  v: *
base:
  path:
    v: InfrastructureRoot.realmCode
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CS

id:
  v: Observation.referenceRange.typeId
path:
  v: Observation.referenceRange.typeId
definition:
  v: When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: InfrastructureRoot.typeId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II

id:
  v: Observation.referenceRange.typeId.nullFlavor
path:
  v: Observation.referenceRange.typeId.nullFlavor
representation:
  v: xmlAttr
label:
  v: Exceptional Value Detail
definition:
  v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ANY.nullFlavor
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

id:
  v: Observation.referenceRange.typeId.assigningAuthorityName
path:
  v: Observation.referenceRange.typeId.assigningAuthorityName
representation:
  v: xmlAttr
label:
  v: Assigning Authority Name
definition:
  v: A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: II.assigningAuthorityName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Observation.referenceRange.typeId.displayable
path:
  v: Observation.referenceRange.typeId.displayable
representation:
  v: xmlAttr
label:
  v: Displayable
definition:
  v: Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: II.displayable
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple

id:
  v: Observation.referenceRange.typeId.root
path:
  v: Observation.referenceRange.typeId.root
representation:
  v: xmlAttr
label:
  v: Root
definition:
  v: Identifies the type as an HL7 Registered model
min:
  v: 1
max:
  v: 1
base:
  path:
    v: II.root
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    link: http://hl7.org/cda/stds/core/StructureDefinition/oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    link: http://hl7.org/cda/stds/core/StructureDefinition/uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    link: http://hl7.org/cda/stds/core/StructureDefinition/ruid
fixed:
  v: 2.16.840.1.113883.1.3

id:
  v: Observation.referenceRange.typeId.extension
path:
  v: Observation.referenceRange.typeId.extension
representation:
  v: xmlAttr
label:
  v: Extension
definition:
  v: A character string as a unique identifier within the scope of the identifier root.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: II.extension
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Observation.referenceRange.templateId
path:
  v: Observation.referenceRange.templateId
definition:
  v: When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question
min:
  v: 0
max:
  v: *
base:
  path:
    v: InfrastructureRoot.templateId
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II

id:
  v: Observation.referenceRange.typeCode
path:
  v: Observation.referenceRange.typeCode
representation:
  v: xmlAttr
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.referenceRange.typeCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
fixed:
  v: REFV
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ActRelationshipType|2.0.0
    link: 2.0
    link: .0

id:
  v: Observation.referenceRange.observationRange
path:
  v: Observation.referenceRange.observationRange
comment:
  v: The referenceRange, if present, SHALL contain exactly one [1..1] observationRange (CONF:4537-7151).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Observation.referenceRange.observationRange
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ObservationRange

id:
  v: Observation.referenceRange.observationRange.nullFlavor
path:
  v: Observation.referenceRange.observationRange.nullFlavor
representation:
  v: xmlAttr
label:
  v: Exceptional Value Detail
definition:
  v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ANY.nullFlavor
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

id:
  v: Observation.referenceRange.observationRange.realmCode
path:
  v: Observation.referenceRange.observationRange.realmCode
definition:
  v: When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question
min:
  v: 0
max:
  v: *
base:
  path:
    v: InfrastructureRoot.realmCode
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CS

id:
  v: Observation.referenceRange.observationRange.typeId
path:
  v: Observation.referenceRange.observationRange.typeId
definition:
  v: When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: InfrastructureRoot.typeId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II

id:
  v: Observation.referenceRange.observationRange.typeId.nullFlavor
path:
  v: Observation.referenceRange.observationRange.typeId.nullFlavor
representation:
  v: xmlAttr
label:
  v: Exceptional Value Detail
definition:
  v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ANY.nullFlavor
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

id:
  v: Observation.referenceRange.observationRange.typeId.assigningAuthorityName
path:
  v: Observation.referenceRange.observationRange.typeId.assigningAuthorityName
representation:
  v: xmlAttr
label:
  v: Assigning Authority Name
definition:
  v: A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: II.assigningAuthorityName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Observation.referenceRange.observationRange.typeId.displayable
path:
  v: Observation.referenceRange.observationRange.typeId.displayable
representation:
  v: xmlAttr
label:
  v: Displayable
definition:
  v: Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: II.displayable
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple

id:
  v: Observation.referenceRange.observationRange.typeId.root
path:
  v: Observation.referenceRange.observationRange.typeId.root
representation:
  v: xmlAttr
label:
  v: Root
definition:
  v: Identifies the type as an HL7 Registered model
min:
  v: 1
max:
  v: 1
base:
  path:
    v: II.root
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    link: http://hl7.org/cda/stds/core/StructureDefinition/oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    link: http://hl7.org/cda/stds/core/StructureDefinition/uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    link: http://hl7.org/cda/stds/core/StructureDefinition/ruid
fixed:
  v: 2.16.840.1.113883.1.3

id:
  v: Observation.referenceRange.observationRange.typeId.extension
path:
  v: Observation.referenceRange.observationRange.typeId.extension
representation:
  v: xmlAttr
label:
  v: Extension
definition:
  v: A character string as a unique identifier within the scope of the identifier root.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: II.extension
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Observation.referenceRange.observationRange.templateId
path:
  v: Observation.referenceRange.observationRange.templateId
definition:
  v: When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question
min:
  v: 0
max:
  v: *
base:
  path:
    v: InfrastructureRoot.templateId
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II

id:
  v: Observation.referenceRange.observationRange.classCode
path:
  v: Observation.referenceRange.observationRange.classCode
representation:
  v: xmlAttr
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ObservationRange.classCode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
default value:
  v: OBS
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ActClassObservation
    link: http://terminology.hl7.org/ValueSet/v3-ActClassObservation

id:
  v: Observation.referenceRange.observationRange.moodCode
path:
  v: Observation.referenceRange.observationRange.moodCode
representation:
  v: xmlAttr
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ObservationRange.moodCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
fixed:
  v: EVN.CRT
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ActMoodPredicate
    link: http://terminology.hl7.org/ValueSet/v3-ActMoodPredicate

id:
  v: Observation.referenceRange.observationRange.code
path:
  v: Observation.referenceRange.observationRange.code
comment:
  v: This observationRange SHALL NOT contain [0..0] code (CONF:4537-7152).
min:
  v: 0
max:
  v: 0
base:
  path:
    v: ObservationRange.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CD
binding:
  strength:
    v: example
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ActCode
    link: http://terminology.hl7.org/ValueSet/v3-ActCode

id:
  v: Observation.referenceRange.observationRange.text
path:
  v: Observation.referenceRange.observationRange.text
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ObservationRange.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ED

id:
  v: Observation.referenceRange.observationRange.value
path:
  v: Observation.referenceRange.observationRange.value
representation:
  v: typeAttr
comment:
  v: This observationRange SHALL contain exactly one [1..1] value (CONF:4537-32175).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ObservationRange.value
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/BL
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ED
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ST
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CD
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CV
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CE
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CO
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/SC
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/TEL
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/AD
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/EN
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/INT
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/REAL
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/PQ
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/MO
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/TS
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/IVL-PQ
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/PIVL-TS
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/EIVL-TS
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS

id:
  v: Observation.referenceRange.observationRange.interpretationCode
path:
  v: Observation.referenceRange.observationRange.interpretationCode
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ObservationRange.interpretationCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CE
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ObservationInterpretation
    link: http://terminology.hl7.org/ValueSet/v3-ObservationInterpretation

id:
  v: Observation.referenceRange.observationRange.sdtcPrecondition1
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
  value:
    v: urn:hl7-org:sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
  value:
    v: precondition1
path:
  v: Observation.referenceRange.observationRange.sdtcPrecondition1
definition:
  v: The sdtc:precondition1 extension allows for the association of a criterion with a reference range (ObservationRange), which allows the expression in a lab report that a reference range is conditional on some criterion such as patient sex or age (or a combination of criterion).
min:
  v: 0
max:
  v: *
base:
  path:
    v: ObservationRange.sdtcPrecondition1
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot

id:
  v: Observation.referenceRange.observationRange.sdtcPrecondition1.nullFlavor
path:
  v: Observation.referenceRange.observationRange.sdtcPrecondition1.nullFlavor
representation:
  v: xmlAttr
label:
  v: Exceptional Value Detail
definition:
  v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ANY.nullFlavor
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

id:
  v: Observation.referenceRange.observationRange.sdtcPrecondition1.realmCode
path:
  v: Observation.referenceRange.observationRange.sdtcPrecondition1.realmCode
definition:
  v: When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question
min:
  v: 0
max:
  v: *
base:
  path:
    v: InfrastructureRoot.realmCode
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CS

id:
  v: Observation.referenceRange.observationRange.sdtcPrecondition1.typeId
path:
  v: Observation.referenceRange.observationRange.sdtcPrecondition1.typeId
definition:
  v: When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: InfrastructureRoot.typeId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II

id:
  v: Observation.referenceRange.observationRange.sdtcPrecondition1.typeId.nullFlavor
path:
  v: Observation.referenceRange.observationRange.sdtcPrecondition1.typeId.nullFlavor
representation:
  v: xmlAttr
label:
  v: Exceptional Value Detail
definition:
  v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ANY.nullFlavor
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

id:
  v: Observation.referenceRange.observationRange.sdtcPrecondition1.typeId.assigningAuthorityName
path:
  v: Observation.referenceRange.observationRange.sdtcPrecondition1.typeId.assigningAuthorityName
representation:
  v: xmlAttr
label:
  v: Assigning Authority Name
definition:
  v: A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: II.assigningAuthorityName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Observation.referenceRange.observationRange.sdtcPrecondition1.typeId.displayable
path:
  v: Observation.referenceRange.observationRange.sdtcPrecondition1.typeId.displayable
representation:
  v: xmlAttr
label:
  v: Displayable
definition:
  v: Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: II.displayable
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple

id:
  v: Observation.referenceRange.observationRange.sdtcPrecondition1.typeId.root
path:
  v: Observation.referenceRange.observationRange.sdtcPrecondition1.typeId.root
representation:
  v: xmlAttr
label:
  v: Root
definition:
  v: Identifies the type as an HL7 Registered model
min:
  v: 1
max:
  v: 1
base:
  path:
    v: II.root
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    link: http://hl7.org/cda/stds/core/StructureDefinition/oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    link: http://hl7.org/cda/stds/core/StructureDefinition/uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    link: http://hl7.org/cda/stds/core/StructureDefinition/ruid
fixed:
  v: 2.16.840.1.113883.1.3

id:
  v: Observation.referenceRange.observationRange.sdtcPrecondition1.typeId.extension
path:
  v: Observation.referenceRange.observationRange.sdtcPrecondition1.typeId.extension
representation:
  v: xmlAttr
label:
  v: Extension
definition:
  v: A character string as a unique identifier within the scope of the identifier root.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: II.extension
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Observation.referenceRange.observationRange.sdtcPrecondition1.templateId
path:
  v: Observation.referenceRange.observationRange.sdtcPrecondition1.templateId
definition:
  v: When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question
min:
  v: 0
max:
  v: *
base:
  path:
    v: InfrastructureRoot.templateId
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II

id:
  v: Observation.referenceRange.observationRange.sdtcPrecondition1.typeCode
path:
  v: Observation.referenceRange.observationRange.sdtcPrecondition1.typeCode
representation:
  v: xmlAttr
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ObservationRange.sdtcPrecondition1.typeCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
fixed:
  v: PRCN
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ActRelationshipType
    link: http://terminology.hl7.org/ValueSet/v3-ActRelationshipType

id:
  v: Observation.referenceRange.observationRange.sdtcPrecondition1.conjunctionCode
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
  value:
    v: urn:hl7-org:sdtc
path:
  v: Observation.referenceRange.observationRange.sdtcPrecondition1.conjunctionCode
definition:
  v: A code specifying the logical conjunction of the criteria among all the condition-links of Acts (e.g., and, or, exclusive-or). All AND criteria must be true. If OR and AND criteria occur together, one criterion out of the OR-group must be true and all AND criteria must be true also. If XOR criteria occur together with OR and AND criteria, exactly one of the XOR criteria must be true, and at least one of the OR criteria and all AND criteria must be true. In other words, the sets of AND, OR, and XOR criteria are in turn combined by a logical AND operator (all AND criteria and at least one OR criterion and exactly one XOR criterion).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ObservationRange.sdtcPrecondition1.conjunctionCode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CS
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-RelationshipConjunction|2.0.0
    link: 2.0
    link: .0

id:
  v: Observation.referenceRange.observationRange.sdtcPrecondition1.criterion1
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
  value:
    v: urn:hl7-org:sdtc
path:
  v: Observation.referenceRange.observationRange.sdtcPrecondition1.criterion1
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ObservationRange.sdtcPrecondition1.criterion1
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Criterion

id:
  v: Observation.sdtcInFulfillmentOf1
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
  value:
    v: urn:hl7-org:sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
  value:
    v: inFulfillmentOf1
path:
  v: Observation.sdtcInFulfillmentOf1
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.sdtcInFulfillmentOf1
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/InFulfillmentOf1

element:
  id:
    v: Observation
  path:
    v: Observation
  constraint:
    key:
      v: should-text-ref-value
    severity:
      v: warning
    human:
      v: SHOULD contain text/reference/@value
    expression:
      v: text.reference.value.exists()
    source:
      v: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
      link: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
  constraint:
    key:
      v: should-interpretationCode
    severity:
      v: warning
    human:
      v: SHOULD contain interpretationCode
    expression:
      v: interpretationCode.exists()
    source:
      v: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
      link: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
  constraint:
    key:
      v: should-author
    severity:
      v: warning
    human:
      v: SHOULD contain author
    expression:
      v: author.exists()
    source:
      v: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
      link: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
  constraint:
    key:
      v: should-referenceRange
    severity:
      v: warning
    human:
      v: SHOULD contain referenceRange
    expression:
      v: referenceRange.exists()
    source:
      v: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
      link: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
element:
  id:
    v: Observation.templateId
  path:
    v: Observation.templateId
  slicing:
    discriminator:
      type:
        v: value
      path:
        v: root
    discriminator:
      type:
        v: value
      path:
        v: extension
    rules:
      v: open
  min:
    v: 1
element:
  id:
    v: Observation.templateId:result-obs
  path:
    v: Observation.templateId
  slice name:
    v: result-obs
  min:
    v: 1
  max:
    v: 1
element:
  id:
    v: Observation.templateId:result-obs.root
  path:
    v: Observation.templateId.root
  min:
    v: 1
  pattern:
    v: 2.16.840.1.113883.10.20.22.4.2
element:
  id:
    v: Observation.templateId:result-obs.extension
  path:
    v: Observation.templateId.extension
  min:
    v: 1
  pattern:
    v: 2023-05-01
element:
  id:
    v: Observation.classCode
  path:
    v: Observation.classCode
  comment:
    v: SHALL contain exactly one [1..1] @classCode="OBS" Observation (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:4537-7130).
  fixed:
    v: OBS
element:
  id:
    v: Observation.moodCode
  path:
    v: Observation.moodCode
  comment:
    v: SHALL contain exactly one [1..1] @moodCode="EVN" Event (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:4537-7131).
  fixed:
    v: EVN
element:
  id:
    v: Observation.id
  path:
    v: Observation.id
  comment:
    v: SHALL contain at least one [1..*] id (CONF:4537-7137).
  min:
    v: 1
element:
  id:
    v: Observation.code
  extension:
    url:
      v: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
    value:
      v: true
  path:
    v: Observation.code
  short:
    v: (USCDI) Tests
  comment:
    v: SHALL contain exactly one [1..1] code, which SHOULD be selected from CodeSystem LOINC (urn:oid:2.16.840.1.113883.6.1) (CONF:4537-7133).
  constraint:
    key:
      v: shall-code-or-nullflavor
    severity:
      v: error
    human:
      v: SHALL contain either a @code attribute or a @nullFlavor attribute, but not both.
    expression:
      v: (code | nullFlavor).count() = 1
    source:
      v: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
      link: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
  constraint:
    key:
      v: 4537-19212
    severity:
      v: warning
    human:
      v: This code **SHOULD** be a code from the LOINC that identifies the result observation. If an appropriate LOINC code does not exist, then the local code for this result **SHALL** be sent (CONF:4537-19212).
    expression:
      v: codeSystem = '2.16.840.1.113883.6.1'
    source:
      v: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
      link: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
element:
  id:
    v: Observation.code.nullFlavor
  path:
    v: Observation.code.nullFlavor
  comment:
    v: Either code or nullFlavor MUST be present
element:
  id:
    v: Observation.code.code
  path:
    v: Observation.code.code
  comment:
    v: Either code or nullFlavor MUST be present
element:
  id:
    v: Observation.text
  path:
    v: Observation.text
  short:
    v: SHOULD reference the portion of section narrative text corresponding to this entry
element:
  id:
    v: Observation.text.reference
  path:
    v: Observation.text.reference
  constraint:
    key:
      v: value-starts-octothorpe
    severity:
      v: error
    human:
      v: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative
    expression:
      v: value.exists() implies value.startsWith('#')

id:
  v: Observation.statusCode
path:
  v: Observation.statusCode
comment:
  v: SHALL contain exactly one [1..1] statusCode (CONF:4537-7134).
min:
  v: 1

id:
  v: Observation.statusCode.code
path:
  v: Observation.statusCode.code
comment:
  v: This statusCode SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Result Status urn:oid:2.16.840.1.113883.11.20.9.39 STATIC (CONF:4537-14849).
min:
  v: 1
binding:
  strength:
    v: required
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.39
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.39

id:
  v: Observation.effectiveTime
path:
  v: Observation.effectiveTime
short:
  v: Represents the clinically relevant time of the measurement (e.g., the time a blood pressure reading is obtained, the time the blood sample was obtained for a chemistry test).
comment:
  v: SHALL contain exactly one [1..1] effectiveTime (CONF:4537-7140).
min:
  v: 1

id:
  v: Observation.value
extension:
  url:
    v: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
  value:
    v: true
path:
  v: Observation.value
slicing:
  discriminator:
    type:
      v: type
    path:
      v: $this
  rules:
    v: open
short:
  v: (USCDI) Values/Results - Value can be any type, but certain types have additional rules.
min:
  v: 1
max:
  v: 1

id:
  v: Observation.value:physical-quantity
path:
  v: Observation.value
slice name:
  v: physical-quantity
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/PQ

id:
  v: Observation.value:physical-quantity.unit
extension:
  url:
    v: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
  value:
    v: true
path:
  v: Observation.value.unit
short:
  v: (USCDI) Result Unit of Measure
min:
  v: 1
binding:
  strength:
    v: preferred
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-UnitsOfMeasureCaseSensitive
    link: http://terminology.hl7.org/ValueSet/v3-UnitsOfMeasureCaseSensitive

id:
  v: Observation.value:physical-quantity.translation
path:
  v: Observation.value.translation
short:
  v: Can be used to represent the original results as output by the lab
max:
  v: 1

id:
  v: Observation.value:coded
path:
  v: Observation.value
slice name:
  v: coded
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CD
constraint:
  key:
    v: 4537-32610
  severity:
    v: warning
  human:
    v: If Observation/value is a CD (**xsi:type="CD"**) the value **SHOULD** be SNOMED-CT or LOINC (CONF:4537-32610).
  expression:
    v: codeSystem = '2.16.840.1.113883.6.96' or codeSystem = '2.16.840.1.113883.6.1'
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
    link: http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation

id:
  v: Observation.value:coded.translation
path:
  v: Observation.value.translation
short:
  v: Can be used to represent the original results as output by the lab
max:
  v: 1

id:
  v: Observation.interpretationCode
extension:
  url:
    v: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
  value:
    v: true
path:
  v: Observation.interpretationCode
short:
  v: (USCDI) Result Interpretation
comment:
  v: SHOULD contain zero or more [0..*] interpretationCode, which SHALL be selected from ValueSet Observation Interpretation (HL7) urn:oid:2.16.840.1.113883.1.11.78 DYNAMIC (CONF:4537-7147).

id:
  v: Observation.methodCode
path:
  v: Observation.methodCode
comment:
  v: MAY contain zero or one [0..1] methodCode (CONF:4537-7148).
max:
  v: 1

id:
  v: Observation.targetSiteCode
path:
  v: Observation.targetSiteCode
comment:
  v: MAY contain zero or one [0..1] targetSiteCode (CONF:4537-7153).
max:
  v: 1

id:
  v: Observation.author
path:
  v: Observation.author
comment:
  v: SHOULD contain zero or more [0..*] Author Participation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.119) (CONF:4537-7149).
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Author
  profile:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/AuthorParticipation
    link: http://hl7.org/cda/us/ccda/StructureDefinition/AuthorParticipation

id:
  v: Observation.referenceRange
extension:
  url:
    v: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
  value:
    v: true
path:
  v: Observation.referenceRange
short:
  v: (USCDI) Result Reference Range
comment:
  v: SHOULD contain zero or more [0..*] referenceRange (CONF:4537-7150).

id:
  v: Observation.referenceRange.observationRange
path:
  v: Observation.referenceRange.observationRange
comment:
  v: The referenceRange, if present, SHALL contain exactly one [1..1] observationRange (CONF:4537-7151).

id:
  v: Observation.referenceRange.observationRange.code
path:
  v: Observation.referenceRange.observationRange.code
comment:
  v: This observationRange SHALL NOT contain [0..0] code (CONF:4537-7152).
max:
  v: 0

id:
  v: Observation.referenceRange.observationRange.value
path:
  v: Observation.referenceRange.observationRange.value
comment:
  v: This observationRange SHALL contain exactly one [1..1] value (CONF:4537-32175).
min:
  v: 1