PackagesCanonicalsLogsProblems
    Packages
    bonsai.first.test.r4@0.1.8
    http://electronichealth.se/fhir/OperationDefinition/NLLRestore
{
  "description": "Restores one or two (if parallell) prescriptions to their previous versions.",
  "_filename": "NLLRestore.OperationDefinition.json",
  "package_name": "bonsai.first.test.r4",
  "date": "2024-03-22",
  "system": false,
  "publisher": "The Swedish eHealth Agency",
  "instance": false,
  "name": "NLLRestore",
  "type": "true",
  "experimental": null,
  "resourceType": "OperationDefinition",
  "title": null,
  "package_version": "0.1.8",
  "status": "active",
  "id": "f4685b2a-0d7a-4616-904e-9ad4d97b3807",
  "resource": [ "MedicationRequest" ],
  "affectsState": true,
  "kind": "operation",
  "comment": "Can be invoked with a HTTP POST.\r\nThis operation is used for restoring one or two (if parallell) MedicationRequests to their previous versions.",
  "url": "http://electronichealth.se/fhir/OperationDefinition/NLLRestore",
  "code": "restore",
  "version": "1.0.0",
  "parameter": [ {
    "max": "2",
    "min": 1,
    "use": "in",
    "name": "resource",
    "type": "Reference",
    "documentation": "Reference to the MedicationRequest(s) that should be restored to previous versions. Shall contain version specific reference to the resource version that will be restored on the following format: MedicationRequest/[id]/_history/[vid].",
    "targetProfile": [ "http://electronichealth.se/fhir/StructureDefinition/NLLReference" ]
  }, {
    "max": "2",
    "min": 1,
    "use": "out",
    "name": "result",
    "type": "MedicationRequest",
    "documentation": "The restored MedicationRequests."
  } ]
}