GET [base]/Observation/1054
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiNTNiYzkzNTktNjgwNi00MDE4LTliZDUtYzlhYmNlMTZkMGFhIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkNvbW11bmljYXRpb24ucmVhZCIsIkNvbW11bmljYXRpb24ucGF0Y2giLCJNZWRpYS5zZWFyY2giLCJRdWVzdGlvbm5haXJlUmVzcG9uc2UucmVhZCIsIk9ic2VydmF0aW9uLnNlYXJjaCIsIiRzZWFyY2gtbWVhc3VyZW1lbnRzIiwiT2JzZXJ2YXRpb24ucmVhZCIsIiRzdWJtaXQtbWVhc3VyZW1lbnQiLCIkdGVzdC1vbmx5LWNyZWF0ZSIsIlF1ZXN0aW9ubmFpcmVSZXNwb25zZS5zZWFyY2giLCJDb21tdW5pY2F0aW9uLmNyZWF0ZSIsIkNvbW11bmljYXRpb24uc2VhcmNoIiwiUHJvdmVuYW5jZS5yZWFkIiwiTWVkaWEucmVhZCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "Observation",
"id": "1054",
"meta": {
"versionId": "1",
"lastUpdated": "2020-04-30T05:38:56.953+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality",
"extension": [
{
"url": "qualityType",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/quality-types",
"code": "DMQ",
"display": "Device Measuring Quality"
}
]
}
},
{
"url": "qualityCode",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/device-measuring-quality",
"code": "TBD"
}
]
}
}
]
}
],
"identifier": [
{
"system": "http://ehealth.sundhed.dk/id/ehealth-identifier",
"value": "3d30c2f5-90b6-47e8-8ae4-07ea00b1ad28"
},
{
"system": "http://ehealth.sundhed.dk/id/ehealth-identifier",
"value": "b08396e2-881b-4db3-b340-bbb12ac389d5_NPU03011"
},
{
"system": "http://ehealth.sundhed.dk/id/ehealth-identifier",
"value": "5745898b-bba8-42ce-946e-323e5c4323c2_MCS88015"
}
],
"basedOn": [
{
"reference": "https://careplan.local.ehealth.sundhed.dk/fhir/ProcedureRequest/29639"
}
],
"status": "final",
"code": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
],
"text": "b677270a-b8be-4b23-b59c-a73cc7941a63"
},
"subject": {
"reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/95487"
},
"context": {
"reference": "https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/1280"
},
"effectivePeriod": {
"start": "2020-04-30T07:38:54+02:00",
"end": "2020-04-30T07:38:54+02:00"
},
"performer": [
{
"reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/69639"
}
],
"device": {
"reference": "https://device.local.ehealth.sundhed.dk/fhir/Device/13241"
},
"component": [
{
"code": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
}
},
{
"code": {
"coding": [
{
"system": "urn:oid:1.2.208.184.100.8",
"code": "MCS88015"
}
]
}
}
]
}
GET [base]/Observation?context=https%3A%2F%2Fcareplan.local.ehealth.sundhed.dk%2Ffhir%2FEpisodeOfCare%2F29455
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiZWYzMGZiYzctYjU0Ny00ZjhhLTk4OTEtYTg1ZDEzOWI4N2U3IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIk1lZGlhLnNlYXJjaCIsIlF1ZXN0aW9ubmFpcmVSZXNwb25zZS5zZWFyY2giLCJPYnNlcnZhdGlvbi5zZWFyY2giXX0sInVzZXJfdHlwZSI6IlNZU1RFTSJ9.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "Bundle",
"id": "67f7548e-1f0e-46bb-85fb-62e661ae960c",
"meta": {
"lastUpdated": "2020-04-30T05:39:08.482+00:00",
"tag": [
{
"system": "http://hl7.org/fhir/v3/ObservationValue",
"code": "SUBSETTED",
"display": "Resource encoded in summary mode"
}
]
},
"total": 1
}
GET [base]/Observation/735/_history/1
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiMjUzZDY1NmMtMWIzNi00ZTdiLWE2MTItOTJjZGJhZGE3MTZiIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIk9ic2VydmF0aW9uLnJlYWQiXX0sImNvbnRleHQiOnsiY2FyZV90ZWFtX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24ubG9jYWwuZWhlYWx0aC5zdW5kaGVkLmRrL2ZoaXIvQ2FyZVRlYW0vNDY0OTkiLCJlcGlzb2RlX29mX2NhcmVfaWQiOiJodHRwczovL2NhcmVwbGFuLmxvY2FsLmVoZWFsdGguc3VuZGhlZC5kay9maGlyL0VwaXNvZGVPZkNhcmUvNDcyNzEifSwidXNlcl90eXBlIjoiUFJBQ1RJVElPTkVSIn0.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "Observation",
"id": "735",
"meta": {
"versionId": "1",
"lastUpdated": "2020-04-30T05:37:39.957+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation"
]
},
"basedOn": [
{
"reference": "https://careplan.local.ehealth.sundhed.dk/fhir/ProcedureRequest/25257"
}
],
"status": "final",
"code": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
},
"subject": {
"reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/46188"
},
"context": {
"reference": "https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/47271"
},
"effectivePeriod": {
"start": "2020-04-30T07:37:39+02:00",
"end": "2020-04-30T07:37:39+02:00"
},
"performer": [
{
"reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/46188"
}
],
"device": {
"reference": "https://device.local.ehealth.sundhed.dk/fhir/Device/56"
}
}
POST [base]/Observation/$validate
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiNjZkZjlhNDUtMzMzZC00ZjhlLWJkZWMtMGI2MWQ5NDU1ZTUwIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIk9ic2VydmF0aW9uLnJlYWQiXX0sInVzZXJfdHlwZSI6IlNZU1RFTSJ9.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "Parameters",
"parameter": [
{
"name": "resource",
"resource": {
"resourceType": "Observation",
"meta": {
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation"
]
},
"basedOn": [
{
"reference": "https://careplan.local.ehealth.sundhed.dk/fhir/ProcedureRequest/63693"
}
],
"status": "final",
"code": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
},
"subject": {
"reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/59684"
},
"context": {
"reference": "https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/76139"
},
"effectivePeriod": {
"start": "2020-04-30T07:37:41+02:00",
"end": "2020-04-30T07:37:41+02:00"
},
"performer": [
{
"reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/59684"
}
],
"device": {
"reference": "https://device.local.ehealth.sundhed.dk/fhir/Device/53181"
}
}
}
]
}
Response
{
"resourceType": "OperationOutcome",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h1>Operation Outcome</h1><table border=\"0\"><tr><td style=\"font-weight: bold;\">INFORMATION</td><td>[]</td><td><pre>No issues detected during validation</pre></td>\r\r\r</tr>\r<tr>\r<td style=\"font-weight: bold;\">INFORMATION</td>\r<td>[]</td>\r\r\r\r<td><pre>No issues detected during validation</pre></td>\r\r\r</tr>\r</table>\r</div>"
},
"issue": [
{
"severity": "information",
"code": "informational",
"diagnostics": "No issues detected during validation"
},
{
"severity": "information",
"code": "informational",
"diagnostics": "No issues detected during validation"
}
]
}