- Created by Levin Løssfelt, last modified on Jul 08, 2021
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 7 Next »
Prosessen avtaleutsending er identisk med funksjonen for å sende avtale i prosessen timereservasjon versjon 1.2: Timereservasjon AMQP Timereservasjon . Denne prosessen gjør det mulig for en aktør å publisere avtaler til innbygger, uten å åpne opp for hele prosessen timeadministrasjon som også innebærer at innbygger får hente ledige timer, avbestille timer og bestille timer.
API-navn | DIALOG_INNBYGGER_AVTALEUTSENDING |
---|---|
Funksjonelt område | Dialog |
API-versjon og dato publisert | v1.0 |
Status | I DRIFT |
API-dokumentasjon sist endret |
|
Teknologi | AMQP |
Prosesser og flyt
Her er info om prosesser og flyt
Dette er en frittstående prosess og har en egen verdi i meldingens funksjon i hodemeldingen. Følgende prosess skal aktiveres i adresseregisteret for å støtte funksjonaliteten:
Prosess | Funksjonalitet | Versjon |
---|---|---|
Dialog_Innbygger_Avtaleutsending | Første versjon av kommunikasjonsprosess. | 1.0 |
Tabellen under viser hvilke roller som inngår i prosessen, hvilke funksjoner de ulike rollene kan gjøre og hvilke meldinger som benyttes for de ulike versjonene.
Versjon | Rolle | Funksjon | Meldingsinnhold |
1.0 | Innbygger |
| Applikasjonskvittering |
Helsepersonell | Avtale | Dialogmelding 1.1 iCal |
Avtaleutsending, asynkron tjeneste
Her er strukturen på meldingen
For detaljer om implementasjon av dialogmeldinmelding og ical se AMQP Timereservasjon
Tjeneste | Avtaleutsending, asynkron tjeneste |
---|---|
Bruksområde | Notifikasjon fra timebok til helsenorge.no for å dele innbyggers avtaler |
Hodemelding | Obligatorisk, og benyttes i henhold til beskrivelse Hodemelding Obligatorisk verdi i MsgHead/MsgInfo/Type er: <Type V="DIALOG_INNBYGGER_AVTALEUTSENDING" DN="Dialog med innbygger - avtaleutsending"/> Obligatorisk verdi i MsgHead/MsgInfo/Ack er: <Ack DN="Ja" V="J"/> |
Ytterligere informasjon
Under er forskjellige typer supplerende informasjon
Eksempelmeldinger
<?xml version="1.0" encoding="UTF-8"?> <MsgHead xmlns="http://www.kith.no/xmlstds/msghead/2006-05-24" xmlns:xsd="http://www.w3.org/2001/XMLSchema.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.kith.no/xmlstds/msghead/2006-05-24 ../../../sarepta/skjema/felleskomponenter/MsgHead-v1_2.xsd"> <MsgInfo> <Type V="DIALOG_INNBYGGER_AVTALEUTSENDING" DN="Dialog med innbygger - avtaleutsending"/> <MIGversion>v1.2 2006-05-24</MIGversion> <GenDate>2019-05-18T14:02:20.0Z</GenDate> <MsgId>abef8efc-cfcd-4a76-8de4-0cbaac34f64c</MsgId> <Ack V="J" DN="Ja"/> <Sender> <Organisation> <OrganisationName>Nanset legekontor</OrganisationName> <Ident> <Id>971318864</Id> <TypeId V="ENH" S="2.16.578.1.12.4.1.1.9051" DN="Organisasjonsnummeret i Enhetsregister"/> </Ident> <Ident> <Id>91095</Id> <TypeId V="HER" S="2.16.578.1.12.4.1.1.9051" DN="HER-id"/> </Ident> </Organisation> </Sender> <Receiver> <Organisation> <OrganisationName>DIREKTORATET FOR E-HELSE</OrganisationName> <Ident> <Id>115851</Id> <TypeId V="HER" S="2.16.578.1.12.4.1.1.9051" DN="HER-id"/> </Ident> <Organisation> <OrganisationName>Digitale innbyggertjenester</OrganisationName> <Ident> <Id>8093248</Id> <TypeId V="HER" S="2.16.578.1.12.4.1.1.9051" DN="HER-id"/> </Ident> </Organisation> </Organisation> </Receiver> <Patient> <FamilyName>Danser</FamilyName> <GivenName>Folke</GivenName> <Ident> <Id>13116900216</Id> <TypeId V="FNR" S="2.16.578.1.12.4.1.1.8116" DN="Fødselsnummer"/> </Ident> </Patient> </MsgInfo> <Document> <ContentDescription>Timereservasjon bekreftet</ContentDescription> <RefDoc> <IssueDate V="2019-05-18T14:02:20.0Z"/> <MsgType V="XML" DN="XML-instans"/> <Content> <Dialogmelding xmlns="http://www.kith.no/xmlstds/dialog/2013-01-23" xmlns:fk1="http://www.kith.no/xmlstds/felleskomponent1" xsi:schemaLocation="http://www.kith.no/xmlstds/dialog/2013-01-23 ../../../sarepta/skjema/dialogmelding/2013-01-23/dialogmelding-v1.1.xsd"> <Foresporsel> <TypeForesp V="08" S="2.16.578.1.12.4.1.1.7602" DN="Avbestilling av time bekreftet"/> </Foresporsel> </Dialogmelding> </Content> </RefDoc> </Document> <Document> <RefDoc> <MsgType V="XML" DN="XML-instans"/> <Description>iCalendarBestillTime</Description> <Content> <icalendar xmlns="urn:ietf:params:xml:ns:icalendar-2.0" xsi:schemaLocation="urn:ietf:params:xml:ns:icalendar-2.0 ../../../sarepta/skjema/felleskomponenter/iCalendar.xsd"> <vcalendar> <properties> <version> <text>2.0</text> </version> <prodid> <text>PAS EPJ</text> </prodid> </properties> <components> <vevent> <properties> <dtstart> <date-time>2019-06-01T11:45:00</date-time> </dtstart> <dtend> <date-time>2019-06-01T12:00:00</date-time> </dtend> <summary> <text>Allergitest</text> </summary> <uid> <text>8818f900-7882-4dbc-9aea-b187f41c2ded</text> </uid> <contact> <text>91095</text> </contact> <location> <text>Legegate 12C</text> </location> </properties> <components/> </vevent> </components> </vcalendar> </icalendar> </Content> </RefDoc> </Document> </MsgHead>
<?xml version="1.0" encoding="UTF-8"?> <MsgHead xmlns="http://www.kith.no/xmlstds/msghead/2006-05-24" xmlns:xsd="http://www.w3.org/2001/XMLSchema.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.kith.no/xmlstds/msghead/2006-05-24 ../../../sarepta/skjema/felleskomponenter/MsgHead-v1_2.xsd"> <MsgInfo> <Type V="DIALOG_INNBYGGER_AVTALEUTSENDING" DN="Dialog med innbygger - avtaleutsending"/> <MIGversion>v1.2 2006-05-24</MIGversion> <GenDate>2019-05-19T09:15:44.0Z</GenDate> <MsgId>abef8efc-cfcd-4a76-8de4-0cbaac34f64c</MsgId> <Ack V="J" DN="Ja"/> <Sender> <Organisation> <OrganisationName>Nanset legekontor</OrganisationName> <Ident> <Id>971318864</Id> <TypeId V="ENH" S="2.16.578.1.12.4.1.1.9051" DN="Organisasjonsnummeret i Enhetsregister"/> </Ident> <Ident> <Id>1234</Id> <TypeId V="HER" S="2.16.578.1.12.4.1.1.9051" DN="HER-id"/> </Ident> <HealthcareProfessional> <RoleToPatient V="6" S="2.16.578.1.12.4.1.1.9034" DN="Fastlege"/> <FamilyName>September</FamilyName> <GivenName>August</GivenName> <Ident> <Id>91095</Id> <TypeId V="HER" S="2.16.578.1.12.4.1.1.8116" DN="HER-id"/> </Ident> </HealthcareProfessional> </Organisation> </Sender> <Receiver> <Organisation> <OrganisationName>DIREKTORATET FOR E-HELSE</OrganisationName> <Ident> <Id>115851</Id> <TypeId V="HER" S="2.16.578.1.12.4.1.1.9051" DN="HER-id"/> </Ident> <Organisation> <OrganisationName>Digitale innbyggertjenester</OrganisationName> <Ident> <Id>8093248</Id> <TypeId V="HER" S="2.16.578.1.12.4.1.1.9051" DN="HER-id"/> </Ident> </Organisation> </Organisation> </Receiver> <Patient> <FamilyName>Danser</FamilyName> <GivenName>Folke</GivenName> <Ident> <Id>13116900216</Id> <TypeId V="FNR" S="2.16.578.1.12.4.1.1.8116" DN="Fødselsnummer"/> </Ident> </Patient> </MsgInfo> <Document> <ContentDescription>Endring av time bekreftet</ContentDescription> <RefDoc> <IssueDate V="2019-05-19T09:15:44.0Z"/> <MsgType V="XML" DN="XML-instans"/> <Content> <Dialogmelding xmlns="http://www.kith.no/xmlstds/dialog/2013-01-23" xmlns:fk1="http://www.kith.no/xmlstds/felleskomponent1" xsi:schemaLocation="http://www.kith.no/xmlstds/dialog/2013-01-23 ../../../sarepta/skjema/dialogmelding/2013-01-23/dialogmelding-v1.1.xsd"> <Foresporsel> <TypeForesp V="07" S="2.16.578.1.12.4.1.1.7602" DN="Endring av time bekreftet"/> </Foresporsel> </Dialogmelding> </Content> </RefDoc> </Document> <Document> <RefDoc> <MsgType V="XML" DN="XML-instans"/> <Description>iCalendarBestillTime</Description> <Content> <icalendar xmlns="urn:ietf:params:xml:ns:icalendar-2.0" xsi:schemaLocation="urn:ietf:params:xml:ns:icalendar-2.0 ../../../sarepta/skjema/felleskomponenter/iCalendar.xsd"> <vcalendar> <properties> <version> <text>2.0</text> </version> <prodid> <text>PAS EPJ</text> </prodid> </properties> <components> <vevent> <properties> <dtstart> <date-time>2019-06-01T11:45:00</date-time> </dtstart> <dtend> <date-time>2019-06-01T12:00:00</date-time> </dtend> <summary> <text>Allergitest</text> </summary> <uid> <text>8818f900-7882-4dbc-9aea-b187f41c2ded</text> </uid> <contact> <text>91095</text> </contact> <location> <text>Legegate 12C</text> </location> </properties> <components/> </vevent> </components> </vcalendar> </icalendar> </Content> </RefDoc> </Document> </MsgHead>
<?xml version="1.0" encoding="UTF-8"?> <MsgHead xmlns="http://www.kith.no/xmlstds/msghead/2006-05-24" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.kith.no/xmlstds/msghead/2006-05-24 ../../../sarepta/skjema/felleskomponenter/MsgHead-v1_2.xsd"> <MsgInfo> <Type V="DIALOG_INNBYGGER_AVTALEUTSENDING" DN="Dialog med innbygger - avtaleutsending"/> <MIGversion>v1.2 2006-05-24</MIGversion> <GenDate>2019-05-20T12:00:10.6271631+02:00</GenDate> <MsgId>c0b3e842-3b2f-424c-9e64-1589500adcd6</MsgId> <Ack V="J" DN="Ja"/> <Sender> <Organisation> <OrganisationName>Tieto kommune</OrganisationName> <Ident> <Id>91146</Id> <TypeId V="HER" S="2.16.578.1.12.4.1.1.9051" DN="HER-id"/> </Ident> <Organisation> <OrganisationName>Sykepleietjeneste, pleie- og omsorg</OrganisationName> <Ident> <Id>95337</Id> <TypeId V="HER" S="2.16.578.1.12.4.1.1.9051" DN="HER-id"/> </Ident> </Organisation> </Organisation> </Sender> <Receiver> <Organisation> <OrganisationName>DIREKTORATET FOR E-HELSE</OrganisationName> <Ident> <Id>115851</Id> <TypeId V="HER" S="2.16.578.1.12.4.1.1.9051" DN="HER-id"/> </Ident> <Organisation> <OrganisationName>Digitale innbyggertjenester</OrganisationName> <Ident> <Id>8093248</Id> <TypeId V="HER" S="2.16.578.1.12.4.1.1.9051" DN="HER-id"/> </Ident> </Organisation> </Organisation> </Receiver> <Patient> <FamilyName>Danser</FamilyName> <GivenName>Line</GivenName> <Ident> <Id>13116900216</Id> <TypeId V="FNR" S="2.16.578.1.12.4.1.1.8116" DN="Fødselsnummer"/> </Ident> </Patient> </MsgInfo> <Document> <RefDoc> <IssueDate V="2019-05-20T12:00:10.6271631+02:00"/> <MsgType V="XML" DN="XML-instans"/> <Content> <Dialogmelding xmlns="http://www.kith.no/xmlstds/dialog/2013-01-23" xsi:schemaLocation="http://www.kith.no/xmlstds/dialog/2013-01-23 ../../../sarepta/skjema/dialogmelding/2013-01-23/dialogmelding-v1.1.xsd"> <Foresporsel> <TypeForesp V="MOA" S="2.16.578.1.12.4.1.1.7601" DN="Melding om avtale"/> </Foresporsel> </Dialogmelding> </Content> </RefDoc> </Document> <Document> <ContentDescription>iCalendarUtførtTime</ContentDescription> <RefDoc> <IssueDate V="2017-05-20T11:17:10.6311626+02:00"/> <MsgType V="XML" DN="XML-instans"/> <Content> <icalendar xmlns="urn:ietf:params:xml:ns:icalendar-2.0" xsi:schemaLocation="urn:ietf:params:xml:ns:icalendar-2.0 ../../../sarepta/skjema/felleskomponenter/iCalendar.xsd"> <vcalendar> <properties> <version> <text>2.0</text> </version> <prodid> <text>PAS-EPJ</text> </prodid> </properties> <components> <vevent> <properties> <dtstart> <date-time>2019-05-20T09:05:00</date-time> </dtstart> <dtend> <date-time>2017-04-20T10:05:00</date-time> </dtend> <status> <text>COMPLETED</text> </status> <uid> <text>AC5B5659CB0913BB7F841900</text> </uid> <location> <text>Hjemmebesøk</text> </location> <description> <text>Gulvvask og kaffe</text> </description> <organizer> <parameters> <cn> <text>Oslo kommune</text> </cn> </parameters> <cal-address>mailto:test.organizer@ehelse.no</cal-address> </organizer> <attendee> <parameters> <cn> <text>Ola Nordmann</text> </cn> </parameters> <cal-address>mailto:test.ola.nordmann@ehelse.no</cal-address> </attendee> <contact> <text>93971</text> </contact> <related-to> <uri>A650C1AB-30BD-75C9-777C-62772D4C90BE</uri> </related-to> </properties> <components/> </vevent> </components> </vcalendar> </icalendar> </Content> </RefDoc> </Document> </MsgHead>
<?xml version="1.0" encoding="UTF-8"?> <MsgHead xmlns="http://www.kith.no/xmlstds/msghead/2006-05-24" xmlns:xsd="http://www.w3.org/2001/XMLSchema.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.kith.no/xmlstds/msghead/2006-05-24 ../../../sarepta/skjema/felleskomponenter/MsgHead-v1_2.xsd"> <MsgInfo> <Type V="DIALOG_INNBYGGER_AVTALEUTSENDING" DN="Dialog med innbygger - avtaleutsending"/> <MIGversion>v1.2 2006-05-24</MIGversion> <GenDate>2019-05-21T16:35:17.0Z</GenDate> <MsgId>f5f39601-67bf-4eb2-ae33-d2f3e7be3955</MsgId> <Ack V="J" DN="Ja"/> <Sender> <Organisation> <OrganisationName>Nanset legekontor</OrganisationName> <Ident> <Id>971318864</Id> <TypeId V="ENH" S="2.16.578.1.12.4.1.1.9051" DN="Organisasjonsnummeret i Enhetsregister"/> </Ident> <Ident> <Id>1234</Id> <TypeId V="HER" S="2.16.578.1.12.4.1.1.9051" DN="HER-id"/> </Ident> <HealthcareProfessional> <RoleToPatient V="6" S="2.16.578.1.12.4.1.1.9034" DN="Fastlege"/> <FamilyName>September</FamilyName> <GivenName>August</GivenName> <Ident> <Id>91095</Id> <TypeId V="HER" S="2.16.578.1.12.4.1.1.8116" DN="HER-id"/> </Ident> </HealthcareProfessional> </Organisation> </Sender> <Receiver> <Organisation> <OrganisationName>DIREKTORATET FOR E-HELSE</OrganisationName> <Ident> <Id>115851</Id> <TypeId V="HER" S="2.16.578.1.12.4.1.1.9051" DN="HER-id"/> </Ident> <Organisation> <OrganisationName>Digitale innbyggertjenester</OrganisationName> <Ident> <Id>8093248</Id> <TypeId V="HER" S="2.16.578.1.12.4.1.1.9051" DN="HER-id"/> </Ident> </Organisation> </Organisation> </Receiver> <Patient> <FamilyName>Danser</FamilyName> <GivenName>Folke</GivenName> <Ident> <Id>13116900216</Id> <TypeId V="FNR" S="2.16.578.1.12.4.1.1.8116" DN="Fødselsnummer"/> </Ident> </Patient> </MsgInfo> <Document> <ContentDescription>Pasient ikke møtt</ContentDescription> <RefDoc> <IssueDate V="2019-05-21T16:35:17.0Z"/> <MsgType V="XML" DN="XML-instans"/> <Content> <Dialogmelding xmlns="http://www.kith.no/xmlstds/dialog/2013-01-23" xmlns:fk1="http://www.kith.no/xmlstds/felleskomponent1" xsi:schemaLocation="http://www.kith.no/xmlstds/dialog/2013-01-23 ../../../sarepta/skjema/dialogmelding/2013-01-23/dialogmelding-v1.1.xsd"> <Foresporsel> <TypeForesp V="11" S="2.16.578.1.12.4.1.1.7602" DN="Pasient ikke møtt"/> </Foresporsel> </Dialogmelding> </Content> </RefDoc> </Document> <Document> <RefDoc> <MsgType V="XML" DN="XML-instans"/> <Description>iCalendarBestillTime</Description> <Content> <icalendar xmlns="urn:ietf:params:xml:ns:icalendar-2.0" xsi:schemaLocation="urn:ietf:params:xml:ns:icalendar-2.0 ../../../sarepta/skjema/felleskomponenter/iCalendar.xsd"> <vcalendar> <properties> <version> <text>2.0</text> </version> <prodid> <text>PAS EPJ</text> </prodid> </properties> <components> <vevent> <properties> <dtstart> <date-time>2019-05-21T16:00:00</date-time> </dtstart> <dtend> <date-time>2019-05-21T16:30:00</date-time> </dtend> <summary> <text>Allergitest</text> </summary> <uid> <text>8818f900-7882-4dbc-9aea-b187f41c2ded</text> </uid> <contact> <text>91095</text> </contact> <location> <text>Legegate 12C</text> </location> </properties> <components/> </vevent> </components> </vcalendar> </icalendar> </Content> </RefDoc> </Document> </MsgHead>
<?xml version="1.0" encoding="UTF-8"?> <MsgHead xmlns="http://www.kith.no/xmlstds/msghead/2006-05-24" xmlns:xsd="http://www.w3.org/2001/XMLSchema.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.kith.no/xmlstds/msghead/2006-05-24 ../../../sarepta/skjema/felleskomponenter/MsgHead-v1_2.xsd"> <MsgInfo> <Type V="DIALOG_INNBYGGER_AVTALEUTSENDING" DN="Dialog med innbygger - avtaleutsending"/> <MIGversion>v1.2 2006-05-24</MIGversion> <GenDate>2019-05-22T09:43:00.0Z</GenDate> <MsgId>abef8efc-cfcd-4a76-8de4-0cbaac34f64c</MsgId> <Ack V="J" DN="Ja"/> <Sender> <Organisation> <OrganisationName>Nanset legekontor</OrganisationName> <Ident> <Id>971318864</Id> <TypeId V="ENH" S="2.16.578.1.12.4.1.1.9051" DN="Organisasjonsnummeret i Enhetsregister"/> </Ident> <Ident> <Id>1234</Id> <TypeId V="HER" S="2.16.578.1.12.4.1.1.9051" DN="HER-id"/> </Ident> <HealthcareProfessional> <RoleToPatient V="6" S="2.16.578.1.12.4.1.1.9034" DN="Fastlege"/> <FamilyName>September</FamilyName> <GivenName>August</GivenName> <Ident> <Id>91095</Id> <TypeId V="HER" S="2.16.578.1.12.4.1.1.8116" DN="HER-id"/> </Ident> </HealthcareProfessional> </Organisation> </Sender> <Receiver> <Organisation> <OrganisationName>DIREKTORATET FOR E-HELSE</OrganisationName> <Ident> <Id>115851</Id> <TypeId V="HER" S="2.16.578.1.12.4.1.1.9051" DN="HER-id"/> </Ident> <Organisation> <OrganisationName>Digitale innbyggertjenester</OrganisationName> <Ident> <Id>8093248</Id> <TypeId V="HER" S="2.16.578.1.12.4.1.1.9051" DN="HER-id"/> </Ident> </Organisation> </Organisation> </Receiver> <Patient> <FamilyName>Danser</FamilyName> <GivenName>Folke</GivenName> <Ident> <Id>13116900216</Id> <TypeId V="FNR" S="2.16.578.1.12.4.1.1.8116" DN="Fødselsnummer"/> </Ident> </Patient> </MsgInfo> <Document> <ContentDescription>Timereservasjon bekreftet</ContentDescription> <RefDoc> <IssueDate V="2019-05-22T09:43:00.0Z"/> <MsgType V="XML" DN="XML-instans"/> <Content> <Dialogmelding xmlns="http://www.kith.no/xmlstds/dialog/2013-01-23" xmlns:fk1="http://www.kith.no/xmlstds/felleskomponent1" xsi:schemaLocation="http://www.kith.no/xmlstds/dialog/2013-01-23 ../../../sarepta/skjema/dialogmelding/2013-01-23/dialogmelding-v1.1.xsd"> <Foresporsel> <TypeForesp V="05" S="2.16.578.1.12.4.1.1.7602" DN="Timereservasjon bekreftet"/> </Foresporsel> </Dialogmelding> </Content> </RefDoc> </Document> <Document> <RefDoc> <MsgType V="XML" DN="XML-instans"/> <Description>iCalendarBestillTime</Description> <Content> <icalendar xmlns="urn:ietf:params:xml:ns:icalendar-2.0" xsi:schemaLocation="urn:ietf:params:xml:ns:icalendar-2.0 ../../../sarepta/skjema/felleskomponenter/iCalendar.xsd"> <vcalendar> <properties> <version> <text>2.0</text> </version> <prodid> <text>PAS EPJ</text> </prodid> </properties> <components> <vevent> <properties> <dtstart> <date-time>2019-06-01T11:45:00</date-time> </dtstart> <dtend> <date-time>2019-06-01T12:00:00</date-time> </dtend> <summary> <text>Allergitest</text> </summary> <uid> <text>8818f900-7882-4dbc-9aea-b187f41c2ded</text> </uid> <contact> <text>91095</text> </contact> <location> <text>Legegate 12C</text> </location> </properties> <components/> </vevent> </components> </vcalendar> </icalendar> </Content> </RefDoc> </Document> </MsgHead>
Generell info om meldingsutveksling med Helsenorge
For overordnet informasjon om meldingsutveksling med Helsenorge se her: Meldingsutveksling med Helsenorge og PVK
- No labels