eHealth Infrastructure - Local Development build (v2.7.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.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": "UEsDBBQACAgIADOZZ1YAAAAAAAAAAAAAAAA5AAAAUGxhbkRlZmluaXRpb25fMjI4XzIwMjNfMDNfMDdfMTlfMDlfMzgvUGxhbkRlZmluaXRpb24vMjI4pVLLTsMwEPwXc6RJnKSBJjcEF04gHifUg7E3xMK1I3tTKFX+nXUKbYUQFyRLcXbGOzNrb5mH4AYv4WHTA2vYrRH2ClptNWpn2YxpRdWiWNB2BShYs2Vr8IHA64jkVDci4GOvBMLE5UWZcFrnD3nd8LopF2lVzE85bzgn9k6OiCdlns8ryeukXFQqqc8I7L1rtSH0iXWIfZNl0IEw2KVhsKoDlarXrO20z+7RDxIHDwe339ykpxDqEGI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undle",
"type": "transaction-response",
"entry": [
{
"response": {
"status": "201 Created",
"location": "https://plan.cit-plan-1230.local/fhir/PlanDefinition/229/_history/1",
"etag": "1",
"lastModified": "2023-03-07T19:09:38.714+00:00"
}
},
{
"response": {
"status": "201 Created",
"location": "https://plan.cit-plan-1230.local/fhir/ActivityDefinition/230/_history/1",
"etag": "1",
"lastModified": "2023-03-07T19:09:38.714+00:00"
}
}
]
}