OutcomeObservation
type: StructureDefinition
node role: treeRoot
id:
  v: OutcomeObservation
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition OutcomeObservation Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Observation <a style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;" href="http://hl7.org/fhir/R5/conformance-rules.html#constraints" title="This element has or is affected by constraints ( should-text-ref-value, should-value, should-author )">C 1..1 Observation XML Namespace: urn:hl7-org:v3 Base for all types and resources Instance of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) Constraints: should-text-ref-value, should-value, should-author #xD; Slices for templateId 1..* II Slice: Unordered, Open by value:root #xD; templateId:outcome-obs 1..1 II #xD; @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.10.20.22.4.144 #xD; @extension 0..0 #xD; @classCode 1..1 cs Fixed Value: OBS #xD; @moodCode 1..1 cs Fixed Value: EVN #xD; id 1..* II #xD; code 1..1 CD #xD; text <a style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;" href="http://hl7.org/fhir/R5/conformance-rules.html#constraints" title="This element has or is affected by constraints ( should-text-ref-value )">C 0..1 ED SHOULD reference the portion of section narrative text corresponding to this entry #xD; reference <a style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;" href="…
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/logical-target
    l: logical-target
  value: Boolean
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        l: data-absent-reason
      value: Code
        v: not-applicable
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
    l: xml-namespace
  value: Uri
    v: urn:hl7-org:v3
    l: v3
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
    l: xml-name
  value: String
    v: observation
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/logical-container
    l: logical-container
  value: Uri
    v: http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument
    l: ClinicalDocument
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/type-profile-style
    l: type-profile-style
  value: Code
    v: cda
url:
  v: http://hl7.org/cda/us/ccda/StructureDefinition/OutcomeObservation
  l: OutcomeObservation
identifier:
  system:
    v: urn:ietf:rfc:3986
    l: 3986
  value:
    v: urn:oid:2.16.840.1.113883.10.20.22.4.144
version:
  v: 5.0.0
name:
  v: OutcomeObservation
title:
  v: Outcome Observation
status:
  v: draft
date:
  v: 2026-06-13T01:56:42+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 outcome of care resulting from the interventions used to treat the patient. In the Care Planning workflow, the judgment about how well the person is progressing towards the goal is based on the observations made about the status of the patient with respect to interventions performed in the pursuit of achieving that goal. Often thought of as an "actual outcome", the Outcome Observation may be related to goals, progression toward goals, and the associated interventions. For example, an observation outcome of a blood oxygen saturation level of 95% is related to the goal of "Maintain Pulse Ox greater than 92", which in turn is related to the health concern of respiratory insufficiency and the problem of pneumonia. The template makes use of the Entry Reference (templateId:2.16.840.1.113883.10.20.22.4.122) to reference the interventions and goals defined elsewhere in the Care Plan CDA instance. #### Templates Used Although open templates may contain any valid CDA content, the following templates are specifically called out by this template: **Optional EntryRelationships**: [EntryReference](StructureDefinition-EntryReference.html), [ProgressTowardGoalObservation](StructureDefinition-ProgressTowardGoalObservation.html)
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
      l: 3166
    code:
      v: US
fhir version:
  v: 5.0.0
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
kind:
  v: logical
abstract:
  v: false
type:
  v: http://hl7.org/cda/stds/core/StructureDefinition/Observation
  l: Observation
base definition:
  v: http://hl7.org/cda/stds/core/StructureDefinition/Observation
  l: Observation
derivation:
  v: constraint
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 2.0.3-sd
  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/OutcomeObservation
        l: OutcomeObservation
    constraint:
      key:
        v: should-value
      severity:
        v: warning
      human:
        v: SHOULD contain value
      expression:
        v: value.exists()
      source:
        v: http://hl7.org/cda/us/ccda/StructureDefinition/OutcomeObservation
        l: OutcomeObservation
    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/OutcomeObservation
        l: OutcomeObservation
    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
        l: code
      profile:
        v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
        l: cs-simple

strength:
  v: required
value set:
  v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
  l: CDANullFlavor

id:
  v: Observation.realmCode
path:
  v: Observation.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
    l: CS

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
    l: II
constraint:
  key:
    v: II-1
  severity:
    v: error
  human:
    v: An II instance must have either a root or an nullFlavor.
  expression:
    v: root.exists() or nullFlavor.exists()
  source:
    v: http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot
    l: InfrastructureRoot

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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: 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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: 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
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: 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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    l: oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    l: uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    l: ruid
fixed: String
  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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Observation.templateId
path:
  v: Observation.templateId
slicing:
  discriminator:
    type:
      v: value
    path:
      v: root
  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
    l: II

id:
  v: Observation.templateId:outcome-obs
path:
  v: Observation.templateId
slice name:
  v: outcome-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
    l: II

id:
  v: Observation.templateId:outcome-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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Observation.templateId:outcome-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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Observation.templateId:outcome-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
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: bl-simple

id:
  v: Observation.templateId:outcome-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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    l: oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    l: uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    l: ruid
pattern: String
  v: 2.16.840.1.113883.10.20.22.4.144

id:
  v: Observation.templateId:outcome-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: 0
