| hl7:id 
 | II | 1 … 1 | M | Bericht-id | (MCC  300) | 
                              
                                 |  | Schematron assert | role |  error |  | 
                              
                                 |  | test | @root and @extension |  | 
                              
                                 |  | Melding | Transmission: id element mist root of extension |  | 
                              
                                 | hl7:creationTime 
 | TS.DATETIME.MIN | 1 … 1 | M | Bericht-aanmaakdatum/tijd | (MCC  300) | 
                              
                                 |  | Constraint | creationTime moet minimaal op de seconde nauwkeurig zijn | 
                              
                                 | hl7:versionCode 
 | CS (required) | 1 … 1 | M | Bericht-versiecode | (MCC  300) | 
                              
                                 | @code 
 | CONF | 1 … 1 | F | NICTIZEd2005-Okt | 
                              
                                 | hl7:interactionId 
 | II | 1 … 1 | M | Bericht-interactie-id | (MCC  300) | 
                              
                                 | @root 
 | uid | 1 … 1 | F | 2.16.840.1.113883.1.6 | 
                              
                                 |  | Schematron assert | role |  error |  | 
                              
                                 |  | test | not(@root='2.16.840.1.113883.1.6') or local-name(..)=@extension |  | 
                              
                                 |  | Melding | Transmission: @extension moet overeenkomen met het startelement van het bericht |  | 
                              
                                 | hl7:profileId 
 | II | 1 … 1 | M | Bericht-profile-id | (MCC  300) | 
                              
                                 | @root 
 | uid | 1 … 1 | F | 2.16.840.1.113883.2.4.3.11.1 | 
                              
                                 | @extension 
 | st | 1 … 1 | F | 810 | 
                              
                                 | hl7:processingCode 
 | CS (required) | 1 … 1 | M | Bericht-verwerkingsmodus | (MCC  300) | 
                              
                                 | @code 
 | CONF | 1 … 1 | F | P | 
                              
                                 | hl7:processingModeCode 
 | CS (required) | 1 … 1 | M | Bericht-verwerkingsmodus | (MCC  300) | 
                              
                                 | @code 
 | CONF | 1 … 1 | F | T | 
                              
                                 | hl7:acceptAckCode 
 | CS (required) | 1 … 1 | M | Indicatie of de zender een technische ontvangstbevestiging wil krijgen. | (MCC  300) | 
                              
                                 | @code 
 | CONF | 1 … 1 | F | NE | 
                              
                                 | hl7:acknowledgement 
 |  | 1 … 1 | M | Details van de bevestiging | (MCC  300) | 
                              
                                 | @typeCode 
 | cs | 1 … 1 | R |  | 
                              
                                 |  | CONF |  | 
                              
                                 |  | Voorbeeld | <acknowledgement typeCode="AA"> <targetMessage>
 <id extension="200103" root="2.16.528.1.1007.3.3.112233.1"/>  </targetMessage></acknowledgement>
 | 
                              
                                 | hl7:acknowledgementDetail 
 |  | 0 … * |  | Bevat foutmeldingen | (MCC  300) | 
                              
                                 | @typeCode 
 | cs | 0 … 1 |  |  | 
                              
                                 |  | CONF |  | 
                              
                                 | hl7:code 
 | CV | 0 … 1 |  | Foutcode | (MCC  300) | 
                              
                                 | hl7:text 
 | ST | 0 … 1 |  | Fouttext | (MCC  300) | 
                              
                                 | hl7:location 
 | ST | 0 … * |  | Foutlocatie. Kan bijvoorbeeld een XPath-expressie zijn waar de fout optrad | (MCC  300) | 
                              
                                 | hl7:targetMessage 
 |  | 1 … 1 | M | Bevat de referentiedetails van het bericht waarop wordt geantwoord | (MCC  300) | 
                              
                                 | hl7:id 
 | II | 1 … 1 | M | Identificatie van het bericht waarop wordt geantwoord. De inhoud van dit element dient
                                    gelijk te zijn aan het bericht id van het bericht waarop dit bericht een antwoord
                                    is. | (MCC  300) | 
                              
                                 |  | Schematron assert | role |  error |  | 
                              
                                 |  | test | @root and @extension |  | 
                              
                                 |  | Melding | De referentie naar het id van het bericht waarop dit bericht een antwoord is: element
                                       mist root of extension |  | 
                              
                                 | Inclusie | 0 … * |  | van 2.16.840.1.113883.2.4.3.11.60.102.10.120 TransmissionWrapper AttentionLine (2014‑07‑15) | 
                              
                                 | hl7:attentionLine 
 |  | 0 … * |  | Bevat gegevens met een bepaalde attentiewaarde | (MCC  300) | 
                              
                                 | hl7:keyWordText 
 | SC | 1 … 1 | M | Dit element functioneert als sleutel in een sleutel/waarde-paar en geeft betekenis aan de waarde in het element value. | (MCC  300) | 
                              
                                 |  | CONF |  | 
                              
                                 | hl7:value 
 | ANY | 1 … 1 | M | Dit element functioneert als waarde bij de sleutel in het element keyWordText. Het datatype is niet van tevoren gedefinieerd en moet dus runtime via @xsi:type
                                    worden toegekend. | (MCC  300) | 
                              
                                 |  |  | 
                              
                                 | @xsi:type 
 |  | 1 … 1 | F | ANY | 
                              
                                 | hl7:receiver 
 |  | 1 … 1 | M |  | (MCC  300) | 
                              
                                 | @typeCode 
 | cs | 0 … 1 | F | RCV | 
                              
                                 | hl7:telecom 
 | TEL |  |  | Bevat contactgegevens (meestal telefoonnummer) van de persoon of organisatie die verantwoordelijk
                                    is voor het beheer van de applicatie geïdentificeerd in de geassocieerde Device klasse. 
 | (MCC  300) | 
                              
                                 | Inclusie |  |  | van 2.16.840.1.113883.2.4.3.11.60.102.10.110 TransmissionWrapper Device (2014‑07‑15) | 
                              
                                 | hl7:device 
 |  | 1 … 1 | M | Applicatiegegevens | (MCC  300) | 
                              
                                 | @determinerCode 
 | cs | 0 … 1 | F | INSTANCE | 
                              
                                 |  | Bevat of het om een bepaald soort gaat, of één specifieke instantie van het klassetype. 
 | 
                              
                                 | @classCode 
 | cs | 0 … 1 | F | DEV | 
                              
                                 |  | Bevat het klassetype 
 | 
                              
                                 | Inclusie | 1 … 1 | M | van 2.16.840.1.113883.2.4.3.11.60.102.10.1008 AORTA Application ID (2014‑07‑15) Applicatie-id
 
 | 
                              
                                 | hl7:id 
 | II | 1 … 1 | M | AORTA Applicatie-id | (MCC  300) | 
                              
                                 | @extension 
 | st | 1 … 1 | R | Bevat het applicatie-id 
 | 
                              
                                 | @root 
 | uid | 1 … 1 | F | 2.16.840.1.113883.2.4.6.6 | 
                              
                                 | hl7:name 
 | EN | 0 … 1 |  | Applicatie-naam | (MCC  300) | 
                              
                                 | hl7:telecom 
 | TEL | 0 … * |  | Bevat URL’s van de zendende/ontvangende applicatie, waaronder bijvoorbeeld de http
                                    of tcp/ip connectiegegevens. 
 | (MCC  300) | 
                              
                                 | hl7:softwareName 
 | SC | 0 … 1 |  | Softwarename: een tekstuele beschrijving van de gebruikte software, bijvoorbeeld “X-ZIS
                                    versie 7.2”. 
 | (MCC  300) | 
                              
                                 | hl7:agencyFor 
 |  | 0 … 1 |  | Met organisatie wordt dat organisatie(deel) bedoeld dat in juridische zin verantwoordelijk
                                    is voor het transport (de fysieke verzending) van een bericht of de ontvangst daarvan,
                                    bijvoorbeeld een apotheek of ziekenhuis. Voorbeelden: Indien de zender van een bericht
                                    een huisartssysteem is, dan bevat device.id de identificatie van het huisartssysteem,
                                    en representedOrganization.id de identificatie van de huisartsenpraktijk. De huisartsenpraktijk
                                    is de organisatie verantwoordelijk voor het transport van het bericht. Indien de zender
                                    van een bericht een
                                    laboratoriummodule binnen het ZIS is, dan bevat device.id de identificatie van de
                                    laboratoriummodule. Indien het ZIS de communicatie (de transportverantwoordelijkheid)
                                    verricht namens de laboratoriummodule, bevat representedOrganization.id de identificatie
                                    van het Ziekenhuis, zijnde de verantwoordelijke organisatie voor het ZIS. | (MCC  300) | 
                              
                                 | @classCode 
 | cs | 0 … 1 | F | AGNT | 
                              
                                 | hl7:representedOrganization 
 |  | 0 … 1 |  | Bevat de gegevens van de betreffende organisatie. 
 | (MCC  300) | 
                              
                                 | @classCode 
 | cs | 0 … 1 | F | ORG | 
                              
                                 | @determinerCode 
 | cs | 0 … 1 | F | INSTANCE | 
                              
                                 | hl7:id 
 | II | 1 … 1 | M | Organisatie-id | (MCC  300) | 
                              
                                 | hl7:name 
 | ON | 0 … * |  | Organisatie-naam | (MCC  300) | 
                              
                                 | hl7:telecom 
 | TEL | 0 … * |  | Organisatie-telecom | (MCC  300) | 
                              
                                 | hl7:NotificationParty 
 |  | 0 … 1 |  |  | (MCC  300) | 
                              
                                 | Inclusie |  |  | van 2.16.840.1.113883.2.4.3.11.60.102.10.516 Notification Party [contact] (2012‑09‑01) | 
                              
                                 | @classCode 
 |  | 0 … 1 | F | CON | 
                              
                                 | hl7:id 
 | II | 0 … * |  |  | (MCC  300) | 
                              
                                 | hl7:code 
 | CE | 0 … * |  |  | (MCC  300) | 
                              
                                 | hl7:addr 
 | AD | 0 … * |  |  | (MCC  300) | 
                              
                                 | hl7:telecom 
 | TEL | 0 … * |  |  | (MCC  300) | 
                              
                                 | hl7:contactParty 
 |  | 1 … 1 |  |  | (MCC  300) | 
                              
                                 | Keuze | 1 … 1 |  | Elementen om uit te kiezen: | 
                              
                                 | hl7:Organization 
 |  | … 1 |  | Bevat 2.16.840.1.113883.2.4.3.11.60.102.10.517 Organization [contact] (2012‑09‑01) | (MCC  300) | 
                              
                                 | hl7:Person 
 |  | … 1 |  | Bevat 2.16.840.1.113883.2.4.3.11.60.102.10.518 Person [contact] (2012‑09‑01) | (MCC  300) | 
                              
                                 | hl7:respondTo 
 |  | 0 … * |  |  | (MCC  300) | 
                              
                                 | @typeCode 
 | cs | 0 … 1 | F | RSP | 
                              
                                 | hl7:telecom 
 | TEL | 0 … * |  |  | (MCC  300) | 
                              
                                 | hl7:entityRsp 
 |  | 1 … 1 | M |  | (MCC  300) | 
                              
                                 | @classCode 
 | cs | 0 … 1 |  |  | 
                              
                                 |  | CONF |  | 
                              
                                 | @determinerCode 
 | cs | 0 … 1 |  |  | 
                              
                                 |  | CONF |  | 
                              
                                 | hl7:id 
 | II | 1 … * | M |  | (MCC  300) | 
                              
                                 | hl7:name 
 | EN | 0 … * |  |  | (MCC  300) | 
                              
                                 | hl7:telecom 
 | TEL | 0 … * |  |  | (MCC  300) | 
                              
                                 | hl7:sender 
 |  | 1 … 1 | M |  | (MCC  300) | 
                              
                                 | @typeCode 
 | cs | 0 … 1 | F | SND | 
                              
                                 | hl7:telecom 
 | TEL | 0 … 1 |  | Bevat contactgegevens (meestal telefoonnummer) van de persoon of organisatie die verantwoordelijk
                                    is voor het beheer van de applicatie geïdentificeerd in de geassocieerde Device klasse. 
 | (MCC  300) | 
                              
                                 | Inclusie |  |  | van 2.16.840.1.113883.2.4.3.11.60.102.10.110 TransmissionWrapper Device (2014‑07‑15) | 
                              
                                 | hl7:device 
 |  | 1 … 1 | M | Applicatiegegevens | (MCC  300) | 
                              
                                 | @determinerCode 
 | cs | 0 … 1 | F | INSTANCE | 
                              
                                 |  | Bevat of het om een bepaald soort gaat, of één specifieke instantie van het klassetype. 
 | 
                              
                                 | @classCode 
 | cs | 0 … 1 | F | DEV | 
                              
                                 |  | Bevat het klassetype 
 | 
                              
                                 | Inclusie | 1 … 1 | M | van 2.16.840.1.113883.2.4.3.11.60.102.10.1008 AORTA Application ID (2014‑07‑15) Applicatie-id
 
 | 
                              
                                 | hl7:id 
 | II | 1 … 1 | M | AORTA Applicatie-id | (MCC  300) | 
                              
                                 | @extension 
 | st | 1 … 1 | R | Bevat het applicatie-id 
 | 
                              
                                 | @root 
 | uid | 1 … 1 | F | 2.16.840.1.113883.2.4.6.6 | 
                              
                                 | hl7:name 
 | EN | 0 … 1 |  | Applicatie-naam | (MCC  300) | 
                              
                                 | hl7:telecom 
 | TEL | 0 … * |  | Bevat URL’s van de zendende/ontvangende applicatie, waaronder bijvoorbeeld de http
                                    of tcp/ip connectiegegevens. 
 | (MCC  300) | 
                              
                                 | hl7:softwareName 
 | SC | 0 … 1 |  | Softwarename: een tekstuele beschrijving van de gebruikte software, bijvoorbeeld “X-ZIS
                                    versie 7.2”. 
 | (MCC  300) | 
                              
                                 | hl7:agencyFor 
 |  | 0 … 1 |  | Met organisatie wordt dat organisatie(deel) bedoeld dat in juridische zin verantwoordelijk
                                    is voor het transport (de fysieke verzending) van een bericht of de ontvangst daarvan,
                                    bijvoorbeeld een apotheek of ziekenhuis. Voorbeelden: Indien de zender van een bericht
                                    een huisartssysteem is, dan bevat device.id de identificatie van het huisartssysteem,
                                    en representedOrganization.id de identificatie van de huisartsenpraktijk. De huisartsenpraktijk
                                    is de organisatie verantwoordelijk voor het transport van het bericht. Indien de zender
                                    van een bericht een
                                    laboratoriummodule binnen het ZIS is, dan bevat device.id de identificatie van de
                                    laboratoriummodule. Indien het ZIS de communicatie (de transportverantwoordelijkheid)
                                    verricht namens de laboratoriummodule, bevat representedOrganization.id de identificatie
                                    van het Ziekenhuis, zijnde de verantwoordelijke organisatie voor het ZIS. | (MCC  300) | 
                              
                                 | @classCode 
 | cs | 0 … 1 | F | AGNT | 
                              
                                 | hl7:representedOrganization 
 |  | 0 … 1 |  | Bevat de gegevens van de betreffende organisatie. 
 | (MCC  300) | 
                              
                                 | @classCode 
 | cs | 0 … 1 | F | ORG | 
                              
                                 | @determinerCode 
 | cs | 0 … 1 | F | INSTANCE | 
                              
                                 | hl7:id 
 | II | 1 … 1 | M | Organisatie-id | (MCC  300) | 
                              
                                 | hl7:name 
 | ON | 0 … * |  | Organisatie-naam | (MCC  300) | 
                              
                                 | hl7:telecom 
 | TEL | 0 … * |  | Organisatie-telecom | (MCC  300) | 
                              
                                 | hl7:NotificationParty 
 |  | 0 … 1 |  |  | (MCC  300) | 
                              
                                 | Inclusie |  |  | van 2.16.840.1.113883.2.4.3.11.60.102.10.516 Notification Party [contact] (2012‑09‑01) | 
                              
                                 | @classCode 
 |  | 0 … 1 | F | CON | 
                              
                                 | hl7:id 
 | II | 0 … * |  |  | (MCC  300) | 
                              
                                 | hl7:code 
 | CE | 0 … * |  |  | (MCC  300) | 
                              
                                 | hl7:addr 
 | AD | 0 … * |  |  | (MCC  300) | 
                              
                                 | hl7:telecom 
 | TEL | 0 … * |  |  | (MCC  300) | 
                              
                                 | hl7:contactParty 
 |  | 1 … 1 |  |  | (MCC  300) | 
                              
                                 | Keuze | 1 … 1 |  | Elementen om uit te kiezen: | 
                              
                                 | hl7:Organization 
 |  | … 1 |  | Bevat 2.16.840.1.113883.2.4.3.11.60.102.10.517 Organization [contact] (2012‑09‑01) | (MCC  300) | 
                              
                                 | hl7:Person 
 |  | … 1 |  | Bevat 2.16.840.1.113883.2.4.3.11.60.102.10.518 Person [contact] (2012‑09‑01) | (MCC  300) | 
                              
                                 | Inclusie |  |  | van 2.16.840.1.113883.2.4.3.11.60.102.10.101 Generic Transmission Checks (2014‑07‑15) | 
                              
                                 |  | Variabele let | Naam | transmission |  | 
                              
                                 |  | Waarde | . |  | 
                              
                                 |  | Variabele let | Naam | interactionId |  | 
                              
                                 |  | Waarde | $transmission/local-name() |  | 
                              
                                 |  | Variabele let | Naam | interactionVocabFile |  | 
                              
                                 |  | Waarde | '../vocab/2.16.840.1.113883.1.6.xml' |  | 
                              
                                 |  | Variabele let | Naam | interactionVocab |  | 
                              
                                 |  | Waarde | if (doc-available($interactionVocabFile)) then doc($interactionVocabFile) else () |  | 
                              
                                 |  | Variabele let | Naam | interactionName |  | 
                              
                                 |  | Waarde | $interactionVocab/*/hl7:code[@code=$interactionId]/@displayName |  | 
                              
                                 |  | Variabele let | Naam | isActive |  | 
                              
                                 |  | Waarde | not(exists($interactionVocab/*/hl7:code[@code=$interactionId]/hl7:qualifier[@name='Actief'][@value='false'])) |  | 
                              
                                 |  | Variabele let | Naam | allowBsn |  | 
                              
                                 |  | Waarde | exists($interactionVocab/*/hl7:code[@code=$interactionId]/hl7:qualifier[@name='AttentionLineMetBsn'][@value='true']) |  | 
                              
                                 |  | Variabele let | Naam | allowContextCode |  | 
                              
                                 |  | Waarde | exists($interactionVocab/*/hl7:code[@code=$interactionId]/hl7:qualifier[@name='AttentionLineMetContextCode'][@value='true']) |  | 
                              
                                 |  | Variabele let | Naam | senderGbpOrGbk |  | 
                              
                                 |  | Waarde | exists($transmission/hl7:ControlActProcess/hl7:authorOrPerformer/hl7:participant/hl7:AssignedPerson/hl7:code[@codeSystem=('2.16.840.1.113883.2.4.3.11.8','2.16.840.1.113883.2.4.3.11.6')]) |  | 
                              
                                 |  | Schematron assert | role |  warning |  | 
                              
                                 |  | test | $interactionVocab |  | 
                              
                                 |  | Melding | Transmission: <value-of select="$interactionVocabFile"/> niet gevonden. Controles gebaseerd op dit externe configuratiebestand zijn gedeactiveerd. |  | 
                              
                                 |  | Schematron assert | role |  error |  | 
                              
                                 |  | test | not($interactionVocab) or $isActive |  | 
                              
                                 |  | Melding | Transmission: deze interactie <value-of select="$interactionId"/> (<value-of select="$interactionName"/>) is niet (meer) Actief in <value-of select="$interactionVocabFile"/> |  | 
                              
                                 |  | Schematron assert | role |  error |  | 
                              
                                 |  | test | not($interactionVocab) or not($allowBsn) or $transmission/hl7:attentionLine/hl7:keyWordText[@code=('FICID','PATID')][@codeSystem='2.16.840.1.113883.2.4.15.1'] |  | 
                              
                                 |  | Melding | Transmission: er moet in deze interactie exact één AttentionLine met BSN zitten -
                                       <value-of select="$interactionId"/> (<value-of select="$interactionName"/>) |  | 
                              
                                 |  | Schematron assert | role |  error |  | 
                              
                                 |  | test | not($interactionVocab) or  not($allowContextCode) or $transmission/hl7:attentionLine/hl7:keyWordText[@code='CONTEXT'][@codeSystem='2.16.840.1.113883.2.4.15.1'] |  | 
                              
                                 |  | Melding | Transmission: er moet in deze interactie exact één AttentionLine met de ContextCode
                                       zitten - <value-of select="$interactionId"/> (<value-of select="$interactionName"/>) |  | 
                              
                                 |  | Schematron assert | role |  warning |  | 
                              
                                 |  | test | not($interactionVocab) or not($transmission/hl7:attentionLine/hl7:keywordText[@code=('FICID','PATID')][@codeSystem='2.16.840.1.113883.2.4.15.1'])
                                    or $allowBsn or $senderGbpOrGbk |  | 
                              
                                 |  | Melding | Transmission: deze interactie <value-of select="$interactionId"/> (<value-of select="$interactionName"/>) is niet geconfigureerd voor gebruik van het element <value-of select="local-name()"/> voor BSN in <value-of select="$interactionVocabFile"/> en afzender is niet GBK of GBP |  | 
                              
                                 |  | Schematron assert | role |  warning |  | 
                              
                                 |  | test | not($interactionVocab) or not($transmission/hl7:attentionLine/hl7:keywordText[@code='CONTEXT'][@codeSystem='2.16.840.1.113883.2.4.15.1'])
                                    or $allowContextCode or $senderGbpOrGbk |  | 
                              
                                 |  | Melding | Transmission: deze interactie <value-of select="$interactionId"/> (<value-of select="$interactionName"/>) is niet geconfigureerd voor gebruik van het element <value-of select="local-name()"/> voor ContextCode in <value-of select="$interactionVocabFile"/> en afzender is niet GBK of GBP |  | 
                              
                                 |  | Schematron assert | role |  error |  | 
                              
                                 |  | test | count($transmission/hl7:attentionLine/hl7:keyWordText[@code=('FICID','PATID')][@codeSystem='2.16.840.1.113883.2.4.15.1'])<=1 |  | 
                              
                                 |  | Melding | Transmission: er mag maximaal één AttentionLine met BSN zijn - <value-of select="$interactionId"/> (<value-of select="$interactionName"/>) |  | 
                              
                                 |  | Schematron assert | role |  error |  | 
                              
                                 |  | test | count($transmission/hl7:attentionLine/hl7:keyWordText[@code='CONTEXT'][@codeSystem='2.16.840.1.113883.2.4.15.1'])<=1 |  | 
                              
                                 |  | Melding | Transmission: er mag maximaal één AttentionLine met de ContextCode zijn - <value-of select="$interactionId"/> (<value-of select="$interactionName"/>) |  |