Consolidated CDA Release 2.2
2.2 - CI Build

Consolidated CDA Release 2.2, published by Health Level Seven. This is not an authorized publication; it is the continuous build for version 2.2). This version is based on the current content of https://github.com/HL7/CDA-ccda-2.2/ and changes regularly. See the Directory of published versions

## Resource Profile: Encounter Activity

Official URL: http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.49 | Version: 2.2
Active as of 2022-05-13 | Computable Name: EncounterActivity
Other Identifiers: : urn:hl7ii:2.16.840.1.113883.10.20.22.4.49:2015-08-01

This clinical statement describes an interaction between a patient and clinician. Interactions may include in-person encounters, telephone conversations, and email exchanges.

Usage:

- Use this Resource Profile: Encounters Section (entries required), Encounters Section (entries optional), Intervention Act, Planned Intervention Act

### Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

- Text Summary
- Differential Table
- Snapshot Table
- Snapshot Table (Must Support)
- All

This structure is derived from CDAR2.Encounter

Summary

Mandatory: 8 elements (6 nested mandatory elements)

Structures

This structure refers to these other structures:

- Service Delivery Location (http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.32)
- Indication (http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.19)
- Encounter Diagnosis (http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.80)

Slices

This structure defines the following Slices:

- The element Encounter.templateId is sliced based on the values of value:root, value:extension
- The element Encounter.participant is sliced based on the values of value:participantRole, value:typeCode
- The element Encounter.entryRelationship is sliced based on the value of value:act

