eHealth Infrastructure 2022.2 - 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/5.7.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 66ms</pre></td></tr></table></div>" }, "issue": [ { "severity": "information", "code": "informational", "diagnostics": "Successfully deleted 1 resource(s) in 66ms" } ] }
GET [base]/DocumentReference?description=63d20bfa-2a69-48a2-8526-365377765ce4
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/5.7.0 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip
{ "resourceType": "Bundle", "id": "ad0e17a3-297b-41d0-99b4-c735dde795a4", "meta": { "lastUpdated": "2022-06-15T15:23:43.793+00:00" }, "type": "searchset", "total": 2, "link": [ { "relation": "self", "url": "https://plan.cit-plan-1108.local/fhir/DocumentReference?_format=json&_pretty=true&description=63d20bfa-2a69-48a2-8526-365377765ce4" } ], "entry": [ { "fullUrl": "https://plan.cit-plan-1108.local/fhir/DocumentReference/281", "resource": { "resourceType": "DocumentReference", "id": "281", "meta": { "versionId": "1", "lastUpdated": "2022-06-15T15:23:43.055+00:00", "source": "#64cefafc-fc7d-41", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "current", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2022-06-15T15:23:42.971+00:00", "description": "63d20bfa-2a69-48a2-8526-365377765ce4", "content": [ { "attachment": { "url": "http://some.com/" } } ] }, "search": { "mode": "match" } }, { "fullUrl": "https://plan.cit-plan-1108.local/fhir/DocumentReference/283", "resource": { "resourceType": "DocumentReference", "id": "283", "meta": { "versionId": "1", "lastUpdated": "2022-06-15T15:23:43.642+00:00", "source": "#140a672f-35e9-46", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "current", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2022-06-15T15:23:43.459+00:00", "description": "63d20bfa-2a69-48a2-8526-365377765ce4", "content": [ { "attachment": { "url": "http://some.com/" } } ] }, "search": { "mode": "match" } } ] }
GET [base]/DocumentReference/284/_history/2
{ "resourceType": "DocumentReference", "id": "284", "meta": { "versionId": "2", "lastUpdated": "2022-06-15T15:23:47.319+00:00", "source": "#df0993c2-5858-40", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "superseded", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2022-06-15T15:23:44.148+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/5.7.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-06-15T15:23:39.966+00:00", "content": [ { "attachment": { "url": "http://some.com/" } } ] }
{ "resourceType": "DocumentReference", "id": "279", "meta": { "versionId": "1", "lastUpdated": "2022-06-15T15:23:40.076+00:00", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "current", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2022-06-15T15:23:39.966+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-06-15T15:23:50.856+00:00", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "current", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2022-06-15T15:23:50.729+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/5.7.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-06-15T15:23:44.341+00:00", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "superseded", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2022-06-15T15:23:44.148+00:00", "content": [ { "attachment": { "url": "http://some.com/" } } ] }
{ "resourceType": "DocumentReference", "id": "284", "meta": { "versionId": "2", "lastUpdated": "2022-06-15T15:23:47.319+00:00", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference" ] }, "status": "superseded", "type": { "coding": [ { "system": "http://loinc.org", "code": "69730-0" } ] }, "date": "2022-06-15T15:23:44.148+00:00", "content": [ { "attachment": { "url": "http://some.com/" } } ] }