eHealth Infrastructure 2.9.0 - release
Publish Box goes here
No examples are currently available for the profile.
GET [base]/EpisodeOfCare/1723
Header
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRXBpc29kZU9mQ2FyZS5yZWFkIiwiJG1pZ3JhdGUiLCIkdGVzdC1vbmx5LWNyZWF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. 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": "EpisodeOfCare", "id": "1723", "meta": { "versionId": "2", "lastUpdated": "2023-08-17T13:35:03.116+00:00", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare" ] }, "extension": [ { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization", "valueReference": { "reference": "https://organization.cit-careplan-2598.local/fhir/Organization/83304" } } ], "status": "active", "statusHistory": [ { "status": "active", "period": { "start": "2023-08-17T13:35:00+00:00" } } ], "diagnosis": [ { "condition": { "reference": "https://careplan.cit-careplan-2598.local/fhir/Condition/1722" }, "rank": 1 } ], "patient": { "reference": "https://patient.cit-careplan-2598.local/fhir/Patient/80504" }, "managingOrganization": { "reference": "https://organization.cit-careplan-2598.local/fhir/Organization/83304" }, "period": { "start": "1970-01-01T00:00:01+00:00", "end": "1970-01-01T00:01:40+00:00" } }
GET [base]/EpisodeOfCare?team=https%3A%2F%2Forganization.cit-careplan-2598.local%2Ffhir%2FCareTeam%2F4183%2Chttps%3A%2F%2Forganization.cit-careplan-2598.local%2Ffhir%2FCareTeam%2F33682
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTI1OTgubG9jYWwvZmhpci9QcmFjdGl0aW9uZXIvNTc0MjAiLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRXBpc29kZU9mQ2FyZS5zZWFyY2giLCJFcGlzb2RlT2ZDYXJlLnJlYWQiLCJDYXJlUGxhbi5yZWFkIiwiRXBpc29kZU9mQ2FyZSR1cGRhdGUtY2FyZS10ZWFtcyIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiRXBpc29kZU9mQ2FyZS5wYXRjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. 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
{ "resourceType": "Bundle", "id": "863f2d81-a97e-405d-b83c-0524dacf2d92", "meta": { "lastUpdated": "2023-08-17T13:35:35.554+00:00" }, "type": "searchset", "total": 2, "link": [ { "relation": "self", "url": "https://careplan.cit-careplan-2598.local/fhir/EpisodeOfCare?_format=json&_pretty=true&team=https%3A%2F%2Forganization.cit-careplan-2598.local%2Ffhir%2FCareTeam%2F4183%2Chttps%3A%2F%2Forganization.cit-careplan-2598.local%2Ffhir%2FCareTeam%2F33682" } ], "entry": [ { "fullUrl": "https://careplan.cit-careplan-2598.local/fhir/EpisodeOfCare/1778", "resource": { "resourceType": "EpisodeOfCare", "id": "1778", "meta": { "versionId": "1", "lastUpdated": "2023-08-17T13:35:34.270+00:00", "source": "#c15a2006-3a9b-90", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare" ] }, "extension": [ { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization", "valueReference": { "reference": "https://organization.cit-careplan-2598.local/fhir/Organization/16003" } } ], "status": "active", "statusHistory": [ { "status": "active", "period": { "start": "2023-08-17T13:35:34+00:00" } } ], "diagnosis": [ { "condition": { "reference": "https://careplan.cit-careplan-2598.local/fhir/Condition/1777" }, "rank": 1 } ], "patient": { "reference": "https://patient.cit-careplan-2598.local/fhir/Patient/49979" }, "managingOrganization": { "reference": "https://organization.cit-careplan-2598.local/fhir/Organization/16003" }, "period": { "start": "1970-01-01T00:00:01+00:00", "end": "1970-01-01T00:01:40+00:00" }, "team": [ { "reference": "https://organization.cit-careplan-2598.local/fhir/CareTeam/4183" } ] }, "search": { "mode": "match" } }, { "fullUrl": "https://careplan.cit-careplan-2598.local/fhir/EpisodeOfCare/1780", "resource": { "resourceType": "EpisodeOfCare", "id": "1780", "meta": { "versionId": "1", "lastUpdated": "2023-08-17T13:35:34.563+00:00", "source": "#bdd05204-38d4-94", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare" ] }, "extension": [ { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization", "valueReference": { "reference": "https://organization.cit-careplan-2598.local/fhir/Organization/39312" } } ], "status": "active", "statusHistory": [ { "status": "active", "period": { "start": "2023-08-17T13:35:34+00:00" } } ], "diagnosis": [ { "condition": { "reference": "https://careplan.cit-careplan-2598.local/fhir/Condition/1779" }, "rank": 1 } ], "patient": { "reference": "https://patient.cit-careplan-2598.local/fhir/Patient/53596" }, "managingOrganization": { "reference": "https://organization.cit-careplan-2598.local/fhir/Organization/39312" }, "period": { "start": "1970-01-01T00:00:01+00:00", "end": "1970-01-01T00:01:40+00:00" }, "team": [ { "reference": "https://organization.cit-careplan-2598.local/fhir/CareTeam/33682" } ] }, "search": { "mode": "match" } } ] }
GET [base]/EpisodeOfCare/1800/_history/1
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTI1OTgubG9jYWwvZmhpci9QcmFjdGl0aW9uZXIvNjM2NDkiLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRXBpc29kZU9mQ2FyZS5zZWFyY2giLCJFcGlzb2RlT2ZDYXJlLnJlYWQiLCJDYXJlUGxhbi5yZWFkIiwiRXBpc29kZU9mQ2FyZSR1cGRhdGUtY2FyZS10ZWFtcyIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiRXBpc29kZU9mQ2FyZS5wYXRjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. 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
{ "resourceType": "EpisodeOfCare", "id": "1800", "meta": { "versionId": "1", "lastUpdated": "2023-08-17T13:35:40.822+00:00", "source": "#8cde79be-bf4e-91", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare" ] }, "extension": [ { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization", "valueReference": { "reference": "https://organization.cit-careplan-2598.local/fhir/Organization/15088" } } ], "status": "active", "statusHistory": [ { "status": "active", "period": { "start": "2023-08-17T13:35:40+00:00" } } ], "diagnosis": [ { "condition": { "reference": "https://careplan.cit-careplan-2598.local/fhir/Condition/1799" }, "rank": 1 } ], "patient": { "reference": "https://patient.cit-careplan-2598.local/fhir/Patient/489" }, "managingOrganization": { "reference": "https://organization.cit-careplan-2598.local/fhir/Organization/15088" }, "period": { "start": "1970-01-01T00:00:01+00:00", "end": "1970-01-01T00:01:40+00:00" }, "team": [ { "reference": "https://organization.cit-careplan-2598.local/fhir/CareTeam/9344" }, { "reference": "https://organization.cit-careplan-2598.local/fhir/CareTeam/64746" } ] }
PATCH [base]/EpisodeOfCare/1638
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTI1OTgubG9jYWwvZmhpci9QcmFjdGl0aW9uZXIvMzkxNzUiLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRXBpc29kZU9mQ2FyZS5zZWFyY2giLCJFcGlzb2RlT2ZDYXJlLnJlYWQiLCJDYXJlUGxhbi5yZWFkIiwiRXBpc29kZU9mQ2FyZSR1cGRhdGUtY2FyZS10ZWFtcyIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiRXBpc29kZU9mQ2FyZS5wYXRjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. 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": "/team", "value": [ { "reference": "https://organization.cit-careplan-2598.local/fhir/CareTeam/54653" } ] } ]
{ "resourceType": "EpisodeOfCare", "id": "1638", "meta": { "versionId": "2", "lastUpdated": "2023-08-17T13:34:05.336+00:00", "source": "#7229d78f-6b5f-93", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare" ] }, "extension": [ { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization", "valueReference": { "reference": "https://organization.cit-careplan-2598.local/fhir/Organization/34851" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory", "extension": [ { "url": "careTeam", "valueReference": { "reference": "https://organization.cit-careplan-2598.local/fhir/CareTeam/52667" } }, { "url": "period", "valuePeriod": { "start": "2023-08-16T13:34:05+00:00", "end": "2023-08-17T13:34:06+00:00" } } ] }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory", "extension": [ { "url": "careTeam", "valueReference": { "reference": "https://organization.cit-careplan-2598.local/fhir/CareTeam/54653" } }, { "url": "period", "valuePeriod": { "start": "2023-08-17T13:34:06+00:00" } } ] } ], "status": "active", "statusHistory": [ { "status": "active", "period": { "start": "2023-08-17T13:34:05+00:00" } } ], "diagnosis": [ { "condition": { "reference": "https://careplan.cit-careplan-2598.local/fhir/Condition/1637" }, "rank": 1 } ], "patient": { "reference": "https://patient.cit-careplan-2598.local/fhir/Patient/80118" }, "managingOrganization": { "reference": "https://organization.cit-careplan-2598.local/fhir/Organization/34851" }, "period": { "start": "1970-01-01T00:00:01+00:00", "end": "1970-01-01T00:01:40+00:00" }, "team": [ { "reference": "https://organization.cit-careplan-2598.local/fhir/CareTeam/54653" } ] }
POST [base]/EpisodeOfCare/1816/$validate
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTI1OTgubG9jYWwvZmhpci9QcmFjdGl0aW9uZXIvNjYyMDgiLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRXBpc29kZU9mQ2FyZS5zZWFyY2giLCJFcGlzb2RlT2ZDYXJlLnJlYWQiLCJDYXJlUGxhbi5yZWFkIiwiRXBpc29kZU9mQ2FyZSR1cGRhdGUtY2FyZS10ZWFtcyIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiRXBpc29kZU9mQ2FyZS5wYXRjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. 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": "Parameters", "parameter": [ { "name": "resource", "resource": { "resourceType": "EpisodeOfCare", "id": "1816", "meta": { "versionId": "1", "lastUpdated": "2023-08-17T13:35:48.582+00:00", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare" ] }, "extension": [ { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization", "valueReference": { "reference": "https://organization.cit-careplan-2598.local/fhir/Organization/58759" } } ], "status": "active", "statusHistory": [ { "status": "active", "period": { "start": "2023-08-17T13:35:48+00:00" } } ], "diagnosis": [ { "condition": { "reference": "https://careplan.cit-careplan-2598.local/fhir/Condition/1815" }, "rank": 1 } ], "patient": { "reference": "https://patient.cit-careplan-2598.local/fhir/Patient/91777" }, "managingOrganization": { "reference": "https://organization.cit-careplan-2598.local/fhir/Organization/58759" }, "period": { "start": "1970-01-01T00:00:01+00:00", "end": "1970-01-01T00:01:40+00:00" } } } ] }
{ "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" } ] }