This structure is derived from CDAR2.Encounter

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Encounter |  | 1..1 | CDAR2.Encounter |
classCode |  | 1..1 | code | Required Pattern: ENC
moodCode |  | 1..1 | code | Required Pattern: EVN
Slices for templateId |  | 0..* | II | Slice: Unordered, Open by value:root, value:extension
templateId:primary |  | 1..1 | II |
root |  | 1..1 | string | Required Pattern: 2.16.840.1.113883.10.20.22.4.49
extension |  | 1..1 | string | Required Pattern: 2015-08-01
id |  | 1..* | II |
code |  | 1..1 | CD | Binding: EncounterTypeCode (preferred)
originalText |  | 0..1 | ED |
reference |  | 0..1 | TEL |
value | I | 0..1 | uri | 1198-15972: This reference/@value **SHALL** begin with a '#' and **SHALL** point to its corresponding narrative (using the approach defined in CDA Release 2, section 4.3.5.1) (CONF:1198-15972).
translation |  | 0..1 | CD | The translation may exist to map the code of EncounterTypeCode (2.16.840.1.113883.3.88.12.80.32) value set to the code of Encounter Planned (2.16.840.1.113883.11.20.9.52) value set.
effectiveTime |  | 1..1 | IVL_TS |
dischargeDispositionCode | I | 0..1 | CE | The prefix sdtc: SHALL be bound to the namespace “urn:hl7-org:sdtc”. The use of the namespace provides a necessary extension to CDA R2 for the use of the dischargeDispositionCode element XML Namespace: urn:hl7-org:sdtc 1198-32177: This sdtc:dischargeDispositionCode **SHOULD** contain exactly [0..1] *code*, which **SHOULD** be selected from ValueSet 2.16.840.1.113883.3.88.12.80.33 NUBC UB-04 FL17-Patient Status (code system 2.16.840.1.113883.6.301.5) *DYNAMIC* or, if access to NUBC is unavailable, from CodeSystem 2.16.840.1.113883.12.112 HL7 Discharge Disposition (CONF:1198-32177). 1198-32377: This sdtc:dischargeDispositionCode **SHOULD** contain exactly [0..1] *codeSystem*, which **SHOULD** be either CodeSystem: NUBC 2.16.840.1.113883.6.301.5 *OR* CodeSystem: HL7 Discharge Disposition 2.16.840.1.113883.12.112 (CONF:1198-32377).
performer |  | 0..* | Performer2 |
assignedEntity |  | 1..1 | AssignedEntity |
code |  | 0..1 | CE | Binding: Healthcare Provider Taxonomy (preferred)
Slices for participant |  | 0..* | Participant2 | Slice: Unordered, Open by value:participantRole, value:typeCode
participant:location |  | 0..* | Participant2 |
typeCode |  | 1..1 | code | Required Pattern: LOC
participantRole |  | 1..1 | ServiceDeliveryLocation |
Slices for entryRelationship |  | 0..* | Element | Slice: Unordered, Open by value:act
entryRelationship:indication |  | 0..* | Element |
typeCode |  | 1..1 | code | Required Pattern: RSON
observation |  | 1..1 | Indication |
entryRelationship:diagnosis |  | 0..* | Element |
act |  | 1..1 | EncounterDiagnosis |
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Encounter |  | 1..1 | CDAR2.Encounter |
classCode |  | 1..1 | code | Binding: ActClass (required) Fixed Value: ENC
moodCode |  | 1..1 | code | Required Pattern: EVN
realmCode |  | 0..* | CS |
typeId |  | 0..1 | II |
Slices for templateId |  | 0..* | II | Slice: Unordered, Open by value:root, value:extension
templateId:primary |  | 1..1 | II |
nullFlavor |  | 0..1 | code | Binding: NullFlavor (required)
assigningAuthorityName |  | 0..1 | string |
displayable |  | 0..1 | boolean |
root |  | 1..1 | string | Required Pattern: 2.16.840.1.113883.10.20.22.4.49
extension |  | 1..1 | string | Required Pattern: 2015-08-01
id |  | 1..* | II |
code |  | 1..1 | CD | Binding: EncounterTypeCode (preferred)
nullFlavor |  | 0..1 | code | Binding: NullFlavor (required)
code |  | 0..1 | string |
codeSystem |  | 0..1 | string |
codeSystemName |  | 0..1 | string |
codeSystemVersion |  | 0..1 | string |
displayName |  | 0..1 | string |
sdtcValueSet |  | 0..1 | string | XML: valueSet (urn:hl7-org:sdtc)
sdtcValueSetVersion |  | 0..1 | string | XML: valueSetVersion (urn:hl7-org:sdtc)
originalText |  | 0..1 | ED |
nullFlavor |  | 0..1 | code | Binding: NullFlavor (required)
charset |  | 0..1 | code |
compression |  | 0..1 | code | Binding: CompressionAlgorithm (required)
integrityCheck |  | 0..1 | base64Binary |
integrityCheckAlgorithm |  | 0..1 | code | Binding: IntegrityCheckAlgorithm (required)
language |  | 0..1 | code |
mediaType |  | 0..1 | code |
representation |  | 0..1 | code |
data[x] |  | 0..1 |  |
dataString |  |  | string |
dataBase64Binary |  |  | base64Binary |
reference |  | 0..1 | TEL |
nullFlavor |  | 0..1 | code | Binding: NullFlavor (required)
value | I | 0..1 | uri | 1198-15972: This reference/@value **SHALL** begin with a '#' and **SHALL** point to its corresponding narrative (using the approach defined in CDA Release 2, section 4.3.5.1) (CONF:1198-15972).
useablePeriod |  | 0..* |  |
useablePeriod |  |  | IVL_TS |
useablePeriod |  |  | EIVL_TS |
useablePeriod |  |  | PIVL_TS |
useablePeriod |  |  | SXPR_TS |
use |  | 0..* | code | Binding: AddressUse (required)
thumbnail |  | 0..1 | ED |
qualifier |  | 0..* | CR |
translation |  | 0..1 | CD | The translation may exist to map the code of EncounterTypeCode (2.16.840.1.113883.3.88.12.80.32) value set to the code of Encounter Planned (2.16.840.1.113883.11.20.9.52) value set.
text |  | 0..1 | ED |
statusCode |  | 0..1 | CS | Binding: ActStatus (required)
effectiveTime |  | 1..1 | IVL_TS |
dischargeDispositionCode | I | 0..1 | CE | The prefix sdtc: SHALL be bound to the namespace “urn:hl7-org:sdtc”. The use of the namespace provides a necessary extension to CDA R2 for the use of the dischargeDispositionCode element XML Namespace: urn:hl7-org:sdtc 1198-32177: This sdtc:dischargeDispositionCode **SHOULD** contain exactly [0..1] *code*, which **SHOULD** be selected from ValueSet 2.16.840.1.113883.3.88.12.80.33 NUBC UB-04 FL17-Patient Status (code system 2.16.840.1.113883.6.301.5) *DYNAMIC* or, if access to NUBC is unavailable, from CodeSystem 2.16.840.1.113883.12.112 HL7 Discharge Disposition (CONF:1198-32177). 1198-32377: This sdtc:dischargeDispositionCode **SHOULD** contain exactly [0..1] *codeSystem*, which **SHOULD** be either CodeSystem: NUBC 2.16.840.1.113883.6.301.5 *OR* CodeSystem: HL7 Discharge Disposition 2.16.840.1.113883.12.112 (CONF:1198-32377).
priorityCode |  | 0..1 | CE | Binding: ActPriority (extensible)
subject |  | 0..1 | Element |
typeCode |  | 1..1 | code | Binding: ParticipationTargetSubject (required) Fixed Value: SBJ
contextControlCode |  | 1..1 | code | Binding: ContextControl (required) Fixed Value: OP
awarenessCode |  | 0..1 | CE | Binding: TargetAwareness (extensible)
relatedSubject |  | 1..1 | RelatedSubject |
specimen |  | 0..* | Specimen |
performer |  | 0..* | Performer2 |
nullFlavor |  | 0..1 | code | Binding: NullFlavor (required)
typeCode |  | 0..1 | cs | Binding: ParticipationPhysicalPerformer (required) Fixed Value: PRF
realmCode |  | 0..* | CS |
typeId |  | 0..1 | II |
templateId |  | 0..* | II |
functionCode |  | 0..1 | CE | XML Namespace: urn:hl7-org:sdtc
time |  | 0..1 | IVL_TS |
modeCode |  | 0..1 | CE |
assignedEntity |  | 1..1 | AssignedEntity |
classCode |  | 1..1 | code | Binding: RoleClassAssignedEntity (required) Fixed Value: ASSIGNED
templateId |  | 0..* | II |
id |  | 1..* | II |
sdtcIdentifiedBy |  | 0..* | IdentifiedBy | XML: identifiedBy (urn:hl7-org:sdtc)
code |  | 0..1 | CE | Binding: Healthcare Provider Taxonomy (preferred)
addr |  | 0..* | AD |
telecom |  | 0..* | TEL |
assignedPerson |  | 0..1 | Person |
representedOrganization |  | 0..1 | Organization |
author |  | 0..* | Author |
informant |  | 0..* | Element |
typeCode |  | 1..1 | code | Binding: ParticipationInformationGenerator (required) Fixed Value: INF
contextControlCode |  | 1..1 | code | Binding: ContextControl (required) Fixed Value: OP
assignedEntity |  | 0..1 | AssignedEntity |
relatedEntity |  | 0..1 | RelatedEntity |
Slices for participant |  | 0..* | Participant2 | Slice: Unordered, Open by value:participantRole, value:typeCode
participant:location |  | 0..* | Participant2 |
nullFlavor |  | 0..1 | code | Binding: NullFlavor (required)
typeCode |  | 1..1 | code | Binding: ParticipationType (required) Required Pattern: LOC
contextControlCode |  | 0..1 | code | Binding: ContextControl (required) Fixed Value: OP
realmCode |  | 0..* | CS |
typeId |  | 0..1 | II |
templateId |  | 0..* | II |
sdtcFunctionCode |  | 0..1 | CE | XML: functionCode (urn:hl7-org:sdtc)
time |  | 0..1 | IVL_TS |
awarenessCode |  | 0..1 | CE |
participantRole |  | 1..1 | ServiceDeliveryLocation |
Slices for entryRelationship | I | 0..* | Element | Slice: Unordered, Open by value:act
entryRelationship:All Slices |  |  |  | Content/Rules for all slices
typeCode |  | 1..1 | code |
inversionInd |  | 0..1 | boolean |
contextConductionInd |  | 1..1 | boolean |
sequenceNumber |  | 0..1 | INT |
negationInd |  | 0..1 | boolean |
seperatableInd |  | 0..1 | BL |
(Choice of one) |  | 1..1 |  |
observation |  | 0..1 | Observation |
regionOfInterest |  | 0..1 | RegionOfInterest |
observationMedia |  | 0..1 | ObservationMedia |
substanceAdministration |  | 0..1 | SubstanceAdministration |
supply |  | 0..1 | Supply |
procedure |  | 0..1 | Procedure |
encounter |  | 0..1 | Encounter |
organizer |  | 0..1 | Organizer |
act |  | 0..1 | Act |
entryRelationship:indication | I | 0..* | Element |
typeCode |  | 1..1 | code | Required Pattern: RSON
inversionInd |  | 0..1 | boolean |
contextConductionInd |  | 1..1 | boolean |
sequenceNumber |  | 0..1 | INT |
negationInd |  | 0..1 | boolean |
seperatableInd |  | 0..1 | BL |
observation |  | 1..1 | Indication |
entryRelationship:diagnosis | I | 0..* | Element |
typeCode |  | 1..1 | code |
inversionInd |  | 0..1 | boolean |
contextConductionInd |  | 1..1 | boolean |
sequenceNumber |  | 0..1 | INT |
negationInd |  | 0..1 | boolean |
seperatableInd |  | 0..1 | BL |
act |  | 1..1 | EncounterDiagnosis |
reference |  | 0..* | Element |
typeCode |  | 1..1 | code |
seperatableInd |  | 0..1 | BL |
externalAct |  | 0..1 | ExternalAct |
externalObservation |  | 0..1 | ExternalObservation |
externalProcedure |  | 0..1 | ExternalProcedure |
externalDocument |  | 0..1 | ExternalDocument |
precondition |  | 0..* | Precondition |
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Encounter |  | 1..1 | CDAR2.Encounter |
Documentation for this format

