Changeset 999 for ccr2ccd-xslt
- Timestamp:
- Nov 2, 2010, 10:24:08 PM (14 years ago)
- Location:
- ccr2ccd-xslt/trunk/make
- Files:
-
- 9 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr2ccd-xslt/trunk/make/M1-ccr_qrda.xsl
r995 r999 524 524 </section> 525 525 </component> 526 <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:Problems"> 527 <component> 528 <section> 529 <templateId root="2.16.840.1.113883.3.88.11.83.103" assigningAuthorityName="HITSP/C83"/> 530 <templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.6" assigningAuthorityName="IHE PCC"/> 531 <templateId root="2.16.840.1.113883.10.20.1.11" assigningAuthorityName="HL7 CCD"/> 532 <code code="11450-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Problem list"/> 533 <title>Problems</title> 534 <text> 535 <table> 536 <tbody> 537 <tr> 538 <th>Type</th> 539 <th>Date</th> 540 <th>Code</th> 541 <th>Description</th> 542 <th>Status</th> 543 <th>Source</th> 544 </tr> 545 <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Problems/a:Problem"> 546 <tr> 547 <td> 548 <xsl:value-of select="a:Type/a:Text"/> 549 </td> 550 <td> 551 <table> 552 <tbody> 553 <xsl:apply-templates select="a:DateTime"/> 554 </tbody> 555 </table> 556 </td> 557 <td> 558 <xsl:apply-templates select="a:Description/a:Code"/> 559 </td> 560 <td> 561 <xsl:attribute name="ID"> 562 <xsl:value-of select="a:CCRDataObjectID"></xsl:value-of> 563 </xsl:attribute> 564 <xsl:value-of select="a:Description/a:Text"/> 565 </td> 566 <td> 567 <xsl:value-of select="a:Status/a:Text"/> 568 </td> 569 <td> 570 <xsl:call-template name="actorName"> 571 <xsl:with-param name="objID" select="a:Source/a:Actor/a:ActorID"/> 572 </xsl:call-template> 573 </td> 574 </tr> 575 </xsl:for-each> 576 </tbody> 577 </table> 578 </text> 579 <xsl:for-each select="/a:ContinuityOfCareRecord/a:Body/a:Problems/a:Problem"> 580 <entry typeCode="DRIV"> 581 <act classCode="ACT" moodCode="EVN"> 582 <templateId root="2.16.840.1.113883.10.20.1.27"/> 583 <!-- Problem act template --> 584 585 <!-- <id> --> 586 <xsl:call-template name="ccdID"> 587 <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/> 588 </xsl:call-template> 589 590 <code nullFlavor="NA"/> 591 592 <xsl:call-template name="ccdPerformer"> 593 <xsl:with-param name="ccrActorReference" select="a:Source/a:Actor"/> 594 </xsl:call-template> 595 596 <entryRelationship typeCode="SUBJ"> 597 <observation classCode="OBS" moodCode="EVN"> 598 <templateId root="2.16.840.1.113883.10.20.1.28" assigningAuthorityName="CCD"/> 599 <!--Problem observation template--> 600 <templateId root="2.16.840.1.113883.3.249.11.100.8"/> 601 602 <!-- <id> --> 603 <xsl:call-template name="ccdID"> 604 <xsl:with-param name="ccrObjectID" select="a:CCRDataObjectID"/> 605 <xsl:with-param name="suffix"></xsl:with-param> 606 </xsl:call-template> 607 608 <code code="55607006" displayName="Problem" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT"/> 609 <statusCode code="completed"/> 610 <text> 611 <reference> 612 <xsl:attribute name="value"> 613 <xsl:text>#</xsl:text> 614 <xsl:value-of select="a:CCRDataObjectID"/> 615 </xsl:attribute> 616 </reference> 617 </text> 618 619 <xsl:call-template name="ccdDateTime"> 620 <xsl:with-param name="dt" select="a:DateTime"/> 621 </xsl:call-template> 622 623 <xsl:call-template name="ccdCodedValue"> 624 <xsl:with-param name="ccrCodedDescription" select="a:Description"/> 625 </xsl:call-template> 626 627 <xsl:call-template name="ccdStatus"> 628 <xsl:with-param name="ccrStatus" select="a:Status"/> 629 </xsl:call-template> 630 </observation> 631 </entryRelationship> 632 633 </act> 634 </entry> 635 </xsl:for-each> 636 </section> 637 </component> 638 </xsl:if> 526 639 <xsl:if test="a:ContinuityOfCareRecord/a:Body/a:Procedures"> 527 640 <component> -
ccr2ccd-xslt/trunk/make/M1-make-qrda-M1.sh
r995 r999 3 3 #cat ccd-purpose.xsl >> M1-ccr_qrda.xsl 4 4 #cat ccd-alerts.xsl >> M1-ccr_qrda.xsl 5 #cat ccd-problems.xsl >> M1-ccr_qrda.xsl5 cat ccd-problems.xsl >> M1-ccr_qrda.xsl 6 6 cat ccd-procedures.xsl >> M1-ccr_qrda.xsl 7 7 cat PayersSectionMedicareTemplate.xml >> M1-ccr_qrda.xsl -
ccr2ccd-xslt/trunk/make/M1-qrda2.sh
r994 r999 1 1 #!/bin/bash 2 #!/bin/bash 3 xalan -in /home/vademo4-09/CCR/M1_100146_CCR_V1_0_0.xml -xsl M1-ccr_qrda.xsl -out /home/vademo4-09/QRDA/M1-PAT_100146_QRDA_V1_0_0.xml 4 xalan -in /home/vademo4-09/CCR/M1_100676_CCR_V1_0_0.xml -xsl M1-ccr_qrda.xsl -out /home/vademo4-09/QRDA/M1-PAT_100676_QRDA_V1_0_0.xml 5 xalan -in /home/vademo4-09/CCR/M1_100839_CCR_V1_0_0.xml -xsl M1-ccr_qrda.xsl -out /home/vademo4-09/QRDA/M1-PAT_100839_QRDA_V1_0_0.xml 6 xalan -in /home/vademo4-09/CCR/M1_100846_CCR_V1_0_0.xml -xsl M1-ccr_qrda.xsl -out /home/vademo4-09/QRDA/M1-PAT_100846_QRDA_V1_0_0.xml 7 xalan -in /home/vademo4-09/CCR/M1_100847_CCR_V1_0_0.xml -xsl M1-ccr_qrda.xsl -out /home/vademo4-09/QRDA/M1-PAT_100847_QRDA_V1_0_0.xml 8 xalan -in /home/vademo4-09/CCR/M1_100848_CCR_V1_0_0.xml -xsl M1-ccr_qrda.xsl -out /home/vademo4-09/QRDA/M1-PAT_100848_QRDA_V1_0_0.xml 9 xalan -in /home/vademo4-09/CCR/M1_100849_CCR_V1_0_0.xml -xsl M1-ccr_qrda.xsl -out /home/vademo4-09/QRDA/M1-PAT_100849_QRDA_V1_0_0.xml 10 xalan -in /home/vademo4-09/CCR/M1_100850_CCR_V1_0_0.xml -xsl M1-ccr_qrda.xsl -out /home/vademo4-09/QRDA/M1-PAT_100850_QRDA_V1_0_0.xml 11 xalan -in /home/vademo4-09/CCR/M1_100852_CCR_V1_0_0.xml -xsl M1-ccr_qrda.xsl -out /home/vademo4-09/QRDA/M1-PAT_100852_QRDA_V1_0_0.xml 12 xalan -in /home/vademo4-09/CCR/M1_100855_CCR_V1_0_0.xml -xsl M1-ccr_qrda.xsl -out /home/vademo4-09/QRDA/M1-PAT_100855_QRDA_V1_0_0.xml 13 xalan -in /home/vademo4-09/CCR/M1_100858_CCR_V1_0_0.xml -xsl M1-ccr_qrda.xsl -out /home/vademo4-09/QRDA/M1-PAT_100858_QRDA_V1_0_0.xml 2 java -jar /usr/share/java/saxon.jar -o /home/vademo4-09/QRDA/M1-PAT_100146_QRDA_V1_0_0.xml /home/vademo4-09/CCR/M1_100146_CCR_V1_0_0.xml M1-ccr_qrda.xsl 3 java -jar /usr/share/java/saxon.jar -o /home/vademo4-09/QRDA/M1-PAT_100676_QRDA_V1_0_0.xml /home/vademo4-09/CCR/M1_100676_CCR_V1_0_0.xml M1-ccr_qrda.xsl 4 java -jar /usr/share/java/saxon.jar -o /home/vademo4-09/QRDA/M1-PAT_100839_QRDA_V1_0_0.xml /home/vademo4-09/CCR/M1_100839_CCR_V1_0_0.xml M1-ccr_qrda.xsl 5 java -jar /usr/share/java/saxon.jar -o /home/vademo4-09/QRDA/M1-PAT_100846_QRDA_V1_0_0.xml /home/vademo4-09/CCR/M1_100846_CCR_V1_0_0.xml M1-ccr_qrda.xsl 6 java -jar /usr/share/java/saxon.jar -o /home/vademo4-09/QRDA/M1-PAT_100847_QRDA_V1_0_0.xml /home/vademo4-09/CCR/M1_100847_CCR_V1_0_0.xml M1-ccr_qrda.xsl 7 java -jar /usr/share/java/saxon.jar -o /home/vademo4-09/QRDA/M1-PAT_100848_QRDA_V1_0_0.xml /home/vademo4-09/CCR/M1_100848_CCR_V1_0_0.xml M1-ccr_qrda.xsl 8 java -jar /usr/share/java/saxon.jar -o /home/vademo4-09/QRDA/M1-PAT_100849_QRDA_V1_0_0.xml /home/vademo4-09/CCR/M1_100849_CCR_V1_0_0.xml M1-ccr_qrda.xsl 9 java -jar /usr/share/java/saxon.jar -o /home/vademo4-09/QRDA/M1-PAT_100850_QRDA_V1_0_0.xml /home/vademo4-09/CCR/M1_100850_CCR_V1_0_0.xml M1-ccr_qrda.xsl 10 java -jar /usr/share/java/saxon.jar -o /home/vademo4-09/QRDA/M1-PAT_100852_QRDA_V1_0_0.xml /home/vademo4-09/CCR/M1_100852_CCR_V1_0_0.xml M1-ccr_qrda.xsl 11 java -jar /usr/share/java/saxon.jar -o /home/vademo4-09/QRDA/M1-PAT_100855_QRDA_V1_0_0.xml /home/vademo4-09/CCR/M1_100855_CCR_V1_0_0.xml M1-ccr_qrda.xsl 12 java -jar /usr/share/java/saxon.jar -o /home/vademo4-09/QRDA/M1-PAT_100858_QRDA_V1_0_0.xml /home/vademo4-09/CCR/M1_100858_CCR_V1_0_0.xml M1-ccr_qrda.xsl -
ccr2ccd-xslt/trunk/make/ccd-problems.xsl
r995 r999 73 73 <templateId root="2.16.840.1.113883.10.20.1.28" assigningAuthorityName="CCD"/> 74 74 <!--Problem observation template--> 75 <templateId root="2.16.840.1.113883.3.249.11.100.8"/> 75 76 76 77 <!-- <id> --> … … 80 81 </xsl:call-template> 81 82 82 <code code="55607006" displayName="Problem" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT"/> 83 <code xsi:type="CE"code="55607006" displayName="Problem" codeSystem="2.16.840.1.113883.6.96" 84 codeSystemName="SNOMED-CT"/> 83 85 <statusCode code="completed"/> 84 86 < !-- <text> 85 87 <reference> 86 88 <xsl:attribute name="value"> … … 89 91 </xsl:attribute> 90 92 </reference> 91 </text> 93 </text>--> 92 94 93 95 <xsl:call-template name="ccdDateTime">
Note:
See TracChangeset
for help on using the changeset viewer.