eHealth Infrastructure 2.8.0 - Release 16
Publish Box goes here
No examples are currently available for the profile.
GET [base]/EpisodeOfCare/2499
Header
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTI0NjcubG9jYWwvZmhpci9QcmFjdGl0aW9uZXIvMzgyMzIiLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQ29uZGl0aW9uLnJlYWQiLCJFcGlzb2RlT2ZDYXJlLnJlYWQiLCJFcGlzb2RlT2ZDYXJlJGNyZWF0ZS1lcGlzb2RlLW9mLWNhcmUiLCIkdGVzdC1vbmx5LWNyZWF0ZSIsIlByb3ZlbmFuY2UucmVhZCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. 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": "2499", "meta": { "versionId": "1", "lastUpdated": "2023-05-16T07:53:21.136+00:00", "source": "#c9111e74-24b2-9f", "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-2467.local/fhir/Organization/70644" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory", "extension": [ { "url": "careTeam", "valueReference": { "reference": "https://organization.cit-careplan-2467.local/fhir/CareTeam/44001" } }, { "url": "period", "valuePeriod": { "start": "2023-05-16T07:53:21+00:00" } } ] } ], "status": "planned", "statusHistory": [ { "status": "planned", "period": { "start": "2023-05-16T07:53:21+00:00" } } ], "diagnosis": [ { "condition": { "reference": "https://careplan.cit-careplan-2467.local/fhir/Condition/2500" } } ], "patient": { "reference": "https://patient.cit-careplan-2467.local/fhir/Patient/51010" }, "managingOrganization": { "reference": "https://organization.cit-careplan-2467.local/fhir/Organization/70644" }, "period": { "start": "1970-01-01T00:00:01+00:00", "end": "1970-01-01T00:01:40+00:00" }, "team": [ { "reference": "https://organization.cit-careplan-2467.local/fhir/CareTeam/44001" } ] }
GET [base]/EpisodeOfCare?team=https%3A%2F%2Forganization.cit-careplan-2467.local%2Ffhir%2FCareTeam%2F59941%2Chttps%3A%2F%2Forganization.cit-careplan-2467.local%2Ffhir%2FCareTeam%2F3373
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTI0NjcubG9jYWwvZmhpci9QcmFjdGl0aW9uZXIvNzEzMzUiLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRXBpc29kZU9mQ2FyZS5zZWFyY2giLCJFcGlzb2RlT2ZDYXJlLnJlYWQiLCJDYXJlUGxhbi5yZWFkIiwiRXBpc29kZU9mQ2FyZSR1cGRhdGUtY2FyZS10ZWFtcyIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiRXBpc29kZU9mQ2FyZS5wYXRjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. 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": "671186ff-bfcc-4d4a-b6dc-79a9df3157c1", "meta": { "lastUpdated": "2023-05-16T07:40:39.428+00:00" }, "type": "searchset", "total": 2, "link": [ { "relation": "self", "url": "https://careplan.cit-careplan-2467.local/fhir/EpisodeOfCare?_format=json&_pretty=true&team=https%3A%2F%2Forganization.cit-careplan-2467.local%2Ffhir%2FCareTeam%2F59941%2Chttps%3A%2F%2Forganization.cit-careplan-2467.local%2Ffhir%2FCareTeam%2F3373" } ], "entry": [ { "fullUrl": "https://careplan.cit-careplan-2467.local/fhir/EpisodeOfCare/1135", "resource": { "resourceType": "EpisodeOfCare", "id": "1135", "meta": { "versionId": "1", "lastUpdated": "2023-05-16T07:40:39.036+00:00", "source": "#e67a6128-f0b9-9c", "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-2467.local/fhir/Organization/6647" } } ], "status": "active", "diagnosis": [ { "condition": { "reference": "https://careplan.cit-careplan-2467.local/fhir/Condition/1134" }, "rank": 1 } ], "patient": { "reference": "https://patient.cit-careplan-2467.local/fhir/Patient/20407" }, "managingOrganization": { "reference": "https://organization.cit-careplan-2467.local/fhir/Organization/6647" }, "period": { "start": "1970-01-01T00:00:01+00:00", "end": "1970-01-01T00:01:40+00:00" }, "team": [ { "reference": "https://organization.cit-careplan-2467.local/fhir/CareTeam/59941" } ] }, "search": { "mode": "match" } }, { "fullUrl": "https://careplan.cit-careplan-2467.local/fhir/EpisodeOfCare/1137", "resource": { "resourceType": "EpisodeOfCare", "id": "1137", "meta": { "versionId": "1", "lastUpdated": "2023-05-16T07:40:39.333+00:00", "source": "#aa2a4fce-f381-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-2467.local/fhir/Organization/77448" } } ], "status": "active", "diagnosis": [ { "condition": { "reference": "https://careplan.cit-careplan-2467.local/fhir/Condition/1136" }, "rank": 1 } ], "patient": { "reference": "https://patient.cit-careplan-2467.local/fhir/Patient/86320" }, "managingOrganization": { "reference": "https://organization.cit-careplan-2467.local/fhir/Organization/77448" }, "period": { "start": "1970-01-01T00:00:01+00:00", "end": "1970-01-01T00:01:40+00:00" }, "team": [ { "reference": "https://organization.cit-careplan-2467.local/fhir/CareTeam/3373" } ] }, "search": { "mode": "match" } } ] }
GET [base]/EpisodeOfCare/2519/_history/1
{ "resourceType": "EpisodeOfCare", "id": "2519", "meta": { "versionId": "1", "lastUpdated": "2023-05-16T07:53:25.999+00:00", "source": "#79fdc66b-3d95-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-2467.local/fhir/Organization/53763" } } ], "status": "planned", "statusHistory": [ { "status": "planned", "period": { "start": "2023-05-16T07:53:25+00:00" } } ], "diagnosis": [ { "condition": { "reference": "https://careplan.cit-careplan-2467.local/fhir/Condition/2520" } } ], "patient": { "reference": "https://patient.cit-careplan-2467.local/fhir/Patient/51010" }, "managingOrganization": { "reference": "https://organization.cit-careplan-2467.local/fhir/Organization/53763" }, "period": { "start": "1970-01-01T00:00:01+00:00", "end": "1970-01-01T00:01:40+00:00" } }
PATCH [base]/EpisodeOfCare/1087
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTI0NjcubG9jYWwvZmhpci9QcmFjdGl0aW9uZXIvMjQyNTMiLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRXBpc29kZU9mQ2FyZS5zZWFyY2giLCJFcGlzb2RlT2ZDYXJlLnJlYWQiLCJDYXJlUGxhbi5yZWFkIiwiRXBpc29kZU9mQ2FyZSR1cGRhdGUtY2FyZS10ZWFtcyIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiRXBpc29kZU9mQ2FyZS5wYXRjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. 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-2467.local/fhir/CareTeam/94612" } ] } ]
{ "resourceType": "EpisodeOfCare", "id": "1087", "meta": { "versionId": "2", "lastUpdated": "2023-05-16T07:40:15.805+00:00", "source": "#e9592516-77bb-9d", "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-2467.local/fhir/Organization/42252" } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory", "extension": [ { "url": "careTeam", "valueReference": { "reference": "https://organization.cit-careplan-2467.local/fhir/CareTeam/23913" } }, { "url": "period", "valuePeriod": { "start": "2023-05-15T07:40:15+00:00", "end": "2023-05-16T07:40:15+00:00" } } ] }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory", "extension": [ { "url": "careTeam", "valueReference": { "reference": "https://organization.cit-careplan-2467.local/fhir/CareTeam/94612" } }, { "url": "period", "valuePeriod": { "start": "2023-05-16T07:40:15+00:00" } } ] } ], "status": "active", "diagnosis": [ { "condition": { "reference": "https://careplan.cit-careplan-2467.local/fhir/Condition/1086" }, "rank": 1 } ], "patient": { "reference": "https://patient.cit-careplan-2467.local/fhir/Patient/70699" }, "managingOrganization": { "reference": "https://organization.cit-careplan-2467.local/fhir/Organization/42252" }, "period": { "start": "1970-01-01T00:00:01+00:00", "end": "1970-01-01T00:01:40+00:00" }, "team": [ { "reference": "https://organization.cit-careplan-2467.local/fhir/CareTeam/94612" } ] }
POST [base]/EpisodeOfCare/1173/$validate
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTI0NjcubG9jYWwvZmhpci9QcmFjdGl0aW9uZXIvNDY0NDYiLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRXBpc29kZU9mQ2FyZS5zZWFyY2giLCJFcGlzb2RlT2ZDYXJlLnJlYWQiLCJDYXJlUGxhbi5yZWFkIiwiRXBpc29kZU9mQ2FyZSR1cGRhdGUtY2FyZS10ZWFtcyIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiRXBpc29kZU9mQ2FyZS5wYXRjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. 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": "1173", "meta": { "versionId": "1", "lastUpdated": "2023-05-16T07:40:53.828+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-2467.local/fhir/Organization/79406" } } ], "status": "active", "diagnosis": [ { "condition": { "reference": "https://careplan.cit-careplan-2467.local/fhir/Condition/1172" }, "rank": 1 } ], "patient": { "reference": "https://patient.cit-careplan-2467.local/fhir/Patient/85990" }, "managingOrganization": { "reference": "https://organization.cit-careplan-2467.local/fhir/Organization/79406" }, "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" } ] }