...
README.md

Publisert - 25.11.2026

Statistics for RF

M1 Resept → RESEPT_RECEIVED

21 top level Facsts, in this order. XPath is relative to .../Content/Resept unless otherwise declared.

# Fact Type
1 Meldingstype string
2 GenerertDato string
3 Forskrivningsdato string
4 Utloper string
5 Rolle string
6 Vergeinnsynsreservasjon boolean
7 Varegruppekode string
8–9 MengdeEnhet / MengdeVerdi string
10 Antall string
11 Reiterasjon string
12–17 Legemiddel{Virkestoff,Merkevare,Pakning}Atc{Kode,Navn} string
18 BestanddelerLegemiddel container
19–20 ProdGruppeKode / ProdGruppeNavn string
21 HandelsvareType string
  • A Resept contains either a ReseptDokLegemiddel or a ReseptDokHandelsvare. The fields in the other one is null.
  • Virkestoff, merkevare, pakning og blanding is a <choice>: only one ATC group is provided, and BestanddelerLegemiddel is null when forskrivningen ikke er en blanding.
  • BestanddelerLegemiddel contains one BestanddelLegemiddel per bestanddel, each with the six ATC Facts pluss MengdeBestanddelVerdi / MengdeBestanddelEnhet (null = ad/q.s.). The quantity is read from MengdeBestanddel/Mengde.
  • Rolle is the code (LE = lege), not the display name.

Output

{
  "schemaVersion": {"string": "2.0"},
  "serviceId": 40034,
  "event": {
    "id": "eb031da7-ccb3-4d41-9a89-ced637fc3dc0",
    "eventType": "RESEPT_RECEIVED",
    "eventDescription": "A prescription (Resept) message was received and processed",
    "createdAt": "2026-10-01T09:30:00Z"
  },
  "facts": [
    {"category": {"FactCategory": "custom"}, "interval": null, "intervalStart": null, "customCategory": {"string": "meldingstype"}, "name": "Meldingstype", "value": {"string": "ERM1"}, "description": "KITH-meldingstype for den behandlede meldingen"},
    {"category": {"FactCategory": "custom"}, "interval": null, "intervalStart": null, "customCategory": {"string": "forskrivningsdato"}, "name": "Forskrivningsdato", "value": {"string": "2026-09-22"}, "description": "Datoen resepten ble forskrevet"},
    {"category": {"FactCategory": "custom"}, "interval": null, "intervalStart": null, "customCategory": {"string": "utloper"}, "name": "Utloper", "value": {"string": "2027-09-22"}, "description": "Datoen resepten utløper"},
    {"category": {"FactCategory": "custom"}, "interval": null, "intervalStart": null, "customCategory": {"string": "varegruppekode"}, "name": "Varegruppekode", "value": {"string": "Legemiddel"}, "description": "En standardisert kode som angir hvilken type vare eller legemiddel som forskrives"},
    {"category": {"FactCategory": "custom"}, "interval": null, "intervalStart": null, "customCategory": {"string": "mengdeEnhet"}, "name": "MengdeEnhet", "value": {"string": "stk"}, "description": "Mengden (enhet) legemiddel som er forskrevet"},
    {"category": {"FactCategory": "custom"}, "interval": null, "intervalStart": null, "customCategory": {"string": "mengdeVerdi"}, "name": "MengdeVerdi", "value": {"string": "1.0"}, "description": "Mengden (verdi) legemiddel som er forskrevet"},
    {"category": {"FactCategory": "custom"}, "interval": null, "intervalStart": null, "customCategory": {"string": "antall"}, "name": "Antall", "value": {"string": "1"}, "description": "Antall pakninger som er forskrevet"},
    {"category": {"FactCategory": "custom"}, "interval": null, "intervalStart": null, "customCategory": {"string": "reiterasjon"}, "name": "Reiterasjon", "value": {"string": "0"}, "description": "Antall ganger resepten kan reitereres"},
    {"category": {"FactCategory": "custom"}, "interval": null, "intervalStart": null, "customCategory": {"string": "legemiddelVirkestoffAtcKode"}, "name": "LegemiddelVirkestoffAtcKode", "value": {"string": "N02BE01"}, "description": "ATC-kode for legemiddelvirkestoffet"},
    {"category": {"FactCategory": "custom"}, "interval": null, "intervalStart": null, "customCategory": {"string": "legemiddelVirkestoffAtcNavn"}, "name": "LegemiddelVirkestoffAtcNavn", "value": {"string": "Paracetamol"}, "description": "ATC-navn for legemiddelvirkestoffet"},
    {"category": {"FactCategory": "custom"}, "interval": null, "intervalStart": null, "customCategory": {"string": "legemiddelMerkevareAtcKode"}, "name": "LegemiddelMerkevareAtcKode", "value": null, "description": "ATC-kode for legemiddelmerkevaren"},
    {"category": {"FactCategory": "custom"}, "interval": null, "intervalStart": null, "customCategory": {"string": "legemiddelMerkevareAtcNavn"}, "name": "LegemiddelMerkevareAtcNavn", "value": null, "description": "ATC-navn for legemiddelmerkevaren"},
    {"category": {"FactCategory": "custom"}, "interval": null, "intervalStart": null, "customCategory": {"string": "legemiddelPakningAtcKode"}, "name": "LegemiddelPakningAtcKode", "value": null, "description": "ATC-kode for legemiddelpakningen"},
    {"category": {"FactCategory": "custom"}, "interval": null, "intervalStart": null, "customCategory": {"string": "legemiddelPakningAtcNavn"}, "name": "LegemiddelPakningAtcNavn", "value": null, "description": "ATC-navn for legemiddelpakningen"},
    {"category": {"FactCategory": "custom"}, "interval": null, "intervalStart": null, "customCategory": {"string": "bestanddelerLegemiddel"}, "name": "BestanddelerLegemiddel", "value": null, "description": "Legemidler som inngår i en legemiddelblanding (magistrell forskrivning)"},
    {"category": {"FactCategory": "custom"}, "interval": null, "intervalStart": null, "customCategory": {"string": "prodGruppeKode"}, "name": "ProdGruppeKode", "value": null, "description": "Produktgruppe (kode, kodeverk 7403). Gjelder kun ReseptDokHandelsvare"},
    {"category": {"FactCategory": "custom"}, "interval": null, "intervalStart": null, "customCategory": {"string": "prodGruppeNavn"}, "name": "ProdGruppeNavn", "value": null, "description": "Produktgruppe (navn, kodeverk 7403). Gjelder kun ReseptDokHandelsvare"},
    {"category": {"FactCategory": "custom"}, "interval": null, "intervalStart": null, "customCategory": {"string": "handelsvareType"}, "name": "HandelsvareType", "value": null, "description": "Type handelsvare (Naringsmiddel eller MedForbMatr). Gjelder kun ReseptDokHandelsvare"}
  ]
}

