Consolidated CDA (C-CDA)
4.0.0-ballot - STU4 Ballot United States of America flag

Consolidated CDA (C-CDA), published by Health Level Seven. This guide is not an authorized publication; it is the continuous build for version 4.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/CDA-ccda/ and changes regularly. See the Directory of published versions

Logical Model: EncounterActivity - Detailed Descriptions

Draft as of 2024-12-19

Definitions for the EncounterActivity logical model.

Guidance on how to interpret the contents of this table can be found here

0. Encounter
Logical ContainerClinicalDocument (CDA Class)
ValidationInstance of this type are validated by templateId
XML FormatIn the XML format, this property has the namespace urn:hl7-org:v3.
Invariantsshould-text-ref-value: SHOULD contain text/reference/@value (text.reference.value.exists())
2. Encounter.templateId
Control1..?
SlicingThis element introduces a set of slices on Encounter.templateId. The slices areUnordered and Open, and can be differentiated using the following discriminators:
  • value @ root
  • value @ extension
  • 4. Encounter.templateId:encounter-activity
    Slice Nameencounter-activity
    Control1..1
    6. Encounter.templateId:encounter-activity.root
    Control1..?
    Pattern Value2.16.840.1.113883.10.20.22.4.49
    8. Encounter.templateId:encounter-activity.extension
    Control1..?
    Pattern Value2015-08-01
    10. Encounter.classCode
    Comments

    SHALL contain exactly one [1..1] @classCode="ENC" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:1198-8710).

    12. Encounter.moodCode
    Comments

    SHALL contain exactly one [1..1] @moodCode="EVN" (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:1198-8711).

    Fixed ValueEVN
    14. Encounter.id
    Short𝗨𝗦𝗖𝗗𝗜: Identifier
    Comments

    SHALL contain at least one [1..*] id (CONF:1198-8713).

    Control1..?
    16. Encounter.code
    Short𝗨𝗦𝗖𝗗𝗜: Type
    Comments

    In Encounter Summaries the Encounter Type will also be present in the document header at componentOf/encompassingEncounter/code, but for Patient Summaries, componentOf/encompassingEncounter SHALL NOT be present. Implementers should note that only conveying Encounter Type in the document header at componentOf/encompassingEncounter/code is insufficient.

    Control1..?
    BindingThe codes SHOULD be taken from Encounter Type .
    (preferred to http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.23)
    Invariantsshould-otext-ref-value: SHOULD contain originalText/reference/@value (originalText.reference.value.exists())
    18. Encounter.code.originalText
    ShortSHOULD reference the portion of narrative corresponding to this code
    20. Encounter.code.originalText.reference
    Invariantsvalue-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative (value.exists() implies value.startsWith('#'))
    22. Encounter.text
    ShortSHOULD reference the portion of section narrative text corresponding to this entry
    24. Encounter.text.reference
    Invariantsvalue-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative (value.exists() implies value.startsWith('#'))
    26. Encounter.effectiveTime
    Short𝗨𝗦𝗖𝗗𝗜: Time
    Comments

    In Encounter Summaries the Encounter Time will also be present in the document header at componentOf/encompassingEncounter/effectiveTime, but for Patient Summaries, componentOf/encompassingEncounter SHALL NOT be present.

    Control1..?
    28. Encounter.sdtcDischargeDispositionCode
    Short𝗨𝗦𝗖𝗗𝗜: Disposition
    Comments

    Implementers should note that a Discharge Disposition is not appropriate for all document types. Hospital Discharge Summary documents SHOULD have a discharge disposition. Progress Notes, or H&P, typically won’t have a discharge disposition. In Encounter Summaries, the Encounter Disposition will also be present in the document header at componentOf/encompassingEncounter/dischargeDispositionCode, but in Patient Summaries, componentOf/encompassingEncounter SHALL NOT be present. While an Encounter Summary provides a snapshot of the patient’s condition at the time of the encounter as authored by the clinician, a Patient summary provides the most current information available from the sending system across multiple encounters. CodeSystem-AHANUBCPatientDischargeStatus

    BindingThe codes SHOULD be taken from USEncounterDischargeDisposition
    (preferred to http://terminology.hl7.org/ValueSet/v3-USEncounterDischargeDisposition)
    XML FormatIn the XML format, this property has the namespace urn:hl7-org:sdtc.In the XML format, this property has the actual namedischargeDispositionCode.
    30. Encounter.performer
    Comments

    MAY contain zero or more [0..*] performer (CONF:1198-8725).

    32. Encounter.performer.assignedEntity
    Comments

    The performer, if present, SHALL contain exactly one [1..1] assignedEntity (CONF:1198-8726).

    34. Encounter.performer.assignedEntity.code
    Comments

    This assignedEntity MAY contain zero or one [0..1] code, which SHOULD be selected from ValueSet Healthcare Provider Taxonomy urn:oid:2.16.840.1.114222.4.11.1066 DYNAMIC (CONF:1198-8727).

    BindingThe codes SHOULD be taken from Healthcare Provider Taxonomy .
    (preferred to http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1066)
    36. Encounter.participant
    SlicingThis element introduces a set of slices on Encounter.participant. The slices areUnordered and Open, and can be differentiated using the following discriminators:
    • profile @ participantRole
    • value @ typeCode
    • 38. Encounter.participant:location
      Slice Namelocation
      Short𝗨𝗦𝗖𝗗𝗜: Location
      Comments

      In Encounter Summaries the Encounter Location will also be present in the document header at componentOf/encompassingEncounter/location, but in Patient Summaries, componentOf/encompassingEncounter SHALL NOT be present.

      Control0..*
      40. Encounter.participant:location.typeCode
      Comments

      SHALL contain exactly one [1..1] @typeCode="LOC" Location (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90 STATIC) (CONF:1198-8740).

      Fixed ValueLOC
      42. Encounter.participant:location.participantRole
      Comments

      SHALL contain exactly one [1..1] Service Delivery Location (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.32) (CONF:1198-14903).

      Typehttp://hl7.org/cda/stds/core/StructureDefinition/ParticipantRole(Service Delivery Location)
      44. Encounter.entryRelationship
      SlicingThis element introduces a set of slices on Encounter.entryRelationship. The slices areUnordered and Open, and can be differentiated using the following discriminators:
      • profile @ act
      • profile @ observation
      • 46. Encounter.entryRelationship:indication
        Slice Nameindication
        Comments

        MAY contain zero or more [0..*] entryRelationship (CONF:1198-8722) such that it

        Control0..*
        48. Encounter.entryRelationship:indication.typeCode
        Comments

        SHALL contain exactly one [1..1] @typeCode="RSON" Has Reason (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1198-8723).

        Fixed ValueRSON
        50. Encounter.entryRelationship:indication.observation
        Comments

        SHALL contain exactly one [1..1] Indication (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.19:2014-06-09) (CONF:1198-14899).

        Control1..?
        Typehttp://hl7.org/cda/stds/core/StructureDefinition/Observation(Indication)
        52. Encounter.entryRelationship:diagnosis
        Slice Namediagnosis
        Short𝗨𝗦𝗖𝗗𝗜: Diagnosis
        Comments

        MAY contain zero or more [0..*] entryRelationship (CONF:1198-15492) such that it

        Control0..*
        54. Encounter.entryRelationship:diagnosis.act
        Control1..?
        Typehttp://hl7.org/cda/stds/core/StructureDefinition/Act(Encounter Diagnosis)
        56. Encounter.entryRelationship:observation
        Slice Nameobservation
        Short𝗨𝗦𝗖𝗗𝗜: Interpreter Needed Observation
        Comments

        SHALL contain exactly one [1..1] Interpreter Needed Observation (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.515:2025-05-01).

        Control0..*
        58. Encounter.entryRelationship:observation.observation
        Control1..?
        Typehttp://hl7.org/cda/stds/core/StructureDefinition/Observation(Interpreter Needed Observation)

        Guidance on how to interpret the contents of this table can be found here

        0. Encounter
        Definition

        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.


        Base definition for all types defined in FHIR type system.

        ShortBase for all types and resources
        Control10..1*
        Is Modifierfalse
        Logical ContainerClinicalDocument (CDA Class)
        ValidationInstance of this type are validated by templateId
        XML FormatIn the XML format, this property has the namespace urn:hl7-org:v3.
        Invariantsshould-text-ref-value: SHOULD contain text/reference/@value (text.reference.value.exists())
        2. Encounter.nullFlavor
        Definition

        If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

        Control0..1
        BindingThe codes SHALL be taken from CDANullFlavor
        (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
        Typecode(cs: Coded Simple Value)
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        XML FormatIn the XML format, this property is represented as an attribute.
        LabelExceptional Value Detail
        4. Encounter.realmCode
        Definition

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

        Control0..*
        Typehttp://hl7.org/cda/stds/core/StructureDefinition/CS
        6. Encounter.typeId
        Definition

        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.

        Control0..1
        Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
        InvariantsII-1: An II instance must have either a root or an nullFlavor. (root.exists() or nullFlavor.exists())
        8. Encounter.typeId.nullFlavor
        Definition

        If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

        Control0..1
        BindingThe codes SHALL be taken from CDANullFlavor
        (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
        Typecode(cs: Coded Simple Value)
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        XML FormatIn the XML format, this property is represented as an attribute.
        LabelExceptional Value Detail
        10. Encounter.typeId.assigningAuthorityName
        Definition

        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.

        Control0..1
        Typestring(st: Character String)
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        XML FormatIn the XML format, this property is represented as an attribute.
        LabelAssigning Authority Name
        12. Encounter.typeId.displayable
        Definition

        Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).

        Control0..1
        Typeboolean(bl: Boolean)
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        XML FormatIn the XML format, this property is represented as an attribute.
        LabelDisplayable
        14. Encounter.typeId.root
        Definition

        Identifies the type as an HL7 Registered model

        Control1..1
        Typestring(oid: ISO Object Identifier, uuid: DCE Universal Unique Identifier, ruid: HL7 Reserved Identifier Scheme)
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        XML FormatIn the XML format, this property is represented as an attribute.
        LabelRoot
        Fixed Value2.16.840.1.113883.1.3
        16. Encounter.typeId.extension
        Definition

        A character string as a unique identifier within the scope of the identifier root.

        Control1..1
        Typestring(st: Character String)
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        XML FormatIn the XML format, this property is represented as an attribute.
        LabelExtension
        18. Encounter.templateId
        Definition

        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

        Control1..*
        Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
        SlicingThis element introduces a set of slices on Encounter.templateId. The slices areUnordered and Open, and can be differentiated using the following discriminators:
        • value @ root
        • value @ extension
        • 20. Encounter.templateId:encounter-activity
          Slice Nameencounter-activity
          Definition

          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

          Control1..1
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
          22. Encounter.templateId:encounter-activity.nullFlavor
          Definition

          If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

          Control0..1
          BindingThe codes SHALL be taken from CDANullFlavor
          (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
          Typecode(cs: Coded Simple Value)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelExceptional Value Detail
          24. Encounter.templateId:encounter-activity.assigningAuthorityName
          Definition

          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.

          Control0..1
          Typestring(st: Character String)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelAssigning Authority Name
          26. Encounter.templateId:encounter-activity.displayable
          Definition

          Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).

          Control0..1
          Typeboolean(bl: Boolean)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelDisplayable
          28. Encounter.templateId:encounter-activity.root
          Definition

          A unique identifier that guarantees the global uniqueness of the instance identifier. The root alone may be the entire instance identifier.

          Control1..1
          Typestring(oid: ISO Object Identifier, uuid: DCE Universal Unique Identifier, ruid: HL7 Reserved Identifier Scheme)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelRoot
          Pattern Value2.16.840.1.113883.10.20.22.4.49
          30. Encounter.templateId:encounter-activity.extension
          Definition

          A character string as a unique identifier within the scope of the identifier root.

          Control1..1
          Typestring(st: Character String)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelExtension
          Pattern Value2015-08-01
          32. Encounter.classCode
          Comments

          SHALL contain exactly one [1..1] @classCode="ENC" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:1198-8710).

          Control1..1
          BindingThe codes SHALL be taken from CDAActClass
          (required to http://hl7.org/cda/stds/core/ValueSet/CDAActClass)
          Typecode(cs: Coded Simple Value)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          Fixed ValueENC
          34. Encounter.moodCode
          Comments

          SHALL contain exactly one [1..1] @moodCode="EVN" (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:1198-8711).

          Control1..1
          BindingThe codes SHALL be taken from XDocumentEncounterMood (2.0.0)
          (required to http://terminology.hl7.org/ValueSet/v3-xDocumentEncounterMood|2.0.0)
          Typecode(cs: Coded Simple Value)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          Fixed ValueEVN
          36. Encounter.id
          Definition

          The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.

          Short𝗨𝗦𝗖𝗗𝗜: IdentifierLogical id of this artifact
          Comments

          SHALL contain at least one [1..*] id (CONF:1198-8713).


          Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case.

          Control10..*1
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/IIid
          Is Modifierfalse
          38. Encounter.code
          Short𝗨𝗦𝗖𝗗𝗜: Type
          Comments

          In Encounter Summaries the Encounter Type will also be present in the document header at componentOf/encompassingEncounter/code, but for Patient Summaries, componentOf/encompassingEncounter SHALL NOT be present. Implementers should note that only conveying Encounter Type in the document header at componentOf/encompassingEncounter/code is insufficient.

          Control1..1
          BindingThe codes SHOULD be taken from Encounter Type .
          (preferred to http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.23)
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/CD
          Invariantsshould-otext-ref-value: SHOULD contain originalText/reference/@value (originalText.reference.value.exists())
          40. Encounter.code.nullFlavor
          Definition

          If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

          Control0..1
          BindingThe codes SHALL be taken from CDANullFlavor
          (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
          Typecode(cs: Coded Simple Value)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelExceptional Value Detail
          42. Encounter.code.code
          Definition

          The plain code symbol defined by the code system. For example, "784.0" is the code symbol of the ICD-9 code "784.0" for headache.

          Control0..1
          Typecode(cs: Coded Simple Value)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelCode
          44. Encounter.code.codeSystem
          Definition

          Specifies the code system that defines the code.

          Control0..1
          Typestring(oid: ISO Object Identifier, uuid: DCE Universal Unique Identifier, ruid: HL7 Reserved Identifier Scheme)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelCode System
          46. Encounter.code.codeSystemName
          Definition

          The common name of the coding system.

          Control0..1
          Typestring(st: Character String)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelCode System Name
          48. Encounter.code.codeSystemVersion
          Definition

          If applicable, a version descriptor defined specifically for the given code system.

          Control0..1
          Typestring(st: Character String)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelCode System Version
          50. Encounter.code.displayName
          Definition

          A name or title for the code, under which the sending system shows the code value to its users.

          Control0..1
          Typestring(st: Character String)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelDisplay Name
          52. Encounter.code.sdtcValueSet
          Definition

          The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept.

          Control0..1
          Typestring(oid: ISO Object Identifier)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.In the XML format, this property has the namespace urn:hl7-org:sdtc.In the XML format, this property has the actual namevalueSet.
          54. Encounter.code.sdtcValueSetVersion
          Definition

          The valueSetVersion extension adds an attribute for elements with a CD dataType which indicates the version of the particular value set constraining the coded concept.

          Control0..1
          Typestring(st: Character String)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.In the XML format, this property has the namespace urn:hl7-org:sdtc.In the XML format, this property has the actual namevalueSetVersion.
          56. Encounter.code.originalText
          Definition

          The text or phrase used as the basis for the coding.

          ShortSHOULD reference the portion of narrative corresponding to this code
          Control0..1
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/ED
          LabelOriginal Text
          58. Encounter.code.originalText.nullFlavor
          Definition

          If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

          Control0..1
          BindingThe codes SHALL be taken from CDANullFlavor
          (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
          Typecode(cs: Coded Simple Value)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelExceptional Value Detail
          60. Encounter.code.originalText.compression
          Definition

          Indicates whether the raw byte data is compressed, and what compression algorithm was used.

          Control0..1
          BindingThe codes SHALL be taken from CDACompressionAlgorithm
          (required to http://hl7.org/cda/stds/core/ValueSet/CDACompressionAlgorithm)
          Typecode(cs: Coded Simple Value)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelCompression
          62. Encounter.code.originalText.integrityCheck
          Definition

          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.

          Control0..1
          Typebase64Binary(bin: Binary Data)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelIntegrity Check
          64. Encounter.code.originalText.integrityCheckAlgorithm
          Definition

          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.

          Control0..1
          BindingThe codes SHALL be taken from IntegrityCheckAlgorithm (2.0.0)
          (required to http://terminology.hl7.org/ValueSet/v3-IntegrityCheckAlgorithm|2.0.0)
          Typecode(cs: Coded Simple Value)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelIntegrity Check Algorithm
          66. Encounter.code.originalText.language
          Definition

          For character based information the language property specifies the human language of the text.

          Control0..1
          Typecode(cs: Coded Simple Value)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelLanguage
          68. Encounter.code.originalText.mediaType
          Definition

          Identifies the type of the encapsulated data and identifies a method to interpret or render the data.

          Control0..1
          BindingFor example codes, see MediaType
          (example to http://terminology.hl7.org/ValueSet/v3-MediaType)
          Typecode(cs: Coded Simple Value)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelMedia Type
          70. Encounter.code.originalText.representation
          Control0..1
          BindingThe codes SHALL be taken from CDABinaryDataEncoding
          (required to http://hl7.org/cda/stds/core/ValueSet/BinaryDataEncoding)
          Typecode(cs: Coded Simple Value)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          72. Encounter.code.originalText.xmlText
          Definition

          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.)

          ShortAllows for mixed text content. If @representation='B64', this SHALL be a base64binary string.
          Comments

          This element is represented in XML as textual content. The actual name "xmlText" will not appear in a CDA instance.

          Control0..1
          Typestring(st: Character String)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as unadorned text.
          74. Encounter.code.originalText.reference
          Definition

          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.

          Control0..1
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/TEL
          LabelReference
          Invariantsvalue-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative (value.exists() implies value.startsWith('#'))
          76. Encounter.code.originalText.thumbnail
          Definition

          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.

          Control0..1
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/ED
          LabelThumbnail
          78. Encounter.code.qualifier
          Definition

          Specifies additional codes that increase the specificity of the the primary code.

          Control0..*
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/CR
          LabelQualifier
          80. Encounter.code.translation
          Definition

          A set of other concept descriptors that translate this concept descriptor into other code systems.

          Control0..*
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/CD
          XML FormatThe type of this property is determined using the xsi:typeattribute.
          LabelTranslation
          82. Encounter.text
          Definition

          A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.

          ShortSHOULD reference the portion of section narrative text corresponding to this entryText summary of the resource, for human interpretation
          Comments

          Contained resources do not have a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.

          Control0..1
          This element is affected by the following invariants: dom-6
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/EDNarrative
          Is Modifierfalse
          Alternate Namesnarrative, html, xhtml, display
          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          84. Encounter.text.nullFlavor
          Definition

          If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

          Control0..1
          BindingThe codes SHALL be taken from CDANullFlavor
          (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
          Typecode(cs: Coded Simple Value)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelExceptional Value Detail
          86. Encounter.text.compression
          Definition

          Indicates whether the raw byte data is compressed, and what compression algorithm was used.

          Control0..1
          BindingThe codes SHALL be taken from CDACompressionAlgorithm
          (required to http://hl7.org/cda/stds/core/ValueSet/CDACompressionAlgorithm)
          Typecode(cs: Coded Simple Value)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelCompression
          88. Encounter.text.integrityCheck
          Definition

          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.

          Control0..1
          Typebase64Binary(bin: Binary Data)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelIntegrity Check
          90. Encounter.text.integrityCheckAlgorithm
          Definition

          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.

          Control0..1
          BindingThe codes SHALL be taken from IntegrityCheckAlgorithm (2.0.0)
          (required to http://terminology.hl7.org/ValueSet/v3-IntegrityCheckAlgorithm|2.0.0)
          Typecode(cs: Coded Simple Value)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelIntegrity Check Algorithm
          92. Encounter.text.language
          Definition

          For character based information the language property specifies the human language of the text.

          Control0..1
          Typecode(cs: Coded Simple Value)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelLanguage
          94. Encounter.text.mediaType
          Definition

          Identifies the type of the encapsulated data and identifies a method to interpret or render the data.

          Control0..1
          BindingFor example codes, see MediaType
          (example to http://terminology.hl7.org/ValueSet/v3-MediaType)
          Typecode(cs: Coded Simple Value)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelMedia Type
          96. Encounter.text.representation
          Control0..1
          BindingThe codes SHALL be taken from CDABinaryDataEncoding
          (required to http://hl7.org/cda/stds/core/ValueSet/BinaryDataEncoding)
          Typecode(cs: Coded Simple Value)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          98. Encounter.text.xmlText
          Definition

          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.)

          ShortAllows for mixed text content. If @representation='B64', this SHALL be a base64binary string.
          Comments

          This element is represented in XML as textual content. The actual name "xmlText" will not appear in a CDA instance.

          Control0..1
          Typestring(st: Character String)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as unadorned text.
          100. Encounter.text.reference
          Definition

          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.

          Control0..1
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/TEL
          LabelReference
          Invariantsvalue-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative (value.exists() implies value.startsWith('#'))
          102. Encounter.text.thumbnail
          Definition

          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.

          Control0..1
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/ED
          LabelThumbnail
          104. Encounter.statusCode
          Control0..1
          BindingThe codes SHALL be taken from ActStatus
          (required to http://terminology.hl7.org/ValueSet/v3-ActStatus)
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/CS
          106. Encounter.effectiveTime
          Short𝗨𝗦𝗖𝗗𝗜: Time
          Comments

          In Encounter Summaries the Encounter Time will also be present in the document header at componentOf/encompassingEncounter/effectiveTime, but for Patient Summaries, componentOf/encompassingEncounter SHALL NOT be present.

          Control1..1
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/IVL-TS
          108. Encounter.sdtcDischargeDispositionCode
          Short𝗨𝗦𝗖𝗗𝗜: Disposition
          Comments

          Implementers should note that a Discharge Disposition is not appropriate for all document types. Hospital Discharge Summary documents SHOULD have a discharge disposition. Progress Notes, or H&P, typically won’t have a discharge disposition. In Encounter Summaries, the Encounter Disposition will also be present in the document header at componentOf/encompassingEncounter/dischargeDispositionCode, but in Patient Summaries, componentOf/encompassingEncounter SHALL NOT be present. While an Encounter Summary provides a snapshot of the patient’s condition at the time of the encounter as authored by the clinician, a Patient summary provides the most current information available from the sending system across multiple encounters. CodeSystem-AHANUBCPatientDischargeStatus

          Control0..1
          BindingThe codes SHOULD be taken from USEncounterDischargeDisposition
          (preferred to http://terminology.hl7.org/ValueSet/v3-USEncounterDischargeDisposition)
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/CE
          XML FormatIn the XML format, this property has the namespace urn:hl7-org:sdtc.In the XML format, this property has the actual namedischargeDispositionCode.
          110. Encounter.priorityCode
          Control0..1
          BindingFor example codes, see ActPriority
          (example to http://terminology.hl7.org/ValueSet/v3-ActPriority)
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/CE
          112. Encounter.subject
          Definition

          The patient or group related to this encounter. In some use-cases the patient MAY not be present, such as a case meeting about a patient between several practitioners or a careteam.

          ShortThe patient or group related to this encounter
          Comments

          While the encounter is always about the patient, the patient might not actually be known in all contexts of use, and there may be a group of patients that could be anonymous (such as in a group therapy for Alcoholics Anonymous - where the recording of the encounter could be used for billing on the number of people/staff and not important to the context of the specific patients) or alternately in veterinary care a herd of sheep receiving treatment (where the animals are not individually tracked).

          Control0..1
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/SubjectReference(Patient, Group)
          Is Modifierfalse
          Alternate Namespatient
          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          114. Encounter.specimen
          Control0..*
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/Specimen
          116. Encounter.performer
          Comments

          MAY contain zero or more [0..*] performer (CONF:1198-8725).

          Control0..*
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/Performer2
          118. Encounter.performer.nullFlavor
          Definition

          If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

          Control0..1
          BindingThe codes SHALL be taken from CDANullFlavor
          (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
          Typecode(cs: Coded Simple Value)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelExceptional Value Detail
          120. Encounter.performer.realmCode
          Definition

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

          Control0..*
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/CS
          122. Encounter.performer.typeId
          Definition

          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.

          Control0..1
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
          InvariantsII-1: An II instance must have either a root or an nullFlavor. (root.exists() or nullFlavor.exists())
          124. Encounter.performer.typeId.nullFlavor
          Definition

          If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

          Control0..1
          BindingThe codes SHALL be taken from CDANullFlavor
          (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
          Typecode(cs: Coded Simple Value)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelExceptional Value Detail
          126. Encounter.performer.typeId.assigningAuthorityName
          Definition

          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.

          Control0..1
          Typestring(st: Character String)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelAssigning Authority Name
          128. Encounter.performer.typeId.displayable
          Definition

          Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).

          Control0..1
          Typeboolean(bl: Boolean)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelDisplayable
          130. Encounter.performer.typeId.root
          Definition

          Identifies the type as an HL7 Registered model

          Control1..1
          Typestring(oid: ISO Object Identifier, uuid: DCE Universal Unique Identifier, ruid: HL7 Reserved Identifier Scheme)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelRoot
          Fixed Value2.16.840.1.113883.1.3
          132. Encounter.performer.typeId.extension
          Definition

          A character string as a unique identifier within the scope of the identifier root.

          Control1..1
          Typestring(st: Character String)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelExtension
          134. Encounter.performer.templateId
          Definition

          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

          Control0..*
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
          136. Encounter.performer.typeCode
          Control0..1
          BindingThe codes SHALL be taken from ParticipationPhysicalPerformer
          (required to http://terminology.hl7.org/ValueSet/v3-ParticipationPhysicalPerformer)
          Typecode(cs: Coded Simple Value)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          Fixed ValuePRF
          138. Encounter.performer.sdtcFunctionCode
          Control0..1
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/CE
          XML FormatIn the XML format, this property has the namespace urn:hl7-org:sdtc.In the XML format, this property has the actual namefunctionCode.
          140. Encounter.performer.time
          Control0..1
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/IVL-TS
          142. Encounter.performer.modeCode
          Control0..1
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/CE
          144. Encounter.performer.assignedEntity
          Comments

          The performer, if present, SHALL contain exactly one [1..1] assignedEntity (CONF:1198-8726).

          Control1..1
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/AssignedEntity
          146. Encounter.performer.assignedEntity.nullFlavor
          Definition

          If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

          Control0..1
          BindingThe codes SHALL be taken from CDANullFlavor
          (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
          Typecode(cs: Coded Simple Value)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelExceptional Value Detail
          148. Encounter.performer.assignedEntity.realmCode
          Definition

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

          Control0..*
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/CS
          150. Encounter.performer.assignedEntity.typeId
          Definition

          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.

          Control0..1
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
          InvariantsII-1: An II instance must have either a root or an nullFlavor. (root.exists() or nullFlavor.exists())
          152. Encounter.performer.assignedEntity.typeId.nullFlavor
          Definition

          If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

          Control0..1
          BindingThe codes SHALL be taken from CDANullFlavor
          (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
          Typecode(cs: Coded Simple Value)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelExceptional Value Detail
          154. Encounter.performer.assignedEntity.typeId.assigningAuthorityName
          Definition

          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.

          Control0..1
          Typestring(st: Character String)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelAssigning Authority Name
          156. Encounter.performer.assignedEntity.typeId.displayable
          Definition

          Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).

          Control0..1
          Typeboolean(bl: Boolean)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelDisplayable
          158. Encounter.performer.assignedEntity.typeId.root
          Definition

          Identifies the type as an HL7 Registered model

          Control1..1
          Typestring(oid: ISO Object Identifier, uuid: DCE Universal Unique Identifier, ruid: HL7 Reserved Identifier Scheme)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelRoot
          Fixed Value2.16.840.1.113883.1.3
          160. Encounter.performer.assignedEntity.typeId.extension
          Definition

          A character string as a unique identifier within the scope of the identifier root.

          Control1..1
          Typestring(st: Character String)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          LabelExtension
          162. Encounter.performer.assignedEntity.templateId
          Definition

          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

          Control0..*
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
          164. Encounter.performer.assignedEntity.classCode
          Control0..1
          BindingThe codes SHALL be taken from RoleClassAssignedEntity
          (required to http://terminology.hl7.org/ValueSet/v3-RoleClassAssignedEntity)
          Typecode(cs: Coded Simple Value)
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          Fixed ValueASSIGNED
          166. Encounter.performer.assignedEntity.id
          Control1..*
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
          168. Encounter.performer.assignedEntity.sdtcIdentifiedBy
          Control0..*
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/IdentifiedBy
          XML FormatIn the XML format, this property has the namespace urn:hl7-org:sdtc.In the XML format, this property has the actual nameidentifiedBy.
          170. Encounter.performer.assignedEntity.code
          Comments

          This assignedEntity MAY contain zero or one [0..1] code, which SHOULD be selected from ValueSet Healthcare Provider Taxonomy urn:oid:2.16.840.1.114222.4.11.1066 DYNAMIC (CONF:1198-8727).

          Control0..1
          BindingThe codes SHOULD be taken from Healthcare Provider Taxonomy .
          (preferred to http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1066)
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/CE
          172. Encounter.performer.assignedEntity.addr
          Control0..*
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/AD
          174. Encounter.performer.assignedEntity.telecom
          Control0..*
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/TEL
          176. Encounter.performer.assignedEntity.assignedPerson
          Control0..1
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/Person
          178. Encounter.performer.assignedEntity.representedOrganization
          Control0..1
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/Organization
          180. Encounter.performer.assignedEntity.sdtcPatient
          Control0..1
          Typehttp://hl7.org/fhir/StructureDefinition/Base
          XML FormatIn the XML format, this property has the namespace urn:hl7-org:sdtc.In the XML format, this property has the actual namepatient.
          182. Encounter.performer.assignedEntity.sdtcPatient.id
          Control1..1
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
          XML FormatIn the XML format, this property has the namespace urn:hl7-org:sdtc.
          184. Encounter.author
          Control0..*
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/Author
          186. Encounter.informant
          Control0..*
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/Informant
          188. Encounter.participant
          Definition

          The list of people responsible for providing the service.

          ShortList of participants involved in the encounter
          Comments

          Any Patient or Group present in the participation.actor must also be the subject, though the subject may be absent from the participation.actor for cases where the patient (or group) is not present, such as during a case review conference.

          Control0..*
          Typehttp://hl7.org/cda/stds/core/StructureDefinition/Participant2BackboneElement
          Is Modifierfalse
          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          enc-1: A type must be provided when no explicit actor is specified (actor.exists() or type.exists())
          enc-2: A type cannot be provided for a patient or group participant (actor.exists(resolve() is Patient or resolve() is Group) implies type.exists().not())
          SlicingThis element introduces a set of slices on Encounter.participant. The slices areUnordered and Open, and can be differentiated using the following discriminators:
          • profile @ participantRole
          • value @ typeCode
          • 190. Encounter.participant:location
            Slice Namelocation
            Definition

            The list of people responsible for providing the service.

            Short𝗨𝗦𝗖𝗗𝗜: LocationList of participants involved in the encounter
            Comments

            In Encounter Summaries the Encounter Location will also be present in the document header at componentOf/encompassingEncounter/location, but in Patient Summaries, componentOf/encompassingEncounter SHALL NOT be present.


            Any Patient or Group present in the participation.actor must also be the subject, though the subject may be absent from the participation.actor for cases where the patient (or group) is not present, such as during a case review conference.

            Control0..*
            Typehttp://hl7.org/cda/stds/core/StructureDefinition/Participant2BackboneElement
            Is Modifierfalse
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            enc-1: A type must be provided when no explicit actor is specified (actor.exists() or type.exists())
            enc-2: A type cannot be provided for a patient or group participant (actor.exists(resolve() is Patient or resolve() is Group) implies type.exists().not())
            192. Encounter.participant:location.nullFlavor
            Definition

            If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

            Control0..1
            BindingThe codes SHALL be taken from CDANullFlavor
            (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
            Typecode(cs: Coded Simple Value)
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            XML FormatIn the XML format, this property is represented as an attribute.
            LabelExceptional Value Detail
            194. Encounter.participant:location.realmCode
            Definition

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

            Control0..*
            Typehttp://hl7.org/cda/stds/core/StructureDefinition/CS
            196. Encounter.participant:location.typeId
            Definition

            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.

            Control0..1
            Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
            InvariantsII-1: An II instance must have either a root or an nullFlavor. (root.exists() or nullFlavor.exists())
            198. Encounter.participant:location.typeId.nullFlavor
            Definition

            If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

            Control0..1
            BindingThe codes SHALL be taken from CDANullFlavor
            (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
            Typecode(cs: Coded Simple Value)
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            XML FormatIn the XML format, this property is represented as an attribute.
            LabelExceptional Value Detail
            200. Encounter.participant:location.typeId.assigningAuthorityName
            Definition

            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.

            Control0..1
            Typestring(st: Character String)
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            XML FormatIn the XML format, this property is represented as an attribute.
            LabelAssigning Authority Name
            202. Encounter.participant:location.typeId.displayable
            Definition

            Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).

            Control0..1
            Typeboolean(bl: Boolean)
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            XML FormatIn the XML format, this property is represented as an attribute.
            LabelDisplayable
            204. Encounter.participant:location.typeId.root
            Definition

            Identifies the type as an HL7 Registered model

            Control1..1
            Typestring(oid: ISO Object Identifier, uuid: DCE Universal Unique Identifier, ruid: HL7 Reserved Identifier Scheme)
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            XML FormatIn the XML format, this property is represented as an attribute.
            LabelRoot
            Fixed Value2.16.840.1.113883.1.3
            206. Encounter.participant:location.typeId.extension
            Definition

            A character string as a unique identifier within the scope of the identifier root.

            Control1..1
            Typestring(st: Character String)
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            XML FormatIn the XML format, this property is represented as an attribute.
            LabelExtension
            208. Encounter.participant:location.templateId
            Definition

            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

            Control0..*
            Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
            210. Encounter.participant:location.typeCode
            Comments

            SHALL contain exactly one [1..1] @typeCode="LOC" Location (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90 STATIC) (CONF:1198-8740).

            Control1..1
            BindingThe codes SHALL be taken from CDAParticipationType
            (required to http://hl7.org/cda/stds/core/ValueSet/CDAParticipationType)
            Typecode(cs: Coded Simple Value)
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            XML FormatIn the XML format, this property is represented as an attribute.
            Fixed ValueLOC
            212. Encounter.participant:location.contextControlCode
            Control0..1
            BindingThe codes SHALL be taken from CDAContextControl
            (required to http://hl7.org/cda/stds/core/ValueSet/CDAContextControl)
            Typecode(cs: Coded Simple Value)
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            XML FormatIn the XML format, this property is represented as an attribute.
            Fixed ValueOP
            214. Encounter.participant:location.sdtcFunctionCode
            Control0..1
            Typehttp://hl7.org/cda/stds/core/StructureDefinition/CE
            XML FormatIn the XML format, this property has the namespace urn:hl7-org:sdtc.In the XML format, this property has the actual namefunctionCode.
            216. Encounter.participant:location.time
            Control0..1
            Typehttp://hl7.org/cda/stds/core/StructureDefinition/IVL-TS
            218. Encounter.participant:location.awarenessCode
            Control0..1
            Typehttp://hl7.org/cda/stds/core/StructureDefinition/CE
            220. Encounter.participant:location.participantRole
            Definition

            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.

            ShortBase for all types and resources
            Comments

            SHALL contain exactly one [1..1] Service Delivery Location (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.32) (CONF:1198-14903).

            Control1..1
            Typehttp://hl7.org/cda/stds/core/StructureDefinition/ParticipantRole(Service Delivery Location)
            Is Modifierfalse
            Invariantsrole-choice: playingDevice and playingEntity are mutually exclusive ((playingDevice | playingEntity).count() <= 1)
            should-addr: SHOULD contain addr (addr.exists())
            should-telecom: SHOULD contain telecom (telecom.exists())
            222. Encounter.entryRelationship
            Control0..*
            Typehttp://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship
            SlicingThis element introduces a set of slices on Encounter.entryRelationship. The slices areUnordered and Open, and can be differentiated using the following discriminators:
            • profile @ act
            • profile @ observation
            • 224. Encounter.entryRelationship:indication
              Slice Nameindication
              Comments

              MAY contain zero or more [0..*] entryRelationship (CONF:1198-8722) such that it

              Control0..*
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship
              226. Encounter.entryRelationship:indication.nullFlavor
              Definition

              If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

              Control0..1
              BindingThe codes SHALL be taken from CDANullFlavor
              (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
              Typecode(cs: Coded Simple Value)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              LabelExceptional Value Detail
              228. Encounter.entryRelationship:indication.realmCode
              Definition

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

              Control0..*
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/CS
              230. Encounter.entryRelationship:indication.typeId
              Definition

              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.

              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
              InvariantsII-1: An II instance must have either a root or an nullFlavor. (root.exists() or nullFlavor.exists())
              232. Encounter.entryRelationship:indication.typeId.nullFlavor
              Definition

              If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

              Control0..1
              BindingThe codes SHALL be taken from CDANullFlavor
              (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
              Typecode(cs: Coded Simple Value)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              LabelExceptional Value Detail
              234. Encounter.entryRelationship:indication.typeId.assigningAuthorityName
              Definition

              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.

              Control0..1
              Typestring(st: Character String)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              LabelAssigning Authority Name
              236. Encounter.entryRelationship:indication.typeId.displayable
              Definition

              Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).

              Control0..1
              Typeboolean(bl: Boolean)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              LabelDisplayable
              238. Encounter.entryRelationship:indication.typeId.root
              Definition

              Identifies the type as an HL7 Registered model

              Control1..1
              Typestring(oid: ISO Object Identifier, uuid: DCE Universal Unique Identifier, ruid: HL7 Reserved Identifier Scheme)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              LabelRoot
              Fixed Value2.16.840.1.113883.1.3
              240. Encounter.entryRelationship:indication.typeId.extension
              Definition

              A character string as a unique identifier within the scope of the identifier root.

              Control1..1
              Typestring(st: Character String)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              LabelExtension
              242. Encounter.entryRelationship:indication.templateId
              Definition

              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

              Control0..*
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
              244. Encounter.entryRelationship:indication.typeCode
              Comments

              SHALL contain exactly one [1..1] @typeCode="RSON" Has Reason (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1198-8723).

              Control1..1
              BindingThe codes SHALL be taken from x_ActRelationshipEntryRelationship
              (required to http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship)
              Typecode(cs: Coded Simple Value)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              Fixed ValueRSON
              246. Encounter.entryRelationship:indication.inversionInd
              Definition

              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.

              Control0..1
              Typeboolean(bl: Boolean)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              248. Encounter.entryRelationship:indication.contextConductionInd
              Definition

              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.

              Control0..1
              Typeboolean(bl: Boolean)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              Default Valuetrue
              250. Encounter.entryRelationship:indication.negationInd
              Control0..1
              Typeboolean(bl: Boolean)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              252. Encounter.entryRelationship:indication.sequenceNumber
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/INT
              254. Encounter.entryRelationship:indication.seperatableInd
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/BL
              256. Encounter.entryRelationship:indication.act
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/Act
              258. Encounter.entryRelationship:indication.encounter
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/Encounter
              260. Encounter.entryRelationship:indication.observation
              Definition

              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.

              ShortBase for all types and resources
              Comments

              SHALL contain exactly one [1..1] Indication (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.19:2014-06-09) (CONF:1198-14899).

              Control1..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/Observation(Indication)
              Is Modifierfalse
              Invariantsshould-text-ref-value: SHOULD contain text/reference/@value (text.reference.value.exists())
              should-effectiveTime: SHOULD contain effectiveTime (effectiveTime.exists())
              indication-value: If the ID element does not reference a problem recorded elsewhere in the document, then observation/value must be populated with a coded entry. (value.exists() or (%resource.descendants().ofType(CDA.Observation).where(id.exists($this.root = %context.id.first().root and $this.extension ~ %context.id.first().extension) and value.exists())))
              262. Encounter.entryRelationship:indication.observationMedia
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia
              264. Encounter.entryRelationship:indication.organizer
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/Organizer
              266. Encounter.entryRelationship:indication.procedure
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/Procedure
              268. Encounter.entryRelationship:indication.regionOfInterest
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest
              270. Encounter.entryRelationship:indication.substanceAdministration
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration
              272. Encounter.entryRelationship:indication.supply
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/Supply
              274. Encounter.entryRelationship:diagnosis
              Slice Namediagnosis
              Short𝗨𝗦𝗖𝗗𝗜: Diagnosis
              Comments

              MAY contain zero or more [0..*] entryRelationship (CONF:1198-15492) such that it

              Control0..*
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship
              276. Encounter.entryRelationship:diagnosis.nullFlavor
              Definition

              If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

              Control0..1
              BindingThe codes SHALL be taken from CDANullFlavor
              (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
              Typecode(cs: Coded Simple Value)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              LabelExceptional Value Detail
              278. Encounter.entryRelationship:diagnosis.realmCode
              Definition

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

              Control0..*
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/CS
              280. Encounter.entryRelationship:diagnosis.typeId
              Definition

              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.

              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
              InvariantsII-1: An II instance must have either a root or an nullFlavor. (root.exists() or nullFlavor.exists())
              282. Encounter.entryRelationship:diagnosis.typeId.nullFlavor
              Definition

              If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

              Control0..1
              BindingThe codes SHALL be taken from CDANullFlavor
              (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
              Typecode(cs: Coded Simple Value)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              LabelExceptional Value Detail
              284. Encounter.entryRelationship:diagnosis.typeId.assigningAuthorityName
              Definition

              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.

              Control0..1
              Typestring(st: Character String)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              LabelAssigning Authority Name
              286. Encounter.entryRelationship:diagnosis.typeId.displayable
              Definition

              Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).

              Control0..1
              Typeboolean(bl: Boolean)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              LabelDisplayable
              288. Encounter.entryRelationship:diagnosis.typeId.root
              Definition

              Identifies the type as an HL7 Registered model

              Control1..1
              Typestring(oid: ISO Object Identifier, uuid: DCE Universal Unique Identifier, ruid: HL7 Reserved Identifier Scheme)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              LabelRoot
              Fixed Value2.16.840.1.113883.1.3
              290. Encounter.entryRelationship:diagnosis.typeId.extension
              Definition

              A character string as a unique identifier within the scope of the identifier root.

              Control1..1
              Typestring(st: Character String)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              LabelExtension
              292. Encounter.entryRelationship:diagnosis.templateId
              Definition

              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

              Control0..*
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
              294. Encounter.entryRelationship:diagnosis.typeCode
              Control1..1
              BindingThe codes SHALL be taken from x_ActRelationshipEntryRelationship
              (required to http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship)
              Typecode(cs: Coded Simple Value)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              296. Encounter.entryRelationship:diagnosis.inversionInd
              Definition

              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.

              Control0..1
              Typeboolean(bl: Boolean)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              298. Encounter.entryRelationship:diagnosis.contextConductionInd
              Definition

              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.

              Control0..1
              Typeboolean(bl: Boolean)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              Default Valuetrue
              300. Encounter.entryRelationship:diagnosis.negationInd
              Control0..1
              Typeboolean(bl: Boolean)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              302. Encounter.entryRelationship:diagnosis.sequenceNumber
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/INT
              304. Encounter.entryRelationship:diagnosis.seperatableInd
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/BL
              306. Encounter.entryRelationship:diagnosis.act
              Definition

              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.

              ShortBase for all types and resources
              Control1..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/Act(Encounter Diagnosis)
              Is Modifierfalse
              Invariantsshould-text-ref-value: SHOULD contain text/reference/@value (text.reference.value.exists())
              308. Encounter.entryRelationship:diagnosis.encounter
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/Encounter
              310. Encounter.entryRelationship:diagnosis.observation
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/Observation
              312. Encounter.entryRelationship:diagnosis.observationMedia
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia
              314. Encounter.entryRelationship:diagnosis.organizer
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/Organizer
              316. Encounter.entryRelationship:diagnosis.procedure
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/Procedure
              318. Encounter.entryRelationship:diagnosis.regionOfInterest
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest
              320. Encounter.entryRelationship:diagnosis.substanceAdministration
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration
              322. Encounter.entryRelationship:diagnosis.supply
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/Supply
              324. Encounter.entryRelationship:observation
              Slice Nameobservation
              Short𝗨𝗦𝗖𝗗𝗜: Interpreter Needed Observation
              Comments

              SHALL contain exactly one [1..1] Interpreter Needed Observation (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.515:2025-05-01).

              Control0..*
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship
              326. Encounter.entryRelationship:observation.nullFlavor
              Definition

              If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

              Control0..1
              BindingThe codes SHALL be taken from CDANullFlavor
              (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
              Typecode(cs: Coded Simple Value)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              LabelExceptional Value Detail
              328. Encounter.entryRelationship:observation.realmCode
              Definition

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

              Control0..*
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/CS
              330. Encounter.entryRelationship:observation.typeId
              Definition

              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.

              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
              InvariantsII-1: An II instance must have either a root or an nullFlavor. (root.exists() or nullFlavor.exists())
              332. Encounter.entryRelationship:observation.typeId.nullFlavor
              Definition

              If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

              Control0..1
              BindingThe codes SHALL be taken from CDANullFlavor
              (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
              Typecode(cs: Coded Simple Value)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              LabelExceptional Value Detail
              334. Encounter.entryRelationship:observation.typeId.assigningAuthorityName
              Definition

              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.

              Control0..1
              Typestring(st: Character String)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              LabelAssigning Authority Name
              336. Encounter.entryRelationship:observation.typeId.displayable
              Definition

              Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).

              Control0..1
              Typeboolean(bl: Boolean)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              LabelDisplayable
              338. Encounter.entryRelationship:observation.typeId.root
              Definition

              Identifies the type as an HL7 Registered model

              Control1..1
              Typestring(oid: ISO Object Identifier, uuid: DCE Universal Unique Identifier, ruid: HL7 Reserved Identifier Scheme)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              LabelRoot
              Fixed Value2.16.840.1.113883.1.3
              340. Encounter.entryRelationship:observation.typeId.extension
              Definition

              A character string as a unique identifier within the scope of the identifier root.

              Control1..1
              Typestring(st: Character String)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              LabelExtension
              342. Encounter.entryRelationship:observation.templateId
              Definition

              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

              Control0..*
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
              344. Encounter.entryRelationship:observation.typeCode
              Control1..1
              BindingThe codes SHALL be taken from x_ActRelationshipEntryRelationship
              (required to http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship)
              Typecode(cs: Coded Simple Value)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              346. Encounter.entryRelationship:observation.inversionInd
              Definition

              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.

              Control0..1
              Typeboolean(bl: Boolean)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              348. Encounter.entryRelationship:observation.contextConductionInd
              Definition

              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.

              Control0..1
              Typeboolean(bl: Boolean)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              Default Valuetrue
              350. Encounter.entryRelationship:observation.negationInd
              Control0..1
              Typeboolean(bl: Boolean)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              352. Encounter.entryRelationship:observation.sequenceNumber
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/INT
              354. Encounter.entryRelationship:observation.seperatableInd
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/BL
              356. Encounter.entryRelationship:observation.act
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/Act
              358. Encounter.entryRelationship:observation.encounter
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/Encounter
              360. Encounter.entryRelationship:observation.observation
              Definition

              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.

              ShortBase for all types and resources
              Control1..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/Observation(Interpreter Needed Observation)
              Is Modifierfalse
              Invariantsshould-text-ref-value: SHOULD contain text/reference/@value (text.reference.value.exists())
              362. Encounter.entryRelationship:observation.observationMedia
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia
              364. Encounter.entryRelationship:observation.organizer
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/Organizer
              366. Encounter.entryRelationship:observation.procedure
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/Procedure
              368. Encounter.entryRelationship:observation.regionOfInterest
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest
              370. Encounter.entryRelationship:observation.substanceAdministration
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration
              372. Encounter.entryRelationship:observation.supply
              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/Supply
              374. Encounter.reference
              Control0..*
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/Reference
              376. Encounter.precondition
              Control0..*
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/Precondition
              378. Encounter.sdtcPrecondition2
              Control0..*
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/Precondition2
              XML FormatIn the XML format, this property has the namespace urn:hl7-org:sdtc.In the XML format, this property has the actual nameprecondition2.
              380. Encounter.sdtcInFulfillmentOf1
              Control0..*
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/InFulfillmentOf1
              XML FormatIn the XML format, this property has the namespace urn:hl7-org:sdtc.In the XML format, this property has the actual nameinFulfillmentOf1.

              Guidance on how to interpret the contents of this table can be found here

              0. Encounter
              Definition

              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.

              ShortBase for all types and resources
              Control1..1
              Is Modifierfalse
              Logical ContainerClinicalDocument (CDA Class)
              ValidationInstance of this type are validated by templateId
              XML FormatIn the XML format, this property has the namespace urn:hl7-org:v3.
              Invariantsshould-text-ref-value: SHOULD contain text/reference/@value (text.reference.value.exists())
              2. Encounter.nullFlavor
              Definition

              If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

              Control0..1
              BindingThe codes SHALL be taken from CDANullFlavor
              (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
              Typecode(cs: Coded Simple Value)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              LabelExceptional Value Detail
              4. Encounter.realmCode
              Definition

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

              Control0..*
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/CS
              6. Encounter.typeId
              Definition

              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.

              Control0..1
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
              InvariantsII-1: An II instance must have either a root or an nullFlavor. (root.exists() or nullFlavor.exists())
              8. Encounter.typeId.nullFlavor
              Definition

              If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

              Control0..1
              BindingThe codes SHALL be taken from CDANullFlavor
              (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
              Typecode(cs: Coded Simple Value)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              LabelExceptional Value Detail
              10. Encounter.typeId.assigningAuthorityName
              Definition

              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.

              Control0..1
              Typestring(st: Character String)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              LabelAssigning Authority Name
              12. Encounter.typeId.displayable
              Definition

              Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).

              Control0..1
              Typeboolean(bl: Boolean)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              LabelDisplayable
              14. Encounter.typeId.root
              Definition

              Identifies the type as an HL7 Registered model

              Control1..1
              Typestring(oid: ISO Object Identifier, uuid: DCE Universal Unique Identifier, ruid: HL7 Reserved Identifier Scheme)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              LabelRoot
              Fixed Value2.16.840.1.113883.1.3
              16. Encounter.typeId.extension
              Definition

              A character string as a unique identifier within the scope of the identifier root.

              Control1..1
              Typestring(st: Character String)
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              LabelExtension
              18. Encounter.templateId
              Definition

              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

              Control1..*
              Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
              SlicingThis element introduces a set of slices on Encounter.templateId. The slices areUnordered and Open, and can be differentiated using the following discriminators:
              • value @ root
              • value @ extension
              • 20. Encounter.templateId:encounter-activity
                Slice Nameencounter-activity
                Definition

                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

                Control1..1
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
                22. Encounter.templateId:encounter-activity.nullFlavor
                Definition

                If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

                Control0..1
                BindingThe codes SHALL be taken from CDANullFlavor
                (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
                Typecode(cs: Coded Simple Value)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelExceptional Value Detail
                24. Encounter.templateId:encounter-activity.assigningAuthorityName
                Definition

                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.

                Control0..1
                Typestring(st: Character String)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelAssigning Authority Name
                26. Encounter.templateId:encounter-activity.displayable
                Definition

                Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).

                Control0..1
                Typeboolean(bl: Boolean)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelDisplayable
                28. Encounter.templateId:encounter-activity.root
                Definition

                A unique identifier that guarantees the global uniqueness of the instance identifier. The root alone may be the entire instance identifier.

                Control1..1
                Typestring(oid: ISO Object Identifier, uuid: DCE Universal Unique Identifier, ruid: HL7 Reserved Identifier Scheme)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelRoot
                Pattern Value2.16.840.1.113883.10.20.22.4.49
                30. Encounter.templateId:encounter-activity.extension
                Definition

                A character string as a unique identifier within the scope of the identifier root.

                Control1..1
                Typestring(st: Character String)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelExtension
                Pattern Value2015-08-01
                32. Encounter.classCode
                Comments

                SHALL contain exactly one [1..1] @classCode="ENC" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:1198-8710).

                Control1..1
                BindingThe codes SHALL be taken from CDAActClass
                (required to http://hl7.org/cda/stds/core/ValueSet/CDAActClass)
                Typecode(cs: Coded Simple Value)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                Fixed ValueENC
                34. Encounter.moodCode
                Comments

                SHALL contain exactly one [1..1] @moodCode="EVN" (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:1198-8711).

                Control1..1
                BindingThe codes SHALL be taken from XDocumentEncounterMood (2.0.0)
                (required to http://terminology.hl7.org/ValueSet/v3-xDocumentEncounterMood|2.0.0)
                Typecode(cs: Coded Simple Value)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                Fixed ValueEVN
                36. Encounter.id
                Short𝗨𝗦𝗖𝗗𝗜: Identifier
                Comments

                SHALL contain at least one [1..*] id (CONF:1198-8713).

                Control1..*
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
                38. Encounter.code
                Short𝗨𝗦𝗖𝗗𝗜: Type
                Comments

                In Encounter Summaries the Encounter Type will also be present in the document header at componentOf/encompassingEncounter/code, but for Patient Summaries, componentOf/encompassingEncounter SHALL NOT be present. Implementers should note that only conveying Encounter Type in the document header at componentOf/encompassingEncounter/code is insufficient.

                Control1..1
                BindingThe codes SHOULD be taken from Encounter Type .
                (preferred to http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.23)
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/CD
                Invariantsshould-otext-ref-value: SHOULD contain originalText/reference/@value (originalText.reference.value.exists())
                40. Encounter.code.nullFlavor
                Definition

                If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

                Control0..1
                BindingThe codes SHALL be taken from CDANullFlavor
                (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
                Typecode(cs: Coded Simple Value)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelExceptional Value Detail
                42. Encounter.code.code
                Definition

                The plain code symbol defined by the code system. For example, "784.0" is the code symbol of the ICD-9 code "784.0" for headache.

                Control0..1
                Typecode(cs: Coded Simple Value)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelCode
                44. Encounter.code.codeSystem
                Definition

                Specifies the code system that defines the code.

                Control0..1
                Typestring(oid: ISO Object Identifier, uuid: DCE Universal Unique Identifier, ruid: HL7 Reserved Identifier Scheme)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelCode System
                46. Encounter.code.codeSystemName
                Definition

                The common name of the coding system.

                Control0..1
                Typestring(st: Character String)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelCode System Name
                48. Encounter.code.codeSystemVersion
                Definition

                If applicable, a version descriptor defined specifically for the given code system.

                Control0..1
                Typestring(st: Character String)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelCode System Version
                50. Encounter.code.displayName
                Definition

                A name or title for the code, under which the sending system shows the code value to its users.

                Control0..1
                Typestring(st: Character String)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelDisplay Name
                52. Encounter.code.sdtcValueSet
                Definition

                The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept.

                Control0..1
                Typestring(oid: ISO Object Identifier)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.In the XML format, this property has the namespace urn:hl7-org:sdtc.In the XML format, this property has the actual namevalueSet.
                54. Encounter.code.sdtcValueSetVersion
                Definition

                The valueSetVersion extension adds an attribute for elements with a CD dataType which indicates the version of the particular value set constraining the coded concept.

                Control0..1
                Typestring(st: Character String)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.In the XML format, this property has the namespace urn:hl7-org:sdtc.In the XML format, this property has the actual namevalueSetVersion.
                56. Encounter.code.originalText
                Definition

                The text or phrase used as the basis for the coding.

                ShortSHOULD reference the portion of narrative corresponding to this code
                Control0..1
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/ED
                LabelOriginal Text
                58. Encounter.code.originalText.nullFlavor
                Definition

                If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

                Control0..1
                BindingThe codes SHALL be taken from CDANullFlavor
                (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
                Typecode(cs: Coded Simple Value)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelExceptional Value Detail
                60. Encounter.code.originalText.compression
                Definition

                Indicates whether the raw byte data is compressed, and what compression algorithm was used.

                Control0..1
                BindingThe codes SHALL be taken from CDACompressionAlgorithm
                (required to http://hl7.org/cda/stds/core/ValueSet/CDACompressionAlgorithm)
                Typecode(cs: Coded Simple Value)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelCompression
                62. Encounter.code.originalText.integrityCheck
                Definition

                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.

                Control0..1
                Typebase64Binary(bin: Binary Data)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelIntegrity Check
                64. Encounter.code.originalText.integrityCheckAlgorithm
                Definition

                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.

                Control0..1
                BindingThe codes SHALL be taken from IntegrityCheckAlgorithm (2.0.0)
                (required to http://terminology.hl7.org/ValueSet/v3-IntegrityCheckAlgorithm|2.0.0)
                Typecode(cs: Coded Simple Value)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelIntegrity Check Algorithm
                66. Encounter.code.originalText.language
                Definition

                For character based information the language property specifies the human language of the text.

                Control0..1
                Typecode(cs: Coded Simple Value)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelLanguage
                68. Encounter.code.originalText.mediaType
                Definition

                Identifies the type of the encapsulated data and identifies a method to interpret or render the data.

                Control0..1
                BindingFor example codes, see MediaType
                (example to http://terminology.hl7.org/ValueSet/v3-MediaType)
                Typecode(cs: Coded Simple Value)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelMedia Type
                70. Encounter.code.originalText.representation
                Control0..1
                BindingThe codes SHALL be taken from CDABinaryDataEncoding
                (required to http://hl7.org/cda/stds/core/ValueSet/BinaryDataEncoding)
                Typecode(cs: Coded Simple Value)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                72. Encounter.code.originalText.xmlText
                Definition

                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.)

                ShortAllows for mixed text content. If @representation='B64', this SHALL be a base64binary string.
                Comments

                This element is represented in XML as textual content. The actual name "xmlText" will not appear in a CDA instance.

                Control0..1
                Typestring(st: Character String)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as unadorned text.
                74. Encounter.code.originalText.reference
                Definition

                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.

                Control0..1
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/TEL
                LabelReference
                Invariantsvalue-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative (value.exists() implies value.startsWith('#'))
                76. Encounter.code.originalText.thumbnail
                Definition

                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.

                Control0..1
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/ED
                LabelThumbnail
                78. Encounter.code.qualifier
                Definition

                Specifies additional codes that increase the specificity of the the primary code.

                Control0..*
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/CR
                LabelQualifier
                80. Encounter.code.translation
                Definition

                A set of other concept descriptors that translate this concept descriptor into other code systems.

                Control0..*
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/CD
                XML FormatThe type of this property is determined using the xsi:typeattribute.
                LabelTranslation
                82. Encounter.text
                ShortSHOULD reference the portion of section narrative text corresponding to this entry
                Control0..1
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/ED
                84. Encounter.text.nullFlavor
                Definition

                If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

                Control0..1
                BindingThe codes SHALL be taken from CDANullFlavor
                (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
                Typecode(cs: Coded Simple Value)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelExceptional Value Detail
                86. Encounter.text.compression
                Definition

                Indicates whether the raw byte data is compressed, and what compression algorithm was used.

                Control0..1
                BindingThe codes SHALL be taken from CDACompressionAlgorithm
                (required to http://hl7.org/cda/stds/core/ValueSet/CDACompressionAlgorithm)
                Typecode(cs: Coded Simple Value)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelCompression
                88. Encounter.text.integrityCheck
                Definition

                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.

                Control0..1
                Typebase64Binary(bin: Binary Data)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelIntegrity Check
                90. Encounter.text.integrityCheckAlgorithm
                Definition

                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.

                Control0..1
                BindingThe codes SHALL be taken from IntegrityCheckAlgorithm (2.0.0)
                (required to http://terminology.hl7.org/ValueSet/v3-IntegrityCheckAlgorithm|2.0.0)
                Typecode(cs: Coded Simple Value)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelIntegrity Check Algorithm
                92. Encounter.text.language
                Definition

                For character based information the language property specifies the human language of the text.

                Control0..1
                Typecode(cs: Coded Simple Value)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelLanguage
                94. Encounter.text.mediaType
                Definition

                Identifies the type of the encapsulated data and identifies a method to interpret or render the data.

                Control0..1
                BindingFor example codes, see MediaType
                (example to http://terminology.hl7.org/ValueSet/v3-MediaType)
                Typecode(cs: Coded Simple Value)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelMedia Type
                96. Encounter.text.representation
                Control0..1
                BindingThe codes SHALL be taken from CDABinaryDataEncoding
                (required to http://hl7.org/cda/stds/core/ValueSet/BinaryDataEncoding)
                Typecode(cs: Coded Simple Value)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                98. Encounter.text.xmlText
                Definition

                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.)

                ShortAllows for mixed text content. If @representation='B64', this SHALL be a base64binary string.
                Comments

                This element is represented in XML as textual content. The actual name "xmlText" will not appear in a CDA instance.

                Control0..1
                Typestring(st: Character String)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as unadorned text.
                100. Encounter.text.reference
                Definition

                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.

                Control0..1
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/TEL
                LabelReference
                Invariantsvalue-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative (value.exists() implies value.startsWith('#'))
                102. Encounter.text.thumbnail
                Definition

                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.

                Control0..1
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/ED
                LabelThumbnail
                104. Encounter.statusCode
                Control0..1
                BindingThe codes SHALL be taken from ActStatus
                (required to http://terminology.hl7.org/ValueSet/v3-ActStatus)
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/CS
                106. Encounter.effectiveTime
                Short𝗨𝗦𝗖𝗗𝗜: Time
                Comments

                In Encounter Summaries the Encounter Time will also be present in the document header at componentOf/encompassingEncounter/effectiveTime, but for Patient Summaries, componentOf/encompassingEncounter SHALL NOT be present.

                Control1..1
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/IVL-TS
                108. Encounter.sdtcDischargeDispositionCode
                Short𝗨𝗦𝗖𝗗𝗜: Disposition
                Comments

                Implementers should note that a Discharge Disposition is not appropriate for all document types. Hospital Discharge Summary documents SHOULD have a discharge disposition. Progress Notes, or H&P, typically won’t have a discharge disposition. In Encounter Summaries, the Encounter Disposition will also be present in the document header at componentOf/encompassingEncounter/dischargeDispositionCode, but in Patient Summaries, componentOf/encompassingEncounter SHALL NOT be present. While an Encounter Summary provides a snapshot of the patient’s condition at the time of the encounter as authored by the clinician, a Patient summary provides the most current information available from the sending system across multiple encounters. CodeSystem-AHANUBCPatientDischargeStatus

                Control0..1
                BindingThe codes SHOULD be taken from USEncounterDischargeDisposition
                (preferred to http://terminology.hl7.org/ValueSet/v3-USEncounterDischargeDisposition)
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/CE
                XML FormatIn the XML format, this property has the namespace urn:hl7-org:sdtc.In the XML format, this property has the actual namedischargeDispositionCode.
                110. Encounter.priorityCode
                Control0..1
                BindingFor example codes, see ActPriority
                (example to http://terminology.hl7.org/ValueSet/v3-ActPriority)
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/CE
                112. Encounter.subject
                Control0..1
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/Subject
                114. Encounter.specimen
                Control0..*
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/Specimen
                116. Encounter.performer
                Comments

                MAY contain zero or more [0..*] performer (CONF:1198-8725).

                Control0..*
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/Performer2
                118. Encounter.performer.nullFlavor
                Definition

                If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

                Control0..1
                BindingThe codes SHALL be taken from CDANullFlavor
                (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
                Typecode(cs: Coded Simple Value)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelExceptional Value Detail
                120. Encounter.performer.realmCode
                Definition

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

                Control0..*
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/CS
                122. Encounter.performer.typeId
                Definition

                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.

                Control0..1
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
                InvariantsII-1: An II instance must have either a root or an nullFlavor. (root.exists() or nullFlavor.exists())
                124. Encounter.performer.typeId.nullFlavor
                Definition

                If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

                Control0..1
                BindingThe codes SHALL be taken from CDANullFlavor
                (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
                Typecode(cs: Coded Simple Value)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelExceptional Value Detail
                126. Encounter.performer.typeId.assigningAuthorityName
                Definition

                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.

                Control0..1
                Typestring(st: Character String)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelAssigning Authority Name
                128. Encounter.performer.typeId.displayable
                Definition

                Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).

                Control0..1
                Typeboolean(bl: Boolean)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelDisplayable
                130. Encounter.performer.typeId.root
                Definition

                Identifies the type as an HL7 Registered model

                Control1..1
                Typestring(oid: ISO Object Identifier, uuid: DCE Universal Unique Identifier, ruid: HL7 Reserved Identifier Scheme)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelRoot
                Fixed Value2.16.840.1.113883.1.3
                132. Encounter.performer.typeId.extension
                Definition

                A character string as a unique identifier within the scope of the identifier root.

                Control1..1
                Typestring(st: Character String)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelExtension
                134. Encounter.performer.templateId
                Definition

                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

                Control0..*
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
                136. Encounter.performer.typeCode
                Control0..1
                BindingThe codes SHALL be taken from ParticipationPhysicalPerformer
                (required to http://terminology.hl7.org/ValueSet/v3-ParticipationPhysicalPerformer)
                Typecode(cs: Coded Simple Value)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                Fixed ValuePRF
                138. Encounter.performer.sdtcFunctionCode
                Control0..1
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/CE
                XML FormatIn the XML format, this property has the namespace urn:hl7-org:sdtc.In the XML format, this property has the actual namefunctionCode.
                140. Encounter.performer.time
                Control0..1
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/IVL-TS
                142. Encounter.performer.modeCode
                Control0..1
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/CE
                144. Encounter.performer.assignedEntity
                Comments

                The performer, if present, SHALL contain exactly one [1..1] assignedEntity (CONF:1198-8726).

                Control1..1
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/AssignedEntity
                146. Encounter.performer.assignedEntity.nullFlavor
                Definition

                If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

                Control0..1
                BindingThe codes SHALL be taken from CDANullFlavor
                (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
                Typecode(cs: Coded Simple Value)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelExceptional Value Detail
                148. Encounter.performer.assignedEntity.realmCode
                Definition

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

                Control0..*
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/CS
                150. Encounter.performer.assignedEntity.typeId
                Definition

                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.

                Control0..1
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
                InvariantsII-1: An II instance must have either a root or an nullFlavor. (root.exists() or nullFlavor.exists())
                152. Encounter.performer.assignedEntity.typeId.nullFlavor
                Definition

                If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

                Control0..1
                BindingThe codes SHALL be taken from CDANullFlavor
                (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
                Typecode(cs: Coded Simple Value)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelExceptional Value Detail
                154. Encounter.performer.assignedEntity.typeId.assigningAuthorityName
                Definition

                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.

                Control0..1
                Typestring(st: Character String)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelAssigning Authority Name
                156. Encounter.performer.assignedEntity.typeId.displayable
                Definition

                Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).

                Control0..1
                Typeboolean(bl: Boolean)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelDisplayable
                158. Encounter.performer.assignedEntity.typeId.root
                Definition

                Identifies the type as an HL7 Registered model

                Control1..1
                Typestring(oid: ISO Object Identifier, uuid: DCE Universal Unique Identifier, ruid: HL7 Reserved Identifier Scheme)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelRoot
                Fixed Value2.16.840.1.113883.1.3
                160. Encounter.performer.assignedEntity.typeId.extension
                Definition

                A character string as a unique identifier within the scope of the identifier root.

                Control1..1
                Typestring(st: Character String)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                LabelExtension
                162. Encounter.performer.assignedEntity.templateId
                Definition

                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

                Control0..*
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
                164. Encounter.performer.assignedEntity.classCode
                Control0..1
                BindingThe codes SHALL be taken from RoleClassAssignedEntity
                (required to http://terminology.hl7.org/ValueSet/v3-RoleClassAssignedEntity)
                Typecode(cs: Coded Simple Value)
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                Fixed ValueASSIGNED
                166. Encounter.performer.assignedEntity.id
                Control1..*
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
                168. Encounter.performer.assignedEntity.sdtcIdentifiedBy
                Control0..*
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/IdentifiedBy
                XML FormatIn the XML format, this property has the namespace urn:hl7-org:sdtc.In the XML format, this property has the actual nameidentifiedBy.
                170. Encounter.performer.assignedEntity.code
                Comments

                This assignedEntity MAY contain zero or one [0..1] code, which SHOULD be selected from ValueSet Healthcare Provider Taxonomy urn:oid:2.16.840.1.114222.4.11.1066 DYNAMIC (CONF:1198-8727).

                Control0..1
                BindingThe codes SHOULD be taken from Healthcare Provider Taxonomy .
                (preferred to http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1066)
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/CE
                172. Encounter.performer.assignedEntity.addr
                Control0..*
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/AD
                174. Encounter.performer.assignedEntity.telecom
                Control0..*
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/TEL
                176. Encounter.performer.assignedEntity.assignedPerson
                Control0..1
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/Person
                178. Encounter.performer.assignedEntity.representedOrganization
                Control0..1
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/Organization
                180. Encounter.performer.assignedEntity.sdtcPatient
                Control0..1
                Typehttp://hl7.org/fhir/StructureDefinition/Base
                XML FormatIn the XML format, this property has the namespace urn:hl7-org:sdtc.In the XML format, this property has the actual namepatient.
                182. Encounter.performer.assignedEntity.sdtcPatient.id
                Control1..1
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
                XML FormatIn the XML format, this property has the namespace urn:hl7-org:sdtc.
                184. Encounter.author
                Control0..*
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/Author
                186. Encounter.informant
                Control0..*
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/Informant
                188. Encounter.participant
                Control0..*
                Typehttp://hl7.org/cda/stds/core/StructureDefinition/Participant2
                SlicingThis element introduces a set of slices on Encounter.participant. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                • profile @ participantRole
                • value @ typeCode
                • 190. Encounter.participant:location
                  Slice Namelocation
                  Short𝗨𝗦𝗖𝗗𝗜: Location
                  Comments

                  In Encounter Summaries the Encounter Location will also be present in the document header at componentOf/encompassingEncounter/location, but in Patient Summaries, componentOf/encompassingEncounter SHALL NOT be present.

                  Control0..*
                  Typehttp://hl7.org/cda/stds/core/StructureDefinition/Participant2
                  192. Encounter.participant:location.nullFlavor
                  Definition

                  If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

                  Control0..1
                  BindingThe codes SHALL be taken from CDANullFlavor
                  (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
                  Typecode(cs: Coded Simple Value)
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  XML FormatIn the XML format, this property is represented as an attribute.
                  LabelExceptional Value Detail
                  194. Encounter.participant:location.realmCode
                  Definition

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

                  Control0..*
                  Typehttp://hl7.org/cda/stds/core/StructureDefinition/CS
                  196. Encounter.participant:location.typeId
                  Definition

                  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.

                  Control0..1
                  Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
                  InvariantsII-1: An II instance must have either a root or an nullFlavor. (root.exists() or nullFlavor.exists())
                  198. Encounter.participant:location.typeId.nullFlavor
                  Definition

                  If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

                  Control0..1
                  BindingThe codes SHALL be taken from CDANullFlavor
                  (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
                  Typecode(cs: Coded Simple Value)
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  XML FormatIn the XML format, this property is represented as an attribute.
                  LabelExceptional Value Detail
                  200. Encounter.participant:location.typeId.assigningAuthorityName
                  Definition

                  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.

                  Control0..1
                  Typestring(st: Character String)
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  XML FormatIn the XML format, this property is represented as an attribute.
                  LabelAssigning Authority Name
                  202. Encounter.participant:location.typeId.displayable
                  Definition

                  Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).

                  Control0..1
                  Typeboolean(bl: Boolean)
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  XML FormatIn the XML format, this property is represented as an attribute.
                  LabelDisplayable
                  204. Encounter.participant:location.typeId.root
                  Definition

                  Identifies the type as an HL7 Registered model

                  Control1..1
                  Typestring(oid: ISO Object Identifier, uuid: DCE Universal Unique Identifier, ruid: HL7 Reserved Identifier Scheme)
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  XML FormatIn the XML format, this property is represented as an attribute.
                  LabelRoot
                  Fixed Value2.16.840.1.113883.1.3
                  206. Encounter.participant:location.typeId.extension
                  Definition

                  A character string as a unique identifier within the scope of the identifier root.

                  Control1..1
                  Typestring(st: Character String)
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  XML FormatIn the XML format, this property is represented as an attribute.
                  LabelExtension
                  208. Encounter.participant:location.templateId
                  Definition

                  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

                  Control0..*
                  Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
                  210. Encounter.participant:location.typeCode
                  Comments

                  SHALL contain exactly one [1..1] @typeCode="LOC" Location (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90 STATIC) (CONF:1198-8740).

                  Control1..1
                  BindingThe codes SHALL be taken from CDAParticipationType
                  (required to http://hl7.org/cda/stds/core/ValueSet/CDAParticipationType)
                  Typecode(cs: Coded Simple Value)
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  XML FormatIn the XML format, this property is represented as an attribute.
                  Fixed ValueLOC
                  212. Encounter.participant:location.contextControlCode
                  Control0..1
                  BindingThe codes SHALL be taken from CDAContextControl
                  (required to http://hl7.org/cda/stds/core/ValueSet/CDAContextControl)
                  Typecode(cs: Coded Simple Value)
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  XML FormatIn the XML format, this property is represented as an attribute.
                  Fixed ValueOP
                  214. Encounter.participant:location.sdtcFunctionCode
                  Control0..1
                  Typehttp://hl7.org/cda/stds/core/StructureDefinition/CE
                  XML FormatIn the XML format, this property has the namespace urn:hl7-org:sdtc.In the XML format, this property has the actual namefunctionCode.
                  216. Encounter.participant:location.time
                  Control0..1
                  Typehttp://hl7.org/cda/stds/core/StructureDefinition/IVL-TS
                  218. Encounter.participant:location.awarenessCode
                  Control0..1
                  Typehttp://hl7.org/cda/stds/core/StructureDefinition/CE
                  220. Encounter.participant:location.participantRole
                  Definition

                  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.

                  ShortBase for all types and resources
                  Comments

                  SHALL contain exactly one [1..1] Service Delivery Location (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.32) (CONF:1198-14903).

                  Control1..1
                  Typehttp://hl7.org/cda/stds/core/StructureDefinition/ParticipantRole(Service Delivery Location)
                  Is Modifierfalse
                  Invariantsrole-choice: playingDevice and playingEntity are mutually exclusive ((playingDevice | playingEntity).count() <= 1)
                  should-addr: SHOULD contain addr (addr.exists())
                  should-telecom: SHOULD contain telecom (telecom.exists())
                  222. Encounter.entryRelationship
                  Control0..*
                  Typehttp://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship
                  SlicingThis element introduces a set of slices on Encounter.entryRelationship. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                  • profile @ act
                  • profile @ observation
                  • 224. Encounter.entryRelationship:indication
                    Slice Nameindication
                    Comments

                    MAY contain zero or more [0..*] entryRelationship (CONF:1198-8722) such that it

                    Control0..*
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship
                    226. Encounter.entryRelationship:indication.nullFlavor
                    Definition

                    If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

                    Control0..1
                    BindingThe codes SHALL be taken from CDANullFlavor
                    (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
                    Typecode(cs: Coded Simple Value)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    LabelExceptional Value Detail
                    228. Encounter.entryRelationship:indication.realmCode
                    Definition

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

                    Control0..*
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/CS
                    230. Encounter.entryRelationship:indication.typeId
                    Definition

                    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.

                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
                    InvariantsII-1: An II instance must have either a root or an nullFlavor. (root.exists() or nullFlavor.exists())
                    232. Encounter.entryRelationship:indication.typeId.nullFlavor
                    Definition

                    If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

                    Control0..1
                    BindingThe codes SHALL be taken from CDANullFlavor
                    (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
                    Typecode(cs: Coded Simple Value)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    LabelExceptional Value Detail
                    234. Encounter.entryRelationship:indication.typeId.assigningAuthorityName
                    Definition

                    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.

                    Control0..1
                    Typestring(st: Character String)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    LabelAssigning Authority Name
                    236. Encounter.entryRelationship:indication.typeId.displayable
                    Definition

                    Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).

                    Control0..1
                    Typeboolean(bl: Boolean)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    LabelDisplayable
                    238. Encounter.entryRelationship:indication.typeId.root
                    Definition

                    Identifies the type as an HL7 Registered model

                    Control1..1
                    Typestring(oid: ISO Object Identifier, uuid: DCE Universal Unique Identifier, ruid: HL7 Reserved Identifier Scheme)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    LabelRoot
                    Fixed Value2.16.840.1.113883.1.3
                    240. Encounter.entryRelationship:indication.typeId.extension
                    Definition

                    A character string as a unique identifier within the scope of the identifier root.

                    Control1..1
                    Typestring(st: Character String)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    LabelExtension
                    242. Encounter.entryRelationship:indication.templateId
                    Definition

                    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

                    Control0..*
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
                    244. Encounter.entryRelationship:indication.typeCode
                    Comments

                    SHALL contain exactly one [1..1] @typeCode="RSON" Has Reason (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1198-8723).

                    Control1..1
                    BindingThe codes SHALL be taken from x_ActRelationshipEntryRelationship
                    (required to http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship)
                    Typecode(cs: Coded Simple Value)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    Fixed ValueRSON
                    246. Encounter.entryRelationship:indication.inversionInd
                    Definition

                    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.

                    Control0..1
                    Typeboolean(bl: Boolean)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    248. Encounter.entryRelationship:indication.contextConductionInd
                    Definition

                    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.

                    Control0..1
                    Typeboolean(bl: Boolean)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    Default Valuetrue
                    250. Encounter.entryRelationship:indication.negationInd
                    Control0..1
                    Typeboolean(bl: Boolean)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    252. Encounter.entryRelationship:indication.sequenceNumber
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/INT
                    254. Encounter.entryRelationship:indication.seperatableInd
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/BL
                    256. Encounter.entryRelationship:indication.act
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/Act
                    258. Encounter.entryRelationship:indication.encounter
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/Encounter
                    260. Encounter.entryRelationship:indication.observation
                    Definition

                    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.

                    ShortBase for all types and resources
                    Comments

                    SHALL contain exactly one [1..1] Indication (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.19:2014-06-09) (CONF:1198-14899).

                    Control1..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/Observation(Indication)
                    Is Modifierfalse
                    Invariantsshould-text-ref-value: SHOULD contain text/reference/@value (text.reference.value.exists())
                    should-effectiveTime: SHOULD contain effectiveTime (effectiveTime.exists())
                    indication-value: If the ID element does not reference a problem recorded elsewhere in the document, then observation/value must be populated with a coded entry. (value.exists() or (%resource.descendants().ofType(CDA.Observation).where(id.exists($this.root = %context.id.first().root and $this.extension ~ %context.id.first().extension) and value.exists())))
                    262. Encounter.entryRelationship:indication.observationMedia
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia
                    264. Encounter.entryRelationship:indication.organizer
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/Organizer
                    266. Encounter.entryRelationship:indication.procedure
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/Procedure
                    268. Encounter.entryRelationship:indication.regionOfInterest
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest
                    270. Encounter.entryRelationship:indication.substanceAdministration
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration
                    272. Encounter.entryRelationship:indication.supply
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/Supply
                    274. Encounter.entryRelationship:diagnosis
                    Slice Namediagnosis
                    Short𝗨𝗦𝗖𝗗𝗜: Diagnosis
                    Comments

                    MAY contain zero or more [0..*] entryRelationship (CONF:1198-15492) such that it

                    Control0..*
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship
                    276. Encounter.entryRelationship:diagnosis.nullFlavor
                    Definition

                    If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

                    Control0..1
                    BindingThe codes SHALL be taken from CDANullFlavor
                    (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
                    Typecode(cs: Coded Simple Value)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    LabelExceptional Value Detail
                    278. Encounter.entryRelationship:diagnosis.realmCode
                    Definition

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

                    Control0..*
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/CS
                    280. Encounter.entryRelationship:diagnosis.typeId
                    Definition

                    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.

                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
                    InvariantsII-1: An II instance must have either a root or an nullFlavor. (root.exists() or nullFlavor.exists())
                    282. Encounter.entryRelationship:diagnosis.typeId.nullFlavor
                    Definition

                    If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

                    Control0..1
                    BindingThe codes SHALL be taken from CDANullFlavor
                    (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
                    Typecode(cs: Coded Simple Value)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    LabelExceptional Value Detail
                    284. Encounter.entryRelationship:diagnosis.typeId.assigningAuthorityName
                    Definition

                    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.

                    Control0..1
                    Typestring(st: Character String)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    LabelAssigning Authority Name
                    286. Encounter.entryRelationship:diagnosis.typeId.displayable
                    Definition

                    Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).

                    Control0..1
                    Typeboolean(bl: Boolean)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    LabelDisplayable
                    288. Encounter.entryRelationship:diagnosis.typeId.root
                    Definition

                    Identifies the type as an HL7 Registered model

                    Control1..1
                    Typestring(oid: ISO Object Identifier, uuid: DCE Universal Unique Identifier, ruid: HL7 Reserved Identifier Scheme)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    LabelRoot
                    Fixed Value2.16.840.1.113883.1.3
                    290. Encounter.entryRelationship:diagnosis.typeId.extension
                    Definition

                    A character string as a unique identifier within the scope of the identifier root.

                    Control1..1
                    Typestring(st: Character String)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    LabelExtension
                    292. Encounter.entryRelationship:diagnosis.templateId
                    Definition

                    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

                    Control0..*
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
                    294. Encounter.entryRelationship:diagnosis.typeCode
                    Control1..1
                    BindingThe codes SHALL be taken from x_ActRelationshipEntryRelationship
                    (required to http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship)
                    Typecode(cs: Coded Simple Value)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    296. Encounter.entryRelationship:diagnosis.inversionInd
                    Definition

                    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.

                    Control0..1
                    Typeboolean(bl: Boolean)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    298. Encounter.entryRelationship:diagnosis.contextConductionInd
                    Definition

                    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.

                    Control0..1
                    Typeboolean(bl: Boolean)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    Default Valuetrue
                    300. Encounter.entryRelationship:diagnosis.negationInd
                    Control0..1
                    Typeboolean(bl: Boolean)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    302. Encounter.entryRelationship:diagnosis.sequenceNumber
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/INT
                    304. Encounter.entryRelationship:diagnosis.seperatableInd
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/BL
                    306. Encounter.entryRelationship:diagnosis.act
                    Definition

                    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.

                    ShortBase for all types and resources
                    Control1..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/Act(Encounter Diagnosis)
                    Is Modifierfalse
                    Invariantsshould-text-ref-value: SHOULD contain text/reference/@value (text.reference.value.exists())
                    308. Encounter.entryRelationship:diagnosis.encounter
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/Encounter
                    310. Encounter.entryRelationship:diagnosis.observation
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/Observation
                    312. Encounter.entryRelationship:diagnosis.observationMedia
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia
                    314. Encounter.entryRelationship:diagnosis.organizer
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/Organizer
                    316. Encounter.entryRelationship:diagnosis.procedure
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/Procedure
                    318. Encounter.entryRelationship:diagnosis.regionOfInterest
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest
                    320. Encounter.entryRelationship:diagnosis.substanceAdministration
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration
                    322. Encounter.entryRelationship:diagnosis.supply
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/Supply
                    324. Encounter.entryRelationship:observation
                    Slice Nameobservation
                    Short𝗨𝗦𝗖𝗗𝗜: Interpreter Needed Observation
                    Comments

                    SHALL contain exactly one [1..1] Interpreter Needed Observation (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.515:2025-05-01).

                    Control0..*
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship
                    326. Encounter.entryRelationship:observation.nullFlavor
                    Definition

                    If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

                    Control0..1
                    BindingThe codes SHALL be taken from CDANullFlavor
                    (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
                    Typecode(cs: Coded Simple Value)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    LabelExceptional Value Detail
                    328. Encounter.entryRelationship:observation.realmCode
                    Definition

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

                    Control0..*
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/CS
                    330. Encounter.entryRelationship:observation.typeId
                    Definition

                    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.

                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
                    InvariantsII-1: An II instance must have either a root or an nullFlavor. (root.exists() or nullFlavor.exists())
                    332. Encounter.entryRelationship:observation.typeId.nullFlavor
                    Definition

                    If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

                    Control0..1
                    BindingThe codes SHALL be taken from CDANullFlavor
                    (required to http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor)
                    Typecode(cs: Coded Simple Value)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    LabelExceptional Value Detail
                    334. Encounter.entryRelationship:observation.typeId.assigningAuthorityName
                    Definition

                    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.

                    Control0..1
                    Typestring(st: Character String)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    LabelAssigning Authority Name
                    336. Encounter.entryRelationship:observation.typeId.displayable
                    Definition

                    Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).

                    Control0..1
                    Typeboolean(bl: Boolean)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    LabelDisplayable
                    338. Encounter.entryRelationship:observation.typeId.root
                    Definition

                    Identifies the type as an HL7 Registered model

                    Control1..1
                    Typestring(oid: ISO Object Identifier, uuid: DCE Universal Unique Identifier, ruid: HL7 Reserved Identifier Scheme)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    LabelRoot
                    Fixed Value2.16.840.1.113883.1.3
                    340. Encounter.entryRelationship:observation.typeId.extension
                    Definition

                    A character string as a unique identifier within the scope of the identifier root.

                    Control1..1
                    Typestring(st: Character String)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    LabelExtension
                    342. Encounter.entryRelationship:observation.templateId
                    Definition

                    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

                    Control0..*
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/II
                    344. Encounter.entryRelationship:observation.typeCode
                    Control1..1
                    BindingThe codes SHALL be taken from x_ActRelationshipEntryRelationship
                    (required to http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship)
                    Typecode(cs: Coded Simple Value)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    346. Encounter.entryRelationship:observation.inversionInd
                    Definition

                    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.

                    Control0..1
                    Typeboolean(bl: Boolean)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    348. Encounter.entryRelationship:observation.contextConductionInd
                    Definition

                    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.

                    Control0..1
                    Typeboolean(bl: Boolean)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    Default Valuetrue
                    350. Encounter.entryRelationship:observation.negationInd
                    Control0..1
                    Typeboolean(bl: Boolean)
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    352. Encounter.entryRelationship:observation.sequenceNumber
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/INT
                    354. Encounter.entryRelationship:observation.seperatableInd
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/BL
                    356. Encounter.entryRelationship:observation.act
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/Act
                    358. Encounter.entryRelationship:observation.encounter
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/Encounter
                    360. Encounter.entryRelationship:observation.observation
                    Definition

                    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.

                    ShortBase for all types and resources
                    Control1..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/Observation(Interpreter Needed Observation)
                    Is Modifierfalse
                    Invariantsshould-text-ref-value: SHOULD contain text/reference/@value (text.reference.value.exists())
                    362. Encounter.entryRelationship:observation.observationMedia
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia
                    364. Encounter.entryRelationship:observation.organizer
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/Organizer
                    366. Encounter.entryRelationship:observation.procedure
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/Procedure
                    368. Encounter.entryRelationship:observation.regionOfInterest
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest
                    370. Encounter.entryRelationship:observation.substanceAdministration
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration
                    372. Encounter.entryRelationship:observation.supply
                    Control0..1
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/Supply
                    374. Encounter.reference
                    Control0..*
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/Reference
                    376. Encounter.precondition
                    Control0..*
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/Precondition
                    378. Encounter.sdtcPrecondition2
                    Control0..*
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/Precondition2
                    XML FormatIn the XML format, this property has the namespace urn:hl7-org:sdtc.In the XML format, this property has the actual nameprecondition2.
                    380. Encounter.sdtcInFulfillmentOf1
                    Control0..*
                    Typehttp://hl7.org/cda/stds/core/StructureDefinition/InFulfillmentOf1
                    XML FormatIn the XML format, this property has the namespace urn:hl7-org:sdtc.In the XML format, this property has the actual nameinFulfillmentOf1.