Changeset 982 for ccr2ccd-xslt/trunk/gpl


Ignore:
Timestamp:
Oct 19, 2010, 9:14:56 AM (14 years ago)
Author:
George Lilly
Message:

latest

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ccr2ccd-xslt/trunk/gpl/qrda-header.xsl

    r981 r982  
    6767        <templateId root="2.16.840.1.113883.3.249.11.100.1"/>
    6868        <!--WVV 2.16.840.1.113883.3.543 is fixed and is the beginninng of WorldVistAs OID, change the extension for a new document and the version for changes to this one-->
    69         <!-- WV? for this group of 10 documents we are submitting-->
    70         <id root="2.16.840.1.113883.3.543" extension="01.01.01.100000001.1"/>
     69        <id>
     70                <xsl:attribute name="root">
     71                    <xsl:value-of select="/a:ContinuityOfCareRecord/a:CCRDocumentObjectID"></xsl:value-of>
     72                </xsl:attribute>
     73            </id>
    7174                 <!--WVP next two lines fixed-->
    7275        <code code="55182-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Quality Measure Report"/>
     
    8992        <!-- This is the patient for which the report is describing. -->
    9093        <recordTarget>
    91                 <patientRole>
    92                   <!--WVV Id coding system is in the downloadable resoure and SSN is the extension. Edit the extension here-->
    93                   <!--Can't change during the reporting period-->
    94                         <id root="2.16.840.1.113883.4.1" extension="002386407"/>
    95       <!--WVV address is not required-->
    96                         <addr>
    97                           <streetAddressLine>1200 Sanders Lane</streetAddressLine>
    98                           <city>Rockville</city>
    99                           <state>MD</state>
    100                           <postalCode>20850</postalCode>
    101                         </addr>
    102                         <patient>
    103 <!-- WVV  something called use="L" found in some samples - not sure what it is or need for it -->
    104                                 <name>
    105                                   <!-- WV Edit -->
    106                                         <given>Jody</given>
    107                                         <family>Jones</family>
    108                                 </name >
    109 
    110                                 <!--VV Gender code can be M, F  or UN for undifferentiated-->
    111                                 <administrativeGenderCode code="F" codeSystem="2.16.840.1.113883.5.1"/>
    112       <!--WVV  Birth Time at least to the day-->
    113         <birthTime value="19450101"/>
    114         <!--WVV Edit-->
    115                                 <!--WVV race is in there too, tab L in downloadable resources 2054-5 is Back or African American -->
    116                                 <!--WVV 2106-3 is white and there are no hispanic and a huge number of indian tribes-->
    117                                 <raceCode code="2106.3" codeSystem="2.16.840.1.113883.5.104"/>
    118         <!--WVVEdit  from downloadable resource tab M for Ethnicity -->
    119                                 <!--WV 2186-5 is Not Hispanic or Latino -->
    120                                 <ethnicGroupCode code="2186-5" codeSystem="2.16.840.1.113883.5.50"/>
    121       </patient>
    122       <!--WV Added to sample document and required NPI as extension and root is permanent-->
    123       <providerOrganization>
    124       <id root="2.16.840.1.113883.4.6" extension="6558574524" />
    125         <name>WorldVistA Test Clinic</name>
    126         <!--WVV address of organization which must have NPI is optional-->
    127         <addr>
    128           <streetAddressLine>123 Maple Ave</streetAddressLine>
    129           <city>Gaithersburg</city>
    130           <state>MD</state>
    131           <postalCode>20877</postalCode>
    132         </addr>
    133       <!--WVP required asOrganizationPartOf added to sample-->
    134         <asOrganizationPartOf>
    135           <wholeOrganization>
    136             <!--WVV tax ID (SS# or EIN)for the organizaton is the extension and the root is required  and WVP2.16.840.1.113883.4.2-->
    137             <id root="2.16.840.1.113883.4.2" extension="002345678"/>
    138           </wholeOrganization>
    139         </asOrganizationPartOf>
    140       </providerOrganization>
    141                 </patientRole>
     94<patientRole>
     95                <xsl:call-template name="ccdPatientRole">
     96                    <xsl:with-param name="ccrActorObjectID" select="/a:ContinuityOfCareRecord/a:Patient[1]/a:ActorID"/>
     97                </xsl:call-template>
     98                </patientRole>
    14299        </recordTarget>
    143100
Note: See TracChangeset for help on using the changeset viewer.