max:
  v: 0
base:
  path:
    v: II.extension
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Observation.classCode
path:
  v: Observation.classCode
representation:
  v: xmlAttr
comment:
  v: SHALL contain exactly one [1..1] @classCode="OBS" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6) (CONF:1098-31219).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Observation.classCode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
fixed: Code
  v: OBS
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDAActClassObservation
    l: CDAActClassObservation

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

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
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: bl-simple

id:
  v: Observation.id
path:
  v: Observation.id
comment:
  v: SHALL contain at least one [1..*] id (CONF:1098-31223).
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
    l: II

id:
  v: Observation.sdtcCategory
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
    l: xml-namespace
  value: Uri
    v: urn:hl7-org:sdtc
    l: sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
    l: xml-name
  value: String
    v: category
path:
  v: Observation.sdtcCategory
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.sdtcCategory
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CD
    l: CD

id:
  v: Observation.code
path:
  v: Observation.code
representation:
  v: typeAttr
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:1098-32746).
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
    l: CD
binding:
  strength:
    v: example
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ObservationType
    l: v3-ObservationType

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
    l: 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
    l: ED
condition:
  v: should-text-ref-value

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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: 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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDACompressionAlgorithm
    l: 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
    l: base64Binary
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bin
    l: 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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-IntegrityCheckAlgorithm|2.0.0
    l: http://terminology.hl7.org/ValueSet/v3-IntegrityCheckAlgorithm

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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: 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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: example
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-MediaType
    l: 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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/BinaryDataEncoding
    l: 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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: 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
    l: 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/OutcomeObservation
    l: OutcomeObservation

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
    l: ED
constraint:
  key:
    v: ED-1
  severity:
    v: error
  human:
    v: Thumbnails cannot contain their own thumbnails
  expression:
    v: thumbnail.empty()
  source:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Observation
    l: Observation

id:
  v: Observation.statusCode
path:
  v: Observation.statusCode
min:
  v: 0
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
    l: CS
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ActStatus
    l: v3-ActStatus

id:
  v: Observation.effectiveTime
path:
  v: Observation.effectiveTime
min:
  v: 0
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
    l: 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
    l: CE
binding:
  strength:
    v: example
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ActPriority
    l: 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
    l: 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
    l: CS
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/fhir/ValueSet/all-languages
    l: all-languages

id:
  v: Observation.value
path:
  v: Observation.value
representation:
  v: typeAttr
short:
  v: SHOULD contain value
comment:
  v: SHOULD contain zero or one [0..1] value (CONF:1098-32747).
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
    l: CD
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/PQ
    l: PQ
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ST
    l: ST
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/AD
    l: AD
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/BL
    l: BL
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CE
    l: CE
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CO
    l: CO
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CS
    l: CS
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CV
    l: CV
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ED
    l: ED
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/EN
    l: EN
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II
    l: II
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/INT
    l: INT
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/INT-POS
    l: INT-POS
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/MO
    l: MO
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ON
    l: ON
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/PN
    l: PN
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/REAL
    l: REAL
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/SC
    l: SC
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/TEL
    l: TEL
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/TN
    l: TN
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/TS
    l: TS
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/IVL-INT
    l: IVL-INT
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/IVL-PQ
    l: IVL-PQ
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS
    l: IVL-TS
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/PIVL-TS
    l: PIVL-TS
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/EIVL-TS
    l: EIVL-TS
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS
    l: SXPR-TS
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/RTO-PQ-PQ
    l: RTO-PQ-PQ
condition:
  v: should-value

id:
  v: Observation.interpretationCode
path:
  v: Observation.interpretationCode
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
    l: CE
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDAObservationInterpretation
    l: CDAObservationInterpretation

id:
  v: Observation.methodCode
path:
  v: Observation.methodCode
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.methodCode
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CE
    l: CE
binding:
  strength:
    v: example
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ObservationMethod
    l: v3-ObservationMethod

id:
  v: Observation.targetSiteCode
path:
  v: Observation.targetSiteCode
definition:
  v: Drawn from concept domain ActSite
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.targetSiteCode
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CD
    l: 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
    l: 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
    l: 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
    l: Performer2

id:
  v: Observation.author
path:
  v: Observation.author
short:
  v: SHOULD contain 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:1098-31553).
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
    l: Author
  profile:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/AuthorParticipation
    l: AuthorParticipation
condition:
  v: should-author

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
    l: 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
    l: Participant2

id:
  v: Observation.entryRelationship
path:
  v: Observation.entryRelationship
slicing:
  discriminator:
    type:
      v: value
    path:
      v: typeCode
  discriminator:
    type:
      v: profile
    path:
      v: act
  discriminator:
    type:
      v: profile
    path:
      v: observation
  rules:
    v: open
short:
  v: Where an Outcome Observation needs to reference an Intervention Act already described in the CDA document instance, rather than repeating the full content of the Intervention Act, the Entry Reference template may be used to reference this entry.
min:
  v: 1
max:
  v: *
base:
  path:
    v: Observation.entryRelationship
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship
    l: EntryRelationship

id:
  v: Observation.entryRelationship:goal-reference
