eHealth Infrastructure 2.5.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 50ms</pre></td></tr></table></div>" }, "issue": [ { "severity": "information", "code": "informational", "diagnostics": "Successfully deleted 1 resource(s) in 50ms" } ] }
GET [base]/DocumentReference?description=094d3605-6e41-4daa-93ff-83eca9faec25
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRG9jdW1lbnRSZWZlcmVuY2UuY3JlYXRlIiwiRG9jdW1lbnRSZWZlcmVuY2UudXBkYXRlIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJEb2N1bWVudFJlZmVyZW5jZS5zZWFyY2giLCJEb2N1bWVudFJlZmVyZW5jZS5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ. 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": "62f48d19-2f90-4332-ae80-bd044fefcc4a", "meta": { "lastUpdated": "2022-10-10T14:19:11.210+00:00" }, "type": "searchset", "total": 2, "link": [ { "relation": "self", "url": "https://plan.cit-plan-1143.local/fhir/DocumentReference?_format=json&_pretty=true&description=094d3605-6e41-4daa-93ff-83eca9faec25" } ], "entry": [ { "fullUrl": "https://plan.cit-plan-1143.local/fhir/DocumentReference/281", "resource": { "resourceType": "DocumentReference", "id": "281", "meta": { "versionId": "1", "lastUpdated": "2022-10-10T14:19:10.889+00:00", "source": "#c58b8f71-8392-9b", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "current", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2022-10-10T14:19:10.843+00:00", "description": "094d3605-6e41-4daa-93ff-83eca9faec25", "content": [ { "attachment": { "url": "http://some.com/" } } ] }, "search": { "mode": "match" } }, { "fullUrl": "https://plan.cit-plan-1143.local/fhir/DocumentReference/283", "resource": { "resourceType": "DocumentReference", "id": "283", "meta": { "versionId": "1", "lastUpdated": "2022-10-10T14:19:11.129+00:00", "source": "#79c69322-accb-9f", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "current", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2022-10-10T14:19:11.074+00:00", "description": "094d3605-6e41-4daa-93ff-83eca9faec25", "content": [ { "attachment": { "url": "http://some.com/" } } ] }, "search": { "mode": "match" } } ] }
GET [base]/DocumentReference/284/_history/2
{ "resourceType": "DocumentReference", "id": "284", "meta": { "versionId": "2", "lastUpdated": "2022-10-10T14:19:14.205+00:00", "source": "#5f376dd7-3878-98", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "superseded", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2022-10-10T14:19:11.385+00:00", "content": [ { "attachment": { "url": "http://some.com/" } } ] }
POST [base]/DocumentReference
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRG9jdW1lbnRSZWZlcmVuY2UuY3JlYXRlIiwiRG9jdW1lbnRSZWZlcmVuY2UudXBkYXRlIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJEb2N1bWVudFJlZmVyZW5jZS5zZWFyY2giLCJEb2N1bWVudFJlZmVyZW5jZS5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ. 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-10-10T14:19:08.135+00:00", "content": [ { "attachment": { "url": "http://some.com/" } } ] }
{ "resourceType": "DocumentReference", "id": "279", "meta": { "versionId": "1", "lastUpdated": "2022-10-10T14:19:08.199+00:00", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "current", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2022-10-10T14:19:08.135+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-10-10T14:19:17.258+00:00", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "current", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2022-10-10T14:19:17.190+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.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRG9jdW1lbnRSZWZlcmVuY2UuY3JlYXRlIiwiRG9jdW1lbnRSZWZlcmVuY2UudXBkYXRlIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJEb2N1bWVudFJlZmVyZW5jZS5zZWFyY2giLCJEb2N1bWVudFJlZmVyZW5jZS5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ. 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-10-10T14:19:11.431+00:00", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "superseded", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2022-10-10T14:19:11.385+00:00", "content": [ { "attachment": { "url": "http://some.com/" } } ] }
{ "resourceType": "DocumentReference", "id": "284", "meta": { "versionId": "2", "lastUpdated": "2022-10-10T14:19:14.205+00:00", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "superseded", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2022-10-10T14:19:11.385+00:00", "content": [ { "attachment": { "url": "http://some.com/" } } ] }