PackagesCanonicalsLogsProblems
    Packages
    rs/bonsai.first.test.r4@0.1.9
    https://electronichealth.se/fhir/OperationDefinition/NLLMonitoring
{
  "description": "Health care personnel has the possibility to search for updated prescriptions, or prescriptions that are about to expire.\\r\\nThis is done for a selection of patients with dose dispensed prescriptions (sv dospatienter).",
  "_filename": "NLLMonitoring.OperationDefinition.json",
  "package_name": "rs/bonsai.first.test.r4",
  "date": "2024-11-27",
  "system": false,
  "publisher": "The Swedish eHealth Agency",
  "instance": false,
  "name": "NLLMonitoring",
  "type": "true",
  "experimental": "false",
  "resourceType": "OperationDefinition",
  "title": "NLLMonitoring",
  "package_version": "0.1.9",
  "status": "active",
  "id": "f406f0b1-cac3-4250-9327-62c443f2c198",
  "resource": [ "MedicationRequest" ],
  "affectsState": false,
  "kind": "operation",
  "comment": "Can be invoked with a HTTP POST.",
  "url": "https://electronichealth.se/fhir/OperationDefinition/NLLMonitoring",
  "code": "monitoring",
  "version": "1.0.0",
  "parameter": [ {
    "max": "50",
    "min": 1,
    "use": "in",
    "name": "pnr",
    "type": "string",
    "documentation": "List of patient personal identity numbers (sv personnummer). Currently this is only supported for patients with dose dispensed prescriptions (sv dospatient)"
  }, {
    "max": "1",
    "min": 0,
    "use": "in",
    "name": "fromDate",
    "type": "date",
    "documentation": "Search for the selected patients' updated MedicationRequests from the specified date.\r\n\r\nOne of either fromDate or toDate must be provided.\r\nfromDate must NOT be provided if a toDate is provided\r\n\r\nfromDate MUST<= today's date AND >= today's date - 60."
  }, {
    "max": "1",
    "min": 0,
    "use": "in",
    "name": "toDate",
    "type": "date",
    "documentation": "Search for the selected patients' MedicationRequests up to the date in MedicationRequest.dispenseRequest.validityPeriod.end (sv Sista giltighetsdag).\r\n\r\nOne of either fromDate or toDate must be provided.\r\ntoDate must NOT be provided if a fromDate is provided\r\n\r\ntoDate MUST >= today's date AND <= today's date + 90."
  }, {
    "max": "1",
    "min": 1,
    "use": "out",
    "name": "return",
    "type": "Bundle",
    "documentation": "The returned Bundle contains MedicationRequest resources based on the profile NLLMedicationRequest and Patient resources based on the profile NLLPatient with a selection of attributes (id, meta.security, identifier and name).\r\n\r\nThere is a limitation that means a maximum of 1000 prescriptions can be returned per request."
  } ]
}