eHealth Infrastructure - Local Development build (v2.5.0). See the Directory of published versions
POST [base]/PlanDefinition/$import
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiUGxhbkRlZmluaXRpb24uY3JlYXRlIiwiQWN0aXZpdHlEZWZpbml0aW9uLnVwZGF0ZSIsIkFjdGl2aXR5RGVmaW5pdGlvbi5yZWFkIiwiUGxhbkRlZmluaXRpb24uc2VhcmNoIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJQbGFuRGVmaW5pdGlvbi51cGRhdGUiLCJQbGFuRGVmaW5pdGlvbi5yZWFkIiwiRG9jdW1lbnRSZWZlcmVuY2UucmVhZCIsIlBsYW5EZWZpbml0aW9uJGFwcGx5Il19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/6.1.0 (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": "UEsDBBQACAgIADFySlUAAAAAAAAAAAAAAAA5AAAAUGxhbkRlZmluaXRpb25fMTgyXzIwMjJfMTBfMTBfMTRfMTdfMzUvUGxhbkRlZmluaXRpb24vMTgypVLLTsMwEPwXc6RJ7LRAkxsqF04gKCfUgxtvGgvXjuxNoVT5d9YpfQghLkiW4uyMd2bW3jEPwXW+gvm2BVayRyPtHdTaatTOshHTiqpimtN2DShZuWMb8IHA+wGhupEBX1olEWIl53meCE5rLialuCnHV2meTy45Lzkn9l6OiBcqX45VzkUykZwnBRDYeldrQ+graxDbMsugAWmwSUNnVQMqVW9Z3WifPaPvKuw8nNweuElLIdQpxKIfMfhAsNE1td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transaction-response",
"entry": [
{
"response": {
"status": "201 Created",
"location": "https://plan.cit-plan-1143.local/fhir/PlanDefinition/183/_history/1",
"etag": "1",
"lastModified": "2022-10-10T14:17:35.516+00:00"
}
},
{
"response": {
"status": "201 Created",
"location": "https://plan.cit-plan-1143.local/fhir/ActivityDefinition/184/_history/1",
"etag": "1",
"lastModified": "2022-10-10T14:17:35.516+00:00"
}
}
]
}