+ trans:ndcCode
authorEric Prud'hommeaux <eric@w3.org>
Tue, 09 Nov 2010 15:06:51 -0500
changeset 34 c1cef20da460
parent 33 3334734509e9
child 35 c46e908fef9b
+ trans:ndcCode
syntheticPatients/AD_PCHR_1-tmo.trig
syntheticPatients/AD_PCHR_2-tmo.trig
syntheticPatients/AD_PCHR_3-indivo.xml
syntheticPatients/AD_PCHR_3-tmo.trig
syntheticPatients/AD_PCHR_3.xml
syntheticPatients/AD_PCHR_4-tmo.trig
syntheticPatients/AD_PCHR_5-tmo.trig
syntheticPatients/AD_PCHR_6-tmo.trig
syntheticPatients/Indivo2Trig.xsl
--- a/syntheticPatients/AD_PCHR_1-tmo.trig	Thu Oct 28 11:55:37 2010 -0400
+++ b/syntheticPatients/AD_PCHR_1-tmo.trig	Tue Nov 09 15:06:51 2010 -0500
@@ -61,6 +61,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/00007414020> ;
       trans:genericName "COREG TABLETS" ;    
     ] ;
   ] .
@@ -71,6 +72,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/00071015540> ;
       trans:genericName "LIPITOR TABLETS" ;    
     ] ;
   ] .
@@ -81,6 +83,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/66105051810> ;
       trans:genericName "COUMADIN TABLETS" ;    
     ] ;
   ] .
@@ -93,6 +96,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/11071084101> ;
       trans:genericName "DONEPEZIL HYDROCHLORIDE TABLETS" ;    
     ] ;
   ] .
@@ -103,6 +107,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/62856083130> ;
       trans:genericName "ARICEPT TABLETS ORALLY DISINTEGRATING" ;    
     ] ;
   ] .
--- a/syntheticPatients/AD_PCHR_2-tmo.trig	Thu Oct 28 11:55:37 2010 -0400
+++ b/syntheticPatients/AD_PCHR_2-tmo.trig	Tue Nov 09 15:06:51 2010 -0500
@@ -60,6 +60,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/26053006601> ;
       trans:genericName "ATORVASTATIN TABLET" ;    
     ] ;
   ] .
@@ -70,6 +71,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/63739043401> ;
       trans:genericName "CHEWABLE ORANGE ASPIRIN TABLETS" ;    
     ] ;
   ] .
@@ -80,6 +82,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/55111019690> ;
       trans:genericName "CLOPIDOGREL TABLETS" ;    
     ] ;
   ] .
@@ -92,6 +95,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/54569597500> ;
       trans:genericName "CARVEDILOL TABLETS" ;    
     ] ;
   ] .
@@ -102,6 +106,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/54569529101> ;
       trans:genericName "FLUOXETINE CAPSULES" ;    
     ] ;
   ] .
@@ -114,6 +119,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/54569476401> ;
       trans:genericName "DIAZEPAM TABLETS" ;    
     ] ;
   ] .
@@ -124,6 +130,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/54907010101> ;
       trans:genericName "MEMANTINE HYDROCHLORIDE" ;    
     ] ;
   ] .
--- a/syntheticPatients/AD_PCHR_3-indivo.xml	Thu Oct 28 11:55:37 2010 -0400
+++ b/syntheticPatients/AD_PCHR_3-indivo.xml	Tue Nov 09 15:06:51 2010 -0500
@@ -152,7 +152,7 @@
          <Prescription>
             <medication>
                <dateStarted>2007-11-09</dateStarted>
-               <name type="http://indivo.org/codes/ndc"> 0179-0016-70 30  </name>
+               <name type="http://indivo.org/codes/ndc"> 0179-0016-70-30  </name>
                <genericName>OMEPRAZOLE CAPSULES</genericName>
                <dose>
                   <value>999</value>
--- a/syntheticPatients/AD_PCHR_3-tmo.trig	Thu Oct 28 11:55:37 2010 -0400
+++ b/syntheticPatients/AD_PCHR_3-tmo.trig	Tue Nov 09 15:06:51 2010 -0500
@@ -58,6 +58,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/63856-223-40> ;
       trans:genericName "CODEINE TABLETS" ;    
     ] ;
   ] .
@@ -68,6 +69,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/0025-1525-31> ;
       trans:genericName "CELECOXIB CAPSULES" ;    
     ] ;
   ] .
