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

FHIR IG analytics

Packagesfm.130323
Resource TypeOperationDefinition
IdSFM-getMedication-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: $getMedication

Source1

{
  "resourceType": "OperationDefinition",
  "id": "SFM-getMedication",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://nhn.no/sfm/fhir/OperationDefinition/SFM-getMedication",
  "version": "1.0",
  "name": "getMedication",
  "title": "Operation for lookup 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 lookup in Kjernejournal and/or Reseptformidleren to collect and aggregate information on prescriptions, medication treatement, PLL (Pasientens LegemiddeListe), dispense information and Critical information",
  "code": "getMedication",
  "comment": "This operation is complex, and requier 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": "patient",
      "use": "in",
      "min": 1,
      "max": "1",
      "documentation": "Must be present and contain Name, Address and (identifier OR (birthDate + gender))",
      "type": "Patient",
      "targetProfile": "http://ehelse.no/fhir/StructureDefinition/sfm-Patient"
    },
    {
      "name": "Referansenummer",
      "use": "in",
      "min": 0,
      "max": "*",
      "documentation": "Refereansenummer shall always be present for patient without national ID. Referansenummer may be present for retreival of låst resept, doctors-name prescriptions or other",
      "type": "string"
    },
    {
      "name": "historyTimestamp",
      "use": "in",
      "min": 0,
      "max": "1",
      "documentation": "For lookup in Kjernejournal: Indicates timestamp from witch changes shall be returned",
      "type": "dateTime"
    },
    {
      "name": "SamtykkeKjernejournal",
      "use": "in",
      "min": 0,
      "max": "1",
      "documentation": "Patient consent type for access to Medication data (HPAKUTT, HPMOTTATTSAMTYKKE, HPUNNTAK)",
      "type": "code",
      "binding": {
        "strength": "required",
        "valueSet": "http://ehelse.no/fhir/ValueSet/sfm-kj-consentcodes"
      }
    },
    {
      "name": "SamtykkeSperretLegemidler",
      "use": "in",
      "min": 0,
      "max": "1",
      "documentation": "Patient consent type for access to disclosed Medication data (HPAKUTT, HPMOTTATTSAMTYKKE)",
      "type": "code",
      "binding": {
        "strength": "required",
        "valueSet": "http://ehelse.no/fhir/ValueSet/sfm-kj-consentcodes"
      }
    },
    {
      "name": "SamtykkeLasteResepter",
      "use": "in",
      "min": 0,
      "max": "1",
      "documentation": "Patient consent type for access to LÅST RESEPT / locked prescriptions (HPAKUTT, HPMOTTATTSAMTYKKE)",
      "type": "code",
      "binding": {
        "strength": "required",
        "valueSet": "http://ehelse.no/fhir/ValueSet/sfm-kj-consentcodes"
      }
    },
    {
      "name": "IncludeOriginal",
      "use": "in",
      "min": 0,
      "max": "*",
      "documentation": "Flag for inclusion of (elements from) original e-resep messages",
      "type": "code",
      "binding": {
        "strength": "required",
        "valueSet": "http://ehelse.no/fhir/ValueSet/sfm-include-binary"
      }
    },
    {
      "name": "medication",
      "use": "out",
      "min": 1,
      "max": "1",
      "documentation": "Main result. Medication bundle document",
      "type": "Bundle"
    },
    {
      "name": "KJHentetTidspunkt",
      "use": "out",
      "min": 0,
      "max": "1",
      "documentation": "Time for result from KJ. Absensce shall be interpreted as no lookup performed",
      "type": "dateTime"
    },
    {
      "name": "RFHentetTidspunkt",
      "use": "out",
      "min": 0,
      "max": "1",
      "documentation": "Time for result from RF. Absensce shall be interpreted as no lookup performed",
      "type": "dateTime"
    },
    {
      "name": "KJFeilkode",
      "use": "out",
      "min": 0,
      "max": "1",
      "documentation": "Error response from KJ",
      "type": "Coding",
      "binding": {
        "strength": "required",
        "valueSet": "http://ehelse.no/fhir/ValueSet/sfm-rfkj-lookupcodes"
      }
    },
    {
      "name": "RFM96Feilkode",
      "use": "out",
      "min": 0,
      "max": "1",
      "documentation": "Error response from RF on M9.6 lookup",
      "type": "Coding",
      "binding": {
        "strength": "required",
        "valueSet": "http://ehelse.no/fhir/ValueSet/sfm-rfkj-lookupcodes"
      }
    },
    {
      "name": "RFM912Feilkode",
      "use": "out",
      "min": 0,
      "max": "1",
      "documentation": "Error response from RF on M9.12 lookup",
      "type": "Coding",
      "binding": {
        "strength": "required",
        "valueSet": "http://ehelse.no/fhir/ValueSet/sfm-rfkj-lookupcodes"
      }
    },
    {
      "name": "KJHarLegemidler",
      "use": "out",
      "min": 0,
      "max": "1",
      "documentation": "According to response from KJ",
      "type": "boolean"
    },
    {
      "name": "KJHarLaste",
      "use": "out",
      "min": 0,
      "max": "1",
      "documentation": "According to response from KJ",
      "type": "boolean"
    },
    {
      "name": "RFHarLaste",
      "use": "out",
      "min": 0,
      "max": "1",
      "documentation": "According to response from RF",
      "type": "boolean"
    },
    {
      "name": "RFPasientreservasjon",
      "use": "out",
      "min": 0,
      "max": "1",
      "documentation": "According to response from RF",
      "type": "boolean"
    }
  ]
}