This page is part of the US Core (v3.0.0: STU3) based on FHIR R4. The current version which supercedes this version is 5.0.1. For a full list of available versions, see the Directory of published versions
StructureDefinition-us-core-encounter
This profile sets minimum expectations for the Encounter resource to record, search and fetch basic encounter information for an individual patient. It identifies which core elements, extensions, vocabularies and value sets SHALL be present in the resource when using this profile.
Example Usage Scenarios:
The following are example usage scenarios for the US Core Encounter profile:
- Query for a specific patient encounter
- Query for recent patient encounters
- Record or update an encounter
Mandatory and Must Support Data Elements
The following data-elements are mandatory (i.e data MUST be present) or must be supported if the data is present in the sending system (Must Support definition). They are presented below in a simple human-readable explanation. Profile specific guidance and examples are provided as well. The Formal Profile Definition below provides the formal summary, definitions, and terminology requirements.
Each Encounter must have:
- A status
- An classification such as inpatient, outpatient or emergency
- An encounter type
- abs patient
Each Encounter must support:
- An encounter identifier
- Providers involved in the encounter
- When the encounter occurred
- Reason for the visit
- The discharge disposition
- Where the encounter occurred
Profile specific implementation guidance:
- To search for an encounter diagnosis, query for Condition resources that reference the Encounter of interest and have a category of
encounter-diagnosis
. An example search is shown in the Condition Quick Start section.
Examples
Formal Views of Profile Content
Description of Profiles, Differentials, and Snapshots.
The official URL for this profile is:
http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter
Published on Tue May 21 00:00:00 EDT 2019 as active by the HL7 US Realm Steering Committee.
This profile builds on Encounter
Encounter
Summary of the Mandatory Requirements
- A code in
Encounter.status
with a required binding to EncounterStatus - A Coding in
Encounter.class
with an extensible binding to V3 Value SetActEncounterCode - One or more CodeableConcepts in
Encounter.type
with an extensible binding to US Core Encounter Type - A Patient Reference in
Encounter.subject
Summary of the Must Support Requirements
- One or more Identifiers in
Encounter.identifier
- which must have an uri value in
Encounter.identifier.system
- which must have a string value in
Encounter.identifier.value
- which must have an uri value in
- One or more Participants in
Encounter.participant
- which should have one or more CodeableConcept values in
Encounter.participant.type
with an extensible binding to Participant type - which should have a Period value in
Encounter.participant.period
- which should have a Individual Reference value in
Encounter.participant.individual
- which should have one or more CodeableConcept values in
- A Period in
Encounter.period
- One or more CodeableConcepts in
Encounter.reasonCode
with a preferred binding to Encounter Reason Codes - A Hospitalization in
Encounter.hospitalization
- which should have a CodeableConcept value in
Encounter.hospitalization.dischargeDisposition
with an example binding to Discharge disposition
- which should have a CodeableConcept value in
- One or more Locations in
Encounter.location
- which must have a Location Reference value in
Encounter.location.location
- which must have a Location Reference value in
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Encounter | 0..* | |||
identifier | S | 0..* | Identifier | |
system | S | 1..1 | uri | |
value | S | 1..1 | string | |
status | S | 1..1 | code | |
class | S | 1..1 | Coding | |
type | S | 1..* | CodeableConcept | Binding: US Core Encounter Type (extensible) |
subject | S | 1..1 | Reference(US Core Patient Profile) | |
participant | S | 0..* | BackboneElement | |
type | S | 0..* | CodeableConcept | |
period | S | 0..1 | Period | |
individual | S | 0..1 | Reference(US Core Practitioner Profile) | |
period | S | 0..1 | Period | |
reasonCode | S | 0..* | CodeableConcept | |
hospitalization | S | 0..1 | BackboneElement | |
dischargeDisposition | S | 0..1 | CodeableConcept | |
location | S | 0..* | BackboneElement | |
location | S | 1..1 | Reference(US Core Location Profile) | |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Encounter | I | 0..* | An interaction during which services are provided to the patient | |
id | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages | |
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | SΣ | 0..* | Identifier | Identifier(s) by which this encounter is known |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required) |
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible) |
system | SΣ | 1..1 | uri | The namespace for the identifier value Example General': http://www.acme.com/identifiers/patient |
value | SΣ | 1..1 | string | The value that is unique Example General': 123456 |
period | Σ | 0..1 | Period | Time period when id is/was valid for use |
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) |
status | ?!SΣ | 1..1 | code | planned | arrived | triaged | in-progress | onleave | finished | cancelled + Binding: EncounterStatus (required) |
statusHistory | I | 0..* | BackboneElement | List of past encounter statuses |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
status | 1..1 | code | planned | arrived | triaged | in-progress | onleave | finished | cancelled + Binding: EncounterStatus (required) | |
period | 1..1 | Period | The time that the episode was in the specified status | |
class | SΣ | 1..1 | Coding | Classification of patient encounter Binding: V3 Value SetActEncounterCode (extensible) |
classHistory | I | 0..* | BackboneElement | List of past encounter classes |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
class | 1..1 | Coding | inpatient | outpatient | ambulatory | emergency + Binding: V3 Value SetActEncounterCode (extensible) | |
period | 1..1 | Period | The time that the episode was in the specified class | |
type | SΣ | 1..* | CodeableConcept | Specific type of encounter Binding: US Core Encounter Type (extensible) |
serviceType | Σ | 0..1 | CodeableConcept | Specific type of service Binding: ServiceType (example) |
priority | 0..1 | CodeableConcept | Indicates the urgency of the encounter Binding: v3 Code System ActPriority (example) | |
subject | SΣ | 1..1 | Reference(US Core Patient Profile) | The patient or group present at the encounter |
episodeOfCare | Σ | 0..* | Reference(EpisodeOfCare) | Episode(s) of care that this encounter should be recorded against |
basedOn | 0..* | Reference(ServiceRequest) | The ServiceRequest that initiated this encounter | |
participant | SΣI | 0..* | BackboneElement | List of participants involved in the encounter |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
type | SΣ | 0..* | CodeableConcept | Role of participant in encounter Binding: ParticipantType (extensible) |
period | S | 0..1 | Period | Period of time during the encounter that the participant participated |
individual | SΣ | 0..1 | Reference(US Core Practitioner Profile) | Persons involved in the encounter other than the patient |
appointment | Σ | 0..* | Reference(Appointment) | The appointment that scheduled this encounter |
period | S | 0..1 | Period | The start and end time of the encounter |
length | 0..1 | Duration | Quantity of time the encounter lasted (less time absent) | |
reasonCode | SΣ | 0..* | CodeableConcept | Coded reason the encounter takes place Binding: EncounterReasonCodes (preferred) |
reasonReference | Σ | 0..* | Reference(Condition | Procedure | Observation | ImmunizationRecommendation) | Reason the encounter takes place (reference) |
diagnosis | ΣI | 0..* | BackboneElement | The list of diagnosis relevant to this encounter |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
condition | Σ | 1..1 | Reference(Condition | Procedure) | The diagnosis or procedure relevant to the encounter |
use | 0..1 | CodeableConcept | Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …) Binding: DiagnosisRole (preferred) | |
rank | 0..1 | positiveInt | Ranking of the diagnosis (for each role type) | |
account | 0..* | Reference(Account) | The set of accounts that may be used for billing for this Encounter | |
hospitalization | SI | 0..1 | BackboneElement | Details about the admission to a healthcare service |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
preAdmissionIdentifier | 0..1 | Identifier | Pre-admission identifier | |
origin | 0..1 | Reference(Location | Organization) | The location/organization from which the patient came before admission | |
admitSource | 0..1 | CodeableConcept | From where patient was admitted (physician referral, transfer) Binding: AdmitSource (preferred) | |
reAdmission | 0..1 | CodeableConcept | The type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission Binding: v2 RE-ADMISSION INDICATOR (example) | |
dietPreference | 0..* | CodeableConcept | Diet preferences reported by the patient Binding: Diet (example) | |
specialCourtesy | 0..* | CodeableConcept | Special courtesies (VIP, board member) Binding: SpecialCourtesy (preferred) | |
specialArrangement | 0..* | CodeableConcept | Wheelchair, translator, stretcher, etc. Binding: SpecialArrangements (preferred) | |
destination | 0..1 | Reference(Location | Organization) | Location/organization to which the patient is discharged | |
dischargeDisposition | S | 0..1 | CodeableConcept | Category or kind of location after discharge Binding: DischargeDisposition (example) |
location | SI | 0..* | BackboneElement | List of locations where the patient has been |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
location | S | 1..1 | Reference(US Core Location Profile) | Location the encounter takes place |
status | 0..1 | code | planned | active | reserved | completed Binding: EncounterLocationStatus (required) | |
physicalType | 0..1 | CodeableConcept | The physical type of the location (usually the level in the location hierachy - bed room ward etc.) Binding: LocationType (example) | |
period | 0..1 | Period | Time period during which the patient was present at the location | |
serviceProvider | 0..1 | Reference(Organization) | The organization (facility) responsible for this encounter | |
partOf | 0..1 | Reference(Encounter) | Another Encounter this encounter is part of | |
Documentation for this format |
Encounter
Summary of the Mandatory Requirements
- A code in
Encounter.status
with a required binding to EncounterStatus - A Coding in
Encounter.class
with an extensible binding to V3 Value SetActEncounterCode - One or more CodeableConcepts in
Encounter.type
with an extensible binding to US Core Encounter Type - A Patient Reference in
Encounter.subject
Summary of the Must Support Requirements
- One or more Identifiers in
Encounter.identifier
- which must have an uri value in
Encounter.identifier.system
- which must have a string value in
Encounter.identifier.value
- which must have an uri value in
- One or more Participants in
Encounter.participant
- which should have one or more CodeableConcept values in
Encounter.participant.type
with an extensible binding to Participant type - which should have a Period value in
Encounter.participant.period
- which should have a Individual Reference value in
Encounter.participant.individual
- which should have one or more CodeableConcept values in
- A Period in
Encounter.period
- One or more CodeableConcepts in
Encounter.reasonCode
with a preferred binding to Encounter Reason Codes - A Hospitalization in
Encounter.hospitalization
- which should have a CodeableConcept value in
Encounter.hospitalization.dischargeDisposition
with an example binding to Discharge disposition
- which should have a CodeableConcept value in
- One or more Locations in
Encounter.location
- which must have a Location Reference value in
Encounter.location.location
- which must have a Location Reference value in
Differential View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Encounter | 0..* | |||
identifier | S | 0..* | Identifier | |
system | S | 1..1 | uri | |
value | S | 1..1 | string | |
status | S | 1..1 | code | |
class | S | 1..1 | Coding | |
type | S | 1..* | CodeableConcept | Binding: US Core Encounter Type (extensible) |
subject | S | 1..1 | Reference(US Core Patient Profile) | |
participant | S | 0..* | BackboneElement | |
type | S | 0..* | CodeableConcept | |
period | S | 0..1 | Period | |
individual | S | 0..1 | Reference(US Core Practitioner Profile) | |
period | S | 0..1 | Period | |
reasonCode | S | 0..* | CodeableConcept | |
hospitalization | S | 0..1 | BackboneElement | |
dischargeDisposition | S | 0..1 | CodeableConcept | |
location | S | 0..* | BackboneElement | |
location | S | 1..1 | Reference(US Core Location Profile) | |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Encounter | I | 0..* | An interaction during which services are provided to the patient | |
id | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages | |
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | SΣ | 0..* | Identifier | Identifier(s) by which this encounter is known |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required) |
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible) |
system | SΣ | 1..1 | uri | The namespace for the identifier value Example General': http://www.acme.com/identifiers/patient |
value | SΣ | 1..1 | string | The value that is unique Example General': 123456 |
period | Σ | 0..1 | Period | Time period when id is/was valid for use |
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) |
status | ?!SΣ | 1..1 | code | planned | arrived | triaged | in-progress | onleave | finished | cancelled + Binding: EncounterStatus (required) |
statusHistory | I | 0..* | BackboneElement | List of past encounter statuses |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
status | 1..1 | code | planned | arrived | triaged | in-progress | onleave | finished | cancelled + Binding: EncounterStatus (required) | |
period | 1..1 | Period | The time that the episode was in the specified status | |
class | SΣ | 1..1 | Coding | Classification of patient encounter Binding: V3 Value SetActEncounterCode (extensible) |
classHistory | I | 0..* | BackboneElement | List of past encounter classes |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
class | 1..1 | Coding | inpatient | outpatient | ambulatory | emergency + Binding: V3 Value SetActEncounterCode (extensible) | |
period | 1..1 | Period | The time that the episode was in the specified class | |
type | SΣ | 1..* | CodeableConcept | Specific type of encounter Binding: US Core Encounter Type (extensible) |
serviceType | Σ | 0..1 | CodeableConcept | Specific type of service Binding: ServiceType (example) |
priority | 0..1 | CodeableConcept | Indicates the urgency of the encounter Binding: v3 Code System ActPriority (example) | |
subject | SΣ | 1..1 | Reference(US Core Patient Profile) | The patient or group present at the encounter |
episodeOfCare | Σ | 0..* | Reference(EpisodeOfCare) | Episode(s) of care that this encounter should be recorded against |
basedOn | 0..* | Reference(ServiceRequest) | The ServiceRequest that initiated this encounter | |
participant | SΣI | 0..* | BackboneElement | List of participants involved in the encounter |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
type | SΣ | 0..* | CodeableConcept | Role of participant in encounter Binding: ParticipantType (extensible) |
period | S | 0..1 | Period | Period of time during the encounter that the participant participated |
individual | SΣ | 0..1 | Reference(US Core Practitioner Profile) | Persons involved in the encounter other than the patient |
appointment | Σ | 0..* | Reference(Appointment) | The appointment that scheduled this encounter |
period | S | 0..1 | Period | The start and end time of the encounter |
length | 0..1 | Duration | Quantity of time the encounter lasted (less time absent) | |
reasonCode | SΣ | 0..* | CodeableConcept | Coded reason the encounter takes place Binding: EncounterReasonCodes (preferred) |
reasonReference | Σ | 0..* | Reference(Condition | Procedure | Observation | ImmunizationRecommendation) | Reason the encounter takes place (reference) |
diagnosis | ΣI | 0..* | BackboneElement | The list of diagnosis relevant to this encounter |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
condition | Σ | 1..1 | Reference(Condition | Procedure) | The diagnosis or procedure relevant to the encounter |
use | 0..1 | CodeableConcept | Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …) Binding: DiagnosisRole (preferred) | |
rank | 0..1 | positiveInt | Ranking of the diagnosis (for each role type) | |
account | 0..* | Reference(Account) | The set of accounts that may be used for billing for this Encounter | |
hospitalization | SI | 0..1 | BackboneElement | Details about the admission to a healthcare service |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
preAdmissionIdentifier | 0..1 | Identifier | Pre-admission identifier | |
origin | 0..1 | Reference(Location | Organization) | The location/organization from which the patient came before admission | |
admitSource | 0..1 | CodeableConcept | From where patient was admitted (physician referral, transfer) Binding: AdmitSource (preferred) | |
reAdmission | 0..1 | CodeableConcept | The type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission Binding: v2 RE-ADMISSION INDICATOR (example) | |
dietPreference | 0..* | CodeableConcept | Diet preferences reported by the patient Binding: Diet (example) | |
specialCourtesy | 0..* | CodeableConcept | Special courtesies (VIP, board member) Binding: SpecialCourtesy (preferred) | |
specialArrangement | 0..* | CodeableConcept | Wheelchair, translator, stretcher, etc. Binding: SpecialArrangements (preferred) | |
destination | 0..1 | Reference(Location | Organization) | Location/organization to which the patient is discharged | |
dischargeDisposition | S | 0..1 | CodeableConcept | Category or kind of location after discharge Binding: DischargeDisposition (example) |
location | SI | 0..* | BackboneElement | List of locations where the patient has been |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
location | S | 1..1 | Reference(US Core Location Profile) | Location the encounter takes place |
status | 0..1 | code | planned | active | reserved | completed Binding: EncounterLocationStatus (required) | |
physicalType | 0..1 | CodeableConcept | The physical type of the location (usually the level in the location hierachy - bed room ward etc.) Binding: LocationType (example) | |
period | 0..1 | Period | Time period during which the patient was present at the location | |
serviceProvider | 0..1 | Reference(Organization) | The organization (facility) responsible for this encounter | |
partOf | 0..1 | Reference(Encounter) | Another Encounter this encounter is part of | |
Documentation for this format |
Downloads: StructureDefinition: (XML, JSON), Schema: XML Schematron
Quick Start
Below is an overview of the required set of RESTful FHIR interactions - for example, search and read operations - for this profile. See the Conformance requirements for a complete list of supported RESTful interactions for this IG.
Mandatory Search Parameters:
The following search parameters, search parameter combinations and search parameter modifiers, comparators, chains and composites SHALL be supported. the modifiers, comparators, chains and composites that are listed as optional SHOULD be supported.:
-
SHALL support fetching an encounter using the
_id
search parameter:GET [base]/Encounter[id]
Example:
- GET [base]/Encounter/12354
- GET [base]/Encounter?_id=12354
Implementation Notes: Fetches a single Encounter (how to search by the logical id of the resource)
-
SHALL support searching for all encounters for a patient using the
patient
search parameter:GET [base]/Encounter?patient=[reference]
Example:
- GET [base]/Encounter?patient=1137192
Implementation Notes: Fetches a bundle of all Encounter resources for the specified patient (how to search by reference)
-
SHALL support searching using the combination of the
date
andpatient
search parameters:- including support for these
date
comparators:gt,lt,ge,le
- including optional support for composite AND search on
date
(e.g.date=[date]&date=[date]]&...
)
GET [base]/Encounter?date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...}&patient=[reference]
Example:
- GET [base]/Encounter?patient=example1&date=ge2019
Implementation Notes: Fetches a bundle of all Encounter resources matching the specified date and patient (how to search by date and how to search by reference)
- including support for these
Optional Search Parameters:
The following search parameters, search parameter combinations and search parameter modifiers, comparators, chains and composites SHOULD be supported.
-
SHOULD support searching using the
identifier
search parameter:GET [base]/Encounter?identifier={[system]}|[code]
Example:
- GET [base]/Encounter?identifier=http://hospital.smarthealthit.org|1032702
Implementation Notes: Fetches a bundle containing any Encounter resources matching the identifier (how to search by token)
-
SHOULD support searching using the combination of the
class
andpatient
search parameters:GET [base]/Encounter?class={[system]}|[code]&patient=[reference]
Example:
- GET [base]/Encounter?patient=example1&class= http://terminology.hl7.org/CodeSystem/v3-ActCode code|AMB
Implementation Notes: Fetches a bundle of all Encounter resources matching the specified class and patient (how to search by reference and how to search by token)
-
SHOULD support searching using the combination of the
patient
andtype
search parameters:GET [base]/Encounter?patient=[reference]&type={[system]}|[code]
Example:
- GET [base]/Encounter?patient=1137192&type=http://www.ama-assn.org/go/cpt code|99201
Implementation Notes: Fetches a bundle of all Encounter resources matching the specified patient and type (how to search by reference and how to search by token)
-
SHOULD support searching using the combination of the
patient
andstatus
search parameters:GET [base]/Encounter?patient=[reference]&status={[system]}|[code]
Example:
- GET [base]/Encounter?patient=example1&status=finished
Implementation Notes: Fetches a bundle of all Encounter resources matching the specified patient and status (how to search by reference and how to search by token)