description: Encounter is an interaction between a patient and healthcare provider(s) to provide healthcare service(s) or assess a patient's health status. There are many types of encounters (such as ambulatory, inpatient, home visits, emergency and the like) which is the reason why the resource encompasses the lifecycle from pre-admission to the actual encounter (for ambulatory encounters) and admission, stay and discharge (for inpatient encounters). Encounter is primarily used to record information about the actual activities that occurred, where Appointment is used to record planned activities. package_name: rs/ee.fhir.base derivation: constraint name: EEBaseEncounter type: Encounter elements: admission: elements: origin: type: Reference refers: ['https://fhir.ee/base/StructureDefinition/ee-location', 'https://fhir.ee/base/StructureDefinition/ee-organization'] index: 13 destination: type: Reference refers: ['https://fhir.ee/base/StructureDefinition/ee-location', 'https://fhir.ee/base/StructureDefinition/ee-organization'] index: 14 serviceProvider: type: Reference refers: ['https://fhir.ee/base/StructureDefinition/ee-organization'] index: 10 episodeOfCare: type: Reference refers: ['https://fhir.ee/base/StructureDefinition/ee-episode-of-care'] index: 8 participant: elements: actor: type: Reference refers: ['https://fhir.ee/base/StructureDefinition/ee-practitioner', 'https://fhir.ee/base/StructureDefinition/ee-practitioner-role', 'https://fhir.ee/base/StructureDefinition/ee-related-person'] index: 11 serviceType: {type: CodeableReference, index: 6} reason: elements: value: {type: CodeableReference, index: 12} extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: modeOfArrival: match: {url: null} schema: {type: Extension, url: 'https://fhir.ee/base/StructureDefinition/ee-mode-of-arrival', index: 1} min: 0 max: 1 associatedEncounter: match: {url: null} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter', index: 2} min: 0 max: 1 priority: binding: {strength: extensible, valueSet: 'https://fhir.ee/ValueSet/act-priority'} index: 5 status: {mustSupport: true, index: 3} class: binding: {strength: extensible, valueSet: 'https://fhir.ee/ValueSet/encounter-class'} mustSupport: true index: 4 partOf: type: Reference short: Reference to previous encounter refers: ['https://fhir.ee/base/StructureDefinition/ee-encounter'] index: 9 location: elements: location: type: Reference refers: ['https://fhir.ee/base/StructureDefinition/ee-location'] index: 15 subject: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'https://fhir.ee/base/StructureDefinition/ee-patient'] index: 7 package_version: 1.1.2 extensions: modeOfArrival: {url: 'https://fhir.ee/base/StructureDefinition/ee-mode-of-arrival', min: 0, max: 1, type: Extension, index: 1} associatedEncounter: {url: 'http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter', min: 0, max: 1, type: Extension, index: 2} class: profile kind: resource url: https://fhir.ee/base/StructureDefinition/ee-encounter base: http://hl7.org/fhir/StructureDefinition/Encounter version: 1.1.2