eHealth Infrastructure 2.4.0 - release
Publish Box goes here
No examples are currently available for the profile.
GET [base]/EpisodeOfCare/1256
Header
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTIxMzUubG9jYWwvZmhpci9QcmFjdGl0aW9uZXIvMTU3MDAiLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRXBpc29kZU9mQ2FyZS5zZWFyY2giLCJFcGlzb2RlT2ZDYXJlLnJlYWQiLCJDYXJlUGxhbi5yZWFkIiwiRXBpc29kZU9mQ2FyZSR1cGRhdGUtY2FyZS10ZWFtcyIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiRXBpc29kZU9mQ2FyZS5wYXRjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. 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": "EpisodeOfCare", "id": "1256", "meta": { "versionId": "2", "lastUpdated": "2022-10-10T14:58:01.243+00:00", "source": "#b428eb26-21b2-99", "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-2135.local/fhir/Organization/54611" } } ], "status": "active", "diagnosis": [ { "condition": { "reference": "https://careplan.cit-careplan-2135.local/fhir/Condition/1255" }, "rank": 1 } ], "patient": { "reference": "https://patient.cit-careplan-2135.local/fhir/Patient/78876" }, "managingOrganization": { "reference": "https://organization.cit-careplan-2135.local/fhir/Organization/77528" }, "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-2135.local%2Ffhir%2FCareTeam%2F35762%2Chttps%3A%2F%2Forganization.cit-careplan-2135.local%2Ffhir%2FCareTeam%2F22820
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTIxMzUubG9jYWwvZmhpci9QcmFjdGl0aW9uZXIvMTQ5MDIiLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRXBpc29kZU9mQ2FyZS5zZWFyY2giLCJFcGlzb2RlT2ZDYXJlLnJlYWQiLCJDYXJlUGxhbi5yZWFkIiwiRXBpc29kZU9mQ2FyZSR1cGRhdGUtY2FyZS10ZWFtcyIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiRXBpc29kZU9mQ2FyZS5wYXRjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. 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
{ "resourceType": "Bundle", "id": "9cba723d-948c-4ccb-a53c-eb9c3b650972", "meta": { "lastUpdated": "2022-10-10T14:59:52.591+00:00" }, "type": "searchset", "total": 2, "link": [ { "relation": "self", "url": "https://careplan.cit-careplan-2135.local/fhir/EpisodeOfCare?_format=json&_pretty=true&team=https%3A%2F%2Forganization.cit-careplan-2135.local%2Ffhir%2FCareTeam%2F35762%2Chttps%3A%2F%2Forganization.cit-careplan-2135.local%2Ffhir%2FCareTeam%2F22820" } ], "entry": [ { "fullUrl": "https://careplan.cit-careplan-2135.local/fhir/EpisodeOfCare/1423", "resource": { "resourceType": "EpisodeOfCare", "id": "1423", "meta": { "versionId": "1", "lastUpdated": "2022-10-10T14:59:51.225+00:00", "source": "#8a2d125c-b2b1-96", "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-2135.local/fhir/Organization/14307" } } ], "status": "active", "diagnosis": [ { "condition": { "reference": "https://careplan.cit-careplan-2135.local/fhir/Condition/1422" }, "rank": 1 } ], "patient": { "reference": "https://patient.cit-careplan-2135.local/fhir/Patient/391" }, "managingOrganization": { "reference": "https://organization.cit-careplan-2135.local/fhir/Organization/14307" }, "period": { "start": "1970-01-01T00:00:01+00:00", "end": "1970-01-01T00:01:40+00:00" }, "team": [ { "reference": "https://organization.cit-careplan-2135.local/fhir/CareTeam/35762" } ] }, "search": { "mode": "match" } }, { "fullUrl": "https://careplan.cit-careplan-2135.local/fhir/EpisodeOfCare/1425", "resource": { "resourceType": "EpisodeOfCare", "id": "1425", "meta": { "versionId": "1", "lastUpdated": "2022-10-10T14:59:52.473+00:00", "source": "#3d660582-e3df-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-2135.local/fhir/Organization/90734" } } ], "status": "active", "diagnosis": [ { "condition": { "reference": "https://careplan.cit-careplan-2135.local/fhir/Condition/1424" }, "rank": 1 } ], "patient": { "reference": "https://patient.cit-careplan-2135.local/fhir/Patient/30302" }, "managingOrganization": { "reference": "https://organization.cit-careplan-2135.local/fhir/Organization/90734" }, "period": { "start": "1970-01-01T00:00:01+00:00", "end": "1970-01-01T00:01:40+00:00" }, "team": [ { "reference": "https://organization.cit-careplan-2135.local/fhir/CareTeam/22820" } ] }, "search": { "mode": "match" } } ] }
GET [base]/EpisodeOfCare/1445/_history/1
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTIxMzUubG9jYWwvZmhpci9QcmFjdGl0aW9uZXIvODQzNDIiLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRXBpc29kZU9mQ2FyZS5zZWFyY2giLCJFcGlzb2RlT2ZDYXJlLnJlYWQiLCJDYXJlUGxhbi5yZWFkIiwiRXBpc29kZU9mQ2FyZSR1cGRhdGUtY2FyZS10ZWFtcyIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiRXBpc29kZU9mQ2FyZS5wYXRjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. 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
{ "resourceType": "EpisodeOfCare", "id": "1445", "meta": { "versionId": "1", "lastUpdated": "2022-10-10T14:59:59.947+00:00", "source": "#2ff21a44-e9d8-9b", "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-2135.local/fhir/Organization/1569" } } ], "status": "active", "diagnosis": [ { "condition": { "reference": "https://careplan.cit-careplan-2135.local/fhir/Condition/1444" }, "rank": 1 } ], "patient": { "reference": "https://patient.cit-careplan-2135.local/fhir/Patient/59731" }, "managingOrganization": { "reference": "https://organization.cit-careplan-2135.local/fhir/Organization/1569" }, "period": { "start": "1970-01-01T00:00:01+00:00", "end": "1970-01-01T00:01:40+00:00" }, "team": [ { "reference": "https://organization.cit-careplan-2135.local/fhir/CareTeam/77947" }, { "reference": "https://organization.cit-careplan-2135.local/fhir/CareTeam/25689" } ] }
PATCH [base]/EpisodeOfCare/1305
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTIxMzUubG9jYWwvZmhpci9QcmFjdGl0aW9uZXIvNDg3NjMiLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRXBpc29kZU9mQ2FyZS5zZWFyY2giLCJFcGlzb2RlT2ZDYXJlLnJlYWQiLCJDYXJlUGxhbi5yZWFkIiwiRXBpc29kZU9mQ2FyZSR1cGRhdGUtY2FyZS10ZWFtcyIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiRXBpc29kZU9mQ2FyZS5wYXRjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. 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": "/team", "value": [ { "reference": "https://organization.cit-careplan-2135.local/fhir/CareTeam/40833" } ] } ]
{ "resourceType": "EpisodeOfCare", "id": "1305", "meta": { "versionId": "2", "lastUpdated": "2022-10-10T14:58:41.340+00:00", "source": "#ae5a5b72-e221-9a", "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-2135.local/fhir/Organization/13684" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory", "extension": [ { "url": "careTeam", "valueReference": { "reference": "https://organization.cit-careplan-2135.local/fhir/CareTeam/87739" } }, { "url": "period", "valuePeriod": { "start": "2022-10-09T14:58:39+00:00", "end": "2022-10-10T14:58:41+00:00" } } ] }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory", "extension": [ { "url": "careTeam", "valueReference": { "reference": "https://organization.cit-careplan-2135.local/fhir/CareTeam/40833" } }, { "url": "period", "valuePeriod": { "start": "2022-10-10T14:58:41+00:00" } } ] } ], "status": "active", "diagnosis": [ { "condition": { "reference": "https://careplan.cit-careplan-2135.local/fhir/Condition/1304" }, "rank": 1 } ], "patient": { "reference": "https://patient.cit-careplan-2135.local/fhir/Patient/15227" }, "managingOrganization": { "reference": "https://organization.cit-careplan-2135.local/fhir/Organization/13684" }, "period": { "start": "1970-01-01T00:00:01+00:00", "end": "1970-01-01T00:01:40+00:00" }, "team": [ { "reference": "https://organization.cit-careplan-2135.local/fhir/CareTeam/40833" } ] }
POST [base]/EpisodeOfCare/1461/$validate
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTIxMzUubG9jYWwvZmhpci9QcmFjdGl0aW9uZXIvODA2NjYiLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRXBpc29kZU9mQ2FyZS5zZWFyY2giLCJFcGlzb2RlT2ZDYXJlLnJlYWQiLCJDYXJlUGxhbi5yZWFkIiwiRXBpc29kZU9mQ2FyZSR1cGRhdGUtY2FyZS10ZWFtcyIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiRXBpc29kZU9mQ2FyZS5wYXRjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. 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": "EpisodeOfCare", "id": "1461", "meta": { "versionId": "1", "lastUpdated": "2022-10-10T15:00:10.129+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-2135.local/fhir/Organization/17963" } } ], "status": "active", "diagnosis": [ { "condition": { "reference": "https://careplan.cit-careplan-2135.local/fhir/Condition/1460" }, "rank": 1 } ], "patient": { "reference": "https://patient.cit-careplan-2135.local/fhir/Patient/74130" }, "managingOrganization": { "reference": "https://organization.cit-careplan-2135.local/fhir/Organization/17963" }, "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" } ] }