@@ -78,6 +80,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/67618-106-60> ;
       trans:genericName "DOCUSATE SODIUM CAPSULES" ;    
     ] ;
   ] .
@@ -88,6 +91,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/0054-8486-16> ;
       trans:genericName "LACTULOSE" ;    
     ] ;
   ] .
@@ -98,6 +102,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/0179-0016-70-30> ;
       trans:genericName "OMEPRAZOLE CAPSULES" ;    
     ] ;
   ] .
@@ -108,6 +113,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/0000> ;
       trans:genericName "DONEPEZIL HYDROCHLORIDE TABLETS" ;    
     ] ;
   ] .
--- a/syntheticPatients/AD_PCHR_3.xml	Thu Oct 28 11:55:37 2010 -0400
+++ b/syntheticPatients/AD_PCHR_3.xml	Tue Nov 09 15:06:51 2010 -0500
@@ -136,7 +136,7 @@
       </drug>
      <drug>
        <ontology>National Drug Code Directory</ontology>
-       <NDC> 0179-0016-70 30  </NDC>
+       <NDC> 0179-0016-70-30  </NDC>
        <genericName>OMEPRAZOLE CAPSULES</genericName>
        <strength>40</strength>
        <unit>MG</unit>
--- a/syntheticPatients/AD_PCHR_4-tmo.trig	Thu Oct 28 11:55:37 2010 -0400
+++ b/syntheticPatients/AD_PCHR_4-tmo.trig	Tue Nov 09 15:06:51 2010 -0500
@@ -61,6 +61,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/00179178370> ;
       trans:genericName "TEGRETOL TABLETS EXTENDED RELEASE" ;    
     ] ;
   ] .
@@ -71,6 +72,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/11071084201> ;
       trans:genericName "DONEPEZIL HYDROCHLORIDE TABLETS" ;    
     ] ;
   ] .
@@ -81,6 +83,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/54569597500> ;
       trans:genericName "CARVEDILOL TABLETS" ;    
     ] ;
   ] .
--- a/syntheticPatients/AD_PCHR_5-tmo.trig	Thu Oct 28 11:55:37 2010 -0400
+++ b/syntheticPatients/AD_PCHR_5-tmo.trig	Tue Nov 09 15:06:51 2010 -0500
@@ -61,6 +61,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/5456944671> ;
       trans:genericName "ATORVASTATIN TABLET" ;    
     ] ;
   ] .
@@ -71,6 +72,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/000007414020> ;
       trans:genericName "CARVEDILOL TABLETS" ;    
     ] ;
   ] .
@@ -81,6 +83,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/6050502532> ;
       trans:genericName "CLOPIDOGREL TABLETS" ;    
     ] ;
   ] .
@@ -91,6 +94,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/6050500652> ;
       trans:genericName "OMEPRAZOLE CAPSULES" ;    
     ] ;
   ] .
@@ -103,6 +107,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/0093732098> ;
       trans:genericName "DONEPEZIL HYDROCHLORIDE TABLETS" ;    
     ] ;
   ] .
--- a/syntheticPatients/AD_PCHR_6-tmo.trig	Thu Oct 28 11:55:37 2010 -0400
+++ b/syntheticPatients/AD_PCHR_6-tmo.trig	Tue Nov 09 15:06:51 2010 -0500
@@ -63,6 +63,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/11071084101> ;
       trans:genericName "DONEPEZIL HYDROCHLORIDE TABLETS" ;    
     ] ;
   ] .
@@ -73,6 +74,7 @@
 
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode <http://indivo.org/codes/ndc/00069-1520-68> ;
       trans:genericName "AMLODIPINE TABLETS" ;    
     ] ;
   ] .
--- a/syntheticPatients/Indivo2Trig.xsl	Thu Oct 28 11:55:37 2010 -0400
+++ b/syntheticPatients/Indivo2Trig.xsl	Tue Nov 09 15:06:51 2010 -0500
@@ -111,6 +111,7 @@
 </xsl:if>
     ro:has_participant [
       a cpr:medication  ;
+      trans:ndcCode &lt;http://indivo.org/codes/ndc/<xsl:value-of select="normalize-space(in:medication/in:name)"/>&gt; ;
       trans:genericName "<xsl:value-of select="in:medication/in:genericName"/>" ;    
     ] ;
   ] .