This structure is derived from CDAR2.Encounter

Summary

Mandatory: 8 elements (6 nested mandatory elements)

Structures

This structure refers to these other structures:

- Service Delivery Location (http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.32)
- Indication (http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.19)
- Encounter Diagnosis (http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.80)

Slices

This structure defines the following Slices:

- The element Encounter.templateId is sliced based on the values of value:root, value:extension
- The element Encounter.participant is sliced based on the values of value:participantRole, value:typeCode
- The element Encounter.entryRelationship is sliced based on the value of value:act

Differential View

This structure is derived from CDAR2.Encounter

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Encounter |  | 1..1 | CDAR2.Encounter |
classCode |  | 1..1 | code | Required Pattern: ENC
moodCode |  | 1..1 | code | Required Pattern: EVN
Slices for templateId |  | 0..* | II | Slice: Unordered, Open by value:root, value:extension
templateId:primary |  | 1..1 | II |
root |  | 1..1 | string | Required Pattern: 2.16.840.1.113883.10.20.22.4.49
extension |  | 1..1 | string | Required Pattern: 2015-08-01
id |  | 1..* | II |
code |  | 1..1 | CD | Binding: EncounterTypeCode (preferred)
originalText |  | 0..1 | ED |
reference |  | 0..1 | TEL |
value | I | 0..1 | uri | 1198-15972: This reference/@value **SHALL** begin with a '#' and **SHALL** point to its corresponding narrative (using the approach defined in CDA Release 2, section 4.3.5.1) (CONF:1198-15972).
translation |  | 0..1 | CD | The translation may exist to map the code of EncounterTypeCode (2.16.840.1.113883.3.88.12.80.32) value set to the code of Encounter Planned (2.16.840.1.113883.11.20.9.52) value set.
effectiveTime |  | 1..1 | IVL_TS |
dischargeDispositionCode | I | 0..1 | CE | The prefix sdtc: SHALL be bound to the namespace “urn:hl7-org:sdtc”. The use of the namespace provides a necessary extension to CDA R2 for the use of the dischargeDispositionCode element XML Namespace: urn:hl7-org:sdtc 1198-32177: This sdtc:dischargeDispositionCode **SHOULD** contain exactly [0..1] *code*, which **SHOULD** be selected from ValueSet 2.16.840.1.113883.3.88.12.80.33 NUBC UB-04 FL17-Patient Status (code system 2.16.840.1.113883.6.301.5) *DYNAMIC* or, if access to NUBC is unavailable, from CodeSystem 2.16.840.1.113883.12.112 HL7 Discharge Disposition (CONF:1198-32177). 1198-32377: This sdtc:dischargeDispositionCode **SHOULD** contain exactly [0..1] *codeSystem*, which **SHOULD** be either CodeSystem: NUBC 2.16.840.1.113883.6.301.5 *OR* CodeSystem: HL7 Discharge Disposition 2.16.840.1.113883.12.112 (CONF:1198-32377).
performer |  | 0..* | Performer2 |
assignedEntity |  | 1..1 | AssignedEntity |
code |  | 0..1 | CE | Binding: Healthcare Provider Taxonomy (preferred)
Slices for participant |  | 0..* | Participant2 | Slice: Unordered, Open by value:participantRole, value:typeCode
participant:location |  | 0..* | Participant2 |
typeCode |  | 1..1 | code | Required Pattern: LOC
participantRole |  | 1..1 | ServiceDeliveryLocation |
Slices for entryRelationship |  | 0..* | Element | Slice: Unordered, Open by value:act
entryRelationship:indication |  | 0..* | Element |
typeCode |  | 1..1 | code | Required Pattern: RSON
observation |  | 1..1 | Indication |
entryRelationship:diagnosis |  | 0..* | Element |
act |  | 1..1 | EncounterDiagnosis |
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Encounter |  | 1..1 | CDAR2.Encounter |
classCode |  | 1..1 | code | Binding: ActClass (required) Fixed Value: ENC
moodCode |  | 1..1 | code | Required Pattern: EVN
realmCode |  | 0..* | CS |
typeId |  | 0..1 | II |
Slices for templateId |  | 0..* | II | Slice: Unordered, Open by value:root, value:extension
templateId:primary |  | 1..1 | II |
nullFlavor |  | 0..1 | code | Binding: NullFlavor (required)
assigningAuthorityName |  | 0..1 | string |
displayable |  | 0..1 | boolean |
root |  | 1..1 | string | Required Pattern: 2.16.840.1.113883.10.20.22.4.49
extension |  | 1..1 | string | Required Pattern: 2015-08-01
id |  | 1..* | II |
code |  | 1..1 | CD | Binding: EncounterTypeCode (preferred)
nullFlavor |  | 0..1 | code | Binding: NullFlavor (required)
code |  | 0..1 | string |
codeSystem |  | 0..1 | string |
codeSystemName |  | 0..1 | string |
codeSystemVersion |  | 0..1 | string |
displayName |  | 0..1 | string |
sdtcValueSet |  | 0..1 | string | XML: valueSet (urn:hl7-org:sdtc)
sdtcValueSetVersion |  | 0..1 | string | XML: valueSetVersion (urn:hl7-org:sdtc)
originalText |  | 0..1 | ED |
nullFlavor |  | 0..1 | code | Binding: NullFlavor (required)
charset |  | 0..1 | code |
compression |  | 0..1 | code | Binding: CompressionAlgorithm (required)
integrityCheck |  | 0..1 | base64Binary |
integrityCheckAlgorithm |  | 0..1 | code | Binding: IntegrityCheckAlgorithm (required)
language |  | 0..1 | code |
mediaType |  | 0..1 | code |
representation |  | 0..1 | code |
data[x] |  | 0..1 |  |
dataString |  |  | string |
dataBase64Binary |  |  | base64Binary |
reference |  | 0..1 | TEL |
nullFlavor |  | 0..1 | code | Binding: NullFlavor (required)
value | I | 0..1 | uri | 1198-15972: This reference/@value **SHALL** begin with a '#' and **SHALL** point to its corresponding narrative (using the approach defined in CDA Release 2, section 4.3.5.1) (CONF:1198-15972).
useablePeriod |  | 0..* |  |
useablePeriod |  |  | IVL_TS |
useablePeriod |  |  | EIVL_TS |
useablePeriod |  |  | PIVL_TS |
useablePeriod |  |  | SXPR_TS |
use |  | 0..* | code | Binding: AddressUse (required)
thumbnail |  | 0..1 | ED |
qualifier |  | 0..* | CR |
translation |  | 0..1 | CD | The translation may exist to map the code of EncounterTypeCode (2.16.840.1.113883.3.88.12.80.32) value set to the code of Encounter Planned (2.16.840.1.113883.11.20.9.52) value set.
text |  | 0..1 | ED |
statusCode |  | 0..1 | CS | Binding: ActStatus (required)
effectiveTime |  | 1..1 | IVL_TS |
dischargeDispositionCode | I | 0..1 | CE | The prefix sdtc: SHALL be bound to the namespace “urn:hl7-org:sdtc”. The use of the namespace provides a necessary extension to CDA R2 for the use of the dischargeDispositionCode element XML Namespace: urn:hl7-org:sdtc 1198-32177: This sdtc:dischargeDispositionCode **SHOULD** contain exactly [0..1] *code*, which **SHOULD** be selected from ValueSet 2.16.840.1.113883.3.88.12.80.33 NUBC UB-04 FL17-Patient Status (code system 2.16.840.1.113883.6.301.5) *DYNAMIC* or, if access to NUBC is unavailable, from CodeSystem 2.16.840.1.113883.12.112 HL7 Discharge Disposition (CONF:1198-32177). 1198-32377: This sdtc:dischargeDispositionCode **SHOULD** contain exactly [0..1] *codeSystem*, which **SHOULD** be either CodeSystem: NUBC 2.16.840.1.113883.6.301.5 *OR* CodeSystem: HL7 Discharge Disposition 2.16.840.1.113883.12.112 (CONF:1198-32377).
priorityCode |  | 0..1 | CE | Binding: ActPriority (extensible)
subject |  | 0..1 | Element |
typeCode |  | 1..1 | code | Binding: ParticipationTargetSubject (required) Fixed Value: SBJ
contextControlCode |  | 1..1 | code | Binding: ContextControl (required) Fixed Value: OP
awarenessCode |  | 0..1 | CE | Binding: TargetAwareness (extensible)
relatedSubject |  | 1..1 | RelatedSubject |
specimen |  | 0..* | Specimen |
performer |  | 0..* | Performer2 |
nullFlavor |  | 0..1 | code | Binding: NullFlavor (required)
typeCode |  | 0..1 | cs | Binding: ParticipationPhysicalPerformer (required) Fixed Value: PRF
realmCode |  | 0..* | CS |
typeId |  | 0..1 | II |
templateId |  | 0..* | II |
functionCode |  | 0..1 | CE | XML Namespace: urn:hl7-org:sdtc
time |  | 0..1 | IVL_TS |
modeCode |  | 0..1 | CE |
assignedEntity |  | 1..1 | AssignedEntity |
classCode |  | 1..1 | code | Binding: RoleClassAssignedEntity (required) Fixed Value: ASSIGNED
templateId |  | 0..* | II |
id |  | 1..* | II |
sdtcIdentifiedBy |  | 0..* | IdentifiedBy | XML: identifiedBy (urn:hl7-org:sdtc)
code |  | 0..1 | CE | Binding: Healthcare Provider Taxonomy (preferred)
addr |  | 0..* | AD |
telecom |  | 0..* | TEL |
assignedPerson |  | 0..1 | Person |
representedOrganization |  | 0..1 | Organization |
author |  | 0..* | Author |
informant |  | 0..* | Element |
typeCode |  | 1..1 | code | Binding: ParticipationInformationGenerator (required) Fixed Value: INF
contextControlCode |  | 1..1 | code | Binding: ContextControl (required) Fixed Value: OP
assignedEntity |  | 0..1 | AssignedEntity |
relatedEntity |  | 0..1 | RelatedEntity |
Slices for participant |  | 0..* | Participant2 | Slice: Unordered, Open by value:participantRole, value:typeCode
participant:location |  | 0..* | Participant2 |
nullFlavor |  | 0..1 | code | Binding: NullFlavor (required)
typeCode |  | 1..1 | code | Binding: ParticipationType (required) Required Pattern: LOC
contextControlCode |  | 0..1 | code | Binding: ContextControl (required) Fixed Value: OP
realmCode |  | 0..* | CS |
typeId |  | 0..1 | II |
templateId |  | 0..* | II |
sdtcFunctionCode |  | 0..1 | CE | XML: functionCode (urn:hl7-org:sdtc)
time |  | 0..1 | IVL_TS |
awarenessCode |  | 0..1 | CE |
participantRole |  | 1..1 | ServiceDeliveryLocation |
Slices for entryRelationship | I | 0..* | Element | Slice: Unordered, Open by value:act
entryRelationship:All Slices |  |  |  | Content/Rules for all slices
typeCode |  | 1..1 | code |
inversionInd |  | 0..1 | boolean |
contextConductionInd |  | 1..1 | boolean |
sequenceNumber |  | 0..1 | INT |
negationInd |  | 0..1 | boolean |
seperatableInd |  | 0..1 | BL |
(Choice of one) |  | 1..1 |  |
observation |  | 0..1 | Observation |
regionOfInterest |  | 0..1 | RegionOfInterest |
observationMedia |  | 0..1 | ObservationMedia |
substanceAdministration |  | 0..1 | SubstanceAdministration |
supply |  | 0..1 | Supply |
procedure |  | 0..1 | Procedure |
encounter |  | 0..1 | Encounter |
organizer |  | 0..1 | Organizer |
act |  | 0..1 | Act |
entryRelationship:indication | I | 0..* | Element |
typeCode |  | 1..1 | code | Required Pattern: RSON
inversionInd |  | 0..1 | boolean |
contextConductionInd |  | 1..1 | boolean |
sequenceNumber |  | 0..1 | INT |
negationInd |  | 0..1 | boolean |
seperatableInd |  | 0..1 | BL |
observation |  | 1..1 | Indication |
entryRelationship:diagnosis | I | 0..* | Element |
typeCode |  | 1..1 | code |
inversionInd |  | 0..1 | boolean |
contextConductionInd |  | 1..1 | boolean |
sequenceNumber |  | 0..1 | INT |
negationInd |  | 0..1 | boolean |
seperatableInd |  | 0..1 | BL |
act |  | 1..1 | EncounterDiagnosis |
reference |  | 0..* | Element |
typeCode |  | 1..1 | code |
seperatableInd |  | 0..1 | BL |
externalAct |  | 0..1 | ExternalAct |
externalObservation |  | 0..1 | ExternalObservation |
externalProcedure |  | 0..1 | ExternalProcedure |
externalDocument |  | 0..1 | ExternalDocument |
precondition |  | 0..* | Precondition |
Documentation for this format

