- Timestamp:
- Sep 5, 2010, 6:01:17 PM (14 years ago)
- Location:
- qrda/schematron
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
qrda/schematron/QRDA_CategoryI_WorldVistAH-2011-Working.xml
r921 r927 236 236 <!-- http://terminology.vetmed.vt.edu/SCT/menu.cfm to look up codes--> 237 237 <!--59058001 is general physician ;Family Medicine specialist is 62247001--> 238 <code code="62247001" codeSystem="2.16.840.1.113883.6.69" codeSystemName="SN OMED CT" displayName="Internal Medician Specialist"/>238 <code code="62247001" codeSystem="2.16.840.1.113883.6.69" codeSystemName="SNM" displayName="Internal Medician Specialist"/> 239 239 <addr> 240 240 <streetAddressLine>123 Maple Ave</streetAddressLine> … … 283 283 <!-- http://terminology.vetmed.vt.edu/SCT/menu.cfm to look up codes--> 284 284 <!--59058001 is general physician ;Family Medicine specialist is 62247001--> 285 <code code="62247001" codeSystem="2.16.840.1.113883.6.69" codeSystemName="SN OMED CT" displayName="Internal Medician Specialist"/>285 <code code="62247001" codeSystem="2.16.840.1.113883.6.69" codeSystemName="SNM" displayName="Internal Medician Specialist"/> 286 286 <addr> 287 287 <streetAddressLine>123 Maple Ave</streetAddressLine> … … 656 656 <low value="20010101"/> 657 657 </effectiveTime> 658 <!--CONF-QRDA1-166 follows--> 659 <code code="64572001" type="CD" displayName="condition" codeSystem="2.16.840.1.113883.6.96"/> 658 660 <!--CD is a concept descriptor and the code systeem is ICD9 for 6.103 --> 659 661 <value xsi:type="CD" code="250.00" codeSystem="2.16.840.1.113883.6.103" displayName="Diabetes Mellitus"/> … … 668 670 <code code="33999-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Status"/> 669 671 <statusCode code="completed"/> 670 <!--55561003 is fro active CE is for coded with equivalents data type and 6.96 is SNOMED CT-->671 <value xsi:type="CE" code="90734009" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SN OMED CT" displayName="Chronic"/>672 <!--55561003 is fro active CE is for coded with equivalents data type and 2.16.840.1.113883.6.96 is SNOMED CT. This is CONF-QRDA1-168 and comes from the downloadable resource tab C--> 673 <value xsi:type="CE" code="90734009" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNM" displayName="Chronic"/> 672 674 </observation> 673 675 </entryRelationship> … … 696 698 <low value="20030101"/> 697 699 </effectiveTime> 700 <code code="64572001" type="CD" displayName="condition" codeSystem="2.16.840.1.113883.6.96"/> 698 701 <!--CD is a concept descriptor and the code systeem is ICD9 for 6.103 --> 699 702 <value xsi:type="CD" code="428.0" codeSystem="2.16.840.1.113883.6.103" displayName="Congestive Heart Failure"/> … … 709 712 <statusCode code="completed"/> 710 713 <!--55561003 is fro active CE is for coded with equivalents data type and 6.96 is SNOMED CT--> 711 <value xsi:type="CE" code="90734009" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SN OMED CT" displayName="Chronic"/>714 <value xsi:type="CE" code="90734009" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNM" displayName="Chronic"/> 712 715 </observation> 713 716 </entryRelationship> 714 717 </observation> 715 716 718 </entryRelationship> 719 </act> 717 720 </entry> 718 721 <entry typeCode="DRIV"> … … 735 738 <low value="20030101"/> 736 739 </effectiveTime> 740 <code code="64572001" type="CD" displayName="condition" codeSystem="2.16.840.1.113883.6.96"/> 737 741 <!--CD is a concept descriptor and the code systeem is ICD9 for 6.103 --> 738 742 <value xsi:type="CD" code="412" codeSystem="2.16.840.1.113883.6.103" displayName="Old Myocardial Infarction"/> … … 748 752 <statusCode code="completed"/> 749 753 <!--55561003 is fro active CE is for coded with equivalents data type and 6.96 is SNOMED CT--> 750 <value xsi:type="CE" code="73425007" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SN OMED CT" displayName="Inactive"/>754 <value xsi:type="CE" code="73425007" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNM" displayName="Inactive"/> 751 755 </observation> 752 756 </entryRelationship> … … 1095 1099 <templateId root="2.16.840.1.113883.10.20.1.32"/> 1096 1100 <id root="38eb54f1-888c-11df-a4ee-0800200c9c66"/> 1097 <code code="363679005" codeSystemName="SN OMED CT" displayName="IMAGING"/>1101 <code code="363679005" codeSystemName="SNM" displayName="IMAGING"/> 1098 1102 <statusCode code="completed"/> 1099 1103 <effectiveTime value="201002071300"/> … … 1104 1108 <!--<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/>--> 1105 1109 <id root="38eb54f2-888c-11df-a4ee-0800200c9c66"/> 1106 <code code="250908004" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SN OMED CT" displayName="LEFT VERTRICULAR EJECTION FRACTION"/>1110 <code code="250908004" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNM" displayName="LEFT VERTRICULAR EJECTION FRACTION"/> 1107 1111 <text>LEFT VERTRICULAR EJECTION FRACTION</text> 1108 1112 <statusCode code="completed"/> … … 1172 1176 <templateId root="2.16.840.1.113883.10.20.1.29"/> 1173 1177 <id root="a32801b9-8855-11df-a4ee-0800200c9c66"/> 1174 <code code="24623002" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SN OMED CT" displayName="SCREENING MAMMOGRAPHY"/>1178 <code code="24623002" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNM" displayName="SCREENING MAMMOGRAPHY"/> 1175 1179 <statusCode code="completed"/> 1176 1180 <effectiveTime value="20100207"/> … … 1348 1352 <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13.1" assigningAuthorityName="IHE PCC"/> 1349 1353 <id root="7eedbc60-8a15-11df-a4ee-0800200c9c66"/> 1350 <code code="46680005" codeSystem="2.16.840.1.113883.6.96" displayName="Vital signs" codeSystemName="SN OMED CT"/>1354 <code code="46680005" codeSystem="2.16.840.1.113883.6.96" displayName="Vital signs" codeSystemName="SNM"/> 1351 1355 <statusCode code="completed"/> 1352 1356 <effectiveTime value="20100210"/> … … 1357 1361 <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/> 1358 1362 <id root="a32801b7-8855-11df-a4ee-0800200c9c66"/> 1359 <code displayName="SYSTOLIC BLOOD PRESSURE" code="72313002" codeSystemName="SN OMED CT" codeSystem="2.16.840.1.113883.6.96"/>1363 <code displayName="SYSTOLIC BLOOD PRESSURE" code="72313002" codeSystemName="SNM" codeSystem="2.16.840.1.113883.6.96"/> 1360 1364 <statusCode code="completed"/> 1361 1365 <effectiveTime value="20100210"/> … … 1370 1374 <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/> 1371 1375 <id root="a32801b8-8855-11df-a4ee-0800200c9c66"/> 1372 <code displayName="DIASTOLIC BLOOD PRESSURE" code="271649006" codeSystemName="SN OMED CT" codeSystem="2.16.840.1.113883.6.96"/>1376 <code displayName="DIASTOLIC BLOOD PRESSURE" code="271649006" codeSystemName="SNM" codeSystem="2.16.840.1.113883.6.96"/> 1373 1377 <statusCode code="completed"/> 1374 1378 <effectiveTime value="20100210"/> … … 1383 1387 <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/> 1384 1388 <id root="7eedbc64-8a15-11df-a4ee-0800200c9c66"/> 1385 <code displayName="HEART RATE" code="364075005" codeSystemName="SN OMED CT" codeSystem="2.16.840.1.113883.6.96"/>1389 <code displayName="HEART RATE" code="364075005" codeSystemName="SNM" codeSystem="2.16.840.1.113883.6.96"/> 1386 1390 <statusCode code="completed"/> 1387 1391 <effectiveTime value="20100210"/> … … 1401 1405 <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13.1" assigningAuthorityName="IHE PCC"/> 1402 1406 <id root="7eede370-8a15-11df-a4ee-0800200c9c66"/> 1403 <code code="46680005" codeSystem="2.16.840.1.113883.6.96" displayName="Vital signs" codeSystemName="SN OMED CT"/>1407 <code code="46680005" codeSystem="2.16.840.1.113883.6.96" displayName="Vital signs" codeSystemName="SNM"/> 1404 1408 <statusCode code="completed"/> 1405 1409 <effectiveTime value="20100701"/> … … 1410 1414 <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/> 1411 1415 <id root="7eede371-8a15-11df-a4ee-0800200c9c66"/> 1412 <code displayName="SYSTOLIC BLOOD PRESSURE" code="72313002" codeSystemName="SN OMED CT" codeSystem="2.16.840.1.113883.6.96"/>1416 <code displayName="SYSTOLIC BLOOD PRESSURE" code="72313002" codeSystemName="SNM" codeSystem="2.16.840.1.113883.6.96"/> 1413 1417 <statusCode code="completed"/> 1414 1418 <effectiveTime value="20100701"/> … … 1423 1427 <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/> 1424 1428 <id root="7eede372-8a15-11df-a4ee-0800200c9c66"/> 1425 <code displayName="DIASTOLIC BLOOD PRESSURE" code="271649006" codeSystemName="SN OMED CT" codeSystem="2.16.840.1.113883.6.96"/>1429 <code displayName="DIASTOLIC BLOOD PRESSURE" code="271649006" codeSystemName="SNM" codeSystem="2.16.840.1.113883.6.96"/> 1426 1430 <statusCode code="completed"/> 1427 1431 <effectiveTime value="20100701"/> … … 1436 1440 <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/> 1437 1441 <id root="7eede373-8a15-11df-a4ee-0800200c9c66"/> 1438 <code displayName="HEART RATE" code="364075005" codeSystemName="SN OMED CT" codeSystem="2.16.840.1.113883.6.96"/>1442 <code displayName="HEART RATE" code="364075005" codeSystemName="SNM" codeSystem="2.16.840.1.113883.6.96"/> 1439 1443 <statusCode code="completed"/> 1440 1444 <effectiveTime value="20100701"/> -
qrda/schematron/templates/2.16.840.1.113883.10.20.12.ent
r922 r927 1 1 <!-- edited with XMLSpy v2009 sp1 (http://www.altova.com) by David Mishler (Medrad) --> 2 2 <!-- HL7 QRDA Category I Header (Section 2) --> 3 <!-- This document provides errors and edits pertinent to the header section ofthe QRDA files. It is assumed that the QRDA files are VALID CDA release 2 files.-->3 <!-- This document provides errors and edits pertinent to the header section the QRDA files. It is assumed that the QRDA files are VALID CDA release 2 files.--> 4 4 <!-- errors --> 5 5 <pattern id="p-2.16.840.1.113883.10.20.12-errors"> … … 481 481 482 482 <!-- see CONF-QRDA1-125 for CONF-QRDA1-133 and CONF-QRDA1-134--> 483 483 <let name="ReportingParametersTitle" value="cda:component/cda:structuredBody/cda:component/cda:section/cda:component/cda:section/cda:component/cda:section/cda:title"/> 484 484 <assert test='upper-case($ReportingParametersTitle)="REPORTING PARAMETERS"'> 485 485 Error: CONF-QRDA1-135: A reporting parameters section which is a nested section in the measures section which is nested in the Measures Set section section SHALL valued with a section/title containing a case insensitive, text string containing Reporting Parameters. 486 </assert> 487 </rule>486 </assert> 487 </rule> 488 488 <!--<rule context='*[cda:code[@code="55186-1" and @codeSystem="2.16.840.1.113883.6.1"]]'>--> 489 489 <!-- Measure --> … … 543 543 Error: CONF-QRDA1-139: The reporting time period SHALL be represented with an effectiveTime/low element combined with a high element representing respectively the first and last days of the period reported and they SHALL be precise at least to the day (YYYYMMDD). 544 544 </assert> 545 545 546 <!-- CONF-QRDA-143 The Patient Data Section SHOULD contain patien data pretainig to the measures stated in the Measure section. Any patient data that is not applicatble to the mearsures will be ignored 547 CONF-QRDA-144 The measures data SHALL be presented in clinical statements 548 CONF-QRDA-145 The mearure date using SNOMED SHALL be represented per the Using SNOMED CT in HL7 Version 3 DSTU 549 CONF-QRDA-146: The Measures data SHOULD use CCD and other CDA IG templates whce possible. All the templates that are used by this specification are discribed in Chapter 3 of the 2011 Data Submission Specifications Utilizing HL7 QRDA Implementation Guide Based on HL7 CDA Release 2.0 --> 550 </rule> 551 <rule context='*[cda:code[@code="55188-7" and @codeSystem="2.16.840.1.113883.6.1"]]'> 552 <assert test='contains(translate(cda:title,"QWERTYUIOPASDFGHJKLZXCVBNM","qwertyuiopasdfghjklzxcvbnm"),"patient data")'> 553 Error: CONF-QRDA1-142: The Patient Data section SHALL be valued with section/title with a 554 case-insensitive, text string containing "Patient Data". 555 </assert> 556 546 557 </rule> 558 <!-- CONF-QRDA-143 The Patient Data Section SHOULD contain patien data pretainig to the measures stated in the Measure section. Any patient data that is not applicatble to the mearsures will be ignored 559 CONF-QRDA-144 The measures data SHALL be presented in clinical statements 560 CONF-QRDA-145 The mearure date using SNOMED SHALL be represented per the Using SNOMED CT in HL7 Version 3 DSTU 561 CONF-QRDA-146: The Measures data SHOULD use CCD and other CDA IG templates whce possible. All the templates that are used by this specification are discribed in Chapter 3 of the 2011 Data Submission Specifications Utilizing HL7 QRDA Implementation Guide Based on HL7 CDA Release 2.0 --> 562 547 563 <!-- Patient Data Section --> 548 564 <rule context='*[cda:code[@code="55188-7" and @codeSystem="2.16.840.1.113883.6.1"]]'> 549 565 <assert test='contains(translate(cda:title,"QWERTYUIOPASDFGHJKLZXCVBNM","qwertyuiopasdfghjklzxcvbnm"),"patient data")'> 550 Error: CONF-QRDA -I-57: The Patient Data section SHALL be valued with section/title with a566 Error: CONF-QRDA1-142: The Patient Data section SHALL be valued with section/title with a 551 567 case-insensitive, text string containing "Patient Data". 552 568 </assert> 553 569 </rule> 570 571 <!-- Problem section: 2.16.840.1.113883.10.20.1.11 --> 572 573 <rule context='*[cda:templateId/@root="2.16.840.1.113883.10.20.1.11"]'> 574 575 <assert test='cda:code[@code="11450-4" and @codeSystem="2.16.840.1.113883.6.1"]'> 576 Error: CONF-QRDA1-147: The problem section SHALL contain Section / code. The value for "Section / code" SHALL be "11450-4" "Problem list" 2.16.840.1.113883.6.1 LOINC STATIC. 577 </assert> 578 <assert test="cda:title"> 579 Error: CONF-QRDA1-150:The problem section SHALL contain Section / title. 580 </assert> 581 <assert test="contains(translate(cda:title,'QWERTYUIOPASDFGHJKLZXCVBNM','qwertyuiopasdfghjklzxcvbnm'),'problems')"> 582 Section / title SHOULD be valued with a case-insensitive language-insensitive text string containing "problems". 583 </assert> 584 <assert test='(every $classCode in cda:entry/cda:act/@classCode satisfies ($classCode="ACT")) and (every $moodCode in cda:entry/cda:act/@moodCode satisfies ($moodCode="EVN"))'> 585 Error: CONF-QRDA1-152, CONF-QRDA1-153,CONF-QRDA1-154: A problem act (templateId 2.16.840.1.113883.10.20.1.27) SHALL be represented with Act. The value for "Act / classCode" in a problem act SHALL be "ACT" 2.16.840.1.113883.5.6 ActClass STATIC. The value for "Act / moodCode" in a problem act SHALL be "EVN" 2.16.840.1.113883.5.1001 ActMood STATIC. TEST!! 586 </assert> 587 <!--HOW DO I SAY THAT EVERY ONE OF THESE BELOW HAS A PARENT THAT IS cda:entry/cda:act--> 588 <!--<assert test='count((.//cda:templateId[@root="2.16.840.1.113883.10.20.1.27"]) and ((./cda:act[@classCode="ACT" and @moodCode="ENV"]) >= 1))'> 589 Warning: CONF-QRDA1-152 Clinical statements SHOULD include one or more problem acts (templateId 2.16.840.1.113883.10.20.1.27). 590 </assert>--> 591 592 <!--<assert test=".//cda:templateId[@root='2.16.840.1.113883.10.20.1.27']"> 593 Warning: CONF-QRDA1-152 Clinical statements SHOULD include one or more problem acts (templateId 2.16.840.1.113883.10.20.1.27).</assert>--> 594 <!-- <assert test="contains(translate(cda:title,'QWERTYUIOPASDFGHJKLZXCVBNM','qwertyuiopasdfghjklzxcvbnm'),'problem')">Section / title SHOULD be valued with a case-insensitive language-insensitive text string containing "problem". 595 </assert>--> 596 597 </rule> 598 599 <rule context='*[cda:templateId[@root="2.16.840.1.113883.10.20.1.27"]]'> 600 <assert test='self::cda:act[@classCode="ACT" and @moodCode="EVN"]'> 601 Error: CONF-QRDA1-152, CONF-QRDA1-153,CONF-QRDA1-154: A problem act (templateId 2.16.840.1.113883.10.20.1.27) SHALL be represented with Act. The value for "Act / classCode" in a problem act SHALL be "ACT" 2.16.840.1.113883.5.6 ActClass STATIC. The value for "Act / moodCode" in a problem act SHALL be "EVN" 2.16.840.1.113883.5.1001 ActMood STATIC. TEST!! 602 </assert> 603 <assert test='count(cda:id) >= 1'> 604 Error: CONF-QRDA1-155: A problem act SHALL contain at least one Act / id. 605 </assert> 606 <assert test='cda:code[@nullFlavor="NA"]'> 607 Error: CONF-QRDA1-156: The value for "Act / code / @NullFlavor" in a problem act SHALL be "NA" "Not applicable" 2.16.840.1.113883.5.1008 NullFlavor STATIC. 608 </assert> 609 <assert test='count(cda:entryRelationship/cda:observation/cda:effectiveTime) = 1'> 610 Warning: CONF-QRDA1-156: A problem act MAY contain exactly one Act / effectiveTime, to indicate the timing of the concern (e.g. the time the problem was noted). 611 </assert> 612 <assert test='count(cda:entryRelationship) >= 1'> 613 Error: CONF-QRDA1-158: problem act SHALL contain one or more Act / entryRelationship. 614 </assert> 615 <assert test='cda:entryRelationship[@typeCode="SUBJ"]'> 616 Warning: CONF-QRDA1-159, CONF-QRDA1-160: A problem MAY reference a problem observation, alert observation or othe clinical statement this is the subject of concern, by setting the value for Act /entryRelationship / @typeCode to be SUBJ 2.16.840.1.113883.5.1002 ActRelationshipType STATIC. The target of a problem act with Act /entryRelationship / @typeCode SUBJ SHOULD be a problem observation (in the Problem section) or alert observation but MAY be some other clinical statement. 617 </assert> 618 </rule> 619 <!-- this goes in Social History 620 <assert test="count(cda:templateId[@root='2.16.840.1.113883.10.20.1.41']) <= 1">A problem act MAY contain exactly one episode observation. The template identifier for an episode observation is 2.16.840.1.113883.10.20.1.41.</assert> --> 621 <!--Not in QRDA<assert test="count(cda:templateId[@root='2.16.840.1.113883.10.20.1.48']) < 2">A problem act MAY contain exactly one patient awareness.</assert>--> 622 623 <!-- Problem observation template is 2.16.840.1.113883.10.20.1.28--> 624 <rule context='*[cda:templateId/@root="2.16.840.1.113883.10.20.1.28"]'> 625 <!--DAVID LOOK BELOW IT WORKS BUT DOES NOT MAKE MUCH SENSE TO ME--> 626 <assert test="self::cda:observation[@moodCode='EVN']"> 627 Errror: CONF-QRDA1-161 CONF-QRDA1-162:A problem observation (templateId 2.16.840.1.113883.10.20.1.28) SHALL be represented with Observation. The value for "Observation / moodCode" in a problem observation SHALL be "EVN" 2.16.840.1.113883.5.1001 ActMood STATIC.</assert> 628 <assert test="count(cda:statusCode)=1"> 629 Error: CONF-QRDA1-163 problem observation SHALL include exactly one Observation / statusCode. 630 </assert> 631 <assert test="cda:statusCode/@code='completed'"> 632 Error: CONF-QRDA1-164 The value for "Observation / statusCode" in a problem observation SHALL be "completed" 2.16.840.1.113883.5.14 ActStatus STATIC. 633 </assert> 634 <!--(count(cda:effectiveTime) = 1) and--> 635 <assert test='(string-length(cda:effectiveTime/cda:*/@value) >= 8)'> 636 Error: CONF-QRDA1-165 A problem oberservation shall contain exactly one Observation/effectiveTime, to indicate the biologic timing of the condition (i.e., the time the condition started, the onset of the illness or symptom, the duration of a condition) The observation/effectiveTime SHALL be at least precise to the day. 637 </assert> 638 <!--The next node is for when neither precise dates nor ages are known--> 639 <assert test='cda:entryRelationship[@typeCode="SUBJ"]'> Warning: CONF-QRDA1-167 The value for Observation / entry Relationship / @typeCode in a problem observation MAY be SUBJ 2.16.840.1.113883.5.1002 ActRelationshipType STATIC to reference an age observation (templateId 2.16.840.1.113883.10.20.1.38) 640 </assert> 641 <!--Additional information for the next assertion - the Problem Type Codes 2.16.840.1.113883.1.11.20.14 include 64572001 with displayName="condition", 418799008 with displayName="symptom", 404684003 with displayName="finding", 409586006 with displayName="complaint", and 24853006 with displayName="functional limitation". The code system is SNOMED CT and the codeType="CD".)--> 642 <assert test='cda:code[(@code="64572001") or (@code="418799008") or (@code="404684003") or (@code="409586006") or (@code="24853006")]'> Warning: CONF-QRDA1-166 The value for Observation /code in a problem observation MAY be selected from ValueSet 2.16.840.1.113883.1.11.20.14 ProblemTypeCode STATIC 20061017. 643 </assert> 644 <!--for CONF-QRDA1-168 see the include file referenced below--> 645 <include href="./templates/2.16.840.113883.10.20.1.28-AppendixC-2011.entInclude"/> 646 <!--<assert test='cda:observation/cda:value[(@codeSystemName="I9" and @codeSystem="2.16.840.1.113883.6.103" and @code="637.92" and @displayName="AB NOS UNCOMPLICAT-COMP")]'> 647 Error: CONF-QRDA1-168 he value for Observation / value/ @code in a problem observation SHALL be from Appendix_C-Problems tab of the Downloadable resources table. 648 </assert>--> 649 650 <!--<assert test="count(cda:templateId[@root='2.16.840.1.113883.10.20.1.50']) < 2">A problem observation MAY contain exactly one problem status observation. The template identifier for a problem status observation is 2.16.840.1.113883.10.20.1.50.</assert> 651 <assert test="count(cda:templateId[@root='2.16.840.1.113883.10.20.1.51']) < 2">A problem observation MAY contain exactly one problem healthstatus observation. The template identifier for a problem healthstatus observation is 2.16.840.1.113883.10.20.1.51.</assert> 652 <assert test="count(cda:templateId[@root='2.16.840.1.113883.10.20.1.48']) < 2">A problem observation MAY contain exactly one patient awareness.</assert> 653 </rule> 654 <rule context='*[cda:templateId/@root="2.16.840.1.113883.10.20.1.28"]'> 655 <assert test="count(cda:effectiveTime)=1">A problem observation SHOULD contain exactly one Observation / effectiveTime, to indicate the timing of condition (e.g. the time the condition started, the onset of the illness or symptom).</assert> 656 </rule>--> 657 658 659 </rule> 660 554 661 </pattern> 555 662 <pattern id="p-2.16.840.1.113883.10.20.12-warnings"> 556 <title>HL7 QRDA Category I Header (Section 2) - warning validation phase</title> 557 <rule context='*[cda:templateId/@root="2.16.840.1.113883.10.20.12"]'> 558 <assert test="count(cda:legalAuthenticator) = 1"> 559 Warning: CONF-QRDA-I-14: A QRDA Category I report SHOULD contain exactly one 560 legalAuthenticator element. 561 </assert> 562 </rule> 663 <title></title> 563 664 </pattern> 564 665 <pattern id="p-2.16.840.1.113883.10.20.12-notes"> 565 <title>HL7 QRDA Category I Header (Section 2) - note validation phase</title> 566 <rule context='*[cda:templateId/@root="2.16.840.1.113883.10.20.12"]'> 567 <assert test='.//cda:section/cda:code[@code="55185-3" and @codeSystem="2.16.840.1.113883.6.1"]'> 568 Note: CONF-QRDA-I-23: A QRDA Category I report MAY contain one or more Measure Set 569 sections. 570 </assert> 571 </rule> 572 <!-- Measure Section --> 573 <rule context='*[cda:code[@code="55186-1" and @codeSystem="2.16.840.1.113883.6.1"]]'> 574 <assert test="cda:text"> 575 Note: CONF-QRDA-I-41: The Measure section MAY contain a section/text element for the 576 description of the measure(s). 577 </assert> 578 </rule> 579 <!-- Measure --> 580 <rule context='*[cda:code[@code="55186-1" and @codeSystem="2.16.840.1.113883.6.1"]]/cda:entry/cda:act[@classCode="ACT" and @moodCode="DEF"]'> 581 <assert test="cda:text"> 582 Note: CONF-QRDA-I-46: Each measure act MAY contain an act/text element containing a 583 description of the measure. 584 </assert> 585 </rule> 586 <!-- Measure Set Section --> 587 <rule context='*[cda:code[@code="55185-3" and @codeSystem="2.16.840.1.113883.6.1"]]'> 588 <assert test="cda:text"> 589 Note: CONF-QRDA-I-30: The Measure Set section MAY contain a section/text element for 590 the description of the measure set or MAY contain a formal representation of 591 a description of the measure set. 592 </assert> 593 </rule> 666 <title></title> 594 667 </pattern>
Note:
See TracChangeset
for help on using the changeset viewer.