Examples
Example: Get a ServiceRequestReferral
The following is an example of a GET request in which the search is based on focus.
Search Query
GET [baseURL]/fhir/Task?focus={requester}
Response
Bundle |
id : 01fde874-0eed-49cf-87d8-d9ef2dfdaf1b |
meta |
lastUpdated : 2022-10-05T16:05:53.633+02:00 |
type : searchset |
total : 1 |
link |
relation : self |
url : https://juno-cos-qa.apps.ocp-01.cambio.rbcloud.net/api/open/fhir/Task?focus=referral%3ASE162321000024-Cambio_OneDB%3ARcId%3AReferral%3ADemandForCare%3A50810 |
entry |
fullUrl : https://juno-cos-qa.apps.ocp-01.cambio.rbcloud.net/api/open/fhir/Task/referral:SE162321000024-Cambio_OneDB:RcId:Referral:DemandForCare:50810 |
resource |
id : referral:SE162321000024-Cambio_OneDB:RcId:Referral:DemandForCare:50810 |
meta |
profile : https://fhir.cambio.se/StructureDefinition/TaskReferral/v1 |
identifier |
system : https://fhir.cambio.se/Task |
value : 50810 |
status : in-progress |
businessStatus |
coding |
system : https://cambio.codes/cs/referral-business-statuses |
code : INPROG |
display : In progress |
intent : order |
focus |
reference : ServiceRequest/50810 |
type : ServiceRequest |
for |
type : Patient |
identifier |
system : urn:oid:1.2.752.129.2.1.3.1 |
value : 195503071770 |
lastModified : 2022-06-28T13:09:43+02:00 |
requester |
type : Patient |
identifier |
system : urn:oid:1.2.752.129.2.1.3.1 |
value : 195503071770 |
owner |
reference : Organization/1064 |
type : Organization |