Other representations of profile: CSV, Excel, Schematron

#### Terminology Bindings

Path | Conformance | ValueSet / Code
Encounter.classCode | required | Fixed Value: ENC
Encounter.templateId:primary.nullFlavor | required | NullFlavor
Encounter.code | preferred | EncounterTypeCode
Encounter.code.nullFlavor | required | NullFlavor
Encounter.code.originalText.nullFlavor | required | NullFlavor
Encounter.code.originalText.compression | required | CompressionAlgorithm
Encounter.code.originalText.integrityCheckAlgorithm | required | IntegrityCheckAlgorithm
Encounter.code.originalText.reference.nullFlavor | required | NullFlavor
Encounter.code.originalText.reference.use | required | AddressUse
Encounter.statusCode | required | ActStatus
Encounter.priorityCode | extensible | ActPriority
Encounter.subject.typeCode | required | Fixed Value: SBJ
Encounter.subject.contextControlCode | required | Fixed Value: OP
Encounter.subject.awarenessCode | extensible | TargetAwareness
Encounter.performer.nullFlavor | required | NullFlavor
Encounter.performer.typeCode | required | Fixed Value: PRF
Encounter.performer.assignedEntity.classCode | required | Fixed Value: ASSIGNED
Encounter.performer.assignedEntity.code | preferred | HealthcareProviderTaxonomy
Encounter.informant.typeCode | required | Fixed Value: INF
Encounter.informant.contextControlCode | required | Fixed Value: OP
Encounter.participant:location.nullFlavor | required | NullFlavor
Encounter.participant:location.typeCode | required | Pattern: LOC
Encounter.participant:location.contextControlCode | required | Fixed Value: OP