path:
  v: Observation.entryRelationship
slice name:
  v: goal-reference
short:
  v: The following entryRelationship represents the relationship between an Outcome Observation and a Goal Observation. Because the Goal Observation is already described in the CDA document instance's Goals section, rather than repeating the full content of the Goal Observation, the Entry Reference template can be used to reference this entry.
comment:
  v: SHOULD contain zero or more [0..*] entryRelationship (CONF:1098-31224) such that it
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
    l: EntryRelationship

id:
  v: Observation.entryRelationship:goal-reference.nullFlavor
path:
  v: Observation.entryRelationship.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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Observation.entryRelationship:goal-reference.realmCode
path:
  v: Observation.entryRelationship.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
    l: CS

id:
  v: Observation.entryRelationship:goal-reference.typeId
path:
  v: Observation.entryRelationship.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
    l: II
constraint:
  key:
    v: II-1
  severity:
    v: error
  human:
    v: An II instance must have either a root or an nullFlavor.
  expression:
    v: root.exists() or nullFlavor.exists()
  source:
    v: http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot
    l: InfrastructureRoot

id:
  v: Observation.entryRelationship:goal-reference.typeId.nullFlavor
path:
  v: Observation.entryRelationship.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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Observation.entryRelationship:goal-reference.typeId.assigningAuthorityName
path:
  v: Observation.entryRelationship.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Observation.entryRelationship:goal-reference.typeId.displayable
path:
  v: Observation.entryRelationship.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
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: bl-simple

id:
  v: Observation.entryRelationship:goal-reference.typeId.root
path:
  v: Observation.entryRelationship.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    l: oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    l: uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    l: ruid
fixed: String
  v: 2.16.840.1.113883.1.3

id:
  v: Observation.entryRelationship:goal-reference.typeId.extension
path:
  v: Observation.entryRelationship.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Observation.entryRelationship:goal-reference.templateId
path:
  v: Observation.entryRelationship.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
    l: II

id:
  v: Observation.entryRelationship:goal-reference.typeCode
path:
  v: Observation.entryRelationship.typeCode
representation:
  v: xmlAttr
comment:
  v: SHALL contain exactly one [1..1] @typeCode="GEVL" Evaluates goal (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-31225).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EntryRelationship.typeCode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
fixed: Code
  v: GEVL
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship
    l: v3-xActRelationshipEntryRelationship

id:
  v: Observation.entryRelationship:goal-reference.inversionInd
path:
  v: Observation.entryRelationship.inversionInd
representation:
  v: xmlAttr
definition:
  v: The entryRelationship.inversionInd can be set to "true" to indicate that the relationship should be interpreted as if the roles of the source and target entries were reversed.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.inversionInd
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: bl-simple

id:
  v: Observation.entryRelationship:goal-reference.contextConductionInd
path:
  v: Observation.entryRelationship.contextConductionInd
representation:
  v: xmlAttr
definition:
  v: The entryRelationship.contextConductionInd differs from the otherwise common use of this attribute in that in all other cases where this attribute is used, the value is fixed at "true", whereas here the value is defaulted to "true", and can be changed to "false" when referencing an entry in the same document. Setting the context conduction to false when referencing an entry in the same document keeps clear the fact that the referenced object retains its original context.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.contextConductionInd
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: bl-simple
default value: Boolean
  v: true

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

id:
  v: Observation.entryRelationship:goal-reference.sequenceNumber
path:
  v: Observation.entryRelationship.sequenceNumber
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.sequenceNumber
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/INT
    l: INT

id:
  v: Observation.entryRelationship:goal-reference.seperatableInd
path:
  v: Observation.entryRelationship.seperatableInd
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.seperatableInd
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/BL
    l: BL

id:
  v: Observation.entryRelationship:goal-reference.act
path:
  v: Observation.entryRelationship.act
comment:
  v: SHALL contain exactly one [1..1] Entry Reference (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.122) (CONF:1098-32465).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EntryRelationship.act
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Act
    l: Act
  profile:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/EntryReference
    l: EntryReference
constraint:
  key:
    v: entry-ref-goal
  severity:
    v: error
  human:
    v: This entryReference template **SHALL** reference an instance of a Goal Observation template.
  expression:
    v: %resource.descendants().ofType(CDA.Observation).where(templateId.exists($this.root = '2.16.840.1.113883.10.20.22.4.121' and $this.extension = '2022-06-01') and id.exists($this.root = %context.id.first().root and $this.extension ~ %context.id.first().extension))
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/OutcomeObservation
    l: OutcomeObservation

id:
  v: Observation.entryRelationship:goal-reference.encounter
path:
  v: Observation.entryRelationship.encounter
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.encounter
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Encounter
    l: Encounter

id:
  v: Observation.entryRelationship:goal-reference.observation
path:
  v: Observation.entryRelationship.observation
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.observation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Observation
    l: Observation

id:
  v: Observation.entryRelationship:goal-reference.observationMedia
path:
  v: Observation.entryRelationship.observationMedia
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.observationMedia
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia
    l: ObservationMedia

id:
  v: Observation.entryRelationship:goal-reference.organizer
