eHealth Infrastructure - Local Development build (v2.8.0). See the Directory of published versions
POST [base]/PlanDefinition/$import
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiUGxhbkRlZmluaXRpb24uY3JlYXRlIiwiQWN0aXZpdHlEZWZpbml0aW9uLnVwZGF0ZSIsIkFjdGl2aXR5RGVmaW5pdGlvbi5yZWFkIiwiUGxhbkRlZmluaXRpb24uc2VhcmNoIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJQbGFuRGVmaW5pdGlvbi51cGRhdGUiLCJQbGFuRGVmaW5pdGlvbi5yZWFkIiwiUGxhbkRlZmluaXRpb24kYXBwbHkiLCJEb2N1bWVudFJlZmVyZW5jZS5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
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": "planDefinitionPackage",
"resource": {
"resourceType": "Binary",
"meta": {
"profile": [
"http://hl7.org/fhir/StructureDefinition/Binary"
]
},
"contentType": "application/gzip-json",
"data": "UEsDBBQACAgIABNvqFYAAAAAAAAAAAAAAAA5AAAAUGxhbkRlZmluaXRpb25fMTg1XzIwMjNfMDVfMDhfMTNfNTZfMzgvUGxhbkRlZmluaXRpb24vMTg1pZJNT8MwDIb/Sziytmm7sa43BBdOID5OaIeQuDQiS6rEHYyp/x2nBTYhxAUpUlL7rd/HTvbMQ3C9l3C/64DV7MYIewmNthq1s2zGtKJoXi3ouAEUrN6zLfhAyasxQ3EjAj50SiDESMGLMuGLhFf3eVkvzuqySpd8ecp5zTmpJzsSnhRiqcoy5wlvVjJZxVKdd402lH1kLWJXZxm0IAy2aeitakGl6iVrWu2zO/S9xN7DgfZLm3TUhDo0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
"type": "transaction-response",
"entry": [
{
"response": {
"status": "201 Created",
"location": "https://plan.cit-plan-1240.local/fhir/PlanDefinition/186/_history/1",
"etag": "1",
"lastModified": "2023-05-08T13:56:39.001+00:00"
}
},
{
"response": {
"status": "201 Created",
"location": "https://plan.cit-plan-1240.local/fhir/ActivityDefinition/187/_history/1",
"etag": "1",
"lastModified": "2023-05-08T13:56:39.001+00:00"
}
}
]
}