eHealth Infrastructure - Local Development build (v3.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. 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": "UEsDBBQACAgIAG5APlgAAAAAAAAAAAAAAAA5AAAAUGxhbkRlZmluaXRpb25fMTcwXzIwMjRfMDFfMzBfMDhfMDNfMjgvUGxhbkRlZmluaXRpb24vMTcwpZJNT8MwDIb/Sziytum6z97QuHACwTihHbLEXSOypErcwZj633E62CaEuCBFSurX9fvYyYF5CK71Epb7BljJHoywt1Bpq1E7ywZMK4rmU07HLaBg5YHtwAcS73qF4kYEfG6UQIiRIR+OEp4nBV/yWcmLcjhN56PhNeclj1WOdpR4NS+mlSrWeSKn+TwZFSQ23lXakPrCasSmzDKoQRis09BaVYNK1WtW1dpnT+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wA5AQAAEAYAAAAA"
}
}
]
}
Response
{
"resourceType": "Bundle",
"type": "transaction-response",
"entry": [
{
"response": {
"status": "201 Created",
"location": "https://plan.cit-plan-1366.local/fhir/PlanDefinition/171/_history/1",
"etag": "1",
"lastModified": "2024-01-30T08:03:28.211+00:00"
}
},
{
"response": {
"status": "201 Created",
"location": "https://plan.cit-plan-1366.local/fhir/ActivityDefinition/172/_history/1",
"etag": "1",
"lastModified": "2024-01-30T08:03:28.211+00:00"
}
}
]
}