description: 'This clinical statement describes an interaction between a patient and clinician. Interactions may include in-person encounters, telephone conversations, and email exchanges.\n\n#### Templates Used\nAlthough open templates may contain any valid CDA content, the following templates are specifically called out by this template:\n\n**Optional EntryRelationships**: [EncounterDiagnosis](StructureDefinition-EncounterDiagnosis.html), [Indication](StructureDefinition-Indication.html), [InterpreterNeededObservation](StructureDefinition-InterpreterNeededObservation.html)' package_name: rs/hl7.cda.us.ccda derivation: constraint name: EncounterActivity type: http://hl7.org/cda/stds/core/StructureDefinition/Encounter elements: entryRelationship: index: 21 slicing: rules: open discriminator: - {path: act, type: profile} - {path: observation, type: profile} min: null slices: indication: match: {} schema: array: true index: 22 elements: typeCode: pattern: {type: code, value: RSON} type: code index: 23 observation: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Observation', index: 24} required: [observation] diagnosis: match: {} schema: short: '𝗨𝗦𝗖𝗗𝗜: Diagnosis' array: true index: 25 elements: act: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Act', index: 26} required: [act] observation: match: {} schema: short: '𝗨𝗦𝗖𝗗𝗜: Interpreter Needed Observation' array: true index: 27 elements: observation: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Observation', index: 28} required: [observation] participant: index: 17 slicing: rules: open discriminator: - {path: participantRole, type: profile} - {path: typeCode, type: value} min: null slices: location: match: {typeCode: LOC} schema: short: '𝗨𝗦𝗖𝗗𝗜: Location' array: true index: 18 elements: typeCode: pattern: {type: code, value: LOC} type: code index: 19 participantRole: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/ParticipantRole', index: 20} classCode: {index: 4} id: {short: '𝗨𝗦𝗖𝗗𝗜: Identifier', index: 6} code: short: '𝗨𝗦𝗖𝗗𝗜: Type' binding: {strength: preferred, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.23'} constraint: should-otext-ref-value: {human: SHOULD contain originalText/reference/@value, source: 'http://hl7.org/cda/us/ccda/StructureDefinition/EncounterActivity', severity: warning, expression: originalText.reference.value.exists()} index: 7 elements: originalText: short: SHOULD reference the portion of narrative corresponding to this code index: 8 elements: reference: constraint: value-starts-octothorpe: {human: 'If reference/@value is present, it SHALL begin with a ''#'' and SHALL point to its corresponding narrative', source: 'http://hl7.org/cda/us/ccda/StructureDefinition/EncounterActivity', severity: error, expression: value.exists() implies value.startsWith('#')} index: 9 moodCode: pattern: {type: code, value: EVN} type: code index: 5 effectiveTime: {short: '𝗨𝗦𝗖𝗗𝗜: Time', index: 12} sdtcDischargeDispositionCode: short: '𝗨𝗦𝗖𝗗𝗜: Disposition' binding: {strength: preferred, valueSet: 'http://terminology.hl7.org/ValueSet/v3-USEncounterDischargeDisposition'} index: 13 templateId: index: 0 slicing: rules: open discriminator: - {path: root, type: value} - {path: extension, type: value} min: 1 slices: encounter-activity: match: {root: 2.16.840.1.113883.10.20.22.4.49, extension: '2015-08-01'} schema: _required: true index: 1 elements: root: pattern: {type: string, value: 2.16.840.1.113883.10.20.22.4.49} type: string index: 2 extension: pattern: {type: string, value: '2015-08-01'} type: string index: 3 required: [extension, root] extensions: {} performer: index: 14 elements: assignedEntity: index: 15 elements: code: binding: {strength: preferred, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1066'} index: 16 text: short: SHOULD reference the portion of section narrative text corresponding to this entry index: 10 elements: reference: constraint: value-starts-octothorpe: {human: 'If reference/@value is present, it SHALL begin with a ''#'' and SHALL point to its corresponding narrative', source: 'http://hl7.org/cda/us/ccda/StructureDefinition/EncounterActivity', severity: error, expression: value.exists() implies value.startsWith('#')} index: 11 package_version: 4.0.0 class: logical kind: logical url: http://hl7.org/cda/us/ccda/StructureDefinition/EncounterActivity base: http://hl7.org/cda/stds/core/StructureDefinition/Encounter version: 4.0.0 required: [code, effectiveTime, id, templateId]