description: This optional class represents the setting of the clinical encounter during which the documented act(s) or ServiceEvent occurred. Documents are not necessarily generated during an encounter, such as when a clinician, in response to an abnormal lab result, attempts to contact the patient but can't, and writes a Progress Note.\n\nIn some cases, the setting of the encounter is inherent in the ClinicalDocument.code, such as where ClinicalDocument.code is \"Diabetes Clinic Progress Note\". The setting of an encounter can also be transmitted in the HealthCareFacility.code attribute. If HealthCareFacility.code is sent, it should be equivalent to or further specialize the value inherent in the ClinicalDocument.code (such as where the ClinicalDocument.code is simply \"Clinic Progress Note\" and the value of HealthCareFacility.code is \"cardiology clinic\"), and shall not conflict with the value inherent in the ClinicalDocument.code, as such a conflict would constitute an ambiguous situation.\n\nEncompassingEncounter.dischargeDispositionCode can be used to depict the disposition of the patient at the time of hospital discharge (e.g., discharged to home, expired, against medical advice, etc.). package_name: hl7.cda.uv.core derivation: specialization name: EncompassingEncounter type: http://hl7.org/cda/stds/core/StructureDefinition/EncompassingEncounter elements: responsibleParty: type: http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot index: 7 elements: typeCode: type: code binding: {strength: required, valueSet: 'http://hl7.org/cda/stds/core/ValueSet/CDAParticipationType'} pattern: {type: Code, value: RESP} representation: [xmlAttr] index: 8 assignedEntity: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/AssignedEntity', index: 9} required: [assignedEntity] sdtcAdmissionReferralSourceCode: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/CE', index: 5} classCode: type: code binding: {strength: required, valueSet: 'http://hl7.org/cda/stds/core/ValueSet/CDAActClass'} pattern: {type: Code, value: ENC} representation: [xmlAttr] index: 0 dischargeDispositionCode: type: http://hl7.org/cda/stds/core/StructureDefinition/CE binding: {strength: example, valueSet: 'http://terminology.hl7.org/ValueSet/v3-USEncounterDischargeDisposition'} index: 6 id: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/II', array: true, index: 2} code: type: http://hl7.org/cda/stds/core/StructureDefinition/CE binding: {strength: example, valueSet: 'http://terminology.hl7.org/ValueSet/v3-ActEncounterCode'} index: 3 moodCode: type: code binding: {strength: required, valueSet: 'http://hl7.org/cda/stds/core/ValueSet/CDAActMood'} pattern: {type: Code, value: EVN} representation: [xmlAttr] index: 1 effectiveTime: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS', index: 4} location: type: http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot index: 11 elements: typeCode: type: code binding: {strength: required, valueSet: 'http://terminology.hl7.org/ValueSet/v3-ParticipationTargetLocation'} pattern: {type: Code, value: LOC} representation: [xmlAttr] index: 12 healthCareFacility: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/HealthCareFacility', index: 13} required: [healthCareFacility] encounterParticipant: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/EncounterParticipant', array: true, index: 10} package_version: 2.0.1-sd class: logical kind: logical url: http://hl7.org/cda/stds/core/StructureDefinition/EncompassingEncounter base: http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot version: 2.0.1-sd required: [effectiveTime]