Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Certain use cases on the FUT platform cause specific events ("advis") to be sent to "National Adviserings-Service" (NAS). 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 these types of events and the topics perform proper actions, eg. for instance update a local cache or similar actions. This page describes the different advis types sent to NAS along with examples of the advis "payload"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 "advis" notification types sent published to NAS along with the physical NAS topic that must be subscribed to if the relevant event type is of interestthey 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 on in the FUT platformehealth 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"
}