description: This clinical statement describes an interaction between a patient and clinician. Interactions may include in-person encounters, telephone conversations, and email exchanges. package_name: hl7.cda.us.ccda derivation: constraint name: EncounterActivity type: http://hl7.org/cda/stds/core/StructureDefinition/Encounter elements: entryRelationship: index: 22 slicing: rules: open discriminator: - {path: act, type: profile} - {path: observation, type: profile} min: null slices: indication: match: {} schema: array: true index: 23 elements: typeCode: pattern: {type: Code, value: RSON} index: 24 observation: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Observation', index: 25} required: [observation] diagnosis: match: {} schema: short: (USCDI) Diagnosis array: true index: 26 elements: act: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Act', index: 27} required: [act] participant: index: 18 slicing: rules: open discriminator: - {path: participantRole, type: profile} - {path: typeCode, type: value} min: null slices: location: match: {typeCode: LOC} schema: short: (USCDI) Location array: true index: 19 elements: typeCode: pattern: {type: Code, value: LOC} index: 20 participantRole: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/ParticipantRole', index: 21} classCode: {index: 4} id: {short: (USCDI) Identifier, index: 6} code: short: (USCDI) Type binding: {strength: preferred, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.32'} 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 translation: short: The translation may exist to provide an Encounter Planned code that is equivalent or narrower than the EncounterTypeCode code. binding: {strength: example, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.52'} index: 10 moodCode: pattern: {type: Code, value: EVN} index: 5 effectiveTime: {short: (USCDI) Time, index: 13} sdtcDischargeDispositionCode: short: (USCDI) Disposition binding: {strength: preferred, valueSet: 'http://hl7.org/cda/us/ccda/ValueSet/2.16.840.1.113883.3.88.12.80.33'} index: 14 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} index: 2 extension: pattern: {type: String, value: '2015-08-01'} index: 3 required: [root, extension] extensions: {} performer: index: 15 elements: assignedEntity: index: 16 elements: code: binding: {strength: preferred, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1066'} index: 17 text: short: SHOULD reference the portion of section narrative text corresponding to this entry index: 11 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: 12 package_version: 3.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: 3.0.0 required: [id, effectiveTime, templateId, code]