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 47ms</pre></td>\r\r\r</tr>\r</table>\r</div>"
},
"issue": [
{
"severity": "information",
"code": "informational",
"diagnostics": "Successfully deleted 1 resource(s) in 47ms"
}
]
}
GET [base]/CommunicationRequest?recipient=https%3A%2F%2Fpatient.local.ehealth.sundhed.dk%2Ffhir%2FPatient%2F63490
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiJHRlc3Qtb25seS1jcmVhdGUiLCJDb21tdW5pY2F0aW9uUmVxdWVzdC5zZWFyY2giXX0sImNvbnRleHQiOnsicGF0aWVudF9pZCI6Imh0dHBzOi8vcGF0aWVudC5sb2NhbC5laGVhbHRoLnN1bmRoZWQuZGsvZmhpci9QYXRpZW50LzYzNDkwIn0sInVzZXJfdHlwZSI6IlBBVElFTlQifQ.
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": "a83eb182-f923-4206-9de8-ba5c262030f1",
"meta": {
"lastUpdated": "2020-04-29T19:24:09.593+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%2F63490"
}
],
"entry": [
{
"fullUrl": "https://careplan.local.ehealth.sundhed.dk/fhir/CommunicationRequest/584",
"resource": {
"resourceType": "CommunicationRequest",
"id": "584",
"meta": {
"versionId": "1",
"lastUpdated": "2020-04-29T19:24:09.525+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/63490"
},
"recipient": [
{
"reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/63490"
}
],
"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-04-29T19:24:12.189+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/56984"
},
"recipient": [
{
"reference": "https://organization.local.ehealth.sundhed.dk/fhir/CareTeam/29610"
}
],
"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-04-29T19:23:57.815+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/29609"
},
"context": {
"reference": "https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/503"
}
}
Response
{
"resourceType": "CommunicationRequest",
"id": "506",
"meta": {
"versionId": "1",
"lastUpdated": "2020-04-29T19:23:57.928+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/29609"
},
"context": {
"reference": "https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/503"
}
}
PUT [base]/CommunicationRequest/598
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQ29tbXVuaWNhdGlvblJlcXVlc3QudXBkYXRlIiwiJHRlc3Qtb25seS1jcmVhdGUiXX0sImNvbnRleHQiOnsiY2FyZV90ZWFtX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24ubG9jYWwuZWhlYWx0aC5zdW5kaGVkLmRrL2ZoaXIvQ2FyZVRlYW0vMjk2MTAiLCJlcGlzb2RlX29mX2NhcmVfaWQiOiJodHRwczovL2NhcmVwbGFuLmxvY2FsLmVoZWFsdGguc3VuZGhlZC5kay9maGlyL0VwaXNvZGVPZkNhcmUvNTk2IiwicGF0aWVudF9pZCI6Imh0dHBzOi8vcGF0aWVudC5sb2NhbC5laGVhbHRoLnN1bmRoZWQuZGsvZmhpci9QYXRpZW50LzU2OTg0In0sInVzZXJfdHlwZSI6IlBBVElFTlQifQ.
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-04-29T19:24:12.011+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/56984"
},
"recipient": [
{
"reference": "https://organization.local.ehealth.sundhed.dk/fhir/CareTeam/29610"
}
],
"context": {
"reference": "https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/596"
}
}
Response
{
"resourceType": "CommunicationRequest",
"id": "598",
"meta": {
"versionId": "2",
"lastUpdated": "2020-04-29T19:24:12.189+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/56984"
},
"recipient": [
{
"reference": "https://organization.local.ehealth.sundhed.dk/fhir/CareTeam/29610"
}
],
"context": {
"reference": "https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/596"
}
}