DELETE [base]/CommunicationRequest/518
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRXBpc29kZU9mQ2FyZS5yZWFkIiwiQ29tbXVuaWNhdGlvblJlcXVlc3QudXBkYXRlIiwiQ29tbXVuaWNhdGlvblJlcXVlc3QucmVhZCIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiQ29tbXVuaWNhdGlvblJlcXVlc3Quc2VhcmNoIiwiQ29tbXVuaWNhdGlvblJlcXVlc3QuY3JlYXRlIiwiQ29tbXVuaWNhdGlvblJlcXVlc3QuZGVsZXRlIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
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 46ms</pre></td>\r\r\r</tr>\r</table>\r</div>"
},
"issue": [
{
"severity": "information",
"code": "informational",
"diagnostics": "Successfully deleted 1 resource(s) in 46ms"
}
]
}
GET [base]/CommunicationRequest?recipient=https%3A%2F%2Fpatient.local.ehealth.sundhed.dk%2Ffhir%2FPatient%2F24792
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiJHRlc3Qtb25seS1jcmVhdGUiLCJDb21tdW5pY2F0aW9uUmVxdWVzdC5zZWFyY2giXX0sImNvbnRleHQiOnsicGF0aWVudF9pZCI6Imh0dHBzOi8vcGF0aWVudC5sb2NhbC5laGVhbHRoLnN1bmRoZWQuZGsvZmhpci9QYXRpZW50LzI0NzkyIn0sInVzZXJfdHlwZSI6IlBBVElFTlQifQ.
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": "4f8a6fc6-2af8-4bea-849f-345f8928ebad",
"meta": {
"lastUpdated": "2020-03-26T12:58:25.823+00:00"
},
"type": "searchset",
"total": 1,
"link": [
{
"relation": "self",
"url": "https://careplan.local.ehealth.sundhed.dk/fhir/CommunicationRequest?_format=json&_pretty=true&recipient=https%3A%2F%2Fpatient.local.ehealth.sundhed.dk%2Ffhir%2FPatient%2F24792"
}
],
"entry": [
{
"fullUrl": "https://careplan.local.ehealth.sundhed.dk/fhir/CommunicationRequest/584",
"resource": {
"resourceType": "CommunicationRequest",
"id": "584",
"meta": {
"versionId": "1",
"lastUpdated": "2020-03-26T12:58:25.718+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-request"
]
},
"basedOn": [
{
"reference": "https://careplan.local.ehealth.sundhed.dk/fhir/ProcedureRequest/583"
}
],
"status": "active",
"subject": {
"reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/24792"
},
"recipient": [
{
"reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/24792"
}
],
"context": {
"reference": "https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/582"
}
},
"search": {
"mode": "match"
}
}
]
}
GET [base]/CommunicationRequest/598/_history/2
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQ29tbXVuaWNhdGlvblJlcXVlc3QucmVhZCIsIiR0ZXN0LW9ubHktY3JlYXRlIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
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": "CommunicationRequest",
"id": "598",
"meta": {
"versionId": "2",
"lastUpdated": "2020-03-26T12:58:27.970+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-request"
]
},
"basedOn": [
{
"reference": "https://careplan.local.ehealth.sundhed.dk/fhir/ProcedureRequest/597"
}
],
"status": "suspended",
"subject": {
"reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/73109"
},
"recipient": [
{
"reference": "https://organization.local.ehealth.sundhed.dk/fhir/CareTeam/49522"
}
],
"context": {
"reference": "https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/596"
}
}
POST [base]/CommunicationRequest
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRXBpc29kZU9mQ2FyZS5yZWFkIiwiQ29tbXVuaWNhdGlvblJlcXVlc3QudXBkYXRlIiwiQ29tbXVuaWNhdGlvblJlcXVlc3QucmVhZCIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiQ29tbXVuaWNhdGlvblJlcXVlc3Quc2VhcmNoIiwiQ29tbXVuaWNhdGlvblJlcXVlc3QuY3JlYXRlIiwiQ29tbXVuaWNhdGlvblJlcXVlc3QuZGVsZXRlIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
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": "CommunicationRequest",
"meta": {
"versionId": "1",
"lastUpdated": "2020-03-26T12:58:13.942+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-request"
]
},
"basedOn": [
{
"reference": "https://careplan.local.ehealth.sundhed.dk/fhir/ProcedureRequest/504"
}
],
"status": "active",
"subject": {
"reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/326"
},
"context": {
"reference": "https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/503"
}
}
Response
{
"resourceType": "CommunicationRequest",
"id": "506",
"meta": {
"versionId": "1",
"lastUpdated": "2020-03-26T12:58:14.100+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-request"
]
},
"basedOn": [
{
"reference": "https://careplan.local.ehealth.sundhed.dk/fhir/ProcedureRequest/504"
}
],
"status": "active",
"subject": {
"reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/326"
},
"context": {
"reference": "https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/503"
}
}
PUT [base]/CommunicationRequest/598
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQ29tbXVuaWNhdGlvblJlcXVlc3QudXBkYXRlIiwiJHRlc3Qtb25seS1jcmVhdGUiXX0sImNvbnRleHQiOnsiY2FyZV90ZWFtX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24ubG9jYWwuZWhlYWx0aC5zdW5kaGVkLmRrL2ZoaXIvQ2FyZVRlYW0vNDk1MjIiLCJlcGlzb2RlX29mX2NhcmVfaWQiOiJodHRwczovL2NhcmVwbGFuLmxvY2FsLmVoZWFsdGguc3VuZGhlZC5kay9maGlyL0VwaXNvZGVPZkNhcmUvNTk2IiwicGF0aWVudF9pZCI6Imh0dHBzOi8vcGF0aWVudC5sb2NhbC5laGVhbHRoLnN1bmRoZWQuZGsvZmhpci9QYXRpZW50LzczMTA5In0sInVzZXJfdHlwZSI6IlBBVElFTlQifQ.
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": "CommunicationRequest",
"id": "598",
"meta": {
"versionId": "1",
"lastUpdated": "2020-03-26T12:58:27.758+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-request"
]
},
"basedOn": [
{
"reference": "https://careplan.local.ehealth.sundhed.dk/fhir/ProcedureRequest/597"
}
],
"status": "suspended",
"subject": {
"reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/73109"
},
"recipient": [
{
"reference": "https://organization.local.ehealth.sundhed.dk/fhir/CareTeam/49522"
}
],
"context": {
"reference": "https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/596"
}
}
Response
{
"resourceType": "CommunicationRequest",
"id": "598",
"meta": {
"versionId": "2",
"lastUpdated": "2020-03-26T12:58:27.970+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-request"
]
},
"basedOn": [
{
"reference": "https://careplan.local.ehealth.sundhed.dk/fhir/ProcedureRequest/597"
}
],
"status": "suspended",
"subject": {
"reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/73109"
},
"recipient": [
{
"reference": "https://organization.local.ehealth.sundhed.dk/fhir/CareTeam/49522"
}
],
"context": {
"reference": "https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/596"
}
}