Errors

Test
text()='DOCUMENT DE LIAISON D''URGENCE'E - 1
Contexte
/ClinicalDocument/title
Description
(DLU-DLU): the element content of hl7:title SHALL be ''DOCUMENT DE LIAISON D'URGENCE''. Found: "20230517_SYNTHèSE D'éPISODE DE SOINS_NESSI_RUTH_363421.PDF"
Test
count(hl7:component[hl7:section[hl7:templateId [@root='1.3.6.1.4.1.19376.1.5.3.1.3.19']]][not(@nullFlavor)]) >= 1E - 2
Contexte
/ClinicalDocument/component/structuredBody
Description
(DLU-DLU): element hl7:component[hl7:section[hl7:templateId [@root='1.3.6.1.4.1.19376.1.5.3.1.3.19']]][not(@nullFlavor)] is mandatory [min 1x].
Test
string(@displayName) = ('Historique des vaccinations') or not(@displayName)E - 3
Contexte
/ClinicalDocument/component/structuredBody/component[8]/section/code
Description
(FR-Vaccinations): The value for displayName SHALL be 'Historique des vaccinations'. Found: "Historique de vaccinations"

Warnings

Test
not(.)W - 1
Contexte
/ClinicalDocument/component/structuredBody/component[5]/section/entry
Description
(FR-Directives-anticipees)/d79772e89-true-d79857e0: this element '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.5.3.1.3.35'] | hl7:templateId[@root = '1.3.6.1.4.1.19376.1.5.3.1.3.34'] | hl7:templateId[@root = '2.16.840.1.113883.10.20.1.1'] | hl7:templateId[@root = '1.2.250.1.213.1.1.2.157'] | hl7:id | hl7:code[(@code = '42348-3' and @codeSystem = '2.16.840.1.113883.6.1')] | hl7:title | hl7:text[not(@nullFlavor)] | hl7:entry[hl7:observation[hl7:templateId[@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13.7'] and hl7:templateId[@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13'] and hl7:templateId[@root = '2.16.840.1.113883.10.20.1.17']]] (rule-reference: d79772e89-true-d79857e0)
Test
not(.)W - 2
Contexte
/ClinicalDocument/component/structuredBody/component[5]/section/entry[2]
Description
(FR-Directives-anticipees)/d79772e89-true-d79857e0: this element '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.5.3.1.3.35'] | hl7:templateId[@root = '1.3.6.1.4.1.19376.1.5.3.1.3.34'] | hl7:templateId[@root = '2.16.840.1.113883.10.20.1.1'] | hl7:templateId[@root = '1.2.250.1.213.1.1.2.157'] | hl7:id | hl7:code[(@code = '42348-3' and @codeSystem = '2.16.840.1.113883.6.1')] | hl7:title | hl7:text[not(@nullFlavor)] | hl7:entry[hl7:observation[hl7:templateId[@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13.7'] and hl7:templateId[@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13'] and hl7:templateId[@root = '2.16.840.1.113883.10.20.1.17']]] (rule-reference: d79772e89-true-d79857e0)
Test
not(.)W - 3
Contexte
/ClinicalDocument/component/structuredBody/component[6]/section/entry/observation/templateId[2]
Description
(FR-Resultats-evenements)/d80397e4-true-d80551e0: this element '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.5.3.1.4.13'] | hl7:templateId[@root = '1.2.250.1.213.1.1.3.48'] | hl7:id | hl7:code | hl7:text | hl7:statusCode[@code = 'completed'] | hl7:effectiveTime | hl7:repeatNumber | hl7:value | hl7:interpretationCode | hl7:methodCode | hl7:targetSiteCode | hl7:author[hl7:assignedAuthor] (rule-reference: d80397e4-true-d80551e0)
Test
not(.)W - 4
Contexte
/ClinicalDocument/component/structuredBody/component[6]/section/entry[2]/observation/templateId[2]
Description
(FR-Resultats-evenements)/d80397e4-true-d80551e0: this element '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.5.3.1.4.13'] | hl7:templateId[@root = '1.2.250.1.213.1.1.3.48'] | hl7:id | hl7:code | hl7:text | hl7:statusCode[@code = 'completed'] | hl7:effectiveTime | hl7:repeatNumber | hl7:value | hl7:interpretationCode | hl7:methodCode | hl7:targetSiteCode | hl7:author[hl7:assignedAuthor] (rule-reference: d80397e4-true-d80551e0)
Test
not(.)W - 5
Contexte
/ClinicalDocument/component/structuredBody/component[6]/section/entry[3]/observation/templateId[2]
Description
(FR-Resultats-evenements)/d80397e4-true-d80551e0: this element '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.5.3.1.4.13'] | hl7:templateId[@root = '1.2.250.1.213.1.1.3.48'] | hl7:id | hl7:code | hl7:text | hl7:statusCode[@code = 'completed'] | hl7:effectiveTime | hl7:repeatNumber | hl7:value | hl7:interpretationCode | hl7:methodCode | hl7:targetSiteCode | hl7:author[hl7:assignedAuthor] (rule-reference: d80397e4-true-d80551e0)
Test
not(.)W - 6
Contexte
/ClinicalDocument/component/structuredBody/component[6]/section/entry[4]/observation/templateId[2]
Description
(FR-Resultats-evenements)/d80397e4-true-d80551e0: this element '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.5.3.1.4.13'] | hl7:templateId[@root = '1.2.250.1.213.1.1.3.48'] | hl7:id | hl7:code | hl7:text | hl7:statusCode[@code = 'completed'] | hl7:effectiveTime | hl7:repeatNumber | hl7:value | hl7:interpretationCode | hl7:methodCode | hl7:targetSiteCode | hl7:author[hl7:assignedAuthor] (rule-reference: d80397e4-true-d80551e0)
Test
not(.)W - 7
Contexte
/ClinicalDocument/component/structuredBody/component[6]/section/entry[5]/observation/templateId[2]
Description
(FR-Resultats-evenements)/d80397e4-true-d80551e0: this element '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.5.3.1.4.13'] | hl7:templateId[@root = '1.2.250.1.213.1.1.3.48'] | hl7:id | hl7:code | hl7:text | hl7:statusCode[@code = 'completed'] | hl7:effectiveTime | hl7:repeatNumber | hl7:value | hl7:interpretationCode | hl7:methodCode | hl7:targetSiteCode | hl7:author[hl7:assignedAuthor] (rule-reference: d80397e4-true-d80551e0)
Test
not(.)W - 8
Contexte
/ClinicalDocument/component/structuredBody/component[6]/section/entry[6]/observation/templateId[2]
Description
(FR-Resultats-evenements)/d80397e4-true-d80551e0: this element '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.5.3.1.4.13'] | hl7:templateId[@root = '1.2.250.1.213.1.1.3.48'] | hl7:id | hl7:code | hl7:text | hl7:statusCode[@code = 'completed'] | hl7:effectiveTime | hl7:repeatNumber | hl7:value | hl7:interpretationCode | hl7:methodCode | hl7:targetSiteCode | hl7:author[hl7:assignedAuthor] (rule-reference: d80397e4-true-d80551e0)
Test
not(.)W - 9
Contexte
/ClinicalDocument/component/structuredBody/component[6]/section/entry[7]/observation/templateId[2]
Description
(FR-Resultats-evenements)/d80397e4-true-d80551e0: this element '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.5.3.1.4.13'] | hl7:templateId[@root = '1.2.250.1.213.1.1.3.48'] | hl7:id | hl7:code | hl7:text | hl7:statusCode[@code = 'completed'] | hl7:effectiveTime | hl7:repeatNumber | hl7:value | hl7:interpretationCode | hl7:methodCode | hl7:targetSiteCode | hl7:author[hl7:assignedAuthor] (rule-reference: d80397e4-true-d80551e0)
Test
not(.)W - 10
Contexte
/ClinicalDocument/component/structuredBody/component[6]/section/entry[8]/observation/templateId[2]
Description
(FR-Resultats-evenements)/d80397e4-true-d80551e0: this element '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.5.3.1.4.13'] | hl7:templateId[@root = '1.2.250.1.213.1.1.3.48'] | hl7:id | hl7:code | hl7:text | hl7:statusCode[@code = 'completed'] | hl7:effectiveTime | hl7:repeatNumber | hl7:value | hl7:interpretationCode | hl7:methodCode | hl7:targetSiteCode | hl7:author[hl7:assignedAuthor] (rule-reference: d80397e4-true-d80551e0)
Test
not(.)W - 11
Contexte
/ClinicalDocument/component/structuredBody/component[6]/section/entry[9]/observation/templateId[2]
Description
(FR-Resultats-evenements)/d80397e4-true-d80551e0: this element '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.5.3.1.4.13'] | hl7:templateId[@root = '1.2.250.1.213.1.1.3.48'] | hl7:id | hl7:code | hl7:text | hl7:statusCode[@code = 'completed'] | hl7:effectiveTime | hl7:repeatNumber | hl7:value | hl7:interpretationCode | hl7:methodCode | hl7:targetSiteCode | hl7:author[hl7:assignedAuthor] (rule-reference: d80397e4-true-d80551e0)
Test
not(.)W - 12
Contexte
/ClinicalDocument/component/structuredBody/component[6]/section/entry[10]/observation/templateId[2]
Description
(FR-Resultats-evenements)/d80397e4-true-d80551e0: this element '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.5.3.1.4.13'] | hl7:templateId[@root = '1.2.250.1.213.1.1.3.48'] | hl7:id | hl7:code | hl7:text | hl7:statusCode[@code = 'completed'] | hl7:effectiveTime | hl7:repeatNumber | hl7:value | hl7:interpretationCode | hl7:methodCode | hl7:targetSiteCode | hl7:author[hl7:assignedAuthor] (rule-reference: d80397e4-true-d80551e0)
Test
not(.)W - 13
Contexte
/ClinicalDocument/component/structuredBody/component[6]/section/entry[11]/observation/templateId[2]
Description
(FR-Resultats-evenements)/d80397e4-true-d80551e0: this element '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.5.3.1.4.13'] | hl7:templateId[@root = '1.2.250.1.213.1.1.3.48'] | hl7:id | hl7:code | hl7:text | hl7:statusCode[@code = 'completed'] | hl7:effectiveTime | hl7:repeatNumber | hl7:value | hl7:interpretationCode | hl7:methodCode | hl7:targetSiteCode | hl7:author[hl7:assignedAuthor] (rule-reference: d80397e4-true-d80551e0)
Test
not(.)W - 14
Contexte
/ClinicalDocument/component/structuredBody/component[6]/section/entry[12]/observation/templateId[2]
Description
(FR-Resultats-evenements)/d80397e4-true-d80551e0: this element '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.5.3.1.4.13'] | hl7:templateId[@root = '1.2.250.1.213.1.1.3.48'] | hl7:id | hl7:code | hl7:text | hl7:statusCode[@code = 'completed'] | hl7:effectiveTime | hl7:repeatNumber | hl7:value | hl7:interpretationCode | hl7:methodCode | hl7:targetSiteCode | hl7:author[hl7:assignedAuthor] (rule-reference: d80397e4-true-d80551e0)
Test
not(.)W - 15
Contexte
/ClinicalDocument/component/structuredBody/component[6]/section/entry[13]/observation/templateId[2]
Description
(FR-Resultats-evenements)/d80397e4-true-d80551e0: this element '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.5.3.1.4.13'] | hl7:templateId[@root = '1.2.250.1.213.1.1.3.48'] | hl7:id | hl7:code | hl7:text | hl7:statusCode[@code = 'completed'] | hl7:effectiveTime | hl7:repeatNumber | hl7:value | hl7:interpretationCode | hl7:methodCode | hl7:targetSiteCode | hl7:author[hl7:assignedAuthor] (rule-reference: d80397e4-true-d80551e0)
Test
not(.)W - 16
Contexte
/ClinicalDocument/component/structuredBody/component[6]/section/entry[14]/observation/templateId[2]
Description
(FR-Resultats-evenements)/d80397e4-true-d80551e0: this element '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.5.3.1.4.13'] | hl7:templateId[@root = '1.2.250.1.213.1.1.3.48'] | hl7:id | hl7:code | hl7:text | hl7:statusCode[@code = 'completed'] | hl7:effectiveTime | hl7:repeatNumber | hl7:value | hl7:interpretationCode | hl7:methodCode | hl7:targetSiteCode | hl7:author[hl7:assignedAuthor] (rule-reference: d80397e4-true-d80551e0)
Test
not(.)W - 17
Contexte
/ClinicalDocument/component/structuredBody/component[6]/section/entry[15]/observation/templateId[2]
Description
(FR-Resultats-evenements)/d80397e4-true-d80551e0: this element '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.5.3.1.4.13'] | hl7:templateId[@root = '1.2.250.1.213.1.1.3.48'] | hl7:id | hl7:code | hl7:text | hl7:statusCode[@code = 'completed'] | hl7:effectiveTime | hl7:repeatNumber | hl7:value | hl7:interpretationCode | hl7:methodCode | hl7:targetSiteCode | hl7:author[hl7:assignedAuthor] (rule-reference: d80397e4-true-d80551e0)
Test
not(.)W - 18
Contexte
/ClinicalDocument/component/structuredBody/component[7]/section/templateId[3]
Description
(FR-Resultats-examens)/d83368e76-true-d83655e0: this element '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.5.3.1.3.28'] | hl7:templateId[@root = '1.3.6.1.4.1.19376.1.5.3.1.3.27'] | hl7:templateId[@root = '1.2.250.1.213.1.1.2.151'] | hl7:id | hl7:code[(@code = '30954-2' and @codeSystem = '2.16.840.1.113883.6.1')] | hl7:title | hl7:text[not(@nullFlavor)] | hl7:entry[hl7:procedure[hl7:templateId[@root = '1.3.6.1.4.1.19376.1.5.3.1.4.19']]] | hl7:entry[hl7:act[hl7:templateId[@root = '1.3.6.1.4.1.19376.1.5.3.1.4.4']]] | hl7:entry[hl7:observation[hl7:templateId[@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13']]] (rule-reference: d83368e76-true-d83655e0)
Test
not(.)W - 19
Contexte
/ClinicalDocument/component/structuredBody/component[7]/section/entry[2]/observation/templateId[2]
Description
(FR-Resultats-examens)/d88746e4-true-d88900e0: this element '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.5.3.1.4.13'] | hl7:templateId[@root = '1.2.250.1.213.1.1.3.48'] | hl7:id | hl7:code | hl7:text | hl7:statusCode[@code = 'completed'] | hl7:effectiveTime | hl7:repeatNumber | hl7:value | hl7:interpretationCode | hl7:methodCode | hl7:targetSiteCode | hl7:author[hl7:assignedAuthor] (rule-reference: d88746e4-true-d88900e0)
Test
not(.)W - 20
Contexte
/ClinicalDocument/component/structuredBody/component[10]/section/entry/organizer/component/observation/templateId[2]
Description
(FR-Documents-ajoutes)/d95550e4-true-d95625e0: this element '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.5.3.1.4.13'] | hl7:templateId[@root = '1.2.250.1.213.1.1.3.48'] | hl7:templateId[@root = '1.2.250.1.213.1.1.3.48.18'] | hl7:id | hl7:code[(@code = '69764-9' and @codeSystem = '2.16.840.1.113883.6.1')] | hl7:text | hl7:statusCode[@code = 'completed'] | hl7:effectiveTime | hl7:value (rule-reference: d95550e4-true-d95625e0)

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
/@xml-stylesheet/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
/ClinicalDocument
Description
(DLU-DLU): The value for classCode SHALL be 'DOCCLIN'. Found: ""
Test
string(@moodCode) = ('EVN') or not(@moodCode)R - 3
Contexte
/ClinicalDocument
Description
(DLU-DLU): The value for moodCode SHALL be 'EVN'. Found: ""
Test
count(hl7:realmCode[@code = 'FR']) >= 1R - 4
Contexte
/ClinicalDocument
Description
(DLU-DLU): element hl7:realmCode[@code = 'FR'] is mandatory [min 1x].
Test
count(hl7:realmCode[@code = 'FR']) <= 1R - 5
Contexte
/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
/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
/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
/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
/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
/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
/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
/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
/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
/ClinicalDocument
Description
(DLU-DLU): element hl7:id is required [min 1x].
Test
count(hl7:id) <= 1R - 15
Contexte
/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
/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
/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
/ClinicalDocument
Description
(DLU-DLU): element hl7:title is required [min 1x].
Test
count(hl7:title) <= 1R - 19
Contexte
/ClinicalDocument
Description
(DLU-DLU): element hl7:title appears too often [max 1x].
Test
count(hl7:effectiveTime) >= 1R - 20
Contexte
/ClinicalDocument
Description
(DLU-DLU): element hl7:effectiveTime is required [min 1x].
Test
count(hl7:effectiveTime) <= 1R - 21
Contexte
/ClinicalDocument
Description
(DLU-DLU): element hl7:effectiveTime appears too often [max 1x].
Test
count(hl7:confidentialityCode) >= 1R - 22
Contexte
/ClinicalDocument
Description
(DLU-DLU): element hl7:confidentialityCode is required [min 1x].
Test
count(hl7:confidentialityCode) <= 1R - 23
Contexte
/ClinicalDocument
Description
(DLU-DLU): element hl7:confidentialityCode appears too often [max 1x].
Test
count(hl7:languageCode[@code = 'fr-FR']) >= 1R - 24
Contexte
/ClinicalDocument
Description
(DLU-DLU): element hl7:languageCode[@code = 'fr-FR'] is mandatory [min 1x].
Test
count(hl7:languageCode[@code = 'fr-FR']) <= 1R - 25
Contexte
/ClinicalDocument
Description
(DLU-DLU): element hl7:languageCode[@code = 'fr-FR'] appears too often [max 1x].
Test
count(hl7:setId) <= 1R - 26
Contexte
/ClinicalDocument
Description
(DLU-DLU): element hl7:setId appears too often [max 1x].
Test
count(hl7:versionNumber) <= 1R - 27
Contexte
/ClinicalDocument
Description
(DLU-DLU): element hl7:versionNumber appears too often [max 1x].
Test
count(hl7:documentationOf[hl7:serviceEvent]) >= 1R - 28
Contexte
/ClinicalDocument
Description
(DLU-DLU): element hl7:documentationOf[hl7:serviceEvent] is required [min 1x].
Test
count(hl7:author[hl7:assignedAuthor]) >= 1R - 29
Contexte
/ClinicalDocument
Description
(DLU-DLU): element hl7:author[hl7:assignedAuthor] is required [min 1x].
Test
count(hl7:componentOf[not(@nullFlavor)][hl7:encompassingEncounter]) >= 1R - 30
Contexte
/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
/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
/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
/ClinicalDocument
Description
(DLU-DLU): element hl7:custodian[not(@nullFlavor)][hl7:assignedCustodian] appears too often [max 1x].
Test
count(hl7:dataEnterer) <= 1R - 34
Contexte
/ClinicalDocument
Description
(DLU-DLU): element hl7:dataEnterer appears too often [max 1x].
Test
count(hl7:inFulfillmentOf[hl7:order]) <= 1R - 35
Contexte
/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
/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
/ClinicalDocument
Description
(DLU-DLU): element hl7:legalAuthenticator[hl7:signatureCode[@code = 'S']] appears too often [max 1x].
Test
count(hl7:recordTarget) >= 1R - 38
Contexte
/ClinicalDocument
Description
(DLU-DLU): element hl7:recordTarget is required [min 1x].
Test
count(hl7:recordTarget) <= 1R - 39
Contexte
/ClinicalDocument
Description
(DLU-DLU): element hl7:recordTarget appears too often [max 1x].
Test
count(hl7:relatedDocument[@typeCode = 'RPLC'][hl7:parentDocument]) <= 1R - 40
Contexte
/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
/ClinicalDocument
Description
(DLU-DLU): element hl7:component[hl7:structuredBody] is required [min 1x].
Test
count(hl7:component[hl7:structuredBody]) <= 1R - 42
Contexte
/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
/ClinicalDocument/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
/ClinicalDocument/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
/ClinicalDocument/realmCode
Description
dtr1-2-CS: cannot have codeSystem
Test
not(@codeSystemName) or @codeSystemName = 'TimingEvent'R - 46
Contexte
/ClinicalDocument/realmCode
Description
dtr1-3-CS: cannot have codeSystemName
Test
not(@codeSystemVersion)R - 47
Contexte
/ClinicalDocument/realmCode
Description
dtr1-4-CS: cannot have codeSystemVersion
Test
not(@displayName)R - 48
Contexte
/ClinicalDocument/realmCode
Description
dtr1-5-CS: cannot have displayName
Test
not(hl7:originalText)R - 49
Contexte
/ClinicalDocument/realmCode
Description
dtr1-6-CS: cannot have originalText
Test
not(hl7:qualifier)R - 50
Contexte
/ClinicalDocument/realmCode
Description
dtr1-7-CS: cannot have qualifier
Only the first 50 reports are displayed