eHealth Infrastructure - Local Development build (v2022.2). 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/5.7.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": "UEsDBBQACAgIAMN6z1QAAAAAAAAAAAAAAAA5AAAAUGxhbkRlZmluaXRpb25fMTgyXzIwMjJfMDZfMTVfMTVfMjJfMDYvUGxhbkRlZmluaXRpb24vMTgypZLNTsMwEITfxRzJjxO1Jc0NlQsnEJQT6sHEm8bCtSN7UyhV3p11QkmFEBekSHF2Jp5v1z4yB952roL1oQVWsnstzA3UyihU1rCIKUnVrMhpuQMUrDyyPThP4u2gUF0Lj0+tFAihkvM8j/kizubrbF7meckXCZ8vLzkvOSf3GEfGi7pYSjIXcc5FFs8WJLbO1kqT+swaxLZMU2hAaGwS3xnZgEzka1o3yqWP6LoKOwcT7ckbt9SEnJrY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"response": {
"status": "201 Created",
"location": "https://plan.cit-plan-1108.local/fhir/PlanDefinition/183/_history/1",
"etag": "1",
"lastModified": "2022-06-15T15:22:06.355+00:00"
}
},
{
"response": {
"status": "201 Created",
"location": "https://plan.cit-plan-1108.local/fhir/ActivityDefinition/184/_history/1",
"etag": "1",
"lastModified": "2022-06-15T15:22:06.355+00:00"
}
}
]
}