Examples ACVPU
Introduction
An example payload for a POST operation or response to a GET operation.
Example Payload
Observation |
id : 11138 |
meta |
id : 11138 |
versionId : 11138 |
lastUpdated : 2021-03-10T11:31:59+01:00 |
profile : https://fhir.cambio.se/StructureDefinition/ObservationAcvpuLite/v1 |
contained |
id : 1 |
meta |
profile : https://fhir.cambio.se/StructureDefinition/PractitionerRoleLiteSe/v1 |
practitioner |
reference : Practitioner/523052 |
type : Practitioner |
organization |
reference : Organization/1064 |
type : Organization |
identifier |
system : https://fhir.cambio.se/Observation |
value : 11138 |
status : final |
category |
coding |
system : http://terminology.hl7.org/CodeSystem/observation-category |
code : vital-signs |
code |
coding |
system : http://snomed.info/sct |
code : 1104441000000107 |
display : Alert Confusion Voice Pain Unresponsive scale score |
subject |
reference : Patient/12237 |
type : Patient |
effective : 2021-03-10T11:31:59+01:00 |
performer |
reference : #1 |
type : PractitionerRole |
value |
coding |
system : http://snomed.info/sct |
code : 248234008 |
display : Alert |
Example: Searching a Patient's ACVPU Registrations by Specifying Required Profile & Including performer.organization
The following is an example of a GET request in which the search is based on patient ID. To narrow the search to only ACVPU observations, the profile is specified in the query.
Given date interval in the search is 2018-11-20T15:33:48.583Z to 2022-12-20T15:33:48.583Z
As a response, the Observations are included in a Bundle resource.
Search Query
GET [baseURL]Observation/_search?patient.identifier=urn:oid:1.2.752.129.2.1.3.1|199402112388&date=gt2018-11-20T15:33:48.583Z&date=lt2022-12-20T15:33:48.583Z&status=final&_profile=https://fhir.cambio.se/StructureDefinition/ObservationAcvpuLite/v1&_include=Observation:performer.organization
Response
Bundle |
id : c90dbc10-49f9-47db-8e38-78b9a0e0cc36 |
meta |
lastUpdated : 2022-07-11T15:57:29.553+02:00 |
type : searchset |
total : 2 |
link |
relation : self |
url : http://13.74.30.234:8080/fhir/Observation/_search?_include=Observation%3Aperformer.organization&_profile=https%3A%2F%2Ffhir.cambio.se%2FStructureDefinition%2FObservationAcvpuLite%2Fv1&_sid=gustav.cederblad%40cambio.se&date=gt2018-11-20T15%3A33%3A48.583Z&date=lt2022-12-20T15%3A33%3A48.583Z&patient.identifier=urn%3Aoid%3A1.2.752.129.2.1.3.1%7C199402112388&status=final |
entry |
fullUrl : http://13.74.30.234:8080/fhir/Observation/23181 |
resource |
id : 23181 |
meta |
id : 23181 |
versionId : 23181 |
lastUpdated : 2022-07-11T15:57:05+02:00 |
profile : https://fhir.cambio.se/StructureDefinition/ObservationAcvpuLite/v1 |
contained |
id : 1 |
meta |
profile : https://fhir.cambio.se/StructureDefinition/PractitionerRoleLiteSe/v1 |
practitioner |
reference : Practitioner/548378 |
type : Practitioner |
organization |
reference : Organization/3555 |
type : Organization |
identifier |
system : https://fhir.cambio.se/Observation |
value : 23181 |
status : final |
category |
coding |
system : http://terminology.hl7.org/CodeSystem/observation-category |
code : vital-signs |
code |
coding |
system : http://snomed.info/sct |
code : 1104441000000107 |
display : Alert Confusion Voice Pain Unresponsive scale score |
subject |
reference : Patient/8181 |
type : Patient |
effective : 2022-07-11T15:57:05+02:00 |
performer |
reference : #1 |
type : PractitionerRole |
value |
coding |
system : http://snomed.info/sct |
code : 248234008 |
display : Alert |
entry |
fullUrl : http://13.74.30.234:8080/fhir/Organization/3555 |
resource |
id : 3555 |
meta |
versionId : 13074 |
profile : https://fhir.cambio.se/StructureDefnition/Organization |
identifier |
use : secondary |
system : https://cambio.codes/socialstyrelsen/is/arbetsplatskod |
value : 4000000000000 |
identifier |
use : secondary |
system : https://cambio.codes/is/unit/lab-identifier |
value : AKUT01 |
identifier |
use : official |
system : urn:oid:1.2.752.129.2.1.4.1 |
value : SE162321000024-0019919 |
active : True |
name : The Emergency department* |
telecom |
system : phone |
value : 023-4900001 |
use : work |
rank : 1 |
address |
use : work |
line : Storgatan 45 |
extension |
url : http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine |
value : Storgatan 45 |
city : Motala |
postalCode : 45323 |
country : SE |
partOf |
reference : Organization/1060 |