#### Constraints

Id | Grade | Path | Details | Requirements
1198-15972 | error | Encounter.code.originalText.reference.value | This reference/@value **SHALL** begin with a '#' and **SHALL** point to its corresponding narrative (using the approach defined in CDA Release 2, section 4.3.5.1) (CONF:1198-15972). : |
1198-32177 | warning | Encounter.dischargeDispositionCode | This sdtc:dischargeDispositionCode **SHOULD** contain exactly [0..1] *code*, which **SHOULD** be selected from ValueSet 2.16.840.1.113883.3.88.12.80.33 NUBC UB-04 FL17-Patient Status (code system 2.16.840.1.113883.6.301.5) *DYNAMIC* or, if access to NUBC is unavailable, from CodeSystem 2.16.840.1.113883.12.112 HL7 Discharge Disposition (CONF:1198-32177). : |
1198-32377 | warning | Encounter.dischargeDispositionCode | This sdtc:dischargeDispositionCode **SHOULD** contain exactly [0..1] *codeSystem*, which **SHOULD** be either CodeSystem: NUBC 2.16.840.1.113883.6.301.5 *OR* CodeSystem: HL7 Discharge Disposition 2.16.840.1.113883.12.112 (CONF:1198-32377). : |
enc-er-1 | error | Encounter.entryRelationship | Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act : (observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1 |
enc-er-1 | error | Encounter.entryRelationship:indication | Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act : (observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1 |
enc-er-1 | error | Encounter.entryRelationship:diagnosis | Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act : (observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1 |