eHealth Infrastructure2022.1 - release
Publish Box goes here
No examples are currently available for the profile.
GET [base]/ServiceRequest/2067
Header
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQ2FyZVBsYW4ucmVhZCIsIiR0ZXN0LW9ubHktY3JlYXRlIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ. 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": "ServiceRequest", "id": "2067", "meta": { "versionId": "2", "lastUpdated": "2021-12-21T16:23:49.450+00:00", "source": "#89c855e5-3820-40", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest" ] }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare", "valueReference": { "reference": "https://careplan.cit-careplan-1945.local/fhir/EpisodeOfCare/2066" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/measurement-sharing-policies", "code": "TBD" } ] } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-reuseCriteria", "extension": [ { "url": "allowed", "valueBoolean": true }, { "url": "situationQuality", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/situation-quality", "code": "unknown" } ] } }, { "url": "usageQuality", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/usage-quality", "code": "TBD" } ] } }, { "url": "deviceMeasuringQuality", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/device-measuring-quality", "code": "TBD" } ] } }, { "url": "dataActuality", "valueDuration": { "value": -12958220, "system": "http://unitsofmeasure.org", "code": "h" } } ] } ], "instantiatesCanonical": [ "https://plan.cit-careplan-1945.local/fhir/ActivityDefinition/72028" ], "status": "completed", "intent": "filler-order", "code": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/activitydefinition-code", "code": "TBD" } ], "text": "c3c34bf6-7393-42ea-9bd7-9d17a2b9fc86" }, "subject": { "reference": "https://patient.cit-careplan-1945.local/fhir/Patient/76533" }, "occurrenceTiming": { "repeat": { "boundsPeriod": { "start": "2021-12-21T16:23:49+00:00", "end": "2021-12-21T16:23:49+00:00" } } } }
GET [base]/ServiceRequest/2048/_history/2
{ "resourceType": "ServiceRequest", "id": "2048", "meta": { "versionId": "2", "lastUpdated": "2021-12-21T16:23:34.359+00:00", "source": "#627b8be7-d30b-40", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest" ] }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare", "valueReference": { "reference": "https://careplan.cit-careplan-1945.local/fhir/EpisodeOfCare/2047" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/measurement-sharing-policies", "code": "noSharing", "display": "No sharing" } ] } } ], "instantiatesCanonical": [ "https://plan.cit-careplan-1945.local/fhir/ActivityDefinition/4002" ], "status": "completed", "intent": "option", "code": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/activitydefinition-code", "code": "TBD" } ], "text": "61505a8c-abab-4981-8f16-cc121d72c8de" }, "subject": { "reference": "https://patient.cit-careplan-1945.local/fhir/Patient/99557" } }
POST [base]/ServiceRequest/$validate
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQ2FyZVBsYW4ucmVhZCIsIiR0ZXN0LW9ubHktY3JlYXRlIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ. 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": "Parameters", "parameter": [ { "name": "resource", "resource": { "resourceType": "ServiceRequest", "meta": { "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest" ] }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare", "valueReference": { "reference": "https://careplan.cit-careplan-1945.local/fhir/EpisodeOfCare/2072" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/measurement-sharing-policies", "code": "TBD" } ] } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-reuseCriteria", "extension": [ { "url": "allowed", "valueBoolean": true }, { "url": "situationQuality", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/situation-quality", "code": "unknown" } ] } }, { "url": "usageQuality", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/usage-quality", "code": "TBD" } ] } }, { "url": "deviceMeasuringQuality", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/device-measuring-quality", "code": "TBD" } ] } }, { "url": "dataActuality", "valueDuration": { "value": -1613180430, "system": "http://unitsofmeasure.org", "code": "h" } } ] } ], "instantiatesCanonical": [ "https://plan.cit-careplan-1945.local/fhir/ActivityDefinition/64304" ], "status": "completed", "intent": "filler-order", "code": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/activitydefinition-code", "code": "TBD" } ], "text": "0a8bbc74-3160-4ea6-a18a-11e6e3dfda38" }, "subject": { "reference": "https://patient.cit-careplan-1945.local/fhir/Patient/38675" } } } ] }
{ "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></tr><tr><td style=\"font-weight: bold;\">INFORMATION</td><td>[]</td><td><pre>No issues detected during validation</pre></td></tr></table></div>" }, "issue": [ { "severity": "information", "code": "informational", "diagnostics": "No issues detected during validation" }, { "severity": "information", "code": "informational", "diagnostics": "No issues detected during validation" } ] }
PUT [base]/ServiceRequest/2067
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQ2FyZVBsYW4ucmVhZCIsIiR0ZXN0LW9ubHktY3JlYXRlIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ. 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": "ServiceRequest", "id": "2067", "meta": { "versionId": "1", "lastUpdated": "2021-12-21T16:23:49.320+00:00", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest" ] }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare", "valueReference": { "reference": "https://careplan.cit-careplan-1945.local/fhir/EpisodeOfCare/2066" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/measurement-sharing-policies", "code": "TBD" } ] } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-reuseCriteria", "extension": [ { "url": "allowed", "valueBoolean": true }, { "url": "situationQuality", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/situation-quality", "code": "unknown" } ] } }, { "url": "usageQuality", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/usage-quality", "code": "TBD" } ] } }, { "url": "deviceMeasuringQuality", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/device-measuring-quality", "code": "TBD" } ] } }, { "url": "dataActuality", "valueDuration": { "value": -12958220, "system": "http://unitsofmeasure.org", "code": "h" } } ] } ], "instantiatesCanonical": [ "https://plan.cit-careplan-1945.local/fhir/ActivityDefinition/72028" ], "status": "completed", "intent": "filler-order", "code": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/activitydefinition-code", "code": "TBD" } ], "text": "c3c34bf6-7393-42ea-9bd7-9d17a2b9fc86" }, "subject": { "reference": "https://patient.cit-careplan-1945.local/fhir/Patient/76533" }, "occurrenceTiming": { "repeat": { "boundsPeriod": { "start": "2021-12-21T16:23:49+00:00", "end": "2021-12-21T16:23:49+00:00" } } } }
{ "resourceType": "ServiceRequest", "id": "2067", "meta": { "versionId": "2", "lastUpdated": "2021-12-21T16:23:49.450+00:00", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest" ] }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare", "valueReference": { "reference": "https://careplan.cit-careplan-1945.local/fhir/EpisodeOfCare/2066" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/measurement-sharing-policies", "code": "TBD" } ] } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-reuseCriteria", "extension": [ { "url": "allowed", "valueBoolean": true }, { "url": "situationQuality", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/situation-quality", "code": "unknown" } ] } }, { "url": "usageQuality", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/usage-quality", "code": "TBD" } ] } }, { "url": "deviceMeasuringQuality", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/device-measuring-quality", "code": "TBD" } ] } }, { "url": "dataActuality", "valueDuration": { "value": -12958220, "system": "http://unitsofmeasure.org", "code": "h" } } ] } ], "instantiatesCanonical": [ "https://plan.cit-careplan-1945.local/fhir/ActivityDefinition/72028" ], "status": "completed", "intent": "filler-order", "code": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/activitydefinition-code", "code": "TBD" } ], "text": "c3c34bf6-7393-42ea-9bd7-9d17a2b9fc86" }, "subject": { "reference": "https://patient.cit-careplan-1945.local/fhir/Patient/76533" }, "occurrenceTiming": { "repeat": { "boundsPeriod": { "start": "2021-12-21T16:23:49+00:00", "end": "2021-12-21T16:23:49+00:00" } } } }