Notifications Published by the Infrastructure to the National Notification Service
This page describes how the eHealth Infrastructure communicates key healthcare events to Denmark’s National Notification Service (NAS). It outlines the types of notifications published—such as new care plans, updated patient measurements, or task creation—and provides examples of the JSON payloads used. These notifications enable external systems to stay synchronized by subscribing to specific topics and reacting to real-time updates in patient care workflows.
Introduction
In certain situations, the eHealth Infrastructure publishes notifications to the national notification service, in Danish: National Adviseringsservice (NAS) on the National Service Platform (NSP) with the health domain. The notifications are published to the particular topics described below. This page describes the different notifications published to NAS along with examples of their "payload".
This enables external systems to subscribe to the topics and perform proper actions, for instance, update a local cache or similar action. For details regarding the NAS subscription API, consult the documentation on https://www.nspop.dk/display/public/web/NAS2+-+Anvenderguide.
Notification Types and Topics
The table below describes the different notification types published to NAS, along with the NAS topic they are published. The NAS topics listed are defined and maintained by the eHealth Infrastructure.
Each notification type is assigned an event ID.
Event ID | Use case (DK) | Topic Name |
|---|---|---|
3 | Borger får nyt telemedicinsk forløb | http://ehealth.sundhed.dk/fut/2020/02/27:episodeofcare.created |
4 | Borgers forløb udgår | http://ehealth.sundhed.dk/fut/2020/02/27:episodeofcare.stopped |
5 | Behandlingsansvar for forløb ændres | http://ehealth.sundhed.dk/fut/2020/02/27:episodeofcare.caremanager-updated |
6 | Borger får ny telemedicinsk indsats | |
7 | Indsats i forløb ændres | |
8 | Indsats i forløb nedlægges | |
11 | Borger indsender et spørgeskemasvar eller afgiver en måling eller et billede | http://ehealth.sundhed.dk/fut/2020/02/27:patient.measurement-received |
12 | Borger mangler at besvare eller afgive måling inden for det aftalte måleregime | http://ehealth.sundhed.dk/fut/2020/02/27:patient.measurement-missing |
13 | En meddelelse er sendt i relation til forløb/indsats | |
14 | En opgave er oprettet i relation til forløb/indsats | |
15 | En aftale er oprettet i relation til forløb/indsats | http://ehealth.sundhed.dk/fut/2020/02/27:appointment.created |
Payload Examples
Below you see examples displayed of the different event types (with “inttest” resource references as an example). Individual events are JSON-formatted and take up 150-400 bytes each (not including the NAS "envelope"). They do not carry any sensitive information - only references to resources in the ehealth Infrastructure.
Event ID | Use case (DK) | Sample JSON Payload (formatted for readability) |
|---|---|---|
3 | Borger får nyt telemedicinsk forløb | {
"ForloebsID": "https://careplan.inttest.ehealth.sundhed.dk/fhir/EpisodeOfCare/74697",
"ForloebsType": "Example value - Under construction"
} |
4 | Borgers forløb udgår | {
"ForloebsID": "https://careplan.inttest.ehealth.sundhed.dk/fhir/EpisodeOfCare/74697",
"ForloebsType": "Example value - Under construction"
} |
5 | Behandlingsansvar for forløb ændres | {
"ForloebsID": "https://careplan.inttest.ehealth.sundhed.dk/fhir/EpisodeOfCare/74697",
"ForloebsType": "Example value - Under construction",
"AfgivendeOrgID": "https://organization.inttest.ehealth.sundhed.dk/fhir/Organization/8190",
"ModtagendeOrgID": "https://organization.inttest.ehealth.sundhed.dk/fhir/Organization/8191"
} |
6 | Borger får ny telemedicinsk indsats | {
"ForloebsID": "https://careplan.inttest.ehealth.sundhed.dk/fhir/EpisodeOfCare/74697",
"IndsatsID": "https://careplan.fut.trifork.com/fhir/CarePlan/148975",
"IndsatsNavn": "Sample value"
} |
7 | Indsats i forløb ændres | {
"ForloebsID": "https://careplan.inttest.ehealth.sundhed.dk/fhir/EpisodeOfCare/74697",
"IndsatsID": "https://careplan.fut.trifork.com/fhir/CarePlan/148975",
"IndsatsNavn": "Sample value"
} |
8 | Indsats i forløb nedlægges | {
"ForloebsID": "https://careplan.inttest.ehealth.sundhed.dk/fhir/EpisodeOfCare/74697",
"IndsatsID": "https://careplan.fut.trifork.com/fhir/CarePlan/148975",
"IndsatsNavn": "Sample value"
} |
11 | Borger indsender et spørgeskemasvar eller afgiver en måling eller et billede | {
"ForloebsID": "https://careplan.inttest.ehealth.sundhed.dk/fhir/EpisodeOfCare/74697",
"IndsatsID": "https://careplan.fut.trifork.com/fhir/CarePlan/148975"
} |
12 | Borger mangler at besvare eller afgive måling inden for det aftalte måleregime | {
"ForloebsID": "https://careplan.inttest.ehealth.sundhed.dk/fhir/EpisodeOfCare/74697",
"IndsatsID": "https://careplan.fut.trifork.com/fhir/CarePlan/148975"
} |
13 | En meddelelse er sendt i relation til forløb/indsats | {
"AfsenderOrgID": "https://organization.inttest.ehealth.sundhed.dk/fhir/Organization/8190",
"ModtagerOrgID": "https://organization.inttest.ehealth.sundhed.dk/fhir/Organization/8191"
} |
14 | En opgave er oprettet i relation til forløb/indsats | {
"AnsvarligOrgID": "https://organization.inttest.ehealth.sundhed.dk/fhir/Organization/8190",
"ForloebsID": "https://careplan.inttest.ehealth.sundhed.dk/fhir/EpisodeOfCare/74735",
"TaskID": "https://task.inttest.ehealth.sundhed.dk/fhir/Task/45454"
} |
15 | En aftale er oprettet i relation til forløb/indsats | {
"AftaleID": "Appointment/7"
} |