path:
  v: Observation.entryRelationship.organizer
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.organizer
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Organizer
    l: Organizer

id:
  v: Observation.entryRelationship:goal-reference.procedure
path:
  v: Observation.entryRelationship.procedure
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.procedure
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Procedure
    l: Procedure

id:
  v: Observation.entryRelationship:goal-reference.regionOfInterest
path:
  v: Observation.entryRelationship.regionOfInterest
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.regionOfInterest
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest
    l: RegionOfInterest

id:
  v: Observation.entryRelationship:goal-reference.substanceAdministration
path:
  v: Observation.entryRelationship.substanceAdministration
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.substanceAdministration
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration
    l: SubstanceAdministration

id:
  v: Observation.entryRelationship:goal-reference.supply
path:
  v: Observation.entryRelationship.supply
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.supply
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Supply
    l: Supply

id:
  v: Observation.entryRelationship:progressTowardGoalObservation
path:
  v: Observation.entryRelationship
slice name:
  v: progressTowardGoalObservation
short:
  v: The following entryRelationship represents the relationship between an Outcome Observation and a Progress Toward Goal Observation (Outcome Observation SUPPORTS Progress Toward Goal Observation). In the Care Planning workflow, the judgment about how well the person is progressing towards the goal is based on the observations made about the status of the patient with respect to interventions performed in the pursuit of achieving that goal.
comment:
  v: SHOULD contain zero or one [0..1] entryRelationship (CONF:1098-31427) such that it
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
    l: EntryRelationship

id:
  v: Observation.entryRelationship:progressTowardGoalObservation.nullFlavor
path:
  v: Observation.entryRelationship.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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Observation.entryRelationship:progressTowardGoalObservation.realmCode
path:
  v: Observation.entryRelationship.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
    l: CS

id:
  v: Observation.entryRelationship:progressTowardGoalObservation.typeId
path:
  v: Observation.entryRelationship.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
    l: II
constraint:
  key:
    v: II-1
  severity:
    v: error
  human:
    v: An II instance must have either a root or an nullFlavor.
  expression:
    v: root.exists() or nullFlavor.exists()
  source:
    v: http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot
    l: InfrastructureRoot

id:
  v: Observation.entryRelationship:progressTowardGoalObservation.typeId.nullFlavor
path:
  v: Observation.entryRelationship.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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Observation.entryRelationship:progressTowardGoalObservation.typeId.assigningAuthorityName
path:
  v: Observation.entryRelationship.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Observation.entryRelationship:progressTowardGoalObservation.typeId.displayable
path:
  v: Observation.entryRelationship.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
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: bl-simple

id:
  v: Observation.entryRelationship:progressTowardGoalObservation.typeId.root
path:
  v: Observation.entryRelationship.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    l: oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    l: uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    l: ruid
fixed: String
  v: 2.16.840.1.113883.1.3

id:
  v: Observation.entryRelationship:progressTowardGoalObservation.typeId.extension
path:
  v: Observation.entryRelationship.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Observation.entryRelationship:progressTowardGoalObservation.templateId
path:
  v: Observation.entryRelationship.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
    l: II

id:
  v: Observation.entryRelationship:progressTowardGoalObservation.typeCode
path:
  v: Observation.entryRelationship.typeCode
representation:
  v: xmlAttr
comment:
  v: SHALL contain exactly one [1..1] @typeCode="SPRT" Has support (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-31428).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EntryRelationship.typeCode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
fixed: Code
  v: SPRT
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship
    l: v3-xActRelationshipEntryRelationship

id:
  v: Observation.entryRelationship:progressTowardGoalObservation.inversionInd
path:
  v: Observation.entryRelationship.inversionInd
representation:
  v: xmlAttr
definition:
  v: The entryRelationship.inversionInd can be set to "true" to indicate that the relationship should be interpreted as if the roles of the source and target entries were reversed.
comment:
  v: SHALL contain exactly one [1..1] @inversionInd="true" (CONF:1098-31429).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EntryRelationship.inversionInd
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: bl-simple
fixed: Boolean
  v: true

id:
  v: Observation.entryRelationship:progressTowardGoalObservation.contextConductionInd
path:
  v: Observation.entryRelationship.contextConductionInd
representation:
  v: xmlAttr
definition:
  v: The entryRelationship.contextConductionInd differs from the otherwise common use of this attribute in that in all other cases where this attribute is used, the value is fixed at "true", whereas here the value is defaulted to "true", and can be changed to "false" when referencing an entry in the same document. Setting the context conduction to false when referencing an entry in the same document keeps clear the fact that the referenced object retains its original context.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.contextConductionInd
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: bl-simple
default value: Boolean
  v: true

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

id:
  v: Observation.entryRelationship:progressTowardGoalObservation.sequenceNumber
path:
  v: Observation.entryRelationship.sequenceNumber
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.sequenceNumber
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/INT
    l: INT

id:
  v: Observation.entryRelationship:progressTowardGoalObservation.seperatableInd
path:
  v: Observation.entryRelationship.seperatableInd
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.seperatableInd
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/BL
    l: BL

id:
  v: Observation.entryRelationship:progressTowardGoalObservation.act
