DELETE [base]/DocumentReference/16
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/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; 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%2Fehealth.sundhed.dk%2Fcs%2Fdocument-type%7CTBD&description=a08ad202-cc1c-47ae-93bc-81bad7462b99
Header
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/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "Bundle",
"id": "9aee684e-4105-4e54-a94b-5ed569c75c19",
"meta": {
"lastUpdated": "2019-11-05T06:31:52.648+00:00"
},
"type": "searchset",
"total": 2,
"link": [
{
"relation": "self",
"url": "http://plan.local.ehealth.sundhed.dk/fhir/DocumentReference?_format=json&_pretty=true&description=a08ad202-cc1c-47ae-93bc-81bad7462b99&type=http%3A%2F%2Fehealth.sundhed.dk%2Fcs%2Fdocument-type%7CTBD"
}
],
"entry": [
{
"fullUrl": "http://plan.local.ehealth.sundhed.dk/fhir/DocumentReference/105",
"resource": {
"resourceType": "DocumentReference",
"id": "105",
"meta": {
"versionId": "1",
"lastUpdated": "2019-11-05T06:31:52.210+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference"
]
},
"status": "current",
"type": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/document-type",
"code": "TBD"
}
]
},
"indexed": "2019-11-05T07:31:52.198+01:00",
"description": "a08ad202-cc1c-47ae-93bc-81bad7462b99",
"content": [
{
"attachment": {
"url": "http://some.com/"
}
}
]
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "http://plan.local.ehealth.sundhed.dk/fhir/DocumentReference/106",
"resource": {
"resourceType": "DocumentReference",
"id": "106",
"meta": {
"versionId": "1",
"lastUpdated": "2019-11-05T06:31:52.380+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference"
]
},
"status": "current",
"type": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/document-type",
"code": "TBD"
}
]
},
"indexed": "2019-11-05T07:31:52.371+01:00",
"description": "a08ad202-cc1c-47ae-93bc-81bad7462b99",
"content": [
{
"attachment": {
"url": "http://some.com/"
}
}
]
},
"search": {
"mode": "match"
}
}
]
}
GET [base]/DocumentReference/53/_history/2
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRG9jdW1lbnRSZWZlcmVuY2UudXBkYXRlIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJEb2N1bWVudFJlZmVyZW5jZS5yZWFkIl19LCJjb250ZXh0Ijp7Im9yZ2FuaXphdGlvbl9pZCI6Imh0dHA6Ly9vcmdhbml6YXRpb24ubG9jYWwuZWhlYWx0aC5zdW5kaGVkLmRrL2ZoaXIvT3JnYW5pemF0aW9uLzk5NTAyIn0sInVzZXJfdHlwZSI6IlBBVElFTlQifQ.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "DocumentReference",
"id": "53",
"meta": {
"versionId": "2",
"lastUpdated": "2019-11-05T06:31:33.713+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference"
]
},
"status": "entered-in-error",
"type": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/document-type",
"code": "TBD"
}
]
},
"indexed": "2019-11-05T07:31:33.287+01:00",
"custodian": {
"reference": "http://organization.local.ehealth.sundhed.dk/fhir/Organization/99502"
},
"content": [
{
"attachment": {
"url": "http://some.com/"
}
}
]
}
GET [base]/DocumentReference/30
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQ29tcG9zaXRpb24ucmVhZCIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiRG9jdW1lbnRSZWZlcmVuY2UucmVhZCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "DocumentReference",
"id": "30",
"meta": {
"versionId": "1",
"lastUpdated": "2019-11-04T20:29:25.272+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference"
]
},
"status": "current",
"type": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/document-type",
"code": "TBD"
}
]
},
"subject": {
"reference": "http://patient.local.ehealth.sundhed.dk/fhir/Patient/68294"
},
"indexed": "2019-11-04T20:29:24.978+00:00",
"content": [
{
"attachment": {
"contentType": "QRD",
"data": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxDbGluaWNhbERvY3VtZW50IHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zPSJ1cm46aGw3LW9yZzp2MyIgeG1sbnM6c2R0Yz0idXJuOmhsNy1vcmc6c2R0YyIgY2xhc3NDb2RlPSJET0NDTElOIiBtb29kQ29kZT0iRVZOIj4KICA8cmVhbG1Db2RlIGNvZGU9IkRLIi8+CiAgPHR5cGVJZCByb290PSIyLjE2Ljg0MC4xLjExMzg4My4xLjMiIGV4dGVuc2lvbj0iUE9DRF9IRDAwMDA0MCIvPgogIDx0ZW1wbGF0ZUlkIHJvb3Q9IjEuMi4yMDguMTg0LjEzLjEiLz4KICA8dGVtcGxhdGVJZCByb290PSIxLjIuMjA4LjE4NC4xMy4xLjEuMSIvPgogIDxpZCByb290PSIxLjIuMjA4LjE4NCIgZXh0ZW5zaW9uPSI3NWM3NzBjMC1hMjI3LTQwYzgtYmYyYi1kMWYzZTYxODczMGUiLz4KICA8Y29kZSBjb2RlPSI3NDQ2NS02IiBjb2RlU3lzdGVtPSIyLjE2Ljg0MC4xLjExMzg4My42LjEiIGNvZGVTeXN0ZW1OYW1lPSJMT0lOQyIgZGlzcGxheU5hbWU9IlF1ZXN0aW9ubmFpcmUgUmVzcG9uc2UgRG9jdW1lbnQiLz4KICA8dGl0bGU+ZTNiYTBkZDctMGRmNC00NTllLWE4YWEtZWMwOWVkNWY5MTI4PC90aXRsZT4KICA8ZWZm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rpb24gY2xhc3NDb2RlPSJET0NTRUNUIiBtb29kQ29kZT0iRVZOIj4KICAgICAgICAgIDx0ZW1wbGF0ZUlkIHJvb3Q9IjIuMTYuODQwLjEuMTEzODgzLjEwLjIwLjMzLjIuMSIvPgogICAgICAgICAgPGNvZGUgY29kZT0iNzQ0NjUtNiIgY29kZVN5c3RlbT0iMi4xNi44NDAuMS4xMTM4ODMuNi4xIiBjb2RlU3lzdGVtTmFtZT0iTE9JTkMiLz4KICAgICAgICAgIDx0aXRsZT5FbXB0eSBzZWN0aW9uPC90aXRsZT4KICAgICAgICAgIDx0ZXh0PkVtcHR5IHNlY3Rpb248L3RleHQ+CiAgICAgICAgPC9zZWN0aW9uPgogICAgICA8L2NvbXBvbmVudD4KICAgIDwvc3RydWN0dXJlZEJvZHk+CiAgPC9jb21wb25lbnQ+CjwvQ2xpbmljYWxEb2N1bWVudD4="
}
}
]
}
POST [base]/DocumentReference
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRG9jdW1lbnRSZWZlcmVuY2UuY3JlYXRlIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJEb2N1bWVudFJlZmVyZW5jZS5yZWFkIl19LCJjb250ZXh0Ijp7Im9yZ2FuaXphdGlvbl9pZCI6Imh0dHA6Ly9vcmdhbml6YXRpb24ubG9jYWwuZWhlYWx0aC5zdW5kaGVkLmRrL2ZoaXIvT3JnYW5pemF0aW9uLzcwMjM5In0sInVzZXJfdHlwZSI6IlBBVElFTlQifQ.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; 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://ehealth.sundhed.dk/cs/document-type",
"code": "TBD"
}
]
},
"indexed": "2019-11-05T07:31:32.091+01:00",
"custodian": {
"reference": "http://organization.local.ehealth.sundhed.dk/fhir/Organization/70239"
},
"content": [
{
"attachment": {
"url": "http://some.com/"
}
}
]
}
Response
{
"resourceType": "DocumentReference",
"id": "48",
"meta": {
"versionId": "1",
"lastUpdated": "2019-11-05T06:31:32.099+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference"
]
},
"status": "current",
"type": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/document-type",
"code": "TBD"
}
]
},
"indexed": "2019-11-05T07:31:32.091+01:00",
"custodian": {
"reference": "http://organization.local.ehealth.sundhed.dk/fhir/Organization/70239"
},
"content": [
{
"attachment": {
"url": "http://some.com/"
}
}
]
}
POST [base]/DocumentReference/47/$validate
Header
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/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "Parameters",
"parameter": [
{
"name": "resource",
"resource": {
"resourceType": "DocumentReference",
"id": "47",
"meta": {
"versionId": "1",
"lastUpdated": "2019-11-05T06:31:31.440+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference"
]
},
"status": "current",
"type": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/document-type",
"code": "TBD"
}
]
},
"indexed": "2019-11-05T07:31:31.369+01:00",
"content": [
{
"attachment": {
"url": "http://some.com/"
}
}
]
}
}
]
}
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>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/53
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRG9jdW1lbnRSZWZlcmVuY2UudXBkYXRlIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJEb2N1bWVudFJlZmVyZW5jZS5yZWFkIl19LCJjb250ZXh0Ijp7Im9yZ2FuaXphdGlvbl9pZCI6Imh0dHA6Ly9vcmdhbml6YXRpb24ubG9jYWwuZWhlYWx0aC5zdW5kaGVkLmRrL2ZoaXIvT3JnYW5pemF0aW9uLzk5NTAyIn0sInVzZXJfdHlwZSI6IlBBVElFTlQifQ.
If-Match: "1"
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "DocumentReference",
"id": "53",
"meta": {
"versionId": "1",
"lastUpdated": "2019-11-05T06:31:33.373+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference"
]
},
"status": "entered-in-error",
"type": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/document-type",
"code": "TBD"
}
]
},
"indexed": "2019-11-05T07:31:33.287+01:00",
"custodian": {
"reference": "http://organization.local.ehealth.sundhed.dk/fhir/Organization/99502"
},
"content": [
{
"attachment": {
"url": "http://some.com/"
}
}
]
}
Response
{
"resourceType": "DocumentReference",
"id": "53",
"meta": {
"versionId": "2",
"lastUpdated": "2019-11-05T06:31:33.713+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference"
]
},
"status": "entered-in-error",
"type": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/document-type",
"code": "TBD"
}
]
},
"indexed": "2019-11-05T07:31:33.287+01:00",
"custodian": {
"reference": "http://organization.local.ehealth.sundhed.dk/fhir/Organization/99502"
},
"content": [
{
"attachment": {
"url": "http://some.com/"
}
}
]
}