Publish Box goes here
No examples are currently available for the profile.
GET [base]/EpisodeOfCare/1758
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": "1758",
"meta": {
"versionId": "2",
"lastUpdated": "2024-01-29T20:59:37.178+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-2719.local/fhir/Organization/27392"
}
}
],
"status": "active",
"statusHistory": [
{
"status": "active",
"period": {
"start": "2024-01-29T20:59:36+00:00"
}
}
],
"diagnosis": [
{
"condition": {
"reference": "https://careplan.cit-careplan-2719.local/fhir/Condition/1757"
},
"rank": 1
}
],
"patient": {
"reference": "https://patient.cit-careplan-2719.local/fhir/Patient/96804"
},
"managingOrganization": {
"reference": "https://organization.cit-careplan-2719.local/fhir/Organization/27392"
},
"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-2719.local%2Ffhir%2FCareTeam%2F27917%2Chttps%3A%2F%2Forganization.cit-careplan-2719.local%2Ffhir%2FCareTeam%2F89163
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTI3MTkubG9jYWwvZmhpci9QcmFjdGl0aW9uZXIvNjE3OCIsInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJFcGlzb2RlT2ZDYXJlLnNlYXJjaCIsIkVwaXNvZGVPZkNhcmUucmVhZCIsIkNhcmVQbGFuLnJlYWQiLCJFcGlzb2RlT2ZDYXJlJHVwZGF0ZS1jYXJlLXRlYW1zIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJFcGlzb2RlT2ZDYXJlLnBhdGNoIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
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": "Bundle",
"id": "d24f5a5a-b179-495d-ae90-02d2d6f842ac",
"meta": {
"lastUpdated": "2024-01-29T21:00:47.233+00:00"
},
"type": "searchset",
"total": 2,
"link": [
{
"relation": "self",
"url": "https://careplan.cit-careplan-2719.local/fhir/EpisodeOfCare?_format=json&_pretty=true&team=https%3A%2F%2Forganization.cit-careplan-2719.local%2Ffhir%2FCareTeam%2F27917%2Chttps%3A%2F%2Forganization.cit-careplan-2719.local%2Ffhir%2FCareTeam%2F89163"
}
],
"entry": [
{
"fullUrl": "https://careplan.cit-careplan-2719.local/fhir/EpisodeOfCare/1825",
"resource": {
"resourceType": "EpisodeOfCare",
"id": "1825",
"meta": {
"versionId": "1",
"lastUpdated": "2024-01-29T21:00:46.842+00:00",
"source": "#a690f4d7-ba83-47",
"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-2719.local/fhir/Organization/48501"
}
}
],
"status": "active",
"statusHistory": [
{
"status": "active",
"period": {
"start": "2024-01-29T21:00:44+00:00"
}
}
],
"diagnosis": [
{
"condition": {
"reference": "https://careplan.cit-careplan-2719.local/fhir/Condition/1824"
},
"rank": 1
}
],
"patient": {
"reference": "https://patient.cit-careplan-2719.local/fhir/Patient/38413"
},
"managingOrganization": {
"reference": "https://organization.cit-careplan-2719.local/fhir/Organization/48501"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
},
"team": [
{
"reference": "https://organization.cit-careplan-2719.local/fhir/CareTeam/27917"
}
]
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://careplan.cit-careplan-2719.local/fhir/EpisodeOfCare/1827",
"resource": {
"resourceType": "EpisodeOfCare",
"id": "1827",
"meta": {
"versionId": "1",
"lastUpdated": "2024-01-29T21:00:47.168+00:00",
"source": "#0d73a5a1-4ee8-41",
"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-2719.local/fhir/Organization/66694"
}
}
],
"status": "active",
"statusHistory": [
{
"status": "active",
"period": {
"start": "2024-01-29T21:00:46+00:00"
}
}
],
"diagnosis": [
{
"condition": {
"reference": "https://careplan.cit-careplan-2719.local/fhir/Condition/1826"
},
"rank": 1
}
],
"patient": {
"reference": "https://patient.cit-careplan-2719.local/fhir/Patient/7410"
},
"managingOrganization": {
"reference": "https://organization.cit-careplan-2719.local/fhir/Organization/66694"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
},
"team": [
{
"reference": "https://organization.cit-careplan-2719.local/fhir/CareTeam/89163"
}
]
},
"search": {
"mode": "match"
}
}
]
}
GET [base]/EpisodeOfCare/1847/_history/1
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTI3MTkubG9jYWwvZmhpci9QcmFjdGl0aW9uZXIvNTE3ODciLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRXBpc29kZU9mQ2FyZS5zZWFyY2giLCJFcGlzb2RlT2ZDYXJlLnJlYWQiLCJDYXJlUGxhbi5yZWFkIiwiRXBpc29kZU9mQ2FyZSR1cGRhdGUtY2FyZS10ZWFtcyIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiRXBpc29kZU9mQ2FyZS5wYXRjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
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": "1847",
"meta": {
"versionId": "1",
"lastUpdated": "2024-01-29T21:00:55.634+00:00",
"source": "#5c71bd47-7888-44",
"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-2719.local/fhir/Organization/3010"
}
}
],
"status": "active",
"statusHistory": [
{
"status": "active",
"period": {
"start": "2024-01-29T21:00:55+00:00"
}
}
],
"diagnosis": [
{
"condition": {
"reference": "https://careplan.cit-careplan-2719.local/fhir/Condition/1846"
},
"rank": 1
}
],
"patient": {
"reference": "https://patient.cit-careplan-2719.local/fhir/Patient/63934"
},
"managingOrganization": {
"reference": "https://organization.cit-careplan-2719.local/fhir/Organization/3010"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
},
"team": [
{
"reference": "https://organization.cit-careplan-2719.local/fhir/CareTeam/81290"
},
{
"reference": "https://organization.cit-careplan-2719.local/fhir/CareTeam/19546"
}
]
}
PATCH [base]/EpisodeOfCare/1673
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTI3MTkubG9jYWwvZmhpci9QcmFjdGl0aW9uZXIvMTkwNDUiLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRXBpc29kZU9mQ2FyZS5zZWFyY2giLCJFcGlzb2RlT2ZDYXJlLnJlYWQiLCJDYXJlUGxhbi5yZWFkIiwiRXBpc29kZU9mQ2FyZSR1cGRhdGUtY2FyZS10ZWFtcyIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiRXBpc29kZU9mQ2FyZS5wYXRjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
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-2719.local/fhir/CareTeam/20681"
}
]
}
]
Response
{
"resourceType": "EpisodeOfCare",
"id": "1673",
"meta": {
"versionId": "2",
"lastUpdated": "2024-01-29T20:58:30.818+00:00",
"source": "#43543165-f52d-4a",
"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-2719.local/fhir/Organization/62828"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory",
"extension": [
{
"url": "careTeam",
"valueReference": {
"reference": "https://organization.cit-careplan-2719.local/fhir/CareTeam/95131"
}
},
{
"url": "period",
"valuePeriod": {
"start": "2024-01-28T20:58:29+00:00",
"end": "2024-01-29T20:58:30+00:00"
}
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory",
"extension": [
{
"url": "careTeam",
"valueReference": {
"reference": "https://organization.cit-careplan-2719.local/fhir/CareTeam/20681"
}
},
{
"url": "period",
"valuePeriod": {
"start": "2024-01-29T20:58:30+00:00"
}
}
]
}
],
"status": "active",
"statusHistory": [
{
"status": "active",
"period": {
"start": "2024-01-29T20:58:29+00:00"
}
}
],
"diagnosis": [
{
"condition": {
"reference": "https://careplan.cit-careplan-2719.local/fhir/Condition/1672"
},
"rank": 1
}
],
"patient": {
"reference": "https://patient.cit-careplan-2719.local/fhir/Patient/97482"
},
"managingOrganization": {
"reference": "https://organization.cit-careplan-2719.local/fhir/Organization/62828"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
},
"team": [
{
"reference": "https://organization.cit-careplan-2719.local/fhir/CareTeam/20681"
}
]
}
POST [base]/EpisodeOfCare/1863/$validate
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTI3MTkubG9jYWwvZmhpci9QcmFjdGl0aW9uZXIvMTEyNjgiLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRXBpc29kZU9mQ2FyZS5zZWFyY2giLCJFcGlzb2RlT2ZDYXJlLnJlYWQiLCJDYXJlUGxhbi5yZWFkIiwiRXBpc29kZU9mQ2FyZSR1cGRhdGUtY2FyZS10ZWFtcyIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiRXBpc29kZU9mQ2FyZS5wYXRjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
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
Body:
{
"resourceType": "Parameters",
"parameter": [
{
"name": "resource",
"resource": {
"resourceType": "EpisodeOfCare",
"id": "1863",
"meta": {
"versionId": "1",
"lastUpdated": "2024-01-29T21:01:05.189+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-2719.local/fhir/Organization/77885"
}
}
],
"status": "active",
"statusHistory": [
{
"status": "active",
"period": {
"start": "2024-01-29T21:01:03+00:00"
}
}
],
"diagnosis": [
{
"condition": {
"reference": "https://careplan.cit-careplan-2719.local/fhir/Condition/1862"
},
"rank": 1
}
],
"patient": {
"reference": "https://patient.cit-careplan-2719.local/fhir/Patient/27547"
},
"managingOrganization": {
"reference": "https://organization.cit-careplan-2719.local/fhir/Organization/77885"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
}
}
}
]
}
Response
{
"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"
}
]
}