path:
  v: Observation.entryRelationship.act
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.act
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Act
    l: Act

id:
  v: Observation.entryRelationship:progressTowardGoalObservation.encounter
path:
  v: Observation.entryRelationship.encounter
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.encounter
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Encounter
    l: Encounter

id:
  v: Observation.entryRelationship:progressTowardGoalObservation.observation
path:
  v: Observation.entryRelationship.observation
comment:
  v: SHALL contain exactly one [1..1] Progress Toward Goal Observation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.110) (CONF:1098-31430).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EntryRelationship.observation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Observation
    l: Observation
  profile:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/ProgressTowardGoalObservation
    l: ProgressTowardGoalObservation

id:
  v: Observation.entryRelationship:progressTowardGoalObservation.observationMedia
path:
  v: Observation.entryRelationship.observationMedia
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.observationMedia
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia
    l: ObservationMedia

id:
  v: Observation.entryRelationship:progressTowardGoalObservation.organizer
path:
  v: Observation.entryRelationship.organizer
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.organizer
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Organizer
    l: Organizer

id:
  v: Observation.entryRelationship:progressTowardGoalObservation.procedure
path:
  v: Observation.entryRelationship.procedure
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.procedure
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Procedure
    l: Procedure

id:
  v: Observation.entryRelationship:progressTowardGoalObservation.regionOfInterest
path:
  v: Observation.entryRelationship.regionOfInterest
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.regionOfInterest
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest
    l: RegionOfInterest

id:
  v: Observation.entryRelationship:progressTowardGoalObservation.substanceAdministration
path:
  v: Observation.entryRelationship.substanceAdministration
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.substanceAdministration
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration
    l: SubstanceAdministration

id:
  v: Observation.entryRelationship:progressTowardGoalObservation.supply
path:
  v: Observation.entryRelationship.supply
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.supply
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Supply
    l: Supply

id:
  v: Observation.entryRelationship:intervention-reference
path:
  v: Observation.entryRelationship
slice name:
  v: intervention-reference
short:
  v: Where an Outcome Observation needs to reference an Intervention Act already described in the CDA document instance, rather than repeating the full content of the Intervention Act, the Entry Reference template may be used to reference this entry
comment:
  v: MAY contain zero or more [0..*] entryRelationship (CONF:1098-31688) such that it
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
    l: EntryRelationship
constraint:
  key:
    v: entry-ref-intervention
  severity:
    v: error
  human:
    v: This entryReference template **SHALL** reference an instance of a Goal Observation template.
  expression:
    v: %resource.descendants().ofType(CDA.Observation).where(templateId.exists($this.root = '2.16.840.1.113883.10.20.22.4.131' and $this.extension = '2015-08-01') and id.exists($this.root = %context.act.id.first().root and $this.extension ~ %context.act.id.first().extension))
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/OutcomeObservation
    l: OutcomeObservation

id:
  v: Observation.entryRelationship:intervention-reference.nullFlavor
path:
  v: Observation.entryRelationship.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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Observation.entryRelationship:intervention-reference.realmCode
path:
  v: Observation.entryRelationship.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
    l: CS

id:
  v: Observation.entryRelationship:intervention-reference.typeId
path:
  v: Observation.entryRelationship.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
    l: II
constraint:
  key:
    v: II-1
  severity:
    v: error
  human:
    v: An II instance must have either a root or an nullFlavor.
  expression:
    v: root.exists() or nullFlavor.exists()
  source:
    v: http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot
    l: InfrastructureRoot

id:
  v: Observation.entryRelationship:intervention-reference.typeId.nullFlavor
path:
  v: Observation.entryRelationship.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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Observation.entryRelationship:intervention-reference.typeId.assigningAuthorityName
path:
  v: Observation.entryRelationship.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Observation.entryRelationship:intervention-reference.typeId.displayable
path:
  v: Observation.entryRelationship.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
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: bl-simple

id:
  v: Observation.entryRelationship:intervention-reference.typeId.root
path:
  v: Observation.entryRelationship.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    l: oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    l: uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    l: ruid
fixed: String
  v: 2.16.840.1.113883.1.3

id:
  v: Observation.entryRelationship:intervention-reference.typeId.extension
path:
  v: Observation.entryRelationship.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Observation.entryRelationship:intervention-reference.templateId
path:
  v: Observation.entryRelationship.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
    l: II

id:
  v: Observation.entryRelationship:intervention-reference.typeCode
path:
  v: Observation.entryRelationship.typeCode
representation:
  v: xmlAttr
comment:
  v: SHALL contain exactly one [1..1] @typeCode="RSON" Has reason (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-31689).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EntryRelationship.typeCode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
fixed: Code
  v: RSON
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship
    l: v3-xActRelationshipEntryRelationship

id:
  v: Observation.entryRelationship:intervention-reference.inversionInd
path:
  v: Observation.entryRelationship.inversionInd
representation:
  v: xmlAttr
definition:
  v: The entryRelationship.inversionInd can be set to "true" to indicate that the relationship should be interpreted as if the roles of the source and target entries were reversed.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.inversionInd
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: bl-simple

