This page is part of the FUT Infrastructure (v3.3.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
POST [base]/CarePlan/2240/$update-care-teams
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQ2FyZVBsYW4kc3VnZ2VzdC1jYXJlLXRlYW1zIiwiQ2FyZVBsYW4kdXBkYXRlLWNhcmUtdGVhbXMiLCJDYXJlUGxhbi5yZWFkIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJDYXJlUGxhbi5zZWFyY2giXX0sInVzZXJfdHlwZSI6IlNZU1RFTSJ9.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/6.10.5 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "Parameters",
"parameter": [
{
"name": "addCareTeams",
"valueReference": {
"reference": "https://organization.cit-careplan-2818.local/fhir/CareTeam/83063"
}
},
{
"name": "removeCareTeams",
"valueReference": {
"reference": "https://organization.cit-careplan-2818.local/fhir/CareTeam/43545"
}
}
]
}
Response
{
"resourceType": "CarePlan",
"id": "2240",
"meta": {
"versionId": "2",
"lastUpdated": "2024-07-29T13:18:20.191+00:00",
"source": "#6478a5bd-a731-4c2e-ad0a-39933956b074",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare",
"valueReference": {
"reference": "https://careplan.cit-careplan-2818.local/fhir/EpisodeOfCare/2238"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan-statusHistory",
"extension": [
{
"url": "status",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/request-status",
"code": "draft"
}
]
}
},
{
"url": "period",
"valuePeriod": {
"start": "2024-07-29T13:18:18+00:00"
}
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2818.local/fhir/PlanDefinition/52014"
],
"status": "draft",
"intent": "option",
"category": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careplan-category",
"code": "TBD"
}
]
}
],
"subject": {
"reference": "https://patient.cit-careplan-2818.local/fhir/Patient/21992"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
},
"careTeam": [
{
"reference": "https://organization.cit-careplan-2818.local/fhir/CareTeam/52818"
},
{
"reference": "https://organization.cit-careplan-2818.local/fhir/CareTeam/83063"
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-2818.local/fhir/Condition/2239"
}
]
}