DELETE [base]/CareTeam/137
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiMDljZTQ5NjctZTVjYS00YjM2LTllM2QtYzMzODUxMTRkYjk1IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkNhcmVUZWFtLndyaXRlIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
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>Successfully deleted 1 resource(s) in 38ms</pre></td>\r\r\r</tr>\r</table>\r</div>"
},
"issue": [
{
"severity": "information",
"code": "informational",
"diagnostics": "Successfully deleted 1 resource(s) in 38ms"
}
]
}
GET [base]/CareTeam?status=active&date=ge2020-08-05T10%3A55%3A48%2B00%3A00&date=le2020-08-05T10%3A55%3A48%2B00%3A00&managingOrganization=https%3A%2F%2Forganization.cit-organization-687.local%2Ffhir%2FOrganization%2F240%2F_history%2F1
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiZDg2NDExYjAtNGQ1Zi00ZThlLWI1NDMtNjRhYjZiNzgxZjBiIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkNhcmVUZWFtLnNlYXJjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "Bundle",
"id": "1d21b7b7-e6ad-4264-ae20-4f15c86c2c98",
"meta": {
"lastUpdated": "2020-08-05T10:55:48.556+00:00"
},
"type": "searchset",
"total": 2,
"link": [
{
"relation": "self",
"url": "https://organization.cit-organization-687.local/fhir/CareTeam?_format=json&_pretty=true&date=ge2020-08-05T10%3A55%3A48%2B00%3A00&date=le2020-08-05T10%3A55%3A48%2B00%3A00&managingOrganization=https%3A%2F%2Forganization.cit-organization-687.local%2Ffhir%2FOrganization%2F240%2F_history%2F1&status=active"
}
],
"entry": [
{
"fullUrl": "https://organization.cit-organization-687.local/fhir/CareTeam/241",
"resource": {
"resourceType": "CareTeam",
"id": "241",
"meta": {
"versionId": "1",
"lastUpdated": "2020-08-05T10:55:48.128+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam"
]
},
"identifier": [
{
"id": "6bf1ecea-95ed-4c86-8731-4e992671c563",
"system": "urn:ietf:rfc:3986"
}
],
"status": "active",
"name": "1b26a8a0-cb3b-4ce4-b2b1-6d2a04f4f219",
"period": {
"end": "2020-08-05T10:55:48+00:00"
},
"reasonCode": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/conditions",
"code": "TBD"
}
]
}
],
"managingOrganization": [
{
"reference": "https://organization.cit-organization-687.local/fhir/Organization/240"
}
]
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://organization.cit-organization-687.local/fhir/CareTeam/242",
"resource": {
"resourceType": "CareTeam",
"id": "242",
"meta": {
"versionId": "1",
"lastUpdated": "2020-08-05T10:55:48.228+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam"
]
},
"identifier": [
{
"id": "09c36d29-eb8c-45f9-b74c-4f78f3cb0205",
"system": "urn:ietf:rfc:3986"
}
],
"status": "active",
"name": "21932df2-13fc-4dee-9a3f-1662d6bbab19",
"period": {
"end": "2020-08-05T10:55:48+00:00"
},
"reasonCode": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/conditions",
"code": "TBD"
}
]
}
],
"managingOrganization": [
{
"reference": "https://organization.cit-organization-687.local/fhir/Organization/240"
}
]
},
"search": {
"mode": "match"
}
}
]
}
GET [base]/CareTeam/183/_history/2
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiNjFkNGZkZWQtN2ZiNS00MGZmLWFhMzktMjc0Nzk2N2QzZGJmIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkNhcmVUZWFtLnJlYWQiXX0sInVzZXJfdHlwZSI6IlNZU1RFTSJ9.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "CareTeam",
"id": "183",
"meta": {
"versionId": "2",
"lastUpdated": "2020-08-05T10:55:28.111+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam"
]
},
"identifier": [
{
"id": "8f5d3333-7273-4b5b-b993-1c2055f069ff",
"system": "urn:ietf:rfc:3986"
}
],
"status": "active",
"name": "60861881-32ba-43cf-9706-d23850468880",
"reasonCode": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/conditions",
"code": "TBD"
}
]
}
]
}
GET [base]/CareTeam/100
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiODY2NjY0YjAtYjcwOS00ZDliLThkOTYtNGEyNWI2NmRmMWVlIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIlByYWN0aXRpb25lclJvbGUucmVhZCIsIiRwZXJzaXN0LWxvZ2luIiwiJHRlc3Qtb25seS1jcmVhdGUiXX0sInVzZXJfdHlwZSI6IlNZU1RFTSJ9.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "CareTeam",
"id": "100",
"meta": {
"versionId": "2",
"lastUpdated": "2020-08-05T10:54:45.865+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam"
]
},
"identifier": [
{
"id": "afd8b133-5322-42d7-b7e6-627058e15a4e",
"system": "urn:ietf:rfc:3986"
}
],
"status": "active",
"name": "f8f5b28b-4c37-4666-8b79-13eb86131b39",
"participant": [
{
"role": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careteam-participant-role",
"code": "monitoring_adjuster"
}
]
},
"member": {
"reference": "https://organization.cit-organization-687.local/fhir/Practitioner/102"
},
"period": {
"start": "2020-08-05T10:54:45+00:00"
}
}
],
"reasonCode": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/conditions",
"code": "TBD"
}
]
}
]
}
POST [base]/CareTeam
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiYjRiNzNjYzktNWYzOC00MDViLWJmNmQtZjJhYzE0YmI1ZWMwIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkNhcmVUZWFtLndyaXRlIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "CareTeam",
"meta": {
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam"
]
},
"identifier": [
{
"id": "abc5fe00-c682-4de5-bd69-8989ae28da0e",
"system": "urn:ietf:rfc:3986"
}
],
"status": "active",
"name": "c5237a88-b0b0-4828-93f2-330d2710295a",
"participant": [
{
"role": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careteam-participant-role",
"code": "monitoringResponsible"
}
]
},
"member": {
"reference": "https://patient.cit-organization-687.local/fhir/RelatedPerson/14024"
}
},
{
"role": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careteam-participant-role",
"code": "monitoringResponsible"
}
]
},
"member": {
"reference": "https://patient.cit-organization-687.local/fhir/Patient/55658"
}
},
{
"role": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careteam-participant-role",
"code": "monitoringResponsible"
}
]
},
"member": {
"reference": "https://organization.cit-organization-687.local/fhir/CareTeam/132"
}
}
],
"reasonCode": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/conditions",
"code": "TBD"
}
]
}
],
"managingOrganization": [
{
"reference": "https://organization.cit-organization-687.local/fhir/Organization/133"
}
]
}
Response
{
"resourceType": "CareTeam",
"id": "134",
"meta": {
"versionId": "1",
"lastUpdated": "2020-08-05T10:55:16.585+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam"
]
},
"identifier": [
{
"id": "abc5fe00-c682-4de5-bd69-8989ae28da0e",
"system": "urn:ietf:rfc:3986"
}
],
"status": "active",
"name": "c5237a88-b0b0-4828-93f2-330d2710295a",
"participant": [
{
"role": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careteam-participant-role",
"code": "monitoringResponsible"
}
]
},
"member": {
"reference": "https://patient.cit-organization-687.local/fhir/RelatedPerson/14024"
}
},
{
"role": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careteam-participant-role",
"code": "monitoringResponsible"
}
]
},
"member": {
"reference": "https://patient.cit-organization-687.local/fhir/Patient/55658"
}
},
{
"role": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careteam-participant-role",
"code": "monitoringResponsible"
}
]
},
"member": {
"reference": "https://organization.cit-organization-687.local/fhir/CareTeam/132"
}
}
],
"reasonCode": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/conditions",
"code": "TBD"
}
]
}
],
"managingOrganization": [
{
"reference": "https://organization.cit-organization-687.local/fhir/Organization/133"
}
]
}
POST [base]/CareTeam/185/$validate
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiNjU3NTJiOWEtMGI2Zi00OWI2LThlMmYtMDk2YzY2NzI3NTc3IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkNhcmVUZWFtLnJlYWQiXX0sInVzZXJfdHlwZSI6IlNZU1RFTSJ9.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "Parameters",
"parameter": [
{
"name": "resource",
"resource": {
"resourceType": "CareTeam",
"id": "185",
"meta": {
"versionId": "1",
"lastUpdated": "2020-08-05T10:55:28.775+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam"
]
},
"identifier": [
{
"id": "18a97466-ac3b-4811-bf1a-f73b02c3bca6",
"system": "urn:ietf:rfc:3986"
}
],
"status": "active",
"name": "637dc5fa-3a2f-429e-a3a7-76c3d997f543",
"reasonCode": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/conditions",
"code": "TBD"
}
]
}
]
}
}
]
}
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>\r\r\r</tr>\r<tr>\r<td style=\"font-weight: bold;\">INFORMATION</td>\r<td>[]</td>\r\r\r\r<td><pre>No issues detected during validation</pre></td>\r\r\r</tr>\r</table>\r</div>"
},
"issue": [
{
"severity": "information",
"code": "informational",
"diagnostics": "No issues detected during validation"
},
{
"severity": "information",
"code": "informational",
"diagnostics": "No issues detected during validation"
}
]
}
PUT [base]/CareTeam/183
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiMDkzNGZiNWUtZDY4OS00MmUxLTk1Y2MtYTNjN2VjNTg0NzllIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkNhcmVUZWFtLndyaXRlIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
If-Match: "1"
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "CareTeam",
"id": "183",
"meta": {
"versionId": "1",
"lastUpdated": "2020-08-05T10:55:27.996+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam"
]
},
"identifier": [
{
"id": "8f5d3333-7273-4b5b-b993-1c2055f069ff",
"system": "urn:ietf:rfc:3986"
}
],
"status": "active",
"name": "60861881-32ba-43cf-9706-d23850468880",
"reasonCode": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/conditions",
"code": "TBD"
}
]
}
]
}
Response
{
"resourceType": "CareTeam",
"id": "183",
"meta": {
"versionId": "2",
"lastUpdated": "2020-08-05T10:55:28.111+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam"
]
},
"identifier": [
{
"id": "8f5d3333-7273-4b5b-b993-1c2055f069ff",
"system": "urn:ietf:rfc:3986"
}
],
"status": "active",
"name": "60861881-32ba-43cf-9706-d23850468880",
"reasonCode": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/conditions",
"code": "TBD"
}
]
}
]
}