id:
  v: Observation.entryRelationship:intervention-reference.contextConductionInd
path:
  v: Observation.entryRelationship.contextConductionInd
representation:
  v: xmlAttr
definition:
  v: The entryRelationship.contextConductionInd differs from the otherwise common use of this attribute in that in all other cases where this attribute is used, the value is fixed at "true", whereas here the value is defaulted to "true", and can be changed to "false" when referencing an entry in the same document. Setting the context conduction to false when referencing an entry in the same document keeps clear the fact that the referenced object retains its original context.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.contextConductionInd
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: bl-simple
default value: Boolean
  v: true

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

id:
  v: Observation.entryRelationship:intervention-reference.sequenceNumber
path:
  v: Observation.entryRelationship.sequenceNumber
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.sequenceNumber
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/INT
    l: INT

id:
  v: Observation.entryRelationship:intervention-reference.seperatableInd
path:
  v: Observation.entryRelationship.seperatableInd
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.seperatableInd
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/BL
    l: BL

id:
  v: Observation.entryRelationship:intervention-reference.act
path:
  v: Observation.entryRelationship.act
comment:
  v: SHALL contain exactly one [1..1] Entry Reference (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.122) (CONF:1098-31690).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EntryRelationship.act
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Act
    l: Act
  profile:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/EntryReference
    l: EntryReference

id:
  v: Observation.entryRelationship:intervention-reference.encounter
path:
  v: Observation.entryRelationship.encounter
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.encounter
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Encounter
    l: Encounter

id:
  v: Observation.entryRelationship:intervention-reference.observation
path:
  v: Observation.entryRelationship.observation
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.observation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Observation
    l: Observation

id:
  v: Observation.entryRelationship:intervention-reference.observationMedia
path:
  v: Observation.entryRelationship.observationMedia
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.observationMedia
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia
    l: ObservationMedia

id:
  v: Observation.entryRelationship:intervention-reference.organizer
path:
  v: Observation.entryRelationship.organizer
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.organizer
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Organizer
    l: Organizer

id:
  v: Observation.entryRelationship:intervention-reference.procedure
path:
  v: Observation.entryRelationship.procedure
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.procedure
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Procedure
    l: Procedure

id:
  v: Observation.entryRelationship:intervention-reference.regionOfInterest
path:
  v: Observation.entryRelationship.regionOfInterest
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.regionOfInterest
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest
    l: RegionOfInterest

id:
  v: Observation.entryRelationship:intervention-reference.substanceAdministration
path:
  v: Observation.entryRelationship.substanceAdministration
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.substanceAdministration
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration
    l: SubstanceAdministration

id:
  v: Observation.entryRelationship:intervention-reference.supply
path:
  v: Observation.entryRelationship.supply
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.supply
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Supply
    l: Supply

id:
  v: Observation.reference
path:
  v: Observation.reference
comment:
  v: MAY contain zero or more [0..*] reference (CONF:1098-32763).
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
    l: Reference

id:
  v: Observation.reference.nullFlavor
path:
  v: Observation.reference.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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Observation.reference.realmCode
path:
  v: Observation.reference.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
    l: CS

id:
  v: Observation.reference.typeId
path:
  v: Observation.reference.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
    l: II
constraint:
  key:
    v: II-1
  severity:
    v: error
  human:
    v: An II instance must have either a root or an nullFlavor.
  expression:
    v: root.exists() or nullFlavor.exists()
  source:
    v: http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot
    l: InfrastructureRoot

id:
  v: Observation.reference.typeId.nullFlavor
path:
  v: Observation.reference.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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Observation.reference.typeId.assigningAuthorityName
path:
  v: Observation.reference.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Observation.reference.typeId.displayable
path:
  v: Observation.reference.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
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: bl-simple

id:
  v: Observation.reference.typeId.root
path:
  v: Observation.reference.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    l: oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    l: uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    l: ruid
fixed: String
  v: 2.16.840.1.113883.1.3

id:
  v: Observation.reference.typeId.extension
path:
  v: Observation.reference.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Observation.reference.templateId
path:
  v: Observation.reference.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
    l: II

id:
  v: Observation.reference.typeCode
path:
  v: Observation.reference.typeCode
representation:
  v: xmlAttr
comment:
  v: The reference, if present, SHALL contain exactly one [1..1] @typeCode="REFR" Refers to (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-32764).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Reference.typeCode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
fixed: Code
  v: REFR
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-xActRelationshipExternalReference
    l: v3-xActRelationshipExternalReference

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

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

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

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

id:
  v: Observation.reference.externalDocument
path:
  v: Observation.reference.externalDocument
comment:
  v: The reference, if present, SHALL contain exactly one [1..1] External Document Reference (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.115:2014-06-09) (CONF:1098-32765).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Reference.externalDocument
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ExternalDocument
    l: ExternalDocument
  profile:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/ExternalDocumentReference
    l: ExternalDocumentReference

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
    l: Precondition

id:
  v: Observation.sdtcPrecondition2
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
    l: xml-namespace
  value: Uri
    v: urn:hl7-org:sdtc
    l: sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
    l: xml-name
  value: String
    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
    l: Precondition2

