eHealth Infrastructure 2.3.0 - release
Publish Box goes here
No examples are currently available for the profile.
GET [base]/Task/285
Header
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiVGFzay5zZWFyY2giLCJUYXNrLnJlYWQiLCJUYXNrLmNyZWF0ZSIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiVGFzay5wYXRjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. 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": "Task", "id": "285", "meta": { "versionId": "2", "lastUpdated": "2022-09-16T08:53:12.882+00:00", "source": "#31592c57-a40c-98", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task" ] }, "extension": [ { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-episodeOfCare", "valueReference": { "reference": "https://careplan.cit-task-1486.local/fhir/EpisodeOfCare/66917" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-category", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/task-category", "code": "TBD" } ] } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/restriction-category", "code": "None" } ] } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-responsible", "valueReference": { "reference": "https://organization.cit-task-1486.local/fhir/Practitioner/80579" } } ], "status": "draft", "intent": "proposal", "priority": "routine", "owner": { "reference": "https://organization.cit-task-1486.local/fhir/Practitioner/63126" } }
GET [base]/Task?episodeOfCare=https%3A%2F%2Fcareplan.cit-task-1486.local%2Ffhir%2FEpisodeOfCare%2F13162&restriction-category=measurement-monitoring%2Cnone
{ "resourceType": "Bundle", "id": "7620caff-fbf6-4f8c-a215-c1925fe835eb", "meta": { "lastUpdated": "2022-09-16T08:53:34.541+00:00" }, "type": "searchset", "total": 3, "link": [ { "relation": "self", "url": "https://task.cit-task-1486.local/fhir/Task?_format=json&_pretty=true&episodeOfCare=https%3A%2F%2Fcareplan.cit-task-1486.local%2Ffhir%2FEpisodeOfCare%2F13162&restriction-category=measurement-monitoring%2Cnone" } ], "entry": [ { "fullUrl": "https://task.cit-task-1486.local/fhir/Task/298", "resource": { "resourceType": "Task", "id": "298", "meta": { "versionId": "1", "lastUpdated": "2022-09-16T08:53:33.791+00:00", "source": "#dd763b1d-fc32-92", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task" ] }, "extension": [ { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-episodeOfCare", "valueReference": { "reference": "https://careplan.cit-task-1486.local/fhir/EpisodeOfCare/13162" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-category", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/task-category", "code": "TBD" } ] } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/restriction-category", "code": "measurement-monitoring" } ] } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/restriction-category", "code": "measuring-support" } ] } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-responsible", "valueReference": { "reference": "https://organization.cit-task-1486.local/fhir/Practitioner/40509" } } ], "status": "draft", "intent": "proposal", "priority": "routine" }, "search": { "mode": "match" } }, { "fullUrl": "https://task.cit-task-1486.local/fhir/Task/300", "resource": { "resourceType": "Task", "id": "300", "meta": { "versionId": "1", "lastUpdated": "2022-09-16T08:53:34.176+00:00", "source": "#40627c15-4c14-92", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task" ] }, "extension": [ { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-episodeOfCare", "valueReference": { "reference": "https://careplan.cit-task-1486.local/fhir/EpisodeOfCare/13162" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-category", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/task-category", "code": "TBD" } ] } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/restriction-category", "code": "measurement-monitoring" } ] } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-responsible", "valueReference": { "reference": "https://organization.cit-task-1486.local/fhir/Practitioner/25454" } } ], "status": "draft", "intent": "proposal", "priority": "routine" }, "search": { "mode": "match" } }, { "fullUrl": "https://task.cit-task-1486.local/fhir/Task/301", "resource": { "resourceType": "Task", "id": "301", "meta": { "versionId": "1", "lastUpdated": "2022-09-16T08:53:34.392+00:00", "source": "#3b95dabb-8d61-9d", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task" ] }, "extension": [ { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-episodeOfCare", "valueReference": { "reference": "https://careplan.cit-task-1486.local/fhir/EpisodeOfCare/13162" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-category", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/task-category", "code": "TBD" } ] } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/restriction-category", "code": "none" } ] } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-responsible", "valueReference": { "reference": "https://organization.cit-task-1486.local/fhir/Practitioner/79896" } } ], "status": "draft", "intent": "proposal", "priority": "routine" }, "search": { "mode": "match" } } ] }
GET [base]/Task/286/_history/2
{ "resourceType": "Task", "id": "286", "meta": { "versionId": "2", "lastUpdated": "2022-09-16T08:53:23.901+00:00", "source": "#ae7ed9cb-0cec-90", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task" ] }, "extension": [ { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-episodeOfCare", "valueReference": { "reference": "https://careplan.cit-task-1486.local/fhir/EpisodeOfCare/36331" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-category", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/task-category", "code": "TBD" } ] } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/restriction-category", "code": "None" } ] } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-responsible", "valueReference": { "reference": "https://organization.cit-task-1486.local/fhir/Practitioner/85243" } } ], "status": "cancelled", "intent": "proposal", "priority": "routine" }
PATCH [base]/Task/286
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiVGFzay5zZWFyY2giLCJUYXNrLnJlYWQiLCJUYXNrLmNyZWF0ZSIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiVGFzay5wYXRjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. Accept: application/fhir+xml;q=1.0, application/fhir+json;q=1.0, application/xml+fhir;q=0.9, 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/json-patch+json; charset=UTF-8
Body:
[ { "op": "replace", "path": "/status", "value": "cancelled" } ]
{ "resourceType": "Task", "id": "286", "meta": { "versionId": "2", "lastUpdated": "2022-09-16T08:53:23.901+00:00", "source": "#780ac8ba-2e52-98", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task" ] }, "extension": [ { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-episodeOfCare", "valueReference": { "reference": "https://careplan.cit-task-1486.local/fhir/EpisodeOfCare/36331" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-category", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/task-category", "code": "TBD" } ] } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/restriction-category", "code": "None" } ] } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-responsible", "valueReference": { "reference": "https://organization.cit-task-1486.local/fhir/Practitioner/85243" } } ], "status": "cancelled", "intent": "proposal", "priority": "routine" }
POST [base]/Task
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LXRhc2stMTQ4Ni5sb2NhbC9maGlyL1ByYWN0aXRpb25lci8xOTYwNCIsInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJUYXNrLmNyZWF0ZSIsIlJlc3RyaWN0aW9uQ2F0ZWdvcnkkbWVhc3VyZW1lbnQtbW9uaXRvcmluZyJdfSwiY29udGV4dCI6eyJjYXJlX3RlYW1faWQiOiJodHRwczovL29yZ2FuaXphdGlvbi5jaXQtdGFzay0xNDg2LmxvY2FsL2ZoaXIvQ2FyZVRlYW0vODE3NzgiLCJ0ZWFtX29uX2VvYyI6ZmFsc2V9LCJ1c2VyX3R5cGUiOiJQUkFDVElUSU9ORVIifQ. 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": "Task", "meta": { "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task" ] }, "extension": [ { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-episodeOfCare", "valueReference": { "reference": "https://careplan.cit-task-1486.local/fhir/EpisodeOfCare/74461" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-category", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/task-category", "code": "TBD" } ] } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/restriction-category", "code": "measurement-monitoring" } ] } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-responsible", "valueReference": { "reference": "https://organization.cit-task-1486.local/fhir/CareTeam/81778" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-responsible", "valueReference": { "reference": "https://organization.cit-task-1486.local/fhir/Practitioner/6839" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-responsible", "valueReference": { "reference": "https://patient.cit-task-1486.local/fhir/Patient/13985" } } ], "status": "draft", "intent": "proposal", "priority": "routine", "for": { "reference": "https://patient.cit-task-1486.local/fhir/Patient/85116" } }
{ "resourceType": "Task", "id": "274", "meta": { "versionId": "1", "lastUpdated": "2022-09-16T08:52:39.853+00:00", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task" ] }, "extension": [ { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-episodeOfCare", "valueReference": { "reference": "https://careplan.cit-task-1486.local/fhir/EpisodeOfCare/74461" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-category", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/task-category", "code": "TBD" } ] } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/restriction-category", "code": "measurement-monitoring" } ] } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-responsible", "valueReference": { "reference": "https://organization.cit-task-1486.local/fhir/CareTeam/81778" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-responsible", "valueReference": { "reference": "https://organization.cit-task-1486.local/fhir/Practitioner/6839" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-responsible", "valueReference": { "reference": "https://patient.cit-task-1486.local/fhir/Patient/13985" } } ], "status": "draft", "intent": "proposal", "priority": "routine", "for": { "reference": "https://patient.cit-task-1486.local/fhir/Patient/85116" }, "authoredOn": "2022-09-16T08:52:39+00:00" }
POST [base]/Task/$validate
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiVGFzay5zZWFyY2giLCJUYXNrLnJlYWQiLCJUYXNrLmNyZWF0ZSIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiVGFzay5wYXRjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. 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": "Parameters", "parameter": [ { "name": "resource", "resource": { "resourceType": "Task", "meta": { "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task" ] }, "extension": [ { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-episodeOfCare", "valueReference": { "reference": "https://careplan.cit-task-1486.local/fhir/EpisodeOfCare/42335" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-category", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/task-category", "code": "TBD" } ] } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/restriction-category", "code": "None" } ] } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-responsible", "valueReference": { "reference": "https://organization.cit-task-1486.local/fhir/Practitioner/15854" } } ], "status": "draft", "intent": "proposal", "priority": "routine" } } ] }
{ "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" } ] }