PackagesCanonicalsLogsProblems
    Packages
    sfm.130323@3.0.1
    http://nhn.no/sfm/fhir/OperationDefinition/SFM-sendMedication
{
  "description": "This operation provides submitting updated medication and prescription information to Reseptformidleren. Based on changes made in the medication/prescription for a patient SFM will submit PLL and prescription(s) and or recall neccessary prescriptions",
  "_filename": "SFM-sendMedication-operationDefinition.json",
  "package_name": "sfm.130323",
  "date": "2021-05-01",
  "system": false,
  "publisher": "Norsk Helsenett (SFM Project)",
  "instance": false,
  "name": "sendMedication",
  "type": "true",
  "experimental": null,
  "resourceType": "OperationDefinition",
  "title": "Operation for submitting and updating medical and prescription information for a patient",
  "package_version": "3.0.1",
  "status": "active",
  "id": "9656545a-f427-4a1d-b96d-711b53df253e",
  "resource": [ "Patient" ],
  "kind": "operation",
  "comment": "This operation is complex, and require that the Practitioner performing the operation presents a valid HelseID token with identity information, and that the authorisation is available in Helsepersonellregisteret",
  "url": "http://nhn.no/sfm/fhir/OperationDefinition/SFM-sendMedication",
  "code": "sendMedication",
  "version": "1.0",
  "contact": [ {
    "telecom": [ {
      "value": "http://nhn.no/fhir",
      "system": "url"
    }, {
      "value": "SFM-Prosjekt@nhn.no",
      "system": "email"
    } ]
  } ],
  "parameter": [ {
    "max": "1",
    "min": 1,
    "use": "in",
    "name": "medication",
    "type": "Bundle",
    "documentation": "Medication bundle document containing medicatiation and other prescription info. Patient must be present in the bundle, with sufficient info for messages to Reseptformidleren. See $getMedication",
    "targetProfile": "http://ehelse.no/fhir/StructureDefinition/sfm-MedicationBundle"
  }, {
    "max": "1",
    "min": 1,
    "use": "out",
    "name": "prescriptionCount",
    "type": "integer",
    "documentation": "the number of prescription signed and sent to Reseptformidleren"
  }, {
    "max": "1",
    "min": 1,
    "use": "out",
    "name": "recallCount",
    "type": "integer",
    "documentation": "the number of withdrawals sent to Reseptformidleren"
  }, {
    "max": "1",
    "min": 0,
    "use": "out",
    "name": "PllResult",
    "part": [ {
      "max": "1",
      "min": 1,
      "use": "out",
      "name": "PllmessageID",
      "type": "string",
      "documentation": "MessageID for M25.1 sent to Reseptformidleren"
    }, {
      "max": "1",
      "min": 1,
      "use": "out",
      "name": "resultCode",
      "type": "Coding",
      "binding": {
        "strength": "required",
        "valueSet": "http://ehelse.no/fhir/ValueSet/sfm-rfkj-lookupcodes"
      },
      "documentation": "Ok, or error code from Reseptformidleren or SFM"
    } ],
    "documentation": "Result of PLL delivery to Reseptformidleren"
  }, {
    "max": "*",
    "min": 0,
    "use": "out",
    "name": "prescriptionOperationResult",
    "part": [ {
      "max": "1",
      "min": 1,
      "use": "out",
      "name": "reseptID",
      "type": "string",
      "documentation": "ReseptID involved in the operation"
    }, {
      "max": "1",
      "min": 0,
      "use": "out",
      "name": "refnum",
      "type": "string",
      "documentation": "Referansenumber assigned to prescription when relevant for M1"
    }, {
      "max": "1",
      "min": 1,
      "use": "out",
      "name": "resultCode",
      "type": "Coding",
      "binding": {
        "strength": "required",
        "valueSet": "http://ehelse.no/fhir/ValueSet/sfm-rfkj-lookupcodes"
      },
      "documentation": "Ok, or error code from Reseptformidleren or SFM"
    } ],
    "documentation": "Result of prescription delivery (M1) or prescription recall (M5) to Reseptformidleren"
  } ]
}