DELETE [base]/DeviceMetric/104
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRGV2aWNlTWV0cmljLnJlYWQiLCJEZXZpY2VNZXRyaWMud3JpdGUiLCIkdGVzdC1vbmx5LWNyZWF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
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": "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>Successfully deleted 1 resource(s) in 125ms</pre></td>\r\r\r</tr>\r</table>\r</div>"
},
"issue": [
{
"severity": "information",
"code": "informational",
"diagnostics": "Successfully deleted 1 resource(s) in 125ms"
}
]
}
GET [base]/DeviceMetric/170
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiNTg3MGZhZGMtOTcxZS00OTMyLWExM2QtN2JhZGRmNTE4MDUzIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZU1ldHJpYy5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
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": "DeviceMetric",
"id": "170",
"meta": {
"versionId": "1",
"lastUpdated": "2020-06-22T19:49:49.678+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 1
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 10
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 12
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 14
}
]
}
],
"identifier": {
"value": "Foo"
},
"type": {
"text": "code"
},
"source": {
"reference": "https://device.cit-device-427.local/fhir/Device/168"
},
"category": "calculation",
"calibration": [
{
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-calibrationExpires",
"valueDateTime": "2020-06-23T19:49:49+00:00"
}
]
}
]
}
GET [base]/DeviceMetric?qualityCategory=initial
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRGV2aWNlTWV0cmljLnJlYWQiLCJEZXZpY2VNZXRyaWMud3JpdGUiLCIkdGVzdC1vbmx5LWNyZWF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
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": "ac4300f9-6d5b-4e01-b7e2-8b3d22b6d6ba",
"meta": {
"lastUpdated": "2020-06-22T19:49:14.795+00:00"
},
"type": "searchset",
"total": 6,
"link": [
{
"relation": "self",
"url": "https://device.cit-device-427.local/fhir/DeviceMetric?_format=json&_pretty=true&qualityCategory=initial"
}
],
"entry": [
{
"fullUrl": "https://device.cit-device-427.local/fhir/DeviceMetric/102",
"resource": {
"resourceType": "DeviceMetric",
"id": "102",
"meta": {
"versionId": "1",
"lastUpdated": "2020-06-22T19:48:59.588+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 5
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 10
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 12
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 14
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualityHistory",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "degraded"
}
]
}
},
{
"url": "value",
"valueInteger": 8
},
{
"url": "period",
"valuePeriod": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
}
},
{
"url": "reason",
"valueString": "initial value"
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-properties",
"extension": [
{
"url": "type",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-property-types",
"code": "TBD"
}
]
}
},
{
"url": "value",
"valueInteger": 15
}
]
}
],
"identifier": {
"value": "Foo"
},
"type": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU21692"
}
]
},
"source": {
"reference": "https://device.cit-device-427.local/fhir/Device/101"
},
"category": "calculation"
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://device.cit-device-427.local/fhir/DeviceMetric/106",
"resource": {
"resourceType": "DeviceMetric",
"id": "106",
"meta": {
"versionId": "1",
"lastUpdated": "2020-06-22T19:49:09.877+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 5
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 10
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 12
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 14
}
]
}
],
"identifier": {
"value": "Foo"
},
"type": {
"text": "code"
},
"source": {
"reference": "https://device.cit-device-427.local/fhir/Device/105"
},
"category": "calculation"
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://device.cit-device-427.local/fhir/DeviceMetric/108",
"resource": {
"resourceType": "DeviceMetric",
"id": "108",
"meta": {
"versionId": "1",
"lastUpdated": "2020-06-22T19:49:11.537+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 5
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 10
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 12
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 14
}
]
}
],
"identifier": {
"value": "Foo"
},
"type": {
"text": "code"
},
"source": {
"reference": "https://device.cit-device-427.local/fhir/Device/107"
},
"category": "calculation"
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://device.cit-device-427.local/fhir/DeviceMetric/110",
"resource": {
"resourceType": "DeviceMetric",
"id": "110",
"meta": {
"versionId": "1",
"lastUpdated": "2020-06-22T19:49:12.031+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 5
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 10
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 12
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 14
}
]
}
],
"identifier": {
"value": "Foo"
},
"type": {
"text": "code"
},
"source": {
"reference": "https://device.cit-device-427.local/fhir/Device/109"
},
"category": "calculation"
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://device.cit-device-427.local/fhir/DeviceMetric/111",
"resource": {
"resourceType": "DeviceMetric",
"id": "111",
"meta": {
"versionId": "1",
"lastUpdated": "2020-06-22T19:49:12.418+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 5
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 10
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 12
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 14
}
]
}
],
"identifier": {
"value": "Foo"
},
"type": {
"text": "code"
},
"source": {
"reference": "https://device.cit-device-427.local/fhir/Device/107"
},
"category": "calculation"
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://device.cit-device-427.local/fhir/DeviceMetric/117",
"resource": {
"resourceType": "DeviceMetric",
"id": "117",
"meta": {
"versionId": "1",
"lastUpdated": "2020-06-22T19:49:14.636+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 23
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 10
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 12
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 14
}
]
}
],
"identifier": {
"value": "Foo"
},
"type": {
"text": "code"
},
"source": {
"reference": "https://device.cit-device-427.local/fhir/Device/116"
},
"category": "calculation"
},
"search": {
"mode": "match"
}
}
]
}
GET [base]/DeviceMetric/141/_history/2
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRGV2aWNlTWV0cmljLnJlYWQiLCJEZXZpY2VNZXRyaWMud3JpdGUiLCIkdGVzdC1vbmx5LWNyZWF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
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": "DeviceMetric",
"id": "141",
"meta": {
"versionId": "2",
"lastUpdated": "2020-06-22T19:49:36.213+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 5
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 10
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 12
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 14
}
]
}
],
"identifier": {
"value": "Foo"
},
"type": {
"text": "code"
},
"source": {
"reference": "https://device.cit-device-427.local/fhir/Device/140"
},
"operationalStatus": "off",
"category": "calculation"
}
POST [base]/DeviceMetric
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiMWZkM2UzZGMtYWFjMC00MWRkLWIwYTMtMzk4MzM3Y2ZiNTk1IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZU1ldHJpYy53cml0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
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": "DeviceMetric",
"meta": {
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 5
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 10
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 12
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 14
}
]
}
],
"identifier": {
"value": "Foo"
},
"type": {
"text": "code"
},
"source": {
"reference": "https://device.cit-device-427.local/fhir/Device/178"
},
"category": "calculation"
}
Response
{
"resourceType": "DeviceMetric",
"id": "179",
"meta": {
"versionId": "1",
"lastUpdated": "2020-06-22T19:49:53.095+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 5
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 10
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 12
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 14
}
]
}
],
"identifier": {
"value": "Foo"
},
"type": {
"text": "code"
},
"source": {
"reference": "https://device.cit-device-427.local/fhir/Device/178"
},
"category": "calculation"
}
PUT [base]/DeviceMetric/141
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRGV2aWNlTWV0cmljLnJlYWQiLCJEZXZpY2VNZXRyaWMud3JpdGUiLCIkdGVzdC1vbmx5LWNyZWF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
If-Match: "1"
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": "DeviceMetric",
"id": "141",
"meta": {
"versionId": "1",
"lastUpdated": "2020-06-22T19:49:35.989+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 5
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 10
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 12
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 14
}
]
}
],
"identifier": {
"value": "Foo"
},
"type": {
"text": "code"
},
"source": {
"reference": "https://device.cit-device-427.local/fhir/Device/140"
},
"operationalStatus": "off",
"category": "calculation"
}
Response
{
"resourceType": "DeviceMetric",
"id": "141",
"meta": {
"versionId": "2",
"lastUpdated": "2020-06-22T19:49:36.213+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 5
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 10
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 12
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities",
"extension": [
{
"url": "category",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/devicemetric-quality-types",
"code": "initial"
}
]
}
},
{
"url": "value",
"valueInteger": 14
}
]
}
],
"identifier": {
"value": "Foo"
},
"type": {
"text": "code"
},
"source": {
"reference": "https://device.cit-device-427.local/fhir/Device/140"
},
"operationalStatus": "off",
"category": "calculation"
}