eHealth Infrastructure 2.8.0 - Release 16
Publish Box goes here
No examples are currently available for the profile.
DELETE [base]/DocumentReference/71
Header
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRG9jdW1lbnRSZWZlcmVuY2UuY3JlYXRlIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJEb2N1bWVudFJlZmVyZW5jZS5kZWxldGUiLCJEb2N1bWVudFJlZmVyZW5jZS5zZWFyY2giLCJEb2N1bWVudFJlZmVyZW5jZS5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ. Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/6.2.1 (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 42ms</pre></td></tr></table></div>" }, "issue": [ { "severity": "information", "code": "informational", "diagnostics": "Successfully deleted 1 resource(s) in 42ms" } ] }
GET [base]/DocumentReference?type=http%3A%2F%2Floinc.org%7C48766-0&description=99fd8205-a9d9-4916-806e-2d109b0e41dd
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiJHRlc3Qtb25seS1jcmVhdGUiLCJEb2N1bWVudFJlZmVyZW5jZS5zZWFyY2giLCJEb2N1bWVudFJlZmVyZW5jZS5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ. Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/6.2.1 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip
{ "resourceType": "Bundle", "id": "7097a0b1-bb4e-469b-a45c-b6cb5c2fcdec", "meta": { "lastUpdated": "2023-05-08T13:55:15.300+00:00" }, "type": "searchset", "total": 2, "link": [ { "relation": "self", "url": "https://plan.cit-plan-1240.local/fhir/DocumentReference?_format=json&_pretty=true&description=99fd8205-a9d9-4916-806e-2d109b0e41dd&type=http%3A%2F%2Floinc.org%7C48766-0" } ], "entry": [ { "fullUrl": "https://plan.cit-plan-1240.local/fhir/DocumentReference/44", "resource": { "resourceType": "DocumentReference", "id": "44", "meta": { "versionId": "1", "lastUpdated": "2023-05-08T13:55:15.007+00:00", "source": "#5801d651-a8f3-99", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "current", "type": { "coding": [ { "system": "http://loinc.org", "code": "48766-0" } ] }, "date": "2023-05-08T13:55:14.867+00:00", "description": "99fd8205-a9d9-4916-806e-2d109b0e41dd", "content": [ { "attachment": { "url": "http://some.com/" } } ] }, "search": { "mode": "match" } }, { "fullUrl": "https://plan.cit-plan-1240.local/fhir/DocumentReference/45", "resource": { "resourceType": "DocumentReference", "id": "45", "meta": { "versionId": "1", "lastUpdated": "2023-05-08T13:55:15.135+00:00", "source": "#fec2527e-94e0-92", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "current", "type": { "coding": [ { "system": "http://loinc.org", "code": "48766-0" } ] }, "date": "2023-05-08T13:55:15.096+00:00", "description": "99fd8205-a9d9-4916-806e-2d109b0e41dd", "content": [ { "attachment": { "url": "http://some.com/" } } ] }, "search": { "mode": "match" } } ] }
GET [base]/DocumentReference/333/_history/2
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRG9jdW1lbnRSZWZlcmVuY2UudXBkYXRlIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJEb2N1bWVudFJlZmVyZW5jZS5yZWFkIl19LCJjb250ZXh0Ijp7Im9yZ2FuaXphdGlvbl9pZCI6Imh0dHBzOi8vb3JnYW5pemF0aW9uLmNpdC1wbGFuLTEyNDAubG9jYWwvZmhpci9Pcmdhbml6YXRpb24vNzY0MTEiLCJ0ZWFtX29uX2VvYyI6ZmFsc2V9LCJ1c2VyX3R5cGUiOiJQQVRJRU5UIn0. Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/6.2.1 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip
{ "resourceType": "DocumentReference", "id": "333", "meta": { "versionId": "2", "lastUpdated": "2023-05-08T13:58:09.086+00:00", "source": "#1494f75b-a6db-99", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "entered-in-error", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2023-05-08T13:58:08.976+00:00", "custodian": { "reference": "https://organization.cit-plan-1240.local/fhir/Organization/76411" }, "content": [ { "attachment": { "url": "http://some.com/" } } ] }
POST [base]/DocumentReference
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRG9jdW1lbnRSZWZlcmVuY2UuY3JlYXRlIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJEb2N1bWVudFJlZmVyZW5jZS5yZWFkIl19LCJjb250ZXh0Ijp7Im9yZ2FuaXphdGlvbl9pZCI6Imh0dHBzOi8vb3JnYW5pemF0aW9uLmNpdC1wbGFuLTEyNDAubG9jYWwvZmhpci9Pcmdhbml6YXRpb24vODkxMzYiLCJ0ZWFtX29uX2VvYyI6ZmFsc2V9LCJ1c2VyX3R5cGUiOiJQQVRJRU5UIn0. Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/6.2.1 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip Content-Type: application/fhir+json; charset=UTF-8
Body:
{ "resourceType": "DocumentReference", "meta": { "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "current", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2023-05-08T13:58:07.797+00:00", "custodian": { "reference": "https://organization.cit-plan-1240.local/fhir/Organization/89136" }, "content": [ { "attachment": { "url": "http://some.com/" } } ] }
{ "resourceType": "DocumentReference", "id": "328", "meta": { "versionId": "1", "lastUpdated": "2023-05-08T13:58:07.812+00:00", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "current", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2023-05-08T13:58:07.797+00:00", "custodian": { "reference": "https://organization.cit-plan-1240.local/fhir/Organization/89136" }, "content": [ { "attachment": { "url": "http://some.com/" } } ] }
POST [base]/DocumentReference/10/$validate
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRG9jdW1lbnRSZWZlcmVuY2UudXBkYXRlIiwiRG9jdW1lbnRSZWZlcmVuY2UuY3JlYXRlIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJEb2N1bWVudFJlZmVyZW5jZS5zZWFyY2giLCJEb2N1bWVudFJlZmVyZW5jZS5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ. Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/6.2.1 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip Content-Type: application/fhir+json; charset=UTF-8
{ "resourceType": "Parameters", "parameter": [ { "name": "resource", "resource": { "resourceType": "DocumentReference", "id": "10", "meta": { "versionId": "1", "lastUpdated": "2023-05-08T13:54:44.897+00:00", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "current", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2023-05-08T13:54:44.852+00:00", "content": [ { "attachment": { "url": "http://some.com/" } } ] } } ] }
{ "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]/DocumentReference/333
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRG9jdW1lbnRSZWZlcmVuY2UudXBkYXRlIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJEb2N1bWVudFJlZmVyZW5jZS5yZWFkIl19LCJjb250ZXh0Ijp7Im9yZ2FuaXphdGlvbl9pZCI6Imh0dHBzOi8vb3JnYW5pemF0aW9uLmNpdC1wbGFuLTEyNDAubG9jYWwvZmhpci9Pcmdhbml6YXRpb24vNzY0MTEiLCJ0ZWFtX29uX2VvYyI6ZmFsc2V9LCJ1c2VyX3R5cGUiOiJQQVRJRU5UIn0. If-Match: "1" Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/6.2.1 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip Content-Type: application/fhir+json; charset=UTF-8
{ "resourceType": "DocumentReference", "id": "333", "meta": { "versionId": "1", "lastUpdated": "2023-05-08T13:58:08.994+00:00", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "entered-in-error", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2023-05-08T13:58:08.976+00:00", "custodian": { "reference": "https://organization.cit-plan-1240.local/fhir/Organization/76411" }, "content": [ { "attachment": { "url": "http://some.com/" } } ] }
{ "resourceType": "DocumentReference", "id": "333", "meta": { "versionId": "2", "lastUpdated": "2023-05-08T13:58:09.086+00:00", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "entered-in-error", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2023-05-08T13:58:08.976+00:00", "custodian": { "reference": "https://organization.cit-plan-1240.local/fhir/Organization/76411" }, "content": [ { "attachment": { "url": "http://some.com/" } } ] }