Warnings

Test
not(.)W - 1
Contexte
/c:ClinicalDocument/c:component/c:structuredBody/c:component[5]/c:section/c:templateId[4]
Description
(FR-Resultats-evenements)/d80173e212-true-d80360e0: this element 'c:templateId' is not defined, or not defined with this content. This may concern the templateId, code or id. Expected in this context: hl7:templateId[@root = '1.3.6.1.4.1.19376.1.7.3.1.1.13.7'] | hl7:templateId[@root = '1.3.6.1.4.1.19376.1.5.3.1.1.21.2.9'] | hl7:templateId[@root = '1.2.250.1.213.1.1.2.163'] | hl7:id | hl7:code[(@code = '42545-4' and @codeSystem = '2.16.840.1.113883.6.1')] | hl7:title | hl7:text | hl7:entry[hl7:observation[hl7:templateId[@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13']]] | hl7:entry[hl7:act[hl7:templateId[@root = '1.3.6.1.4.1.19376.1.5.3.1.1.25.1.4.1']]] | hl7:entry[hl7:observation[hl7:templateId[@root = '1.3.6.1.4.1.19376.1.5.3.1.4.5'] and hl7:templateId[@root = '2.16.840.1.113883.10.20.1.28']]] (rule-reference: d80173e212-true-d80360e0)
Test
not(.)W - 2
Contexte
/c:ClinicalDocument/c:component/c:structuredBody/c:component[8]/c:section/c:entry
Description
(FR-Commentaire-non-code)/d95785e27-true-d95839e0: this element 'c:entry' is not defined, or not defined with this content. This may concern the templateId, code or id. Expected in this context: hl7:templateId[@root = '1.3.6.1.4.1.19376.1.4.1.2.16'] | hl7:templateId[@root = '2.16.840.1.113883.10.12.201'] | hl7:templateId[@root = '1.2.250.1.213.1.1.2.73'] | hl7:id | hl7:code[(@code = '55112-7' and @codeSystem = '2.16.840.1.113883.6.1')] | hl7:title | hl7:text[not(@nullFlavor)] (rule-reference: d95785e27-true-d95839e0)

Reports

Test
descendant-or-self::hl7:ClinicalDocument[hl7:templateId[@root = '2.16.840.1.113883.2.8.2.1'] and hl7:templateId[@root = '1.2.250.1.213.1.1.1.1'] and hl7:templateId[@root = '1.2.250.1.213.1.1.1.22'][@extension = '2021.01']]R - 1
Contexte
/c:ClinicalDocument
Description
descendant-or-self::hl7:ClinicalDocument[hl7:templateId[@root = '2.16.840.1.113883.2.8.2.1'] and hl7:templateId[@root = '1.2.250.1.213.1.1.1.1'] and hl7:templateId[@root = '1.2.250.1.213.1.1.1.22'][@extension = '2021.01']]: Instance is expected to have the following element: %%2
Test
string(@classCode) = ('DOCCLIN') or not(@classCode)R - 2
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): The value for classCode SHALL be 'DOCCLIN'. Found: ""
Test
string(@moodCode) = ('EVN') or not(@moodCode)R - 3
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): The value for moodCode SHALL be 'EVN'. Found: ""
Test
count(hl7:realmCode[@code = 'FR']) >= 1R - 4
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:realmCode[@code = 'FR'] is mandatory [min 1x].
Test
count(hl7:realmCode[@code = 'FR']) <= 1R - 5
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:realmCode[@code = 'FR'] appears too often [max 1x].
Test
count(hl7:typeId[@root = '2.16.840.1.113883.1.3'][@extension = 'POCD_HD000040']) >= 1R - 6
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:typeId[@root = '2.16.840.1.113883.1.3'][@extension = 'POCD_HD000040'] is mandatory [min 1x].
Test
count(hl7:typeId[@root = '2.16.840.1.113883.1.3'][@extension = 'POCD_HD000040']) <= 1R - 7
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:typeId[@root = '2.16.840.1.113883.1.3'][@extension = 'POCD_HD000040'] appears too often [max 1x].
Test
count(hl7:templateId[@root = '2.16.840.1.113883.2.8.2.1']) >= 1R - 8
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:templateId[@root = '2.16.840.1.113883.2.8.2.1'] is mandatory [min 1x].
Test
count(hl7:templateId[@root = '2.16.840.1.113883.2.8.2.1']) <= 1R - 9
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:templateId[@root = '2.16.840.1.113883.2.8.2.1'] appears too often [max 1x].
Test
count(hl7:templateId[@root = '1.2.250.1.213.1.1.1.1']) >= 1R - 10
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:templateId[@root = '1.2.250.1.213.1.1.1.1'] is mandatory [min 1x].
Test
count(hl7:templateId[@root = '1.2.250.1.213.1.1.1.1']) <= 1R - 11
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:templateId[@root = '1.2.250.1.213.1.1.1.1'] appears too often [max 1x].
Test
count(hl7:templateId[@root = '1.2.250.1.213.1.1.1.22'][@extension = '2021.01']) >= 1R - 12
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:templateId[@root = '1.2.250.1.213.1.1.1.22'][@extension = '2021.01'] is required [min 1x].
Test
count(hl7:templateId[@root = '1.2.250.1.213.1.1.1.22'][@extension = '2021.01']) <= 1R - 13
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:templateId[@root = '1.2.250.1.213.1.1.1.22'][@extension = '2021.01'] appears too often [max 1x].
Test
count(hl7:id) >= 1R - 14
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:id is required [min 1x].
Test
count(hl7:id) <= 1R - 15
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:id appears too often [max 1x].
Test
count(hl7:code[(@code = '34133-9' and @codeSystem = '2.16.840.1.113883.6.1')]) >= 1R - 16
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:code[(@code = '34133-9' and @codeSystem = '2.16.840.1.113883.6.1')] is required [min 1x].
Test
count(hl7:code[(@code = '34133-9' and @codeSystem = '2.16.840.1.113883.6.1')]) <= 1R - 17
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:code[(@code = '34133-9' and @codeSystem = '2.16.840.1.113883.6.1')] appears too often [max 1x].
Test
count(hl7:title) >= 1R - 18
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:title is required [min 1x].
Test
count(hl7:title) <= 1R - 19
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:title appears too often [max 1x].
Test
count(hl7:effectiveTime) >= 1R - 20
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:effectiveTime is required [min 1x].
Test
count(hl7:effectiveTime) <= 1R - 21
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:effectiveTime appears too often [max 1x].
Test
count(hl7:confidentialityCode) >= 1R - 22
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:confidentialityCode is required [min 1x].
Test
count(hl7:confidentialityCode) <= 1R - 23
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:confidentialityCode appears too often [max 1x].
Test
count(hl7:languageCode[@code = 'fr-FR']) >= 1R - 24
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:languageCode[@code = 'fr-FR'] is mandatory [min 1x].
Test
count(hl7:languageCode[@code = 'fr-FR']) <= 1R - 25
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:languageCode[@code = 'fr-FR'] appears too often [max 1x].
Test
count(hl7:setId) <= 1R - 26
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:setId appears too often [max 1x].
Test
count(hl7:versionNumber) <= 1R - 27
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:versionNumber appears too often [max 1x].
Test
count(hl7:documentationOf[hl7:serviceEvent]) >= 1R - 28
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:documentationOf[hl7:serviceEvent] is required [min 1x].
Test
count(hl7:author[hl7:assignedAuthor]) >= 1R - 29
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:author[hl7:assignedAuthor] is required [min 1x].
Test
count(hl7:componentOf[not(@nullFlavor)][hl7:encompassingEncounter]) >= 1R - 30
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:componentOf[not(@nullFlavor)][hl7:encompassingEncounter] is mandatory [min 1x].
Test
count(hl7:componentOf[not(@nullFlavor)][hl7:encompassingEncounter]) <= 1R - 31
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:componentOf[not(@nullFlavor)][hl7:encompassingEncounter] appears too often [max 1x].
Test
count(hl7:custodian[not(@nullFlavor)][hl7:assignedCustodian]) >= 1R - 32
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:custodian[not(@nullFlavor)][hl7:assignedCustodian] is mandatory [min 1x].
Test
count(hl7:custodian[not(@nullFlavor)][hl7:assignedCustodian]) <= 1R - 33
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:custodian[not(@nullFlavor)][hl7:assignedCustodian] appears too often [max 1x].
Test
count(hl7:dataEnterer) <= 1R - 34
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:dataEnterer appears too often [max 1x].
Test
count(hl7:inFulfillmentOf[hl7:order]) <= 1R - 35
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:inFulfillmentOf[hl7:order] appears too often [max 1x].
Test
count(hl7:legalAuthenticator[hl7:signatureCode[@code = 'S']]) >= 1R - 36
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:legalAuthenticator[hl7:signatureCode[@code = 'S']] is required [min 1x].
Test
count(hl7:legalAuthenticator[hl7:signatureCode[@code = 'S']]) <= 1R - 37
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:legalAuthenticator[hl7:signatureCode[@code = 'S']] appears too often [max 1x].
Test
count(hl7:recordTarget) >= 1R - 38
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:recordTarget is required [min 1x].
Test
count(hl7:recordTarget) <= 1R - 39
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:recordTarget appears too often [max 1x].
Test
count(hl7:relatedDocument[@typeCode = 'RPLC'][hl7:parentDocument]) <= 1R - 40
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:relatedDocument[@typeCode = 'RPLC'][hl7:parentDocument] appears too often [max 1x].
Test
count(hl7:component[hl7:structuredBody]) >= 1R - 41
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:component[hl7:structuredBody] is required [min 1x].
Test
count(hl7:component[hl7:structuredBody]) <= 1R - 42
Contexte
/c:ClinicalDocument
Description
(DLU-DLU): element hl7:component[hl7:structuredBody] appears too often [max 1x].
Test
every $elm in descendant-or-self::* satisfies $elm[ not(@nullFlavor) or (@nullFlavor and not(@* except (@xsi:type|@xsi:nil|@classCode|@typeCode|@determinerCode|@moodCode|@nullFlavor|@partType|@codeSystem[. = '2.16.840.1.113883.5.139']|@codeSystemName[. = 'TimingEvent']|@integrityCheckAlgorithm[. = 'SHA-1']|@inverted[. = 'false']|@mediaType[. = 'text/plain']|@operator[. = 'I']|@representation[. = 'TXT']|@inclusive[. = 'true']|@unit[. = '1']) | * | text()[string-length(normalize-space()) gt 0])) or (@nullFlavor = ('OTH', 'NA', 'UNC') and not(@* except (@xsi:type|@xsi:nil|@*:valueSet|@*:valueSetVersion|@codeSystem|@codeSystemName|@codeSystemVersion|@extension|@nullFlavor|@partType|@integrityCheckAlgorithm[. = 'SHA-1']|@mediaType[. = 'text/plain']|@operator[. = 'I']|@representation[. = 'TXT']|@inclusive[. = 'true']|@unit[. = '1'])) and (@extension | @codeSystem | *[local-name()='originalText'] | *[local-name()='translation'])) ]R - 43
Contexte
/c:ClinicalDocument/c:realmCode
Description
dtr1-1-ANY: if there is a nullFlavor, there shall be no text or other attribute or element, unless it's nullFlavor='OTH' or 'NA' (@codeSystem, or may have a value), or nullFlavor 'UNC' (@extension or may have a value). Found:
Test
(@nullFlavor and not(@code or @typeCode)) or (not(@nullFlavor) and (@code or @typeCode))R - 44
Contexte
/c:ClinicalDocument/c:realmCode
Description
dtr1-1-CS: @code/@typeCode and @nullFlavor are mutually exclusive
Test
not(@codeSystem) or @codeSystem = '2.16.840.1.113883.5.139'R - 45
Contexte
/c:ClinicalDocument/c:realmCode
Description
dtr1-2-CS: cannot have codeSystem
Test
not(@codeSystemName) or @codeSystemName = 'TimingEvent'R - 46
Contexte
/c:ClinicalDocument/c:realmCode
Description
dtr1-3-CS: cannot have codeSystemName
Test
not(@codeSystemVersion)R - 47
Contexte
/c:ClinicalDocument/c:realmCode
Description
dtr1-4-CS: cannot have codeSystemVersion
Test
not(@displayName)R - 48
Contexte
/c:ClinicalDocument/c:realmCode
Description
dtr1-5-CS: cannot have displayName
Test
not(hl7:originalText)R - 49
Contexte
/c:ClinicalDocument/c:realmCode
Description
dtr1-6-CS: cannot have originalText
Test
not(hl7:qualifier)R - 50
Contexte
/c:ClinicalDocument/c:realmCode
Description
dtr1-7-CS: cannot have qualifier
Only the first 50 reports are displayed