Versions Compared

Key

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

...

Notificeringer i NAS

I forbindelse med skriveoperationer i BTR (oprettelse, opdateringer og sletninger) sker der en notificering via NAS. Se evt. NAS2 - Anvenderguide.

De enkelte notificeringer indholder ikke detaljer vedr. oprettelse, redigering eller sletning af borgerens  behandlingstestamentdata of livstestamentdata , men udelukkende oplysninger om det cprnummer, for hvilket opdateringen har fundet sted. Det er efterfølgende op til anvenderen at hente det opdaterede stamkort ud via snitfladerne.

Følgende er et eksempel på en opdateringsnotificering til behandlingstestamente:

Code Block
firstline1
titleEksempel på notifikation ved skrivning fra BTR
linenumberstrue
collapsetrue
<ns3:Notify xmlns:ns3="http://docs.oasis-open.org/wsn/b-2" xmlns:ns2="http://www.w3.org/2005/08/addressing" xmlns:ns4="http://docs.oasis-open.org/wsrf/bf-2" xmlns:ns5="http://docs.oasis-open.org/wsn/t-1" xmlns:ns6="http://nsi.dk/advis/v10" xmlns:ns7="http://sundhedsdatastyrelsen.dk/behandlingstestamente/2022/08/01/">
	<ns3:NotificationMessage>
		<ns3:Topic Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple">nas.topic.treatmentwillnotification<>http://sundhedsdatastyrelsen.dk/behandlingstestamente/2018/05/01/:TreatmentWillUpdated</ns3:Topic>
		<ns3:Message>
			<ns6:NotifyContent id="0501792275" idType="http://nsi.dk/advis/v10/CPR">
				<ns7:TreatmentWillUpdated>
					<ns7:type>http://sundhedsdatastyrelsen.dk/MessageDefinition/Treatmentwill-notification</ns7:type>
					<ns7:date>2022-09-12</ns7:date> 
				    <ns7:version>1</ns7:version>
				</ns7:TreatmentWillUpdated></ns6:NotifyContent>
		</ns3:Message>
	</ns3:NotificationMessage>
</ns3:Notify>

...

Code Block
titleLivingWillUpdatedNotification
collapsetrue
<ns3:Notify xmlns:ns3="http://docs.oasis-open.org/wsn/b-2" xmlns:ns2="http://www.w3.org/2005/08/addressing" xmlns:ns4="http://docs.oasis-open.org/wsrf/bf-2" xmlns:ns5="http://docs.oasis-open.org/wsn/t-1" xmlns:ns6="http://nsi.dk/advis/v10" xmlns:ns7="http://sundhedsdatastyrelsen.dk/livstestamente/2022/08/01/">
	<ns3:NotificationMessage>
		<ns3:Topic Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple">nas.topic.livingwillnotification<>http://sundhedsdatastyrelsen.dk/livstestamente/2018/05/01/:LivingWillUpdated</ns3:Topic>
		<ns3:Message>
			<ns6:NotifyContent id="0501792275" idType="http://nsi.dk/advis/v10/CPR">
				<ns7:LivingWillUpdated>
					<ns7:type>http://sundhedsdatastyrelsen.dk/MessageDefinition/TreatmentwillLivingwill-notification</ns7:type>
					<ns7:date>2022-09-12</ns7:date>
					<ns7:version>1</ns7:version>
				</ns7:LivingWillUpdated></ns6:NotifyContent>
		</ns3:Message>
	</ns3:NotificationMessage>
</ns3:Notify>

...