eHealth Infrastructure - Local Development build (v2.10.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": "UEsDBBQACAgIAD07UVcAAAAAAAAAAAAAAAA5AAAAUGxhbkRlZmluaXRpb25fMTQ0XzIwMjNfMTBfMTdfMDdfMjVfNTgvUGxhbkRlZmluaXRpb24vMTQ0pZLLTsMwEEX/xSzJw0nT0maHyoYVCMoKdeE6k8bCtSN7UihV/p1xSh9CiA1SpDhzb3zPjL1nDrztnITFrgVWskctzB3UyihU1rCIqYqqWVHQcgMoWLlnW3CexPtBoboWHl/aSiCESs7zUZzxOLtZ8JsyH5fjaZLP+DXnJefkPsSR8SqD6XQ0ysZxLVeTeDYmsXW2VprUV9YgtmWaQgNCY5P4zlQNVEn1ltaNcukzuk5i5+BMe/TGL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",
"type": "transaction-response",
"entry": [
{
"response": {
"status": "201 Created",
"location": "https://plan.cit-plan-1284.local/fhir/PlanDefinition/145/_history/1",
"etag": "1",
"lastModified": "2023-10-17T07:25:58.554+00:00"
}
},
{
"response": {
"status": "201 Created",
"location": "https://plan.cit-plan-1284.local/fhir/ActivityDefinition/146/_history/1",
"etag": "1",
"lastModified": "2023-10-17T07:25:58.554+00:00"
}
}
]
}