Consolidated CDA Release 2.1 StructureDefinition Publication
2.1 - CI Build United States of America flag

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

Logical Model: Encounter Activity

Official URL: http://hl7.org/cda/us/ccda/StructureDefinition/EncounterActivity Version: 2.1
Draft as of 2023-09-29 Computable Name: EncounterActivity
Other Identifiers: id: 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:

Formal Views of Profile Content

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

This structure is derived from CDAR2.Encounter

NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter CDAR2.EncounterXML Namespace: urn:hl7-org:v3
Elements defined in Ancestors: @classCode, @moodCode, realmCode, typeId, templateId, id, code, text, statusCode, effectiveTime, sdtcDischargeDispositionCode, priorityCode, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition
... classCode 1..1cs
... moodCode 1..1csFixed Value: EVN
... Slices for templateId 1..*IISlice: Unordered, Open by value:root, value:extension
.... templateId:primary 1..1II
..... root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.10.20.22.4.49
..... extension 1..1stRequired Pattern: 2015-08-01
... code 1..1CDBinding: EncounterTypeCode (preferred)
.... originalText 0..1ED
..... reference 0..1TEL
...... value C0..1url1198-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..1CDThe 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..1IVL_TS
... sdtcDischargeDispositionCode C0..1CEThe 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
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*. NOTE: This requires a license from the AHA to access these codes.
1198-32377: This sdtc:dischargeDispositionCode **SHOULD** contain exactly [0..1] *codeSystem*, which **SHOULD** be CodeSystem: NUBC 2.16.840.1.113883.6.301.5.
... performer 0..*Performer2
.... assignedEntity 1..1AssignedEntity
..... code 0..1CEBinding: Healthcare Provider Taxonomy (preferred)
... Slices for participant 0..*Participant2Slice: Unordered, Open by value:participantRole, value:typeCode
.... participant:location 0..*Participant2
..... typeCode 1..1csFixed Value: LOC
..... participantRole 1..1ServiceDeliveryLocationBase for all types and resources
... Slices for entryRelationship 0..*EntryRelationshipSlice: Unordered, Open by value:act
.... entryRelationship:indication 0..*EntryRelationship
..... typeCode 1..1csFixed Value: RSON
..... observation 1..1IndicationBase for all types and resources
.... entryRelationship:diagnosis 0..*EntryRelationship
..... act 1..1EncounterDiagnosisBase for all types and resources

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
Encounter.codepreferredEncounterTypeCode
Encounter.performer.assignedEntity.codepreferredHealthcare Provider Taxonomy (a valid code from http://nucc.org/provider-taxonomy)

Constraints

IdGradePath(s)DetailsRequirements
1198-15972errorEncounter.code.originalText.reference.valueThis 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-32177warningEncounter.sdtcDischargeDispositionCodeThis 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*. NOTE: This requires a license from the AHA to access these codes.
:
1198-32377warningEncounter.sdtcDischargeDispositionCodeThis sdtc:dischargeDispositionCode **SHOULD** contain exactly [0..1] *codeSystem*, which **SHOULD** be CodeSystem: NUBC 2.16.840.1.113883.6.301.5.
:
NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter 1..1CDAR2.EncounterXML Namespace: urn:hl7-org:v3
Elements defined in Ancestors: @classCode, @moodCode, realmCode, typeId, templateId, id, code, text, statusCode, effectiveTime, sdtcDischargeDispositionCode, priorityCode, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition
Base for all types and resources
... @classCode 1..1csBinding: ActClass (required)
Fixed Value: ENC
... @moodCode 1..1csFixed Value: EVN
... Slices for templateId 1..*IISlice: Unordered, Open by value:root, value:extension
.... templateId:primary 1..1II
..... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.10.20.22.4.49
..... @extension 1..1stRequired Pattern: 2015-08-01
... code 1..1CDBinding: EncounterTypeCode (preferred)
.... originalText 0..1ED
..... reference 0..1TEL
...... @value C0..1url1198-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..1CDThe 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..1IVL_TS
... sdtcDischargeDispositionCode C0..1CEXML Namespace: urn:hl7-org:sdtc
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: dischargeDispositionCode (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*. NOTE: This requires a license from the AHA to access these codes.
1198-32377: This sdtc:dischargeDispositionCode **SHOULD** contain exactly [0..1] *codeSystem*, which **SHOULD** be CodeSystem: NUBC 2.16.840.1.113883.6.301.5.
... performer 0..*Performer2
.... assignedEntity 1..1AssignedEntity
..... id 1..*II
..... code 0..1CEBinding: Healthcare Provider Taxonomy (preferred)
... Slices for participant 0..*Participant2Slice: Unordered, Open by value:participantRole, value:typeCode
.... participant:location 0..*Participant2
..... @typeCode 1..1csBinding: ParticipationType (required)
Fixed Value: LOC
..... participantRole 1..1ServiceDeliveryLocationBase for all types and resources
... Slices for entryRelationship 0..*EntryRelationshipSlice: Unordered, Open by value:act
.... entryRelationship:indication 0..*EntryRelationship
..... @typeCode 1..1csBinding: x_ActRelationshipEntryRelationship (required)
Fixed Value: RSON
..... observation 1..1IndicationBase for all types and resources
.... entryRelationship:diagnosis 0..*EntryRelationship
..... @typeCode 1..1csBinding: x_ActRelationshipEntryRelationship (required)
..... act 1..1EncounterDiagnosisBase for all types and resources

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
Encounter.classCoderequiredFixed Value: ENC
Encounter.codepreferredEncounterTypeCode
Encounter.performer.assignedEntity.codepreferredHealthcare Provider Taxonomy (a valid code from http://nucc.org/provider-taxonomy)
Encounter.participant:location.typeCoderequiredFixed Value: LOC
Encounter.entryRelationship:indication.typeCoderequiredFixed Value: RSON
Encounter.entryRelationship:diagnosis.typeCoderequiredXActRelationshipEntryRelationship

Constraints

IdGradePath(s)DetailsRequirements
1198-15972errorEncounter.code.originalText.reference.valueThis 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-32177warningEncounter.sdtcDischargeDispositionCodeThis 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*. NOTE: This requires a license from the AHA to access these codes.
:
1198-32377warningEncounter.sdtcDischargeDispositionCodeThis sdtc:dischargeDispositionCode **SHOULD** contain exactly [0..1] *codeSystem*, which **SHOULD** be CodeSystem: NUBC 2.16.840.1.113883.6.301.5.
:
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter 1..1CDAR2.EncounterXML Namespace: urn:hl7-org:v3
Elements defined in Ancestors: @classCode, @moodCode, realmCode, typeId, templateId, id, code, text, statusCode, effectiveTime, sdtcDischargeDispositionCode, priorityCode, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition
Base for all types and resources
... @classCode 1..1csBinding: ActClass (required)
Fixed Value: ENC
... @moodCode 1..1csFixed Value: EVN
... realmCode 0..*CS
... Slices for templateId 1..*IISlice: Unordered, Open by value:root, value:extension
.... templateId:primary 1..1II
..... @nullFlavor 0..1csBinding: NullFlavor (required)
..... @assigningAuthorityName 0..1st
..... @displayable 0..1bl
..... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.10.20.22.4.49
..... @extension 1..1stRequired Pattern: 2015-08-01
... id 1..*II
... code 1..1CDBinding: EncounterTypeCode (preferred)
.... @nullFlavor 0..1csBinding: NullFlavor (required)
.... @code 0..1cs
.... @codeSystem 0..1oid, uuid, ruid
.... @codeSystemName 0..1st
.... @codeSystemVersion 0..1st
.... @displayName 0..1st
.... @sdtcValueSet 0..1oidXML Namespace: urn:hl7-org:sdtc
XML: valueSet (urn:hl7-org:sdtc)
.... @sdtcValueSetVersion 0..1stXML Namespace: urn:hl7-org:sdtc
XML: valueSetVersion (urn:hl7-org:sdtc)
.... originalText 0..1ED
..... @nullFlavor 0..1csBinding: NullFlavor (required)
..... @charset 0..1cs
..... @compression 0..1csBinding: CompressionAlgorithm (required)
..... @integrityCheck 0..1bin
..... @integrityCheckAlgorithm 0..1csBinding: IntegrityCheckAlgorithm (required)
..... @language 0..1cs
..... @mediaType 0..1cs
..... @representation 0..1cs
..... data[x] 0..1
...... dataStringstring(st)
...... dataBase64Binarybase64Binary(bin)
..... reference 0..1TEL
...... @nullFlavor 0..1csBinding: NullFlavor (required)
...... @value C0..1url1198-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..*
....... useablePeriodIVL_TS
....... useablePeriodEIVL_TS
....... useablePeriodPIVL_TS
....... useablePeriodSXPR_TS
...... @use 0..*csBinding: AddressUse (required)
..... thumbnail 0..1ED
.... qualifier 0..*CR
.... translation 0..1CDThe 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..1ED
... statusCode 0..1CSBinding: ActStatus (required)
... effectiveTime 1..1IVL_TS
... sdtcDischargeDispositionCode C0..1CEXML Namespace: urn:hl7-org:sdtc
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: dischargeDispositionCode (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*. NOTE: This requires a license from the AHA to access these codes.
1198-32377: This sdtc:dischargeDispositionCode **SHOULD** contain exactly [0..1] *codeSystem*, which **SHOULD** be CodeSystem: NUBC 2.16.840.1.113883.6.301.5.
... priorityCode 0..1CEBinding: ActPriority (extensible)
... subject 0..1Subject
... specimen 0..*Specimen
... performer 0..*Performer2
.... @nullFlavor 0..1csBinding: NullFlavor (required)
.... @typeCode 0..1csBinding: ParticipationPhysicalPerformer (required)
Fixed Value: PRF
.... realmCode 0..*CS
.... typeId 0..1II
.... templateId 0..*II
.... sdtcFunctionCode 0..1CEXML Namespace: urn:hl7-org:sdtc
XML: functionCode (urn:hl7-org:sdtc)
.... time 0..1IVL_TS
.... modeCode 0..1CE
.... assignedEntity 1..1AssignedEntity
..... @classCode 0..1csBinding: RoleClassAssignedEntity (required)
Fixed Value: ASSIGNED
..... templateId 0..*II
..... id 1..*II
..... sdtcIdentifiedBy 0..*IdentifiedByXML Namespace: urn:hl7-org:sdtc
XML: identifiedBy (urn:hl7-org:sdtc)
..... code 0..1CEBinding: Healthcare Provider Taxonomy (preferred)
..... addr 0..*AD
..... telecom 0..*TEL
..... assignedPerson 0..1Person
..... representedOrganization 0..1Organization
... author 0..*Author
... informant 0..*Informant
... Slices for participant 0..*Participant2Slice: Unordered, Open by value:participantRole, value:typeCode
.... participant:location 0..*Participant2
..... @nullFlavor 0..1csBinding: NullFlavor (required)
..... @typeCode 1..1csBinding: ParticipationType (required)
Fixed Value: LOC
..... @contextControlCode 0..1csBinding: ContextControl (required)
Fixed Value: OP
..... realmCode 0..*CS
..... typeId 0..1II
..... templateId 0..*II
..... sdtcFunctionCode 0..1CEXML Namespace: urn:hl7-org:sdtc
XML: functionCode (urn:hl7-org:sdtc)
..... time 0..1IVL_TS
..... awarenessCode 0..1CE
..... participantRole 1..1ServiceDeliveryLocationBase for all types and resources
... Slices for entryRelationship 0..*EntryRelationshipSlice: Unordered, Open by value:act
.... entryRelationship:indication 0..*EntryRelationship
..... @nullFlavor 0..1csBinding: NullFlavor (required)
..... realmCode 0..*CS
..... typeId 0..1II
..... templateId 0..*II
..... @typeCode 1..1csBinding: x_ActRelationshipEntryRelationship (required)
Fixed Value: RSON
..... @inversionInd 0..1bl
..... @contextConductionInd 0..1bl
..... @negationInd 0..1bl
..... sequenceNumber 0..1INT
..... seperatableInd 0..1BL
..... act 0..1Act
..... encounter 0..1Encounter
..... observation 1..1IndicationBase for all types and resources
..... observationMedia 0..1ObservationMedia
..... organizer 0..1Organizer
..... procedure 0..1Procedure
..... regionOfInterest 0..1RegionOfInterest
..... substanceAdministration 0..1SubstanceAdministration
..... supply 0..1Supply
.... entryRelationship:diagnosis 0..*EntryRelationship
..... @nullFlavor 0..1csBinding: NullFlavor (required)
..... realmCode 0..*CS
..... typeId 0..1II
..... templateId 0..*II
..... @typeCode 1..1csBinding: x_ActRelationshipEntryRelationship (required)
..... @inversionInd 0..1bl
..... @contextConductionInd 0..1bl
..... @negationInd 0..1bl
..... sequenceNumber 0..1INT
..... seperatableInd 0..1BL
..... act 1..1EncounterDiagnosisBase for all types and resources
..... encounter 0..1Encounter
..... observation 0..1Observation
..... observationMedia 0..1ObservationMedia
..... organizer 0..1Organizer
..... procedure 0..1Procedure
..... regionOfInterest 0..1RegionOfInterest
..... substanceAdministration 0..1SubstanceAdministration
..... supply 0..1Supply
... reference 0..*Reference
... precondition 0..*Precondition

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
Encounter.classCoderequiredFixed Value: ENC
Encounter.templateId:primary.nullFlavorrequiredNullFlavor
Encounter.codepreferredEncounterTypeCode
Encounter.code.nullFlavorrequiredNullFlavor
Encounter.code.originalText.nullFlavorrequiredNullFlavor
Encounter.code.originalText.compressionrequiredCompressionAlgorithm
Encounter.code.originalText.integrityCheckAlgorithmrequiredIntegrityCheckAlgorithm
Encounter.code.originalText.reference.nullFlavorrequiredNullFlavor
Encounter.code.originalText.reference.userequiredAddressUse
Encounter.statusCoderequiredActStatus
Encounter.priorityCodeextensibleActPriority
Encounter.performer.nullFlavorrequiredNullFlavor
Encounter.performer.typeCoderequiredFixed Value: PRF
Encounter.performer.assignedEntity.classCoderequiredFixed Value: ASSIGNED
Encounter.performer.assignedEntity.codepreferredHealthcare Provider Taxonomy (a valid code from http://nucc.org/provider-taxonomy)
Encounter.participant:location.nullFlavorrequiredNullFlavor
Encounter.participant:location.typeCoderequiredFixed Value: LOC
Encounter.participant:location.contextControlCoderequiredFixed Value: OP
Encounter.entryRelationship:indication.nullFlavorrequiredNullFlavor
Encounter.entryRelationship:indication.typeCoderequiredFixed Value: RSON
Encounter.entryRelationship:diagnosis.nullFlavorrequiredNullFlavor
Encounter.entryRelationship:diagnosis.typeCoderequiredXActRelationshipEntryRelationship

Constraints

IdGradePath(s)DetailsRequirements
1198-15972errorEncounter.code.originalText.reference.valueThis 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-32177warningEncounter.sdtcDischargeDispositionCodeThis 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*. NOTE: This requires a license from the AHA to access these codes.
:
1198-32377warningEncounter.sdtcDischargeDispositionCodeThis sdtc:dischargeDispositionCode **SHOULD** contain exactly [0..1] *codeSystem*, which **SHOULD** be CodeSystem: NUBC 2.16.840.1.113883.6.301.5.
:
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())

This structure is derived from CDAR2.Encounter

Summary

Mandatory: 7 elements (3 nested mandatory elements)
Fixed Value: 3 elements

Structures

This structure refers to these other structures:

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter CDAR2.EncounterXML Namespace: urn:hl7-org:v3
Elements defined in Ancestors: @classCode, @moodCode, realmCode, typeId, templateId, id, code, text, statusCode, effectiveTime, sdtcDischargeDispositionCode, priorityCode, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition
... classCode 1..1cs
... moodCode 1..1csFixed Value: EVN
... Slices for templateId 1..*IISlice: Unordered, Open by value:root, value:extension
.... templateId:primary 1..1II
..... root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.10.20.22.4.49
..... extension 1..1stRequired Pattern: 2015-08-01
... code 1..1CDBinding: EncounterTypeCode (preferred)
.... originalText 0..1ED
..... reference 0..1TEL
...... value C0..1url1198-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..1CDThe 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..1IVL_TS
... sdtcDischargeDispositionCode C0..1CEThe 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
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*. NOTE: This requires a license from the AHA to access these codes.
1198-32377: This sdtc:dischargeDispositionCode **SHOULD** contain exactly [0..1] *codeSystem*, which **SHOULD** be CodeSystem: NUBC 2.16.840.1.113883.6.301.5.
... performer 0..*Performer2
.... assignedEntity 1..1AssignedEntity
..... code 0..1CEBinding: Healthcare Provider Taxonomy (preferred)
... Slices for participant 0..*Participant2Slice: Unordered, Open by value:participantRole, value:typeCode
.... participant:location 0..*Participant2
..... typeCode 1..1csFixed Value: LOC
..... participantRole 1..1ServiceDeliveryLocationBase for all types and resources
... Slices for entryRelationship 0..*EntryRelationshipSlice: Unordered, Open by value:act
.... entryRelationship:indication 0..*EntryRelationship
..... typeCode 1..1csFixed Value: RSON
..... observation 1..1IndicationBase for all types and resources
.... entryRelationship:diagnosis 0..*EntryRelationship
..... act 1..1EncounterDiagnosisBase for all types and resources

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
Encounter.codepreferredEncounterTypeCode
Encounter.performer.assignedEntity.codepreferredHealthcare Provider Taxonomy (a valid code from http://nucc.org/provider-taxonomy)

Constraints

IdGradePath(s)DetailsRequirements
1198-15972errorEncounter.code.originalText.reference.valueThis 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-32177warningEncounter.sdtcDischargeDispositionCodeThis 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*. NOTE: This requires a license from the AHA to access these codes.
:
1198-32377warningEncounter.sdtcDischargeDispositionCodeThis sdtc:dischargeDispositionCode **SHOULD** contain exactly [0..1] *codeSystem*, which **SHOULD** be CodeSystem: NUBC 2.16.840.1.113883.6.301.5.
:

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter 1..1CDAR2.EncounterXML Namespace: urn:hl7-org:v3
Elements defined in Ancestors: @classCode, @moodCode, realmCode, typeId, templateId, id, code, text, statusCode, effectiveTime, sdtcDischargeDispositionCode, priorityCode, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition
Base for all types and resources
... @classCode 1..1csBinding: ActClass (required)
Fixed Value: ENC
... @moodCode 1..1csFixed Value: EVN
... Slices for templateId 1..*IISlice: Unordered, Open by value:root, value:extension
.... templateId:primary 1..1II
..... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.10.20.22.4.49
..... @extension 1..1stRequired Pattern: 2015-08-01
... code 1..1CDBinding: EncounterTypeCode (preferred)
.... originalText 0..1ED
..... reference 0..1TEL
...... @value C0..1url1198-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..1CDThe 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..1IVL_TS
... sdtcDischargeDispositionCode C0..1CEXML Namespace: urn:hl7-org:sdtc
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: dischargeDispositionCode (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*. NOTE: This requires a license from the AHA to access these codes.
1198-32377: This sdtc:dischargeDispositionCode **SHOULD** contain exactly [0..1] *codeSystem*, which **SHOULD** be CodeSystem: NUBC 2.16.840.1.113883.6.301.5.
... performer 0..*Performer2
.... assignedEntity 1..1AssignedEntity
..... id 1..*II
..... code 0..1CEBinding: Healthcare Provider Taxonomy (preferred)
... Slices for participant 0..*Participant2Slice: Unordered, Open by value:participantRole, value:typeCode
.... participant:location 0..*Participant2
..... @typeCode 1..1csBinding: ParticipationType (required)
Fixed Value: LOC
..... participantRole 1..1ServiceDeliveryLocationBase for all types and resources
... Slices for entryRelationship 0..*EntryRelationshipSlice: Unordered, Open by value:act
.... entryRelationship:indication 0..*EntryRelationship
..... @typeCode 1..1csBinding: x_ActRelationshipEntryRelationship (required)
Fixed Value: RSON
..... observation 1..1IndicationBase for all types and resources
.... entryRelationship:diagnosis 0..*EntryRelationship
..... @typeCode 1..1csBinding: x_ActRelationshipEntryRelationship (required)
..... act 1..1EncounterDiagnosisBase for all types and resources

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
Encounter.classCoderequiredFixed Value: ENC
Encounter.codepreferredEncounterTypeCode
Encounter.performer.assignedEntity.codepreferredHealthcare Provider Taxonomy (a valid code from http://nucc.org/provider-taxonomy)
Encounter.participant:location.typeCoderequiredFixed Value: LOC
Encounter.entryRelationship:indication.typeCoderequiredFixed Value: RSON
Encounter.entryRelationship:diagnosis.typeCoderequiredXActRelationshipEntryRelationship

Constraints

IdGradePath(s)DetailsRequirements
1198-15972errorEncounter.code.originalText.reference.valueThis 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-32177warningEncounter.sdtcDischargeDispositionCodeThis 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*. NOTE: This requires a license from the AHA to access these codes.
:
1198-32377warningEncounter.sdtcDischargeDispositionCodeThis sdtc:dischargeDispositionCode **SHOULD** contain exactly [0..1] *codeSystem*, which **SHOULD** be CodeSystem: NUBC 2.16.840.1.113883.6.301.5.
:
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter 1..1CDAR2.EncounterXML Namespace: urn:hl7-org:v3
Elements defined in Ancestors: @classCode, @moodCode, realmCode, typeId, templateId, id, code, text, statusCode, effectiveTime, sdtcDischargeDispositionCode, priorityCode, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition
Base for all types and resources
... @classCode 1..1csBinding: ActClass (required)
Fixed Value: ENC
... @moodCode 1..1csFixed Value: EVN
... realmCode 0..*CS
... Slices for templateId 1..*IISlice: Unordered, Open by value:root, value:extension
.... templateId:primary 1..1II
..... @nullFlavor 0..1csBinding: NullFlavor (required)
..... @assigningAuthorityName 0..1st
..... @displayable 0..1bl
..... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.10.20.22.4.49
..... @extension 1..1stRequired Pattern: 2015-08-01
... id 1..*II
... code 1..1CDBinding: EncounterTypeCode (preferred)
.... @nullFlavor 0..1csBinding: NullFlavor (required)
.... @code 0..1cs
.... @codeSystem 0..1oid, uuid, ruid
.... @codeSystemName 0..1st
.... @codeSystemVersion 0..1st
.... @displayName 0..1st
.... @sdtcValueSet 0..1oidXML Namespace: urn:hl7-org:sdtc
XML: valueSet (urn:hl7-org:sdtc)
.... @sdtcValueSetVersion 0..1stXML Namespace: urn:hl7-org:sdtc
XML: valueSetVersion (urn:hl7-org:sdtc)
.... originalText 0..1ED
..... @nullFlavor 0..1csBinding: NullFlavor (required)
..... @charset 0..1cs
..... @compression 0..1csBinding: CompressionAlgorithm (required)
..... @integrityCheck 0..1bin
..... @integrityCheckAlgorithm 0..1csBinding: IntegrityCheckAlgorithm (required)
..... @language 0..1cs
..... @mediaType 0..1cs
..... @representation 0..1cs
..... data[x] 0..1
...... dataStringstring(st)
...... dataBase64Binarybase64Binary(bin)
..... reference 0..1TEL
...... @nullFlavor 0..1csBinding: NullFlavor (required)
...... @value C0..1url1198-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..*
....... useablePeriodIVL_TS
....... useablePeriodEIVL_TS
....... useablePeriodPIVL_TS
....... useablePeriodSXPR_TS
...... @use 0..*csBinding: AddressUse (required)
..... thumbnail 0..1ED
.... qualifier 0..*CR
.... translation 0..1CDThe 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..1ED
... statusCode 0..1CSBinding: ActStatus (required)
... effectiveTime 1..1IVL_TS
... sdtcDischargeDispositionCode C0..1CEXML Namespace: urn:hl7-org:sdtc
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: dischargeDispositionCode (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*. NOTE: This requires a license from the AHA to access these codes.
1198-32377: This sdtc:dischargeDispositionCode **SHOULD** contain exactly [0..1] *codeSystem*, which **SHOULD** be CodeSystem: NUBC 2.16.840.1.113883.6.301.5.
... priorityCode 0..1CEBinding: ActPriority (extensible)
... subject 0..1Subject
... specimen 0..*Specimen
... performer 0..*Performer2
.... @nullFlavor 0..1csBinding: NullFlavor (required)
.... @typeCode 0..1csBinding: ParticipationPhysicalPerformer (required)
Fixed Value: PRF
.... realmCode 0..*CS
.... typeId 0..1II
.... templateId 0..*II
.... sdtcFunctionCode 0..1CEXML Namespace: urn:hl7-org:sdtc
XML: functionCode (urn:hl7-org:sdtc)
.... time 0..1IVL_TS
.... modeCode 0..1CE
.... assignedEntity 1..1AssignedEntity
..... @classCode 0..1csBinding: RoleClassAssignedEntity (required)
Fixed Value: ASSIGNED
..... templateId 0..*II
..... id 1..*II
..... sdtcIdentifiedBy 0..*IdentifiedByXML Namespace: urn:hl7-org:sdtc
XML: identifiedBy (urn:hl7-org:sdtc)
..... code 0..1CEBinding: Healthcare Provider Taxonomy (preferred)
..... addr 0..*AD
..... telecom 0..*TEL
..... assignedPerson 0..1Person
..... representedOrganization 0..1Organization
... author 0..*Author
... informant 0..*Informant
... Slices for participant 0..*Participant2Slice: Unordered, Open by value:participantRole, value:typeCode
.... participant:location 0..*Participant2
..... @nullFlavor 0..1csBinding: NullFlavor (required)
..... @typeCode 1..1csBinding: ParticipationType (required)
Fixed Value: LOC
..... @contextControlCode 0..1csBinding: ContextControl (required)
Fixed Value: OP
..... realmCode 0..*CS
..... typeId 0..1II
..... templateId 0..*II
..... sdtcFunctionCode 0..1CEXML Namespace: urn:hl7-org:sdtc
XML: functionCode (urn:hl7-org:sdtc)
..... time 0..1IVL_TS
..... awarenessCode 0..1CE
..... participantRole 1..1ServiceDeliveryLocationBase for all types and resources
... Slices for entryRelationship 0..*EntryRelationshipSlice: Unordered, Open by value:act
.... entryRelationship:indication 0..*EntryRelationship
..... @nullFlavor 0..1csBinding: NullFlavor (required)
..... realmCode 0..*CS
..... typeId 0..1II
..... templateId 0..*II
..... @typeCode 1..1csBinding: x_ActRelationshipEntryRelationship (required)
Fixed Value: RSON
..... @inversionInd 0..1bl
..... @contextConductionInd 0..1bl
..... @negationInd 0..1bl
..... sequenceNumber 0..1INT
..... seperatableInd 0..1BL
..... act 0..1Act
..... encounter 0..1Encounter
..... observation 1..1IndicationBase for all types and resources
..... observationMedia 0..1ObservationMedia
..... organizer 0..1Organizer
..... procedure 0..1Procedure
..... regionOfInterest 0..1RegionOfInterest
..... substanceAdministration 0..1SubstanceAdministration
..... supply 0..1Supply
.... entryRelationship:diagnosis 0..*EntryRelationship
..... @nullFlavor 0..1csBinding: NullFlavor (required)
..... realmCode 0..*CS
..... typeId 0..1II
..... templateId 0..*II
..... @typeCode 1..1csBinding: x_ActRelationshipEntryRelationship (required)
..... @inversionInd 0..1bl
..... @contextConductionInd 0..1bl
..... @negationInd 0..1bl
..... sequenceNumber 0..1INT
..... seperatableInd 0..1BL
..... act 1..1EncounterDiagnosisBase for all types and resources
..... encounter 0..1Encounter
..... observation 0..1Observation
..... observationMedia 0..1ObservationMedia
..... organizer 0..1Organizer
..... procedure 0..1Procedure
..... regionOfInterest 0..1RegionOfInterest
..... substanceAdministration 0..1SubstanceAdministration
..... supply 0..1Supply
... reference 0..*Reference
... precondition 0..*Precondition

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
Encounter.classCoderequiredFixed Value: ENC
Encounter.templateId:primary.nullFlavorrequiredNullFlavor
Encounter.codepreferredEncounterTypeCode
Encounter.code.nullFlavorrequiredNullFlavor
Encounter.code.originalText.nullFlavorrequiredNullFlavor
Encounter.code.originalText.compressionrequiredCompressionAlgorithm
Encounter.code.originalText.integrityCheckAlgorithmrequiredIntegrityCheckAlgorithm
Encounter.code.originalText.reference.nullFlavorrequiredNullFlavor
Encounter.code.originalText.reference.userequiredAddressUse
Encounter.statusCoderequiredActStatus
Encounter.priorityCodeextensibleActPriority
Encounter.performer.nullFlavorrequiredNullFlavor
Encounter.performer.typeCoderequiredFixed Value: PRF
Encounter.performer.assignedEntity.classCoderequiredFixed Value: ASSIGNED
Encounter.performer.assignedEntity.codepreferredHealthcare Provider Taxonomy (a valid code from http://nucc.org/provider-taxonomy)
Encounter.participant:location.nullFlavorrequiredNullFlavor
Encounter.participant:location.typeCoderequiredFixed Value: LOC
Encounter.participant:location.contextControlCoderequiredFixed Value: OP
Encounter.entryRelationship:indication.nullFlavorrequiredNullFlavor
Encounter.entryRelationship:indication.typeCoderequiredFixed Value: RSON
Encounter.entryRelationship:diagnosis.nullFlavorrequiredNullFlavor
Encounter.entryRelationship:diagnosis.typeCoderequiredXActRelationshipEntryRelationship

Constraints

IdGradePath(s)DetailsRequirements
1198-15972errorEncounter.code.originalText.reference.valueThis 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-32177warningEncounter.sdtcDischargeDispositionCodeThis 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*. NOTE: This requires a license from the AHA to access these codes.
:
1198-32377warningEncounter.sdtcDischargeDispositionCodeThis sdtc:dischargeDispositionCode **SHOULD** contain exactly [0..1] *codeSystem*, which **SHOULD** be CodeSystem: NUBC 2.16.840.1.113883.6.301.5.
:
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())

This structure is derived from CDAR2.Encounter

Summary

Mandatory: 7 elements (3 nested mandatory elements)
Fixed Value: 3 elements

Structures

This structure refers to these other structures:

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

 

Other representations of profile: CSV, Excel