eHealth Infrastructure
latest - ci-build

eHealth Infrastructure - Local Development build (vlatest) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

POST Plan Definition Import

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": "UEsDBBQACAgIANQ+mlgAAAAAAAAAAAAAAAA5AAAAUGxhbkRlZmluaXRpb25fMTcyXzIwMjRfMDRfMjZfMDdfNTRfNDEvUGxhbkRlZmluaXRpb24vMTcypZLNTsMwEITfxRzJf9IUckPlwgkE5YR6cJ1NY+Hakb0plCrvzjqFpkKIC1KkODsTz7drH5gFZ3orYLnvgFXsQXF9C43UEqXRLGCypmo6z2i5BeSsOrAdWEfi3ahQXXGHz13NEXwlS7IiTIowK5fJvJoVVZFGeZldJkmVJOQ+xpHxIisg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Nl8wN181NF80MS9BY3Rpdml0eURlZmluaXRpb24vMTcxUEsFBgAAAAADAAMAOAEAAAwGAAAAAA=="
      }
    }
  ]
}

Response

{
  "resourceType": "Bundle",
  "type": "transaction-response",
  "entry": [
    {
      "response": {
        "status": "201 Created",
        "location": "https://plan.cit-plan-1463.local/fhir/PlanDefinition/173/_history/1",
        "etag": "1",
        "lastModified": "2024-04-26T07:54:41.575+00:00"
      }
    },
    {
      "response": {
        "status": "201 Created",
        "location": "https://plan.cit-plan-1463.local/fhir/ActivityDefinition/174/_history/1",
        "etag": "1",
        "lastModified": "2024-04-26T07:54:41.575+00:00"
      }
    }
  ]
}