M25.1 Legemidler i bruk → LEGEMIDLER_I_BRUK_RECEIVED

Fact Type
Meldingstype string
GenerertDato string
Helseregion string
EnkeltoppforingerLIB container
└ EnkeltoppforingLIB/Type string
└ EnkeltoppforingLIB/Seponert boolean
  • Helseregion is the SSB code (classification 603): 03 Helse Midt-Norge, 04 Helse Vest, 05 Helse Nord, 12 Helse Sør-Øst. It is null when the postal code is missing, invalid or non-existent in the source tables provided by Posten.

Eksempel (utdrag)

Meldingstype          {"string": "ERM251"}
GenerertDato          {"string": "2026-09-01T00:00:00.000Z"}
Helseregion           {"string": "12"}
EnkeltoppforingerLIB  (array, 2)
  EnkeltoppforingLIB  (array)
    Type              {"string": "Papirresept"}
    Seponert          {"boolean": false}
  EnkeltoppforingLIB  (array)
    Type              {"string": "Eresept"}
    Seponert          {"boolean": true}

M5, M8.1, M10, M14, M15, M25.2, M25.3

Only two Facts are mapped in these versions: Meldingstype and GenerertDato.

{
  "schemaVersion": {"string": "2.0"},
  "serviceId": 40034,
  "event": {"id": "…", "eventType": "TILBAKEKALLING_RECEIVED",
            "eventDescription": "A Tilbakekalling (M5) message was received and processed",
            "createdAt": "2026-10-01T09:30:00Z"},
  "facts": [
    {"…": "…", "name": "Meldingstype", "value": {"string": "ERM5"}},
    {"…": "…", "name": "GenerertDato", "value": {"string": "2026-09-03T00:00:00.000Z"}}
  ]
}
Melding Meldingstype eventType eventDescription
M5 ERM5 TILBAKEKALLING_RECEIVED A Tilbakekalling (M5) message was received and processed
M8.1 ERM81 UTLEVERERRAPPORT_KJERNEJOURNAL_RECEIVED A UtlevererRapportKjernejournal (M8.1) message was received and processed
M10 ERM10 UTLEVERINGSRAPPORT_RECEIVED A Utleveringsrapport (M10) message was received and processed
M14 ERM14 SOKNAD_SLV_RECEIVED A SoknadSlv (M14) message was received and processed
M15 ERM15 SVAR_SLV_RECEIVED A SvarSlv (M15) message was received and processed
M25.2 ERM252 LEGEMIDLER_I_BRUK_FORESPORSEL_OM_ENDRING_RECEIVED A LegemidlerIBruk - forespørsel om endring (M25.2) message was received and processed
M25.3 ERM253 LEGEMIDLER_I_BRUK_UTLEVERINGSMELDING_RECEIVED A LegemidlerIBruk - utleveringsmelding (M25.3) message was received and processed

Søk i Utviklerportalen

Søket er fullført!