eHealth Infrastructure2022.1 - release
Publish Box goes here
No examples are currently available for the profile.
GET [base]/EpisodeOfCare/1191
Header
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTE5NDUubG9jYWwvZmhpci9QcmFjdGl0aW9uZXIvODY4OTIiLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRXBpc29kZU9mQ2FyZS5zZWFyY2giLCJFcGlzb2RlT2ZDYXJlLnJlYWQiLCJDYXJlUGxhbi5yZWFkIiwiRXBpc29kZU9mQ2FyZSR1cGRhdGUtY2FyZS10ZWFtcyIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiRXBpc29kZU9mQ2FyZS5wYXRjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/5.4.0 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip
Response
{ "resourceType": "EpisodeOfCare", "id": "1191", "meta": { "versionId": "2", "lastUpdated": "2021-12-21T16:12:58.552+00:00", "source": "#5609e783-d59a-4c", "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-1945.local/fhir/Organization/4625" } } ], "status": "active", "diagnosis": [ { "condition": { "reference": "https://careplan.cit-careplan-1945.local/fhir/Condition/1190" }, "rank": 1 } ], "patient": { "reference": "https://patient.cit-careplan-1945.local/fhir/Patient/23125" }, "managingOrganization": { "reference": "https://organization.cit-careplan-1945.local/fhir/Organization/2042" }, "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-1945.local%2Ffhir%2FCareTeam%2F72925%2Chttps%3A%2F%2Forganization.cit-careplan-1945.local%2Ffhir%2FCareTeam%2F18340
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTE5NDUubG9jYWwvZmhpci9QcmFjdGl0aW9uZXIvNzU2NjgiLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRXBpc29kZU9mQ2FyZS5zZWFyY2giLCJFcGlzb2RlT2ZDYXJlLnJlYWQiLCJDYXJlUGxhbi5yZWFkIiwiRXBpc29kZU9mQ2FyZSR1cGRhdGUtY2FyZS10ZWFtcyIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiRXBpc29kZU9mQ2FyZS5wYXRjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/5.4.0 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip
{ "resourceType": "Bundle", "id": "0d51269e-a0c2-4003-a611-8500399a1e35", "meta": { "lastUpdated": "2021-12-21T16:15:28.112+00:00" }, "type": "searchset", "total": 2, "link": [ { "relation": "self", "url": "https://careplan.cit-careplan-1945.local/fhir/EpisodeOfCare?_format=json&_pretty=true&team=https%3A%2F%2Forganization.cit-careplan-1945.local%2Ffhir%2FCareTeam%2F72925%2Chttps%3A%2F%2Forganization.cit-careplan-1945.local%2Ffhir%2FCareTeam%2F18340" } ], "entry": [ { "fullUrl": "https://careplan.cit-careplan-1945.local/fhir/EpisodeOfCare/1337", "resource": { "resourceType": "EpisodeOfCare", "id": "1337", "meta": { "versionId": "1", "lastUpdated": "2021-12-21T16:15:26.599+00:00", "source": "#d83ce759-d0ab-9e", "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-1945.local/fhir/Organization/46811" } } ], "status": "active", "diagnosis": [ { "condition": { "reference": "https://careplan.cit-careplan-1945.local/fhir/Condition/1336" }, "rank": 1 } ], "patient": { "reference": "https://patient.cit-careplan-1945.local/fhir/Patient/90386" }, "managingOrganization": { "reference": "https://organization.cit-careplan-1945.local/fhir/Organization/58549" }, "period": { "start": "1970-01-01T00:00:01+00:00", "end": "1970-01-01T00:01:40+00:00" }, "team": [ { "reference": "https://organization.cit-careplan-1945.local/fhir/CareTeam/72925" } ] }, "search": { "mode": "match" } }, { "fullUrl": "https://careplan.cit-careplan-1945.local/fhir/EpisodeOfCare/1339", "resource": { "resourceType": "EpisodeOfCare", "id": "1339", "meta": { "versionId": "1", "lastUpdated": "2021-12-21T16:15:28.033+00:00", "source": "#208bc6a7-374f-48", "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-1945.local/fhir/Organization/75701" } } ], "status": "active", "diagnosis": [ { "condition": { "reference": "https://careplan.cit-careplan-1945.local/fhir/Condition/1338" }, "rank": 1 } ], "patient": { "reference": "https://patient.cit-careplan-1945.local/fhir/Patient/94144" }, "managingOrganization": { "reference": "https://organization.cit-careplan-1945.local/fhir/Organization/14230" }, "period": { "start": "1970-01-01T00:00:01+00:00", "end": "1970-01-01T00:01:40+00:00" }, "team": [ { "reference": "https://organization.cit-careplan-1945.local/fhir/CareTeam/18340" } ] }, "search": { "mode": "match" } } ] }
GET [base]/EpisodeOfCare/1347/_history/1
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTE5NDUubG9jYWwvZmhpci9QcmFjdGl0aW9uZXIvOTA0NDEiLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRXBpc29kZU9mQ2FyZS5zZWFyY2giLCJFcGlzb2RlT2ZDYXJlLnJlYWQiLCJDYXJlUGxhbi5yZWFkIiwiRXBpc29kZU9mQ2FyZSR1cGRhdGUtY2FyZS10ZWFtcyIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiRXBpc29kZU9mQ2FyZS5wYXRjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/5.4.0 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip
{ "resourceType": "EpisodeOfCare", "id": "1347", "meta": { "versionId": "1", "lastUpdated": "2021-12-21T16:15:32.518+00:00", "source": "#738671ea-8a08-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-1945.local/fhir/Organization/94673" } } ], "status": "active", "diagnosis": [ { "condition": { "reference": "https://careplan.cit-careplan-1945.local/fhir/Condition/1346" }, "rank": 1 } ], "patient": { "reference": "https://patient.cit-careplan-1945.local/fhir/Patient/6796" }, "managingOrganization": { "reference": "https://organization.cit-careplan-1945.local/fhir/Organization/18252" }, "period": { "start": "1970-01-01T00:00:01+00:00", "end": "1970-01-01T00:01:40+00:00" }, "team": [ { "reference": "https://organization.cit-careplan-1945.local/fhir/CareTeam/5907" }, { "reference": "https://organization.cit-careplan-1945.local/fhir/CareTeam/49873" } ] }
PATCH [base]/EpisodeOfCare/1240
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTE5NDUubG9jYWwvZmhpci9QcmFjdGl0aW9uZXIvNjM2MzQiLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRXBpc29kZU9mQ2FyZS5zZWFyY2giLCJFcGlzb2RlT2ZDYXJlLnJlYWQiLCJDYXJlUGxhbi5yZWFkIiwiRXBpc29kZU9mQ2FyZSR1cGRhdGUtY2FyZS10ZWFtcyIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiRXBpc29kZU9mQ2FyZS5wYXRjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. 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/5.4.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-1945.local/fhir/CareTeam/38364" } ] } ]
{ "resourceType": "EpisodeOfCare", "id": "1240", "meta": { "versionId": "2", "lastUpdated": "2021-12-21T16:13:54.814+00:00", "source": "#33b55d98-5afd-43", "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-1945.local/fhir/Organization/427" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory", "extension": [ { "url": "careTeam", "valueReference": { "reference": "https://organization.cit-careplan-1945.local/fhir/CareTeam/86038" } }, { "url": "period", "valuePeriod": { "start": "2021-12-20T16:13:53+00:00", "end": "2021-12-21T16:13:55+00:00" } } ] }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory", "extension": [ { "url": "careTeam", "valueReference": { "reference": "https://organization.cit-careplan-1945.local/fhir/CareTeam/38364" } }, { "url": "period", "valuePeriod": { "start": "2021-12-21T16:13:55+00:00" } } ] } ], "status": "active", "diagnosis": [ { "condition": { "reference": "https://careplan.cit-careplan-1945.local/fhir/Condition/1239" }, "rank": 1 } ], "patient": { "reference": "https://patient.cit-careplan-1945.local/fhir/Patient/86346" }, "managingOrganization": { "reference": "https://organization.cit-careplan-1945.local/fhir/Organization/84445" }, "period": { "start": "1970-01-01T00:00:01+00:00", "end": "1970-01-01T00:01:40+00:00" }, "team": [ { "reference": "https://organization.cit-careplan-1945.local/fhir/CareTeam/38364" } ] }
POST [base]/EpisodeOfCare/1363/$validate
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTE5NDUubG9jYWwvZmhpci9QcmFjdGl0aW9uZXIvNDY0NCIsInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJFcGlzb2RlT2ZDYXJlLnNlYXJjaCIsIkVwaXNvZGVPZkNhcmUucmVhZCIsIkNhcmVQbGFuLnJlYWQiLCJFcGlzb2RlT2ZDYXJlJHVwZGF0ZS1jYXJlLXRlYW1zIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJFcGlzb2RlT2ZDYXJlLnBhdGNoIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ. Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/5.4.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": "1363", "meta": { "versionId": "1", "lastUpdated": "2021-12-21T16:15:42.550+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-1945.local/fhir/Organization/4431" } } ], "status": "active", "diagnosis": [ { "condition": { "reference": "https://careplan.cit-careplan-1945.local/fhir/Condition/1362" }, "rank": 1 } ], "patient": { "reference": "https://patient.cit-careplan-1945.local/fhir/Patient/74349" }, "managingOrganization": { "reference": "https://organization.cit-careplan-1945.local/fhir/Organization/28856" }, "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" } ] }