id:
  v: Observation.referenceRange
path:
  v: Observation.referenceRange
definition:
  v: Relates an Observation to the ObservationRange class, where the expected range of values for a particular observation can be specified.
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
    l: 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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: 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
    l: 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
    l: II
constraint:
  key:
    v: II-1
  severity:
    v: error
  human:
    v: An II instance must have either a root or an nullFlavor.
  expression:
    v: root.exists() or nullFlavor.exists()
  source:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Observation
    l: Observation

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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: 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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: 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
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: 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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    l: oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    l: uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    l: ruid
fixed: String
  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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: 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
    l: 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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
fixed: Code
  v: REFV
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDAActRelationshipType
    l: CDAActRelationshipType

id:
  v: Observation.referenceRange.observationRange
path:
  v: Observation.referenceRange.observationRange
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
    l: ObservationRange

id:
  v: Observation.sdtcInFulfillmentOf1
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
    l: xml-namespace
  value: Uri
    v: urn:hl7-org:sdtc
    l: sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
    l: xml-name
  value: String
    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
    l: 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/OutcomeObservation
      l: OutcomeObservation
  constraint:
    key:
      v: should-value
    severity:
      v: warning
    human:
      v: SHOULD contain value
    expression:
      v: value.exists()
    source:
      v: http://hl7.org/cda/us/ccda/StructureDefinition/OutcomeObservation
      l: OutcomeObservation
  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/OutcomeObservation
      l: OutcomeObservation
element:
  id:
    v: Observation.templateId
  path:
    v: Observation.templateId
  slicing:
    discriminator:
      type:
        v: value
      path:
        v: root
    rules:
      v: open
  min:
    v: 1
element:
  id:
    v: Observation.templateId:outcome-obs
  path:
    v: Observation.templateId
  slice name:
    v: outcome-obs
  min:
    v: 1
  max:
    v: 1
element:
  id:
    v: Observation.templateId:outcome-obs.root
  path:
    v: Observation.templateId.root
  min:
    v: 1
  pattern: String
    v: 2.16.840.1.113883.10.20.22.4.144
element:
  id:
    v: Observation.templateId:outcome-obs.extension
  path:
    v: Observation.templateId.extension
  max:
    v: 0
element:
  id:
    v: Observation.classCode
  path:
    v: Observation.classCode
  comment:
    v: SHALL contain exactly one [1..1] @classCode="OBS" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6) (CONF:1098-31219).
  fixed: Code
    v: OBS
element:
  id:
    v: Observation.moodCode
  path:
    v: Observation.moodCode
  comment:
    v: SHALL contain exactly one [1..1] @moodCode="EVN" (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001) (CONF:1098-31220).
  fixed: Code
    v: EVN
element:
  id:
    v: Observation.id
  path:
    v: Observation.id
  comment:
    v: SHALL contain at least one [1..*] id (CONF:1098-31223).
  min:
    v: 1
element:
  id:
    v: Observation.code
  path:
    v: Observation.code
  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:1098-32746).
element:
  id:
    v: Observation.text
  path:
    v: Observation.text
  short:
    v: SHOULD reference the portion of section narrative text corresponding to this entry
  condition:
    v: should-text-ref-value
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('#')
    source:
      v: http://hl7.org/cda/us/ccda/StructureDefinition/OutcomeObservation
      l: OutcomeObservation
element:
  id:
    v: Observation.value
  path:
    v: Observation.value
  short:
    v: SHOULD contain value
  comment:
    v: SHOULD contain zero or one [0..1] value (CONF:1098-32747).
  max:
    v: 1
  condition:
    v: should-value
element:
  id:
    v: Observation.author
  path:
    v: Observation.author
  short:
    v: SHOULD contain 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:1098-31553).
  type:
    code:
      v: http://hl7.org/cda/stds/core/StructureDefinition/Author
      l: Author
    profile:
      v: http://hl7.org/cda/us/ccda/StructureDefinition/AuthorParticipation
      l: AuthorParticipation
  condition:
    v: should-author
element:
  id:
    v: Observation.entryRelationship
  path:
    v: Observation.entryRelationship
  slicing:
    discriminator:
      type:
        v: value
      path:
        v: typeCode
    discriminator:
      type:
        v: profile
      path:
        v: act
    discriminator:
      type:
        v: profile
      path:
        v: observation
    rules:
      v: open
  short:
    v: Where an Outcome Observation needs to reference an Intervention Act already described in the CDA document instance, rather than repeating the full content of the Intervention Act, the Entry Reference template may be used to reference this entry.
  min:
    v: 1

id:
  v: Observation.entryRelationship:goal-reference
path:
  v: Observation.entryRelationship
slice name:
  v: goal-reference
short:
  v: The following entryRelationship represents the relationship between an Outcome Observation and a Goal Observation. Because the Goal Observation is already described in the CDA document instance's Goals section, rather than repeating the full content of the Goal Observation, the Entry Reference template can be used to reference this entry.
comment:
  v: SHOULD contain zero or more [0..*] entryRelationship (CONF:1098-31224) such that it
min:
  v: 0
max:
  v: *

