Notifications Published by the Infrastructure to the National Notification Service

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 the their "payload".

This enables external systems to subscribe to the topics perform proper actions, for instance update a local cache or similar action. . For details regarding 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 to. The NAS topic 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

http://ehealth.sundhed.dk/fut/2020/02/27:careplan.created

7

Indsats i forløb ændres

http://ehealth.sundhed.dk/fut/2020/02/27:careplan.updated

8

Indsats i forløb nedlægges

http://ehealth.sundhed.dk/fut/2020/02/27:careplan.stopped

9

Telemedicinsk ssl bestilling afsendes til ssl leverandør

http://ehealth.sundhed.dk/fut/2020/02/27:ssl-order.created

10

Telemedicinsk ssl bestilling er udført af ssl leverandør

http://ehealth.sundhed.dk/fut/2020/02/27:ssl-order.sent

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

http://ehealth.sundhed.dk/fut/2020/02/27:message.created

14

En opgave er oprettet i relation til forløb/indsats

http://ehealth.sundhed.dk/fut/2020/02/27:task.created

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"
}

9

Telemedicinsk ssl bestilling afsendes til ssl leverandør

{
"BestillingID": "267a0b8a-7a87-4759-b4ed-499d1dae09b3",
"ForloebsID": "https://careplan.inttest.ehealth.sundhed.dk/fhir/EpisodeOfCare/74697"
}

10

Telemedicinsk ssl bestilling er udført af ssl leverandør

{
"BestillingID": "267a0b8a-7a87-4759-b4ed-499d1dae09b3",
"ForloebsID": "https://careplan.inttest.ehealth.sundhed.dk/fhir/EpisodeOfCare/74697"
}

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"
}