eHealth Infrastructure
2.10.0 - release

eHealth Infrastructure - Local Development build (v2.10.0). See the Directory of published versions

POST Schedule Careplans by Patient

POST [base]/$schedule-careplans-by-patient

Header

Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiZDBkMjdjYjUtMjVjMC00M2ZjLTk4NGEtYWY1ZDFjM2E3MDRjIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbInJlcG9ydC1ub24tYW5vbnltaXplZCIsIiRmZXRjaC1jYXJlcGxhbnMtYnktcGF0aWVudCIsIkJpbmFyeS5yZWFkIl19LCJjb250ZXh0Ijp7Im9yZ2FuaXphdGlvbl9pZCI6Imh0dHBzOi8vb3JnYW5pemF0aW9uLmNpdC1yZXBvcnRpbmctMTA1Mi5sb2NhbC9maGlyL09yZ2FuaXphdGlvbi81MDYwIiwidGVhbV9vbl9lb2MiOmZhbHNlfSwidXNlcl90eXBlIjoiUFJBQ1RJVElPTkVSIn0.
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": "anonymization",
      "valueString": "None"
    },
    {
      "name": "organization",
      "valueReference": {
        "reference": "https://organization.cit-reporting-1052.local/fhir/Organization/5060"
      }
    },
    {
      "name": "period",
      "valuePeriod": {
        "start": "2023-10-20T10:53:38+00:00",
        "end": "2023-10-20T10:53:38+00:00"
      }
    }
  ]
}

Response

{
  "resourceType": "Binary",
  "id": "22",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2023-10-20T10:53:39.357+00:00",
    "profile": [
      "http://hl7.org/fhir/StructureDefinition/Binary"
    ]
  },
  "contentType": "text/plain",
  "securityContext": {
    "identifier": {
      "value": "d0d27cb5-25c0-43fc-984a-af5d1c3a704c"
    }
  },
  "data": "Kk5PVCBHRU5FUkFURUQgWUVUKg=="
}