eHealth Infrastructure2022.1 - release
Publish Box goes here
No examples are currently available for the profile.
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/5.4.0 (FHIR Client; FHIR 4.0.1/R4; 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 44ms</pre></td></tr></table></div>" }, "issue": [ { "severity": "information", "code": "informational", "diagnostics": "Successfully deleted 1 resource(s) in 44ms" } ] }
GET [base]/DeviceMetric/168
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiODU5ZTVmNGItMDk5NC00ZDFiLWFkYzItZjA2ZGZjMDEzZDRlIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZU1ldHJpYy5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ. Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/5.4.0 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip
{ "resourceType": "DeviceMetric", "id": "168", "meta": { "versionId": "1", "lastUpdated": "2021-12-21T13:40:46.754+00:00", "source": "#82e28beb-05a1-43", "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": { "coding": [ { "system": "urn:oid:1.2.208.176.2.1", "code": "NPU03011" } ] }, "source": { "reference": "https://device.cit-device-676.local/fhir/Device/166" }, "category": "calculation", "calibration": [ { "extension": [ { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-calibrationExpires", "valueDateTime": "2021-12-22T13:40:46+00:00" } ] } ] }
GET [base]/DeviceMetric?qualityCategory=initial&source=https%3A%2F%2Fdevice.cit-device-676.local%2Ffhir%2FDevice%2F112
{ "resourceType": "Bundle", "id": "cae21758-c2e6-4a47-8ade-8c21d404fef8", "meta": { "lastUpdated": "2021-12-21T13:39:57.422+00:00" }, "type": "searchset", "total": 1, "link": [ { "relation": "self", "url": "https://device.cit-device-676.local/fhir/DeviceMetric?_format=json&_pretty=true&qualityCategory=initial&source=https%3A%2F%2Fdevice.cit-device-676.local%2Ffhir%2FDevice%2F112" } ], "entry": [ { "fullUrl": "https://device.cit-device-676.local/fhir/DeviceMetric/115", "resource": { "resourceType": "DeviceMetric", "id": "115", "meta": { "versionId": "1", "lastUpdated": "2021-12-21T13:39:57.156+00:00", "source": "#0bfb5c3f-8de8-4d", "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": { "coding": [ { "system": "urn:oid:1.2.208.176.2.1", "code": "NPU03011" } ] }, "source": { "reference": "https://device.cit-device-676.local/fhir/Device/112" }, "category": "calculation" }, "search": { "mode": "match" } } ] }
GET [base]/DeviceMetric/139/_history/2
{ "resourceType": "DeviceMetric", "id": "139", "meta": { "versionId": "2", "lastUpdated": "2021-12-21T13:40:29.854+00:00", "source": "#d31d572c-71b6-45", "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": { "coding": [ { "system": "urn:oid:1.2.208.176.2.1", "code": "NPU03011" } ] }, "source": { "reference": "https://device.cit-device-676.local/fhir/Device/138" }, "operationalStatus": "off", "category": "calculation" }
POST [base]/DeviceMetric
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiYWJhYTQyYTAtNmUyNy00YWQwLTllYTEtZjM1ODI1NTBhMmQ3IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZU1ldHJpYy53cml0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/5.4.0 (FHIR Client; FHIR 4.0.1/R4; 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": { "coding": [ { "system": "urn:oid:1.2.208.176.2.1", "code": "NPU03011" } ] }, "source": { "reference": "https://device.cit-device-676.local/fhir/Device/178" }, "category": "calculation" }
{ "resourceType": "DeviceMetric", "id": "179", "meta": { "versionId": "1", "lastUpdated": "2021-12-21T13:40:53.442+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": { "coding": [ { "system": "urn:oid:1.2.208.176.2.1", "code": "NPU03011" } ] }, "source": { "reference": "https://device.cit-device-676.local/fhir/Device/178" }, "category": "calculation" }
PUT [base]/DeviceMetric/139
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/5.4.0 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip Content-Type: application/fhir+json; charset=UTF-8
{ "resourceType": "DeviceMetric", "id": "139", "meta": { "versionId": "1", "lastUpdated": "2021-12-21T13:40:29.509+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": { "coding": [ { "system": "urn:oid:1.2.208.176.2.1", "code": "NPU03011" } ] }, "source": { "reference": "https://device.cit-device-676.local/fhir/Device/138" }, "operationalStatus": "off", "category": "calculation" }
{ "resourceType": "DeviceMetric", "id": "139", "meta": { "versionId": "2", "lastUpdated": "2021-12-21T13:40:29.854+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": { "coding": [ { "system": "urn:oid:1.2.208.176.2.1", "code": "NPU03011" } ] }, "source": { "reference": "https://device.cit-device-676.local/fhir/Device/138" }, "operationalStatus": "off", "category": "calculation" }