FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagesfm.130323
Resource TypeOperationDefinition
IdSFM-sendMedication-operationDefinition.json
FHIR VersionR4

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Operation definition for SFM specific operation: $sendMedication

Source1

{
  "resourceType": "OperationDefinition",
  "id": "SFM-sendMedication",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://nhn.no/sfm/fhir/OperationDefinition/SFM-sendMedication",
  "version": "1.0",
  "name": "sendMedication",
  "title": "Operation for submitting and updating medical and prescription information for a patient",
  "status": "active",
  "kind": "operation",
  "date": "2021-05-01",
  "publisher": "Norsk Helsenett (SFM Project)",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://nhn.no/fhir"
        },
        {
          "system": "email",
          "value": "SFM-Prosjekt@nhn.no"
        }
      ]
    }
  ],
  "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",
  "code": "sendMedication",
  "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",
  "resource": [
    "Patient"
  ],
  "system": false,
  "type": true,
  "instance": false,
  "parameter": [
    {
      "name": "medication",
      "use": "in",
      "min": 1,
      "max": "1",
      "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",
      "type": "Bundle",
      "targetProfile": "http://ehelse.no/fhir/StructureDefinition/sfm-MedicationBundle"
    },
    {
      "name": "prescriptionCount",
      "use": "out",
      "min": 1,
      "max": "1",
      "documentation": "the number of prescription signed and sent to Reseptformidleren",
      "type": "integer"
    },
    {
      "name": "recallCount",
      "use": "out",
      "min": 1,
      "max": "1",
      "documentation": "the number of withdrawals sent to Reseptformidleren",
      "type": "integer"
    },
    {
      "name": "PllResult",
      "use": "out",
      "min": 0,
      "max": "1",
      "documentation": "Result of PLL delivery to Reseptformidleren",
      "part": [
        {
          "name": "PllmessageID",
          "use": "out",
          "min": 1,
          "max": "1",
          "documentation": "MessageID for M25.1 sent to Reseptformidleren",
          "type": "string"
        },
        {
          "name": "resultCode",
          "use": "out",
          "min": 1,
          "max": "1",
          "documentation": "Ok, or error code from Reseptformidleren or SFM",
          "type": "Coding",
          "binding": {
            "strength": "required",
            "valueSet": "http://ehelse.no/fhir/ValueSet/sfm-rfkj-lookupcodes"
          }
        }
      ]
    },
    {
      "name": "prescriptionOperationResult",
      "use": "out",
      "min": 0,
      "max": "*",
      "documentation": "Result of prescription delivery (M1) or prescription recall (M5) to Reseptformidleren",
      "part": [
        {
          "name": "reseptID",
          "use": "out",
          "min": 1,
          "max": "1",
          "documentation": "ReseptID involved in the operation",
          "type": "string"
        },
        {
          "name": "refnum",
          "use": "out",
          "min": 0,
          "max": "1",
          "documentation": "Referansenumber assigned to prescription when relevant for M1",
          "type": "string"
        },
        {
          "name": "resultCode",
          "use": "out",
          "min": 1,
          "max": "1",
          "documentation": "Ok, or error code from Reseptformidleren or SFM",
          "type": "Coding",
          "binding": {
            "strength": "required",
            "valueSet": "http://ehelse.no/fhir/ValueSet/sfm-rfkj-lookupcodes"
          }
        }
      ]
    }
  ]
}