...
Code Block |
---|
|
Integer uuid :: n/a - goes in the URL e.g. [base]/Encounter/[encounterId]
Date encounterDatetime :: Encounter.period
Patient patient :: Encounter.subject
Integer patientId :: not mapped
Set<EncounterProvider> encounterProviders :: Encounter.participant
Location location :: Encounter.location
EncounterType encounterType : not mapped
Set<Order> orders :: not mapped
Visit visit :: Encounter.partOf
|
Shown below is a sample FHIR Encounter Resource.
Code Block |
---|
title | FHIR Encounter Resource |
---|
|
{
resourceType: "Encounter",
status: "finished",
class: "inpatient",
subject: {
reference: "Patient/dd738d54-1691-11df-97a5-7038c432aabf",
display: "Daisylene Ekeno(Identifier:1865TU-8)"
},
participant: [1]
0: {
individual: {
reference: "Practitioner/bf218490-1691-11df-97a5-7038c432aabf",
display: "Super User(Identifier:admin)"
}
}
period: {
start: "2006-02-07T00:00:00",
end: "2006-02-07T00:00:00"
},
location: [1]
0: {
location: {
reference: "Location/8d6c993e-c2cc-11de-8d13-0010c6dffd0f",
display: "Inpatient Ward"
},
period: {
start: "2006-02-07T00:00:00",
end: "2006-02-07T00:00:00"
}
}
} |
Available RESTful web services for the Encounter Resource supported by the API
url | description |
---|
/ws/fhir/Encounter/{id} | Above request will fetch the Encounter for the given unique uuid. Here id represents, the logical resource id associated with the resource. |
/ws/fhir/Encounter?_id={id} | Above request will fetch all the Encounter using the given uuid value. This will give a List of Encounter as the response.Here _id parameter represents, the logical resource id associated with the resource. |