diff --git a/data/6-lab-triples.txt b/data/6-lab-triples.txt
new file mode 100644
index 0000000..bf25cf7
--- /dev/null
+++ b/data/6-lab-triples.txt
@@ -0,0 +1,80 @@
+loinc:2085-9^dcterms:identifier^2085-9
+loinc:2085-9^dcterms:title^HDL CHOLESTEROL
+loinc:2085-9^rdf:type^sp:Code
+loinc:2085-9^sp:system^http://loinc.org/codes/
+loinc:2093-3^dcterms:identifier^2093-3
+loinc:2093-3^dcterms:title^CHOLESTEROL
+loinc:2093-3^rdf:type^sp:Code
+loinc:2093-3^sp:system^http://loinc.org/codes/
+loinc:30522-7^dcterms:identifier^30522-7
+loinc:30522-7^dcterms:title^HIGH-SENSIVITY C-REACTIVE PROTEIN
+loinc:30522-7^rdf:type^sp:Code
+loinc:30522-7^sp:system^http://loinc.org/codes/
+nodeID:032215694^rdf:type^sp:ValueAndUnit
+nodeID:032215694^sp:unit^HDL CHOLESTEROL
+nodeID:032215694^sp:value^45
+nodeID:063813166^dcterms:title^CHOLESTEROL
+nodeID:063813166^rdf:type^sp:CodedValue
+nodeID:063813166^sp:code^loinc:2093-3
+nodeID:158083727^rdf:type^sp:Attribution
+nodeID:158083727^sp:startDate^2012-04-25
+nodeID:274677128^rdf:type^sp:ValueAndUnit
+nodeID:274677128^sp:unit^mg/dL
+nodeID:274677128^sp:value^120
+nodeID:508295096^rdf:type^sp:Attribution
+nodeID:508295096^sp:startDate^2012-04-25
+nodeID:540929713^rdf:type^sp:Attribution
+nodeID:540929713^sp:startDate^2012-04-25
+nodeID:572993687^rdf:type^sp:ValueAndUnit
+nodeID:572993687^sp:unit^mg/L
+nodeID:572993687^sp:value^0
+nodeID:603258303^rdf:type^sp:ValueAndUnit
+nodeID:603258303^sp:unit^mg/dL
+nodeID:603258303^sp:value^163
+nodeID:606788887^rdf:type^sp:ValueRange
+nodeID:606788887^sp:maximum^nodeID:890032220
+nodeID:606788887^sp:minimum^nodeID:274677128
+nodeID:616271691^rdf:type^sp:QuantitativeResult
+nodeID:616271691^sp:normalRange^nodeID:606788887
+nodeID:616271691^sp:valueAndUnit^nodeID:603258303
+nodeID:639795394^rdf:type^sp:ValueRange
+nodeID:639795394^sp:maximum^nodeID:832047616
+nodeID:639795394^sp:minimum^nodeID:572993687
+nodeID:659053466^dcterms:title^HDL CHOLESTEROL
+nodeID:659053466^rdf:type^sp:CodedValue
+nodeID:659053466^sp:code^loinc:2085-9
+nodeID:716700164^rdf:type^sp:ValueAndUnit
+nodeID:716700164^sp:unit^mg/L
+nodeID:716700164^sp:value^2.9
+nodeID:832047616^rdf:type^sp:ValueAndUnit
+nodeID:832047616^sp:unit^mg/L
+nodeID:832047616^sp:value^ 3
+nodeID:875882234^rdf:type^sp:QuantitativeResult
+nodeID:875882234^sp:normalRange^nodeID:639795394
+nodeID:875882234^sp:valueAndUnit^nodeID:716700164
+nodeID:890032220^rdf:type^sp:ValueAndUnit
+nodeID:890032220^sp:unit^mg/dL
+nodeID:890032220^sp:value^ 200
+nodeID:909597545^dcterms:title^HIGH-SENSIVITY C-REACTIVE PROTEIN
+nodeID:909597545^rdf:type^sp:CodedValue
+nodeID:909597545^sp:code^loinc:30522-7
+nodeID:944122350^rdf:type^sp:QuantitativeResult
+nodeID:944122350^sp:valueAndUnit^nodeID:032215694
+vistaSmart:6/lab_results/18050754592291778^rdf:type^sp:LabResult
+vistaSmart:6/lab_results/18050754592291778^sp:belongsTo^vistaSmart:6/lab_results
+vistaSmart:6/lab_results/18050754592291778^sp:labName^nodeID:063813166
+vistaSmart:6/lab_results/18050754592291778^sp:narrativeResult^nodeID:600844888
+vistaSmart:6/lab_results/18050754592291778^sp:quantitativeResult^nodeID:616271691
+vistaSmart:6/lab_results/18050754592291778^sp:specimenCollected^nodeID:158083727
+vistaSmart:6/lab_results/64750239894166499^rdf:type^sp:LabResult
+vistaSmart:6/lab_results/64750239894166499^sp:belongsTo^vistaSmart:6/lab_results
+vistaSmart:6/lab_results/64750239894166499^sp:labName^nodeID:659053466
+vistaSmart:6/lab_results/64750239894166499^sp:narrativeResult^nodeID:505088543
+vistaSmart:6/lab_results/64750239894166499^sp:quantitativeResult^nodeID:944122350
+vistaSmart:6/lab_results/64750239894166499^sp:specimenCollected^nodeID:540929713
+vistaSmart:6/lab_results/89548426370765804^rdf:type^sp:LabResult
+vistaSmart:6/lab_results/89548426370765804^sp:belongsTo^vistaSmart:6/lab_results
+vistaSmart:6/lab_results/89548426370765804^sp:labName^nodeID:909597545
+vistaSmart:6/lab_results/89548426370765804^sp:narrativeResult^nodeID:095171452
+vistaSmart:6/lab_results/89548426370765804^sp:quantitativeResult^nodeID:875882234
+vistaSmart:6/lab_results/89548426370765804^sp:specimenCollected^nodeID:508295096
diff --git a/data/6-lab.rdf b/data/6-lab.rdf
new file mode 100644
index 0000000..44fe1c9
--- /dev/null
+++ b/data/6-lab.rdf
@@ -0,0 +1,131 @@
+
+
+
+2085-9
+HDL CHOLESTEROL
+
+
+
+
+2093-3
+CHOLESTEROL
+
+
+
+
+30522-7
+HIGH-SENSIVITY C-REACTIVE PROTEIN
+
+
+
+
+
+
+
+
+
+
+mg/dL
+120
+
+
+HDL CHOLESTEROL
+
+
+
+
+HIGH-SENSIVITY C-REACTIVE PROTEIN
+
+
+
+
+
+mg/L
+ 3
+
+
+
+
+
+
+
+
+2012-04-25
+
+
+
+
+
+
+
+
+mg/dL
+ 200
+
+
+
+
+
+
+CHOLESTEROL
+
+
+
+
+
+2012-04-25
+
+
+
+
+
+
+
+
+mg/L
+0
+
+
+
+mg/dL
+163
+
+
+
+2012-04-25
+
+
+
+HDL CHOLESTEROL
+45
+
+
+
+mg/L
+2.9
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/data/6-med-triples.txt b/data/6-med-triples.txt
new file mode 100644
index 0000000..a9866b0
--- /dev/null
+++ b/data/6-med-triples.txt
@@ -0,0 +1,42 @@
+nodeID:251667904^dcterms:title^ATORVASTATIN TAB
+nodeID:251667904^rdf:type^sp:CodedValue
+nodeID:251667904^sp:code^rxnorm:617314
+nodeID:482950547^sp:unit^UNKNOWN
+nodeID:482950547^sp:value^0
+nodeID:513189765^sp:ValueAndUnit^nodeID:577056569
+nodeID:528278275^sp:unit^ mg Tab| 1 Add'l Sig
+nodeID:528278275^sp:value^0
+nodeID:577056569^sp:unit^Oral
+nodeID:577056569^sp:value^Select Frequency
+nodeID:718165755^sp:ValueAndUnit^nodeID:528278275
+nodeID:742808564^sp:ValueAndUnit^nodeID:993436766
+nodeID:743714867^sp:ValueAndUnit^nodeID:482950547
+nodeID:785423494^dcterms:title^WARFARIN 3MG TAB
+nodeID:785423494^rdf:type^sp:CodedValue
+nodeID:785423494^sp:code^rxnorm:855320
+nodeID:993436766^sp:unit^by mouth
+nodeID:993436766^sp:value^DAILY
+rxnorm:617314^dcterms:identifier^617314
+rxnorm:617314^dcterms:title^ATORVASTATIN TAB
+rxnorm:617314^rdf:type^http://smartplatforms.org/terms/codes/RxNorm_Semantic
+rxnorm:617314^rdf:type^sp:Code
+rxnorm:617314^sp:system^http://purl.bioontology.org/ontology/RXNORM/
+rxnorm:855320^dcterms:identifier^855320
+rxnorm:855320^dcterms:title^WARFARIN 3MG TAB
+rxnorm:855320^rdf:type^http://smartplatforms.org/terms/codes/RxNorm_Semantic
+rxnorm:855320^rdf:type^sp:Code
+rxnorm:855320^sp:system^http://purl.bioontology.org/ontology/RXNORM/
+vistaSmart:6/med/12595-3110429.123852^rdf:type^sp:Medication
+vistaSmart:6/med/12595-3110429.123852^sp:belongsTo^vistaSmart:6/med
+vistaSmart:6/med/12595-3110429.123852^sp:drugName^nodeID:251667904
+vistaSmart:6/med/12595-3110429.123852^sp:frequency^nodeID:513189765
+vistaSmart:6/med/12595-3110429.123852^sp:instructions^ 1 Add'l Sig BY Oral Select Frequency
+vistaSmart:6/med/12595-3110429.123852^sp:quantity^nodeID:718165755
+vistaSmart:6/med/12595-3110429.123852^sp:startDate^2011-4-29
+vistaSmart:6/med/4659-3110622.165848^rdf:type^sp:Medication
+vistaSmart:6/med/4659-3110622.165848^sp:belongsTo^vistaSmart:6/med
+vistaSmart:6/med/4659-3110622.165848^sp:drugName^nodeID:785423494
+vistaSmart:6/med/4659-3110622.165848^sp:frequency^nodeID:742808564
+vistaSmart:6/med/4659-3110622.165848^sp:instructions^ 1 tablet BY by mouth DAILY
+vistaSmart:6/med/4659-3110622.165848^sp:quantity^nodeID:743714867
+vistaSmart:6/med/4659-3110622.165848^sp:startDate^2011-6-22
diff --git a/data/6-med.rdf b/data/6-med.rdf
new file mode 100644
index 0000000..98424d8
--- /dev/null
+++ b/data/6-med.rdf
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+ATORVASTATIN TAB
+
+
+
+
+
+
+
+UNKNOWN
+0
+
+
+Oral
+Select Frequency
+
+
+
+
+
+
+
+
+ mg Tab| 1 Add'l Sig
+0
+
+
+by mouth
+DAILY
+
+
+WARFARIN 3MG TAB
+
+
+
+
+617314
+ATORVASTATIN TAB
+
+
+
+
+
+855320
+WARFARIN 3MG TAB
+
+
+
+
+
+
+
+
+
+ 1 Add'l Sig BY Oral Select Frequency
+
+2011-4-29
+
+
+
+
+
+
+ 1 tablet BY by mouth DAILY
+
+2011-6-22
+
+
diff --git a/data/6-patient-triples.txt b/data/6-patient-triples.txt
new file mode 100644
index 0000000..798b48d
--- /dev/null
+++ b/data/6-patient-triples.txt
@@ -0,0 +1,23 @@
+nodeID:163928854^rdf:type^v:Home
+nodeID:163928854^v:locality^BIXBY
+nodeID:163928854^v:postal-code^74008
+nodeID:163928854^v:region^OKLAHOMA
+nodeID:163928854^v:street-address^635 Big Sky Ln
+nodeID:627173842^rdf:type^v:Name
+nodeID:627173842^v:additional-name^RYAN
+nodeID:627173842^v:family-name^ALLEN
+nodeID:627173842^v:given-name^JASON
+nodeID:825405422^dcterms:identifier^6
+nodeID:825405422^dcterms:title^VistA Patient Record 6
+nodeID:825405422^rdf:type^sp:Code
+nodeID:825405422^sp:system^VistA Patient Record
+nodeID:835095016^rdf:type^v:Tel
+nodeID:835095016^rdf:value^333-333-3334
+vistaSmart:6/patient^foaf:gender^male
+vistaSmart:6/patient^rdf:type^sp:Demographics
+vistaSmart:6/patient^sp:belongsTo^vistaSmart:6/patient
+vistaSmart:6/patient^sp:medicalRecordNumber^nodeID:825405422
+vistaSmart:6/patient^v:adr^nodeID:163928854
+vistaSmart:6/patient^v:bday^1953-10-16
+vistaSmart:6/patient^v:n^nodeID:627173842
+vistaSmart:6/patient^v:tel^nodeID:835095016
diff --git a/data/6-patient.rdf b/data/6-patient.rdf
new file mode 100644
index 0000000..e1d0a91
--- /dev/null
+++ b/data/6-patient.rdf
@@ -0,0 +1,36 @@
+
+
+
+
+333-333-3334
+
+
+
+BIXBY
+74008
+OKLAHOMA
+635 Big Sky Ln
+
+
+6
+VistA Patient Record 6
+
+VistA Patient Record
+
+
+
+RYAN
+ALLEN
+JASON
+
+
+male
+
+
+
+
+1953-10-16
+
+
+
+
diff --git a/data/6-problem-triples.txt b/data/6-problem-triples.txt
new file mode 100644
index 0000000..29c59a5
--- /dev/null
+++ b/data/6-problem-triples.txt
@@ -0,0 +1,22 @@
+icd9:486.^dcterms:identifier^486.
+icd9:486.^dcterms:title^Pneumonia
+icd9:486.^rdf:type^sp:Code
+icd9:486.^sp:system^http://purl.bioontology.org/ontology/ICD9
+icd9:496.^dcterms:identifier^496.
+icd9:496.^dcterms:title^Chronic Obstructive Pulmonary Disease
+icd9:496.^rdf:type^sp:Code
+icd9:496.^sp:system^http://purl.bioontology.org/ontology/ICD9
+nodeID:114561837^dcterms:title^Pneumonia
+nodeID:114561837^rdf:type^sp:CodedValue
+nodeID:114561837^sp:code^icd9:486.
+nodeID:427959727^dcterms:title^Chronic Obstructive Pulmonary Disease
+nodeID:427959727^rdf:type^sp:CodedValue
+nodeID:427959727^sp:code^icd9:496.
+vistaSmart:6/problems/20586809954528225^rdf:type^sp:Problem
+vistaSmart:6/problems/20586809954528225^sp:belongsTo^vistaSmart:6/problems
+vistaSmart:6/problems/20586809954528225^sp:problemName^nodeID:427959727
+vistaSmart:6/problems/20586809954528225^sp:startDate^2011-05-04
+vistaSmart:6/problems/59957811696826321^rdf:type^sp:Problem
+vistaSmart:6/problems/59957811696826321^sp:belongsTo^vistaSmart:6/problems
+vistaSmart:6/problems/59957811696826321^sp:problemName^nodeID:114561837
+vistaSmart:6/problems/59957811696826321^sp:startDate^2011-05-04
diff --git a/data/6-problem.rdf b/data/6-problem.rdf
new file mode 100644
index 0000000..50f3b21
--- /dev/null
+++ b/data/6-problem.rdf
@@ -0,0 +1,37 @@
+
+
+
+486.
+Pneumonia
+
+
+
+
+496.
+Chronic Obstructive Pulmonary Disease
+
+
+
+
+Chronic Obstructive Pulmonary Disease
+
+
+
+
+Pneumonia
+
+
+
+
+
+
+
+2011-05-04
+
+
+
+
+
+2011-05-04
+
+
diff --git a/data/nhin-2-array.txt b/data/nhin-2-array.txt
new file mode 100644
index 0000000..fb85384
--- /dev/null
+++ b/data/nhin-2-array.txt
@@ -0,0 +1,301 @@
+G("allergy",1,"adverseEventType@value")="D"
+G("allergy",1,"comments.comment@commentText")="active "
+G("allergy",1,"comments.comment@commentType")="O"
+G("allergy",1,"comments.comment@entered")=3110622.163636
+G("allergy",1,"comments.comment@enteredBy")="KING,MATTHEW MICHAEL"
+G("allergy",1,"comments.comment@id")=1
+G("allergy",1,"drugIngredients.drugIngredient@name")="CEPHALEXIN"
+G("allergy",1,"drugIngredients.drugIngredient@vuid")=4018891
+G("allergy",1,"entered@value")=3110622.1636
+G("allergy",1,"facility@code")="050"
+G("allergy",1,"facility@name")="VOE OFFICE INSTITUTION"
+G("allergy",1,"id@value")=51
+G("allergy",1,"localCode@value")="1495;PS(50.416,"
+G("allergy",1,"mechanism@value")="ALLERGY"
+G("allergy",1,"name@value")="CEPHALEXIN"
+G("allergy",1,"reactions.reaction@name")="HIVES"
+G("allergy",1,"severity@value")="SEVERE"
+G("allergy",1,"source@value")="O"
+G("allergy",1,"vuid@value")=4018891
+G("lab",1,"collected@value")=3120425.231037
+G("lab",1,"comment")="GPLTEST SMART Report Released Date/Time: Apr 25, 2012@23:
+1
+ 1"
+G("lab",1,"comment@xml:space")="preserve"
+G("lab",1,"facility@code")=100
+G("lab",1,"facility@name")="VOE OFFICE INSTITUTION OLD"
+G("lab",1,"groupName@value")="CH 0425 5"
+G("lab",1,"id@value")="CH;6879573.768963;67008"
+G("lab",1,"labOrderID@value")=118
+G("lab",1,"localName@value")="HDLCHLS"
+G("lab",1,"loinc@value")="2085-9"
+G("lab",1,"orderID@value")=855
+G("lab",1,"result@value")=45
+G("lab",1,"resulted@value")=3120425.231116
+G("lab",1,"sample@value")="SERUM"
+G("lab",1,"specimen@code")="0X500"
+G("lab",1,"specimen@name")="SERUM"
+G("lab",1,"status@value")="completed"
+G("lab",1,"test@value")="HDL CHOLESTEROL"
+G("lab",1,"type@value")="CH"
+G("lab",1,"vuid@value")=4662693
+G("lab",2,"collected@value")=3120425.230609
+G("lab",2,"comment")="~For Test: CHOLESTEROL ~GPLTEST SMART Report Released Dat
+e
+ /Time: Apr 25, 2012@23:07"
+G("lab",2,"comment@xml:space")="preserve"
+G("lab",2,"facility@code")=100
+G("lab",2,"facility@name")="VOE OFFICE INSTITUTION OLD"
+G("lab",2,"groupName@value")="CH 0425 3"
+G("lab",2,"high@value")=" 200"
+G("lab",2,"id@value")="CH;6879573.769391;12"
+G("lab",2,"labOrderID@value")=103
+G("lab",2,"localName@value")="CHOL"
+G("lab",2,"loinc@value")="2093-3"
+G("lab",2,"low@value")="120 "
+G("lab",2,"orderID@value")=852
+G("lab",2,"result@value")=163
+G("lab",2,"resulted@value")=3120425.230719
+G("lab",2,"sample@value")="SERUM"
+G("lab",2,"specimen@code")="0X500"
+G("lab",2,"specimen@name")="SERUM"
+G("lab",2,"status@value")="completed"
+G("lab",2,"test@value")="CHOLESTEROL"
+G("lab",2,"type@value")="CH"
+G("lab",2,"units@value")="mg/dL"
+G("lab",2,"vuid@value")=4662777
+G("lab",3,"collected@value")=3120425.223729
+G("lab",3,"comment")="~For Test: HIGH-SENSIVITY C-REACTIVE PROTEIN ~GPLTEST SMA
+R
+ T Report Released Date/Time: Apr 25, 2012@22:42"
+G("lab",3,"comment@xml:space")="preserve"
+G("lab",3,"facility@code")=100
+G("lab",3,"facility@name")="VOE OFFICE INSTITUTION OLD"
+G("lab",3,"groupName@value")="CH 0425 1"
+G("lab",3,"high@value")=" 3"
+G("lab",3,"id@value")="CH;6879573.776271;1006"
+G("lab",3,"labOrderID@value")=94
+G("lab",3,"localName@value")="HS-CRP"
+G("lab",3,"loinc@value")="30522-7"
+G("lab",3,"low@value")="0 "
+G("lab",3,"orderID@value")=850
+G("lab",3,"result@value")=2.9
+G("lab",3,"resulted@value")=3120425.224231
+G("lab",3,"sample@value")="SERUM"
+G("lab",3,"specimen@code")="0X500"
+G("lab",3,"specimen@name")="SERUM"
+G("lab",3,"status@value")="completed"
+G("lab",3,"test@value")="HIGH-SENSIVITY C-REACTIVE PROTEIN"
+G("lab",3,"type@value")="CH"
+G("lab",3,"units@value")="mg/L"
+G("lab",3,"vuid@value")=4673029
+G("med",1,"doses.dose@dose")=0
+G("med",1,"doses.dose@route")="Oral"
+G("med",1,"doses.dose@schedule")="Select Frequency"
+G("med",1,"doses.dose@units")=" mg Tab| 1 Add'l Sig"
+G("med",1,"facility@code")="050"
+G("med",1,"facility@name")="VOE OFFICE INSTITUTION"
+G("med",1,"form@value")="TAB"
+G("med",1,"id@value")="1N;O"
+G("med",1,"name@value")="ATORVASTATIN TAB"
+G("med",1,"ordered@value")=3110429.123852
+G("med",1,"orderingProvider@code")=77
+G("med",1,"orderingProvider@name")="LILLY,GEORGE"
+G("med",1,"products.product.class@code")="ANTILIPEMIC AGENTS"
+G("med",1,"products.product.vaGeneric@code")=3382
+G("med",1,"products.product.vaGeneric@name")="ATORVASTATIN"
+G("med",1,"products.product.vaGeneric@vuid")=4024041
+G("med",1,"products.product.vaProduct@code")=12595
+G("med",1,"products.product.vaProduct@name")="ATORVASTATIN CA 10MG TAB"
+G("med",1,"products.product.vaProduct@vuid")=4012960
+G("med",1,"products.product@code")=94208
+G("med",1,"products.product@name")="ATORVASTATIN 10MG"
+G("med",1,"products.product@role")="D"
+G("med",1,"sig")="Lipitor 10 mg Tab| 1 Add'l Sig BY Oral Select Frequency"
+G("med",1,"sig@xml:space")="preserve"
+G("med",1,"start@value")=3110429.1145
+G("med",1,"status@value")="active"
+G("med",1,"stop@value")=3110504.13373
+G("med",1,"type@value")="OTC"
+G("med",1,"vaType@value")="N"
+G("med",2,"doses.dose@dose")=0
+G("med",2,"doses.dose@route")="by mouth"
+G("med",2,"doses.dose@schedule")="as directed"
+G("med",2,"doses.dose@units")=" mg Tab| 1 tablet"
+G("med",2,"facility@code")="050"
+G("med",2,"facility@name")="VOE OFFICE INSTITUTION"
+G("med",2,"form@value")="CAP,EC"
+G("med",2,"id@value")="2N;O"
+G("med",2,"name@value")="FREE TXT DRUG CAP,EC"
+G("med",2,"ordered@value")=3110504.18382
+G("med",2,"orderingProvider@code")=76
+G("med",2,"orderingProvider@name")="VAN NESS,NANCY"
+G("med",2,"sig")="Azithromycin 250 mg Tab| 1 tablet BY by mouth as directed"
+G("med",2,"sig@xml:space")="preserve"
+G("med",2,"start@value")=3110504.1733
+G("med",2,"status@value")="active"
+G("med",2,"type@value")="OTC"
+G("med",2,"vaType@value")="N"
+G("med",3,"doses.dose@dose")=0
+G("med",3,"doses.dose@route")="inhale"
+G("med",3,"doses.dose@schedule")="as directed"
+G("med",3,"doses.dose@units")="."
+G("med",3,"facility@code")="050"
+G("med",3,"facility@name")="VOE OFFICE INSTITUTION"
+G("med",3,"form@value")="CAP,EC"
+G("med",3,"id@value")="3N;O"
+G("med",3,"name@value")="FREE TXT DRUG CAP,EC"
+G("med",3,"ordered@value")=3110504.18501
+G("med",3,"orderingProvider@code")=76
+G("med",3,"orderingProvider@name")="VAN NESS,NANCY"
+G("med",3,"sig")="Albuterol Sulfate 2.5 mg/3 mL (0.083 %) Neb Solution| 1 mL B
+Y
+ inhale as directed"
+G("med",3,"sig@xml:space")="preserve"
+G("med",3,"start@value")=3110504.1755
+G("med",3,"status@value")="active"
+G("med",3,"type@value")="OTC"
+G("med",3,"vaType@value")="N"
+G("med",4,"doses.dose@dose")=0
+G("med",4,"doses.dose@route")="inhale"
+G("med",4,"doses.dose@schedule")="as directed"
+G("med",4,"facility@code")="050"
+G("med",4,"facility@name")="VOE OFFICE INSTITUTION"
+G("med",4,"form@value")="CAP,EC"
+G("med",4,"id@value")="4N;O"
+G("med",4,"name@value")="FREE TXT DRUG CAP,EC"
+G("med",4,"ordered@value")=3110504.190648
+G("med",4,"orderingProvider@code")=76
+G("med",4,"orderingProvider@name")="VAN NESS,NANCY"
+G("med",4,"sig")="Atrovent HFA 17 mcg/Actuation Aerosol Inhaler| 1 puff BY inh
+a
+ le as directed"
+G("med",4,"sig@xml:space")="preserve"
+G("med",4,"start@value")=3110504.1811
+G("med",4,"status@value")="active"
+G("med",4,"type@value")="OTC"
+G("med",4,"vaType@value")="N"
+G("med",5,"doses.dose@dose")=0
+G("med",5,"doses.dose@route")="by mouth"
+G("med",5,"doses.dose@schedule")="DAILY"
+G("med",5,"facility@code")="050"
+G("med",5,"facility@name")="VOE OFFICE INSTITUTION"
+G("med",5,"form@value")="TAB"
+G("med",5,"id@value")="5N;O"
+G("med",5,"name@value")="WARFARIN 3MG TAB"
+G("med",5,"ordered@value")=3110622.165848
+G("med",5,"orderingProvider@code")=63
+G("med",5,"orderingProvider@name")="KING,MATTHEW MICHAEL"
+G("med",5,"products.product.class@code")="ANTICOAGULANTS"
+G("med",5,"products.product.vaGeneric@code")=865
+G("med",5,"products.product.vaGeneric@name")="WARFARIN"
+G("med",5,"products.product.vaGeneric@vuid")=4019972
+G("med",5,"products.product.vaProduct@code")=4659
+G("med",5,"products.product.vaProduct@name")="WARFARIN NA 3MG TAB"
+G("med",5,"products.product.vaProduct@vuid")=4005206
+G("med",5,"products.product@code")=94514
+G("med",5,"products.product@name")="WARFARIN 3MG"
+G("med",5,"products.product@role")="D"
+G("med",5,"sig")="Warfarin 3 mg Tab| 1 tablet BY by mouth DAILY"
+G("med",5,"sig@xml:space")="preserve"
+G("med",5,"start@value")=3110622.160507
+G("med",5,"status@value")="active"
+G("med",5,"type@value")="OTC"
+G("med",5,"vaType@value")="N"
+G("med",6,"doses.dose@dose")=0
+G("med",6,"doses.dose@route")="by mouth"
+G("med",6,"doses.dose@schedule")="DAILY"
+G("med",6,"facility@code")="050"
+G("med",6,"facility@name")="VOE OFFICE INSTITUTION"
+G("med",6,"form@value")="TAB"
+G("med",6,"id@value")="6N;O"
+G("med",6,"name@value")="WARFARIN 3MG TAB"
+G("med",6,"ordered@value")=3110622.165848
+G("med",6,"orderingProvider@code")=63
+G("med",6,"orderingProvider@name")="KING,MATTHEW MICHAEL"
+G("med",6,"products.product.class@code")="ANTICOAGULANTS"
+G("med",6,"products.product.vaGeneric@code")=865
+G("med",6,"products.product.vaGeneric@name")="WARFARIN"
+G("med",6,"products.product.vaGeneric@vuid")=4019972
+G("med",6,"products.product.vaProduct@code")=4659
+G("med",6,"products.product.vaProduct@name")="WARFARIN NA 3MG TAB"
+G("med",6,"products.product.vaProduct@vuid")=4005206
+G("med",6,"products.product@code")=94514
+G("med",6,"products.product@name")="WARFARIN 3MG"
+G("med",6,"products.product@role")="D"
+G("med",6,"sig")="Warfarin 3 mg Tab| 1 tablet BY by mouth DAILY"
+G("med",6,"sig@xml:space")="preserve"
+G("med",6,"start@value")=3110622.160548
+G("med",6,"status@value")="active"
+G("med",6,"stop@value")=3110622.170517
+G("med",6,"type@value")="OTC"
+G("med",6,"vaType@value")="N"
+G("patient",1,"address@city")="BIXBY"
+G("patient",1,"address@postalCode")=74008
+G("patient",1,"address@stateProvince")="OKLAHOMA"
+G("patient",1,"address@streetLine1")="635 Big Sky Ln"
+G("patient",1,"bid@value")="A1117"
+G("patient",1,"dob@value")=2531016
+G("patient",1,"exposures.exposure@value")="AO"
+G("patient",1,"facilities.facility@code")="050"
+G("patient",1,"facilities.facility@name")="VOE OFFICE INSTITUTION"
+G("patient",1,"familyName@value")="ALLEN"
+G("patient",1,"fullName@value")="ALLEN,JASON RYAN"
+G("patient",1,"gender@value")="M"
+G("patient",1,"givenNames@value")="JASON RYAN"
+G("patient",1,"id@value")=6
+G("patient",1,"lrdfn@value")=49
+G("patient",1,"maritalStatus@value")="N"
+G("patient",1,"religion@value")=6
+G("patient",1,"sc@value")=0
+G("patient",1,"ssn@value")=111111117
+G("patient",1,"supports.support[1].address@city")="BIXBY"
+G("patient",1,"supports.support[1].address@postalCode")=74008
+G("patient",1,"supports.support[1].address@stateProvince")="OKLAHOMA"
+G("patient",1,"supports.support[1].address@streetLine1")="635 Big Sky Ln"
+G("patient",1,"supports.support[1].telecomList.telecom@usageType")="H"
+G("patient",1,"supports.support[1].telecomList.telecom@value")="333-333-3334"
+G("patient",1,"supports.support[1]@contactType")="ECON"
+G("patient",1,"supports.support[1]@name")="ROOT,JOANNE"
+G("patient",1,"supports.support[1]@relationship")="MOTHER"
+G("patient",1,"supports.support[2].address@city")="BIXBY"
+G("patient",1,"supports.support[2].address@postalCode")=74008
+G("patient",1,"supports.support[2].address@stateProvince")="OKLAHOMA"
+G("patient",1,"supports.support[2].address@streetLine1")="635 Big Sky Ln"
+G("patient",1,"supports.support[2].telecomList.telecom@usageType")="H"
+G("patient",1,"supports.support[2].telecomList.telecom@value")="333-333-3334"
+G("patient",1,"supports.support[2]@contactType")="NOK"
+G("patient",1,"supports.support[2]@name")="ROOT,JOANNE"
+G("patient",1,"supports.support[2]@relationship")="MOTHER"
+G("patient",1,"telecomList.telecom@usageType")="H"
+G("patient",1,"telecomList.telecom@value")="333-333-3334"
+G("patient",1,"veteran@value")=0
+G("problem",1,"entered@value")=3110504
+G("problem",1,"facility@code")=100
+G("problem",1,"facility@name")="VOE OFFICE INSTITUTION OLD"
+G("problem",1,"icd@value")="486."
+G("problem",1,"id@value")=44
+G("problem",1,"location@value")="ZZ*DR OFFICE"
+G("problem",1,"name@value")="Pneumonia"
+G("problem",1,"provider@code")=76
+G("problem",1,"provider@name")="VAN NESS,NANCY"
+G("problem",1,"removed@value")=0
+G("problem",1,"sc@value")=0
+G("problem",1,"status@value")="A"
+G("problem",1,"unverified@value")=0
+G("problem",1,"updated@value")=3110504
+G("problem",2,"entered@value")=3110504
+G("problem",2,"facility@code")=100
+G("problem",2,"facility@name")="VOE OFFICE INSTITUTION OLD"
+G("problem",2,"icd@value")="496."
+G("problem",2,"id@value")=45
+G("problem",2,"location@value")="ZZ*DR OFFICE"
+G("problem",2,"name@value")="Chronic Obstructive Pulmonary Disease"
+G("problem",2,"provider@code")=76
+G("problem",2,"provider@name")="VAN NESS,NANCY"
+G("problem",2,"removed@value")=0
+G("problem",2,"sc@value")=0
+G("problem",2,"status@value")="A"
+G("problem",2,"unverified@value")=0
+G("problem",2,"updated@value")=3110504
+
diff --git a/data/nhin-2.xml b/data/nhin-2.xml
new file mode 100644
index 0000000..7705909
--- /dev/null
+++ b/data/nhin-2.xml
@@ -0,0 +1,272 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+GPLTEST SMART Report Released Date/Time: Apr 25, 2012@23:11
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+~For Test: CHOLESTEROL ~GPLTEST SMART Report Released Date/Time: Apr 25, 2012@23:07
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+~For Test: HIGH-SENSIVITY C-REACTIVE PROTEIN ~GPLTEST SMART Report Released Date/Time: Apr 25, 2012@22:42
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Lipitor 10 mg Tab| 1 Add'l Sig BY Oral Select Frequency
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Azithromycin 250 mg Tab| 1 tablet BY by mouth as directed
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Albuterol Sulfate 2.5 mg/3 mL (0.083 %) Neb Solution| 1 mL BY inhale as directed
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Atrovent HFA 17 mcg/Actuation Aerosol Inhaler| 1 puff BY inhale as directed
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Warfarin 3 mg Tab| 1 tablet BY by mouth DAILY
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Warfarin 3 mg Tab| 1 tablet BY by mouth DAILY
+
+
+
+
+
+
+