"status": "in-progress"
"account":
"identifier":
"participant":
"hospitalization":
"serviceProvider":
"incomingReferral":
"classHistory":
"period":
"priority":
"reason":
"location":
"diagnosis":
"length":
"appointment":
"episodeOfCare":
"statusHistory":
"type":
"class": {
"code": "IMP",
"system": "http://hl7.org/fhir/v3/ActCode",
"display": "inpatient encounter"
}
"partOf":
"subject": {
"reference": "Patient/example"
}
{
"status": "in-progress",
"resourceType": "Encounter",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Encounter with patient @example</div>"
},
"class": {
"code": "IMP",
"system": "http://hl7.org/fhir/v3/ActCode",
"display": "inpatient encounter"
},
"id": "example",
"subject": {
"reference": "Patient/example"
}
}
{
"resourceType" : "Encounter",
// from Resource: id, meta, implicitRules, and language
// from DomainResource: text, contained, extension, and modifierExtension
"identifier" : [{ Identifier }], // Identifier(s) by which this encounter is known
"status" : "<code>", // R! planned | arrived | triaged | in-progress | onleave | finished | cancelled +
"statusHistory" : [{ // List of past encounter statuses
"status" : "<code>", // R! planned | arrived | triaged | in-progress | onleave | finished | cancelled +
"period" : { Period } // R! The time that the episode was in the specified status
}],
"class" : { Coding }, // inpatient | outpatient | ambulatory | emergency +
"classHistory" : [{ // List of past encounter classes
"class" : { Coding }, // R! inpatient | outpatient | ambulatory | emergency +
"period" : { Period } // R! The time that the episode was in the specified class
}],
"type" : [{ CodeableConcept }], // Specific type of encounter
"priority" : { CodeableConcept }, // Indicates the urgency of the encounter
"subject" : { Reference(Patient|Group) }, // The patient ro group present at the encounter
"episodeOfCare" : [{ Reference(EpisodeOfCare) }], // Episode(s) of care that this encounter should be recorded against
"incomingReferral" : [{ Reference(ReferralRequest) }], // The ReferralRequest that initiated this encounter
"participant" : [{ // List of participants involved in the encounter
"type" : [{ CodeableConcept }], // Role of participant in encounter
"period" : { Period }, // Period of time during the encounter that the participant participated
"individual" : { Reference(Practitioner|RelatedPerson) } // Persons involved in the encounter other than the patient
}],
"appointment" : { Reference(Appointment) }, // The appointment that scheduled this encounter
"period" : { Period }, // The start and end time of the encounter
"length" : { Duration }, // Quantity of time the encounter lasted (less time absent)
"reason" : [{ CodeableConcept }], // Reason the encounter takes place (code)
"diagnosis" : [{ // The list of diagnosis relevant to this encounter
"condition" : { Reference(Condition|Procedure) }, // R! Reason the encounter takes place (resource)
"role" : { CodeableConcept }, // Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …)
"rank" : "<positiveInt>" // Ranking of the diagnosis (for each role type)
}],
"account" : [{ Reference(Account) }], // The set of accounts that may be used for billing for this Encounter
"hospitalization" : { // Details about the admission to a healthcare service
"preAdmissionIdentifier" : { Identifier }, // Pre-admission identifier
"origin" : { Reference(Location) }, // The location from which the patient came before admission
"admitSource" : { CodeableConcept }, // From where patient was admitted (physician referral, transfer)
"reAdmission" : { 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
"dietPreference" : [{ CodeableConcept }], // Diet preferences reported by the patient
"specialCourtesy" : [{ CodeableConcept }], // Special courtesies (VIP, board member)
"specialArrangement" : [{ CodeableConcept }], // Wheelchair, translator, stretcher, etc.
"destination" : { Reference(Location) }, // Location to which the patient is discharged
"dischargeDisposition" : { CodeableConcept } // Category or kind of location after discharge
},
"location" : [{ // List of locations where the patient has been
"location" : { Reference(Location) }, // R! Location the encounter takes place
"status" : "<code>", // planned | active | reserved | completed
"period" : { Period } // Time period during which the patient was present at the location
}],
"serviceProvider" : { Reference(Organization) }, // The custodian organization of this Encounter record
"partOf" : { Reference(Encounter) } // Another Encounter this encounter is part of
}
The following search parameters can be used to query Encounter resources. Just submit them like so:
https://api.1up.health/fhir/stu3/Encounter?query-param=queryvalue
Search Parameter | Field Type | Resource Fields Searched |
---|---|---|
appointment | reference | appointment |
class | text | class |
date | date | period |
diagnosis | reference | diagnosis.condition |
episodeofcare | reference | episodeOfCare |
identifier | text | identifier |
incomingreferral | reference | incomingReferral |
length | number | length |
location | reference | location.location |
location-period | date | location.period |
part-of | reference | partOf |
participant | reference | participant.individual |
participant-type | text | participant.type |
patient | reference | subject |
practitioner | reference | participant.individual |
reason | text | reason |
service-provider | reference | serviceProvider |
special-arrangement | text | hospitalization.specialArrangement |
status | text | status |
subject | reference | subject |
type | text | type |