Changeset 769 for ccr2ccd-xslt/trunk
- Timestamp:
- May 19, 2010, 11:21:01 PM (15 years ago)
- Location:
- ccr2ccd-xslt/trunk
- Files:
-
- 6 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr2ccd-xslt/trunk/ccr_ccd.xsl
r766 r769 100 100 </author> 101 101 102 <xsl:if test="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$fromID]/a:InternalCCRLink[a:LinkRelationship=' Organization']">102 <xsl:if test="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$fromID]/a:InternalCCRLink[a:LinkRelationship='representedOrganization']"> 103 103 <custodian> 104 104 <assignedCustodian> 105 105 <representedCustodianOrganization> 106 106 <xsl:call-template name="ccdEntity"> 107 <xsl:with-param name="ccrActorObjectID" select="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$fromID]/a:InternalCCRLink[a:LinkRelationship=' Organization']/a:LinkID"></xsl:with-param>107 <xsl:with-param name="ccrActorObjectID" select="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$fromID]/a:InternalCCRLink[a:LinkRelationship='representedOrganization']/a:LinkID"></xsl:with-param> 108 108 </xsl:call-template> 109 109 </representedCustodianOrganization> … … 1747 1747 <xsl:param name="personNodeName">assignedPerson</xsl:param> 1748 1748 1749 <xsl:variable name="CCRActor" select="/ /a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$ccrActorObjectID]"/>1749 <xsl:variable name="CCRActor" select="/a:ContinuityOfCareRecord/a:Actors/a:Actor[a:ActorObjectID=$ccrActorObjectID]"/> 1750 1750 1751 1751 <id> … … 1780 1780 <xsl:call-template name="CDAVocabularyLookup"> 1781 1781 <xsl:with-param name="domain" select="'telecommunicationsAddressUse'"/> 1782 <xsl:with-param name="ccr Description" select="$CCRActor/a:Address/a:Type/a:Text"/>1782 <xsl:with-param name="ccrtext" select="$CCRActor/a:Address[1]/a:Type/a:Text"/> 1783 1783 </xsl:call-template> 1784 1784 </xsl:attribute> … … 1807 1807 <xsl:call-template name="CDAVocabularyLookup"> 1808 1808 <xsl:with-param name="domain" select="'telecommunicationsAddressUse'"/> 1809 <xsl:with-param name="ccr Description" select="$CCRActor/a:Telephone/a:Type/a:Text"/>1809 <xsl:with-param name="ccrtext" select="$CCRActor/a:Telephone/a:Type/a:Text"/> 1810 1810 </xsl:call-template> 1811 1811 </xsl:attribute> … … 1825 1825 <xsl:call-template name="CDAVocabularyLookup"> 1826 1826 <xsl:with-param name="domain" select="'telecommunicationsAddressUse'"/> 1827 <xsl:with-param name="ccr Description" select="$CCRActor/a:Telephone/a:Type/a:Text"/>1827 <xsl:with-param name="ccrtext" select="$CCRActor/a:Telephone/a:Type/a:Text"/> 1828 1828 </xsl:call-template> 1829 1829 </xsl:attribute> … … 1840 1840 </xsl:if> 1841 1841 1842 <xsl:if test=" a:Person">1842 <xsl:if test="$CCRActor/a:Person"> 1843 1843 <xsl:element name="{$personNodeName}"> 1844 1844 <name> 1845 <xsl:if test=" a:Person/a:Name/a:CurrentName/a:Title">1845 <xsl:if test="$CCRActor/a:Person/a:Name/a:CurrentName/a:Title"> 1846 1846 <prefix> 1847 <xsl:value-of select=" a:Person/a:Name/a:CurrentName/a:Title"></xsl:value-of>1847 <xsl:value-of select="$CCRActor/a:Person/a:Name/a:CurrentName/a:Title"></xsl:value-of> 1848 1848 </prefix> 1849 1849 </xsl:if> 1850 <xsl:if test=" a:Person/a:Name/a:CurrentName/a:Given">1850 <xsl:if test="$CCRActor/a:Person/a:Name/a:CurrentName/a:Given"> 1851 1851 <given> 1852 <xsl:value-of select=" a:Person/a:Name/a:CurrentName/a:Given"></xsl:value-of>1852 <xsl:value-of select="$CCRActor/a:Person/a:Name/a:CurrentName/a:Given"></xsl:value-of> 1853 1853 </given> 1854 1854 </xsl:if> 1855 <xsl:if test=" a:Person/a:Name/a:CurrentName/a:Middle">1855 <xsl:if test="$CCRActor/a:Person/a:Name/a:CurrentName/a:Middle"> 1856 1856 <given> 1857 <xsl:value-of select=" a:Person/a:Name/a:CurrentName/a:Middle"></xsl:value-of>1857 <xsl:value-of select="$CCRActor/a:Person/a:Name/a:CurrentName/a:Middle"></xsl:value-of> 1858 1858 </given> 1859 1859 </xsl:if> 1860 <xsl:if test=" a:Person/a:Name/a:CurrentName/a:Family">1860 <xsl:if test="$CCRActor/a:Person/a:Name/a:CurrentName/a:Family"> 1861 1861 <family> 1862 <xsl:value-of select=" a:Person/a:Name/a:CurrentName/a:Family"></xsl:value-of>1862 <xsl:value-of select="$CCRActor/a:Person/a:Name/a:CurrentName/a:Family"></xsl:value-of> 1863 1863 </family> 1864 1864 </xsl:if> 1865 <xsl:if test=" a:Person/a:Name/a:CurrentName/a:Suffix">1865 <xsl:if test="$CCRActor/a:Person/a:Name/a:CurrentName/a:Suffix"> 1866 1866 <suffix> 1867 <xsl:value-of select=" a:Person/a:Name/a:CurrentName/a:Suffix"></xsl:value-of>1867 <xsl:value-of select="$CCRActor/a:Person/a:Name/a:CurrentName/a:Suffix"></xsl:value-of> 1868 1868 </suffix> 1869 1869 </xsl:if> 1870 1870 </name> 1871 1871 1872 <xsl:if test=" a:Person/a:Gender">1872 <xsl:if test="$CCRActor/a:Person/a:Gender"> 1873 1873 1874 1874 <xsl:call-template name="ccdCodedValue"> 1875 <xsl:with-param name="ccrCodedDescription" select=" a:Person/a:Gender"/>1875 <xsl:with-param name="ccrCodedDescription" select="$CCRActor/a:Person/a:Gender"/> 1876 1876 <xsl:with-param name="domain" select="'AdministrativeGender'"/> 1877 1877 <xsl:with-param name="nodeName" select="'administrativeGenderCode'"/> … … 1879 1879 </xsl:if> 1880 1880 1881 <xsl:if test=" a:Person/a:DateOfBirth">1881 <xsl:if test="$CCRActor/a:Person/a:DateOfBirth"> 1882 1882 <birthTime> 1883 1883 <xsl:attribute name="value"> 1884 1884 <xsl:call-template name="date:format-date"> 1885 1885 <xsl:with-param name="date-time"> 1886 <xsl:value-of select=" a:Person/a:DateOfBirth/a:ExactDateTime"/>1886 <xsl:value-of select="$CCRActor/a:Person/a:DateOfBirth/a:ExactDateTime"/> 1887 1887 </xsl:with-param> 1888 1888 <xsl:with-param name="pattern">yyyyMMddhhmmss</xsl:with-param> -
ccr2ccd-xslt/trunk/templates/cdavocabmap.xml
r765 r769 19 19 <item> 20 20 <ccrtext>Office</ccrtext> 21 <cdadisplayname>office</cdadisplayname> 22 <cdacode>WP</cdacode> 23 </item> 24 <item> 25 <ccrtext>Work</ccrtext> 21 26 <cdadisplayname>office</cdadisplayname> 22 27 <cdacode>WP</cdacode> … … 113 118 <cdacode>UN</cdacode> 114 119 </item> 115 </domain> 120 </domain> 116 121 <domain name="RouteOfAdministration" codeSystemName="HL7 Route of Administration" codeSystem="2.16.840.1.113883.5.112"> 117 122 <item>
Note:
See TracChangeset
for help on using the changeset viewer.