This page is part of the US Core (v3.1.1: 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
- A 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. - As a result of implementation feedback, the base FHIR Location resource is being referenced by
Encounter.location
. However, it SHOULD conform to US Core Location. See this guidance on Referencing US Core Profiles.
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 AEST 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..* | Encounter | An interaction during which services are provided to the patient | |
identifier | S | 0..* | Identifier | Identifier(s) by which this encounter is known |
system | S | 1..1 | uri | The namespace for the identifier value |
value | S | 1..1 | string | The value that is unique |
status | S | 1..1 | code | planned | arrived | triaged | in-progress | onleave | finished | cancelled + |
class | S | 1..1 | Coding | Classification of patient encounter |
type | S | 1..* | CodeableConcept | Specific type of encounter Binding: US Core Encounter Type (extensible) |
subject | S | 1..1 | Reference(US Core Patient Profile) | The patient or group present at the encounter |
participant | S | 0..* | BackboneElement | List of participants involved in the encounter |
type | S | 0..* | CodeableConcept | Role of participant in encounter |
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 |
period | S | 0..1 | Period | The start and end time of the encounter |
reasonCode | S | 0..* | CodeableConcept | Coded reason the encounter takes place |
hospitalization | S | 0..1 | BackboneElement | Details about the admission to a healthcare service |
dischargeDisposition | S | 0..1 | CodeableConcept | Category or kind of location after discharge |
location | S | 0..* | BackboneElement | List of locations where the patient has been |
location | S | 1..1 | Reference(Location) | Location the encounter takes place |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Encounter | I | 0..* | Encounter | An interaction during which services are provided to the patient |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!I | 0..* | Extension | Extensions that cannot be ignored |
identifier | SΣI | 0..* | Identifier | Identifier(s) by which this encounter is known |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
use | ?!ΣI | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required) |
type | ΣI | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible) |
system | SΣI | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
value | SΣI | 1..1 | string | The value that is unique Example General: 123456 |
period | ΣI | 0..1 | Period | Time period when id is/was valid for use |
assigner | ΣI | 0..1 | Reference(Organization) | Organization that issued id (may be just text) |
status | ?!SΣI | 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 | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
status | I | 1..1 | code | planned | arrived | triaged | in-progress | onleave | finished | cancelled + Binding: EncounterStatus (required) |
period | I | 1..1 | Period | The time that the episode was in the specified status |
class | SΣI | 1..1 | Coding | Classification of patient encounter Binding: ActEncounterCode (extensible) |
classHistory | I | 0..* | BackboneElement | List of past encounter classes |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
class | I | 1..1 | Coding | inpatient | outpatient | ambulatory | emergency + Binding: ActEncounterCode (extensible) |
period | I | 1..1 | Period | The time that the episode was in the specified class |
type | SΣI | 1..* | CodeableConcept | Specific type of encounter Binding: US Core Encounter Type (extensible) |
serviceType | ΣI | 0..1 | CodeableConcept | Specific type of service Binding: ServiceType (example) |
priority | I | 0..1 | CodeableConcept | Indicates the urgency of the encounter Binding: ActPriority (example) |
subject | SΣI | 1..1 | Reference(US Core Patient Profile) | The patient or group present at the encounter |
episodeOfCare | ΣI | 0..* | Reference(EpisodeOfCare) | Episode(s) of care that this encounter should be recorded against |
basedOn | I | 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 | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
type | SΣI | 0..* | CodeableConcept | Role of participant in encounter Binding: ParticipantType (extensible) |
period | SI | 0..1 | Period | Period of time during the encounter that the participant participated |
individual | SΣI | 0..1 | Reference(US Core Practitioner Profile) | Persons involved in the encounter other than the patient |
appointment | ΣI | 0..* | Reference(Appointment) | The appointment that scheduled this encounter |
period | SI | 0..1 | Period | The start and end time of the encounter |
length | I | 0..1 | Duration | Quantity of time the encounter lasted (less time absent) |
reasonCode | SΣI | 0..* | CodeableConcept | Coded reason the encounter takes place Binding: EncounterReasonCodes (preferred) |
reasonReference | ΣI | 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 | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
condition | ΣI | 1..1 | Reference(Condition | Procedure) | The diagnosis or procedure relevant to the encounter |
use | I | 0..1 | CodeableConcept | Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …) Binding: DiagnosisRole (preferred) |
rank | I | 0..1 | positiveInt | Ranking of the diagnosis (for each role type) |
account | I | 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 | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
preAdmissionIdentifier | I | 0..1 | Identifier | Pre-admission identifier |
origin | I | 0..1 | Reference(Location | Organization) | The location/organization from which the patient came before admission |
admitSource | I | 0..1 | CodeableConcept | From where patient was admitted (physician referral, transfer) Binding: AdmitSource (preferred) |
reAdmission | I | 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: hl7VS-re-admissionIndicator (example) |
dietPreference | I | 0..* | CodeableConcept | Diet preferences reported by the patient Binding: Diet (example) |
specialCourtesy | I | 0..* | CodeableConcept | Special courtesies (VIP, board member) Binding: SpecialCourtesy (preferred) |
specialArrangement | I | 0..* | CodeableConcept | Wheelchair, translator, stretcher, etc. Binding: SpecialArrangements (preferred) |
destination | I | 0..1 | Reference(Location | Organization) | Location/organization to which the patient is discharged |
dischargeDisposition | SI | 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 | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
location | SI | 1..1 | Reference(Location) | Location the encounter takes place |
status | I | 0..1 | code | planned | active | reserved | completed Binding: EncounterLocationStatus (required) |
physicalType | I | 0..1 | CodeableConcept | The physical type of the location (usually the level in the location hierachy - bed room ward etc.) Binding: LocationType (example) |
period | I | 0..1 | Period | Time period during which the patient was present at the location |
serviceProvider | I | 0..1 | Reference(Organization) | The organization (facility) responsible for this encounter |
partOf | I | 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..* | Encounter | An interaction during which services are provided to the patient | |
identifier | S | 0..* | Identifier | Identifier(s) by which this encounter is known |
system | S | 1..1 | uri | The namespace for the identifier value |
value | S | 1..1 | string | The value that is unique |
status | S | 1..1 | code | planned | arrived | triaged | in-progress | onleave | finished | cancelled + |
class | S | 1..1 | Coding | Classification of patient encounter |
type | S | 1..* | CodeableConcept | Specific type of encounter Binding: US Core Encounter Type (extensible) |
subject | S | 1..1 | Reference(US Core Patient Profile) | The patient or group present at the encounter |
participant | S | 0..* | BackboneElement | List of participants involved in the encounter |
type | S | 0..* | CodeableConcept | Role of participant in encounter |
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 |
period | S | 0..1 | Period | The start and end time of the encounter |
reasonCode | S | 0..* | CodeableConcept | Coded reason the encounter takes place |
hospitalization | S | 0..1 | BackboneElement | Details about the admission to a healthcare service |
dischargeDisposition | S | 0..1 | CodeableConcept | Category or kind of location after discharge |
location | S | 0..* | BackboneElement | List of locations where the patient has been |
location | S | 1..1 | Reference(Location) | Location the encounter takes place |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Encounter | I | 0..* | Encounter | An interaction during which services are provided to the patient |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!I | 0..* | Extension | Extensions that cannot be ignored |
identifier | SΣI | 0..* | Identifier | Identifier(s) by which this encounter is known |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
use | ?!ΣI | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required) |
type | ΣI | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible) |
system | SΣI | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
value | SΣI | 1..1 | string | The value that is unique Example General: 123456 |
period | ΣI | 0..1 | Period | Time period when id is/was valid for use |
assigner | ΣI | 0..1 | Reference(Organization) | Organization that issued id (may be just text) |
status | ?!SΣI | 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 | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
status | I | 1..1 | code | planned | arrived | triaged | in-progress | onleave | finished | cancelled + Binding: EncounterStatus (required) |
period | I | 1..1 | Period | The time that the episode was in the specified status |
class | SΣI | 1..1 | Coding | Classification of patient encounter Binding: ActEncounterCode (extensible) |
classHistory | I | 0..* | BackboneElement | List of past encounter classes |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
class | I | 1..1 | Coding | inpatient | outpatient | ambulatory | emergency + Binding: ActEncounterCode (extensible) |
period | I | 1..1 | Period | The time that the episode was in the specified class |
type | SΣI | 1..* | CodeableConcept | Specific type of encounter Binding: US Core Encounter Type (extensible) |
serviceType | ΣI | 0..1 | CodeableConcept | Specific type of service Binding: ServiceType (example) |
priority | I | 0..1 | CodeableConcept | Indicates the urgency of the encounter Binding: ActPriority (example) |
subject | SΣI | 1..1 | Reference(US Core Patient Profile) | The patient or group present at the encounter |
episodeOfCare | ΣI | 0..* | Reference(EpisodeOfCare) | Episode(s) of care that this encounter should be recorded against |
basedOn | I | 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 | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
type | SΣI | 0..* | CodeableConcept | Role of participant in encounter Binding: ParticipantType (extensible) |
period | SI | 0..1 | Period | Period of time during the encounter that the participant participated |
individual | SΣI | 0..1 | Reference(US Core Practitioner Profile) | Persons involved in the encounter other than the patient |
appointment | ΣI | 0..* | Reference(Appointment) | The appointment that scheduled this encounter |
period | SI | 0..1 | Period | The start and end time of the encounter |
length | I | 0..1 | Duration | Quantity of time the encounter lasted (less time absent) |
reasonCode | SΣI | 0..* | CodeableConcept | Coded reason the encounter takes place Binding: EncounterReasonCodes (preferred) |
reasonReference | ΣI | 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 | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
condition | ΣI | 1..1 | Reference(Condition | Procedure) | The diagnosis or procedure relevant to the encounter |
use | I | 0..1 | CodeableConcept | Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …) Binding: DiagnosisRole (preferred) |
rank | I | 0..1 | positiveInt | Ranking of the diagnosis (for each role type) |
account | I | 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 | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
preAdmissionIdentifier | I | 0..1 | Identifier | Pre-admission identifier |
origin | I | 0..1 | Reference(Location | Organization) | The location/organization from which the patient came before admission |
admitSource | I | 0..1 | CodeableConcept | From where patient was admitted (physician referral, transfer) Binding: AdmitSource (preferred) |
reAdmission | I | 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: hl7VS-re-admissionIndicator (example) |
dietPreference | I | 0..* | CodeableConcept | Diet preferences reported by the patient Binding: Diet (example) |
specialCourtesy | I | 0..* | CodeableConcept | Special courtesies (VIP, board member) Binding: SpecialCourtesy (preferred) |
specialArrangement | I | 0..* | CodeableConcept | Wheelchair, translator, stretcher, etc. Binding: SpecialArrangements (preferred) |
destination | I | 0..1 | Reference(Location | Organization) | Location/organization to which the patient is discharged |
dischargeDisposition | SI | 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 | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
location | SI | 1..1 | Reference(Location) | Location the encounter takes place |
status | I | 0..1 | code | planned | active | reserved | completed Binding: EncounterLocationStatus (required) |
physicalType | I | 0..1 | CodeableConcept | The physical type of the location (usually the level in the location hierachy - bed room ward etc.) Binding: LocationType (example) |
period | I | 0..1 | Period | Time period during which the patient was present at the location |
serviceProvider | I | 0..1 | Reference(Organization) | The organization (facility) responsible for this encounter |
partOf | I | 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 Server 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.
- The syntax used to describe the interactions is described here.
- See the General Guidance section for additional rules and expectations when a server requires status parameters.
- See the General Guidance section for additional guidance on searching for multiple patients.
Mandatory Search Parameters:
The following search parameters and search parameter combinations SHALL 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 parameter combinations 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.