eHealth Infrastructure 3.1.0 - release
Publish Box goes here
No examples are currently available for the profile.
GET [base]/Task/354
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.2.1 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip
Response
{ "resourceType": "Task", "id": "354", "meta": { "versionId": "2", "lastUpdated": "2024-04-04T11:30:49.134+00:00", "source": "#7f304a28-1937-4d", "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-1920.local/fhir/EpisodeOfCare/88997" } }, { "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-1920.local/fhir/Practitioner/58470" } } ], "status": "draft", "intent": "proposal", "priority": "routine", "owner": { "reference": "https://organization.cit-task-1920.local/fhir/Practitioner/92958" } }
GET [base]/Task?episodeOfCare=https%3A%2F%2Fcareplan.cit-task-1920.local%2Ffhir%2FEpisodeOfCare%2F37766&restriction-category=measurement-monitoring%2Cnone
{ "resourceType": "Bundle", "id": "09022be7-30fd-4d0b-a4e6-db0c04523483", "meta": { "lastUpdated": "2024-04-04T11:31:12.944+00:00" }, "type": "searchset", "total": 3, "link": [ { "relation": "self", "url": "https://task.cit-task-1920.local/fhir/Task?_format=json&_pretty=true&episodeOfCare=https%3A%2F%2Fcareplan.cit-task-1920.local%2Ffhir%2FEpisodeOfCare%2F37766&restriction-category=measurement-monitoring%2Cnone" } ], "entry": [ { "fullUrl": "https://task.cit-task-1920.local/fhir/Task/377", "resource": { "resourceType": "Task", "id": "377", "meta": { "versionId": "1", "lastUpdated": "2024-04-04T11:31:12.359+00:00", "source": "#1c889f67-30c2-40", "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-1920.local/fhir/EpisodeOfCare/37766" } }, { "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-1920.local/fhir/Practitioner/67283" } } ], "status": "draft", "intent": "proposal", "priority": "routine" }, "search": { "mode": "match" } }, { "fullUrl": "https://task.cit-task-1920.local/fhir/Task/379", "resource": { "resourceType": "Task", "id": "379", "meta": { "versionId": "1", "lastUpdated": "2024-04-04T11:31:12.660+00:00", "source": "#0c87b379-f81e-4e", "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-1920.local/fhir/EpisodeOfCare/37766" } }, { "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-1920.local/fhir/Practitioner/50295" } } ], "status": "draft", "intent": "proposal", "priority": "routine" }, "search": { "mode": "match" } }, { "fullUrl": "https://task.cit-task-1920.local/fhir/Task/380", "resource": { "resourceType": "Task", "id": "380", "meta": { "versionId": "1", "lastUpdated": "2024-04-04T11:31:12.850+00:00", "source": "#973082ab-a6d9-41", "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-1920.local/fhir/EpisodeOfCare/37766" } }, { "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-1920.local/fhir/Practitioner/99044" } } ], "status": "draft", "intent": "proposal", "priority": "routine" }, "search": { "mode": "match" } } ] }
GET [base]/Task/355/_history/2
{ "resourceType": "Task", "id": "355", "meta": { "versionId": "2", "lastUpdated": "2024-04-04T11:30:59.948+00:00", "source": "#c4196c90-27a2-94", "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-1920.local/fhir/EpisodeOfCare/20270" } }, { "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-1920.local/fhir/Practitioner/86597" } } ], "status": "cancelled", "intent": "proposal", "priority": "routine" }
PATCH [base]/Task/355
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.2.1 (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": "355", "meta": { "versionId": "2", "lastUpdated": "2024-04-04T11:30:59.948+00:00", "source": "#133ad374-7481-4a", "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-1920.local/fhir/EpisodeOfCare/20270" } }, { "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-1920.local/fhir/Practitioner/86597" } } ], "status": "cancelled", "intent": "proposal", "priority": "routine" }
POST [base]/Task
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.2.1 (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-1920.local/fhir/EpisodeOfCare/14353" } }, { "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-1920.local/fhir/Practitioner/79509" } } ], "status": "draft", "intent": "proposal", "priority": "routine", "for": { "reference": "https://patient.cit-task-1920.local/fhir/Patient/80963" } }
{ "resourceType": "Task", "id": "373", "meta": { "versionId": "1", "lastUpdated": "2024-04-04T11:31:11.644+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-1920.local/fhir/EpisodeOfCare/14353" } }, { "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-1920.local/fhir/Practitioner/79509" } } ], "status": "draft", "intent": "proposal", "priority": "routine", "for": { "reference": "https://patient.cit-task-1920.local/fhir/Patient/80963" }, "authoredOn": "2024-04-04T11:31:11+00:00" }
POST [base]/Task/$validate
{ "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-1920.local/fhir/EpisodeOfCare/43051" } }, { "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-1920.local/fhir/Practitioner/68549" } } ], "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" } ] }