id:
  v: Observation.entryRelationship:goal-reference.typeCode
path:
  v: Observation.entryRelationship.typeCode
comment:
  v: SHALL contain exactly one [1..1] @typeCode="GEVL" Evaluates goal (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-31225).
fixed: Code
  v: GEVL

id:
  v: Observation.entryRelationship:goal-reference.act
path:
  v: Observation.entryRelationship.act
comment:
  v: SHALL contain exactly one [1..1] Entry Reference (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.122) (CONF:1098-32465).
min:
  v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Act
    l: Act
  profile:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/EntryReference
    l: EntryReference
constraint:
  key:
    v: entry-ref-goal
  severity:
    v: error
  human:
    v: This entryReference template **SHALL** reference an instance of a Goal Observation template.
  expression:
    v: %resource.descendants().ofType(CDA.Observation).where(templateId.exists($this.root = '2.16.840.1.113883.10.20.22.4.121' and $this.extension = '2022-06-01') and id.exists($this.root = %context.id.first().root and $this.extension ~ %context.id.first().extension))
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/OutcomeObservation
    l: OutcomeObservation

id:
  v: Observation.entryRelationship:progressTowardGoalObservation
path:
  v: Observation.entryRelationship
slice name:
  v: progressTowardGoalObservation
short:
  v: The following entryRelationship represents the relationship between an Outcome Observation and a Progress Toward Goal Observation (Outcome Observation SUPPORTS Progress Toward Goal Observation). In the Care Planning workflow, the judgment about how well the person is progressing towards the goal is based on the observations made about the status of the patient with respect to interventions performed in the pursuit of achieving that goal.
comment:
  v: SHOULD contain zero or one [0..1] entryRelationship (CONF:1098-31427) such that it
min:
  v: 0
max:
  v: *

id:
  v: Observation.entryRelationship:progressTowardGoalObservation.typeCode
path:
  v: Observation.entryRelationship.typeCode
comment:
  v: SHALL contain exactly one [1..1] @typeCode="SPRT" Has support (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-31428).
fixed: Code
  v: SPRT

id:
  v: Observation.entryRelationship:progressTowardGoalObservation.inversionInd
path:
  v: Observation.entryRelationship.inversionInd
comment:
  v: SHALL contain exactly one [1..1] @inversionInd="true" (CONF:1098-31429).
min:
  v: 1
fixed: Boolean
  v: true

id:
  v: Observation.entryRelationship:progressTowardGoalObservation.observation
path:
  v: Observation.entryRelationship.observation
comment:
  v: SHALL contain exactly one [1..1] Progress Toward Goal Observation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.110) (CONF:1098-31430).
min:
  v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Observation
    l: Observation
  profile:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/ProgressTowardGoalObservation
    l: ProgressTowardGoalObservation

id:
  v: Observation.entryRelationship:intervention-reference
path:
  v: Observation.entryRelationship
slice name:
  v: intervention-reference
short:
  v: Where an Outcome Observation needs to reference an Intervention Act already described in the CDA document instance, rather than repeating the full content of the Intervention Act, the Entry Reference template may be used to reference this entry
comment:
  v: MAY contain zero or more [0..*] entryRelationship (CONF:1098-31688) such that it
min:
  v: 0
max:
  v: *
constraint:
  key:
    v: entry-ref-intervention
  severity:
    v: error
  human:
    v: This entryReference template **SHALL** reference an instance of a Goal Observation template.
  expression:
    v: %resource.descendants().ofType(CDA.Observation).where(templateId.exists($this.root = '2.16.840.1.113883.10.20.22.4.131' and $this.extension = '2015-08-01') and id.exists($this.root = %context.act.id.first().root and $this.extension ~ %context.act.id.first().extension))
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/OutcomeObservation
    l: OutcomeObservation

id:
  v: Observation.entryRelationship:intervention-reference.typeCode
path:
  v: Observation.entryRelationship.typeCode
comment:
  v: SHALL contain exactly one [1..1] @typeCode="RSON" Has reason (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-31689).
fixed: Code
  v: RSON

id:
  v: Observation.entryRelationship:intervention-reference.act
path:
  v: Observation.entryRelationship.act
comment:
  v: SHALL contain exactly one [1..1] Entry Reference (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.122) (CONF:1098-31690).
min:
  v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Act
    l: Act
  profile:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/EntryReference
    l: EntryReference

id:
  v: Observation.reference
path:
  v: Observation.reference
comment:
  v: MAY contain zero or more [0..*] reference (CONF:1098-32763).

id:
  v: Observation.reference.typeCode
path:
  v: Observation.reference.typeCode
comment:
  v: The reference, if present, SHALL contain exactly one [1..1] @typeCode="REFR" Refers to (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-32764).
fixed: Code
  v: REFR

id:
  v: Observation.reference.externalDocument
path:
  v: Observation.reference.externalDocument
comment:
  v: The reference, if present, SHALL contain exactly one [1..1] External Document Reference (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.115:2014-06-09) (CONF:1098-32765).
min:
  v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ExternalDocument
    l: ExternalDocument
  profile:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/ExternalDocumentReference
    l: ExternalDocumentReference