eHealth Infrastructure 2.3.0 - release
Publish Box goes here
No examples are currently available for the profile.
DELETE [base]/DocumentReference/62
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.1.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 73ms</pre></td></tr></table></div>" }, "issue": [ { "severity": "information", "code": "informational", "diagnostics": "Successfully deleted 1 resource(s) in 73ms" } ] }
GET [base]/DocumentReference?description=84dced27-bc41-404c-b56e-faf432b13f91
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.1.0 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip
{ "resourceType": "Bundle", "id": "60ada332-09d7-4ad4-89d0-99dc0478df64", "meta": { "lastUpdated": "2022-09-16T10:15:09.021+00:00" }, "type": "searchset", "total": 2, "link": [ { "relation": "self", "url": "https://plan.cit-plan-1136.local/fhir/DocumentReference?_format=json&_pretty=true&description=84dced27-bc41-404c-b56e-faf432b13f91" } ], "entry": [ { "fullUrl": "https://plan.cit-plan-1136.local/fhir/DocumentReference/281", "resource": { "resourceType": "DocumentReference", "id": "281", "meta": { "versionId": "1", "lastUpdated": "2022-09-16T10:15:08.670+00:00", "source": "#b1b583e9-c95f-9a", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "current", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2022-09-16T10:15:08.582+00:00", "description": "84dced27-bc41-404c-b56e-faf432b13f91", "content": [ { "attachment": { "url": "http://some.com/" } } ] }, "search": { "mode": "match" } }, { "fullUrl": "https://plan.cit-plan-1136.local/fhir/DocumentReference/283", "resource": { "resourceType": "DocumentReference", "id": "283", "meta": { "versionId": "1", "lastUpdated": "2022-09-16T10:15:08.925+00:00", "source": "#bf78fe03-1c38-92", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "current", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2022-09-16T10:15:08.879+00:00", "description": "84dced27-bc41-404c-b56e-faf432b13f91", "content": [ { "attachment": { "url": "http://some.com/" } } ] }, "search": { "mode": "match" } } ] }
GET [base]/DocumentReference/284/_history/2
{ "resourceType": "DocumentReference", "id": "284", "meta": { "versionId": "2", "lastUpdated": "2022-09-16T10:15:12.135+00:00", "source": "#b2068849-3fbb-91", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "superseded", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2022-09-16T10:15:09.235+00:00", "content": [ { "attachment": { "url": "http://some.com/" } } ] }
POST [base]/DocumentReference
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.1.0 (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": "2022-09-16T10:15:05.794+00:00", "content": [ { "attachment": { "url": "http://some.com/" } } ] }
{ "resourceType": "DocumentReference", "id": "279", "meta": { "versionId": "1", "lastUpdated": "2022-09-16T10:15:05.853+00:00", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "current", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2022-09-16T10:15:05.794+00:00", "content": [ { "attachment": { "url": "http://some.com/" } } ] }
POST [base]/DocumentReference/287/$validate
{ "resourceType": "Parameters", "parameter": [ { "name": "resource", "resource": { "resourceType": "DocumentReference", "id": "287", "meta": { "versionId": "1", "lastUpdated": "2022-09-16T10:15:15.106+00:00", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "current", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2022-09-16T10:15:15.051+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/284
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRG9jdW1lbnRSZWZlcmVuY2UudXBkYXRlIiwiRG9jdW1lbnRSZWZlcmVuY2UuY3JlYXRlIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJEb2N1bWVudFJlZmVyZW5jZS5zZWFyY2giLCJEb2N1bWVudFJlZmVyZW5jZS5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ. If-Match: "1" Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/6.1.0 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip Content-Type: application/fhir+json; charset=UTF-8
{ "resourceType": "DocumentReference", "id": "284", "meta": { "versionId": "1", "lastUpdated": "2022-09-16T10:15:09.286+00:00", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "superseded", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2022-09-16T10:15:09.235+00:00", "content": [ { "attachment": { "url": "http://some.com/" } } ] }
{ "resourceType": "DocumentReference", "id": "284", "meta": { "versionId": "2", "lastUpdated": "2022-09-16T10:15:12.135+00:00", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "superseded", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2022-09-16T10:15:09.235+00:00", "content": [ { "attachment": { "url": "http://some.com/" } } ] }