PackagesCanonicalsLogsProblems
    Packages
    de.gematik.erezept-workflow.r4@1.5.0-beta5
    https://gematik.de/fhir/erp/OperationDefinition/CloseOperationDefinition
{
  "description": "The operation $close finishes the e-prescription workflow and creates a receipt. The Output of this operation is a signed Bundle, to be used for further financial processing. The status of the Task then changes into #completed",
  "_filename": "OperationDefinition-CloseOperation.json",
  "package_name": "de.gematik.erezept-workflow.r4",
  "date": "2025-01-01",
  "system": false,
  "publisher": null,
  "instance": true,
  "name": "Close",
  "type": "false",
  "experimental": null,
  "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_CloseOperation_Output",
  "resourceType": "OperationDefinition",
  "title": null,
  "package_version": "1.5.0-beta5",
  "status": "draft",
  "id": "4cf3f5a9-9cdd-425e-91ad-72ca679cb84a",
  "resource": [ "Task" ],
  "affectsState": true,
  "kind": "operation",
  "url": "https://gematik.de/fhir/erp/OperationDefinition/CloseOperationDefinition",
  "code": "close",
  "version": "1.5",
  "inputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_CloseOperation_Input",
  "parameter": [ {
    "max": "1",
    "min": 1,
    "use": "in",
    "name": "secret",
    "type": "string",
    "documentation": "The secret parameter that lets a pharmacy access the Task exclusively as part of the URL. This parameter must be equal to the value stored in Task.identifier:Secret. Otherwise the Operation aborts with an error."
  }, {
    "max": "*",
    "min": 0,
    "use": "in",
    "name": "rxDispensation",
    "part": [ {
      "max": "1",
      "min": 1,
      "use": "in",
      "name": "medicationDispense",
      "type": "MedicationDispense"
    }, {
      "max": "1",
      "min": 0,
      "use": "in",
      "name": "medication",
      "type": "Medication"
    } ],
    "documentation": "Information on dispensed Medication(s)"
  }, {
    "max": "1",
    "min": 1,
    "use": "out",
    "name": "return",
    "type": "Bundle",
    "documentation": "The receipt Bundle containing the signing Device, the pharmacy`s TelematikID and a signature."
  } ]
}