-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathVPRJTP02.m
102 lines (102 loc) · 14.3 KB
/
VPRJTP02.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
VPRJTP02 ;SLC/KCM -- Sample patient data (meds)
;;1.0;JSON DATA STORE;;Sep 01, 2012
;
MED1 ;;
;;{"patient":"-7","pid":"93EF;-7","facilityName":"Camp Master","uid":"urn:va:med:93EF:-7:16982","localId":"402786;O","productFormName":"TAB,SA","sig":"TAKE ONE TABLET BY BY MOUTH TWICE A DAY","medStatus":"urn:sct:55561003"
;;,"medStatusName":"active","medType":"urn:sct
;;:73639000","vaType":"O","vaStatus":"DISCONTINUED","qualifiedName":"METFORMIN","kind":"Medication, Outpatient","overallStart":"20050317","overallStop":"20060318","stopped":"20050317","stampTime":"71","products":[{"ingredientCode":"urn:vu
;;id:4023979","ingredientName":"METFORMIN","drugClassCode":"urn:vadc:HS502","drugClassName":"ORAL HYPOGLYCEMIC AGENTS,ORAL","suppliedCode":"urn:vuid:4014984","suppliedName":"METFORMIN HCL 250MG TAB,SA","ingredientRole":"urn
;;:sct:410942007"}],"dosages":[{"dose":"250 MG","units":"MG","routeName":"PO","scheduleName":"BID","relativeStart":0,"relativeStop":0,"start":"20050317","stop":"20050317"}],"orders":[{"orderId":"","prescriptionId":"500290",
;;"quantityOrdered":"180","daysSupply":90,"fillsAllowed":3,"fillsRemaining":3,"fillCost":"90","location":"","vaRouting":"W","vaDispensed":true,"vaOrderStatus":"DISCONTINUED","ordered":"20050317152443.000","expiration":"2006
;;0318","provider":{"uid":"11745","name":"LABTECH,SPECIAL"},"pharmacist":{"uid":"10000000019","name":"TDPHARMACIST,ONE"}}]}
;;zzzzz
MED2 ;;
;;{"patient":"-7","pid":"93EF;-7","facilityName":"Camp Master","uid":"urn:va:med:93EF:-7:17203","localId":"402926;O","productFormName":"TAB","sig":"TAKE ONE TABLET BY BY MOUTH EVERY DAY AT 1 PM","medStatus":"urn:sct:73425007"
;;,"medStatusName":"not active","medType":"urn:sc
;;t:73639000","vaType":"O","vaStatus":"DISCONTINUED","qualifiedName":"WARFARIN","kind":"Medication, Outpatient","overallStart":"20060530","overallStop":"20070602","stopped":"20060604","stampTime":"72","products":[{"ingredientCode":"urn:vuid
;;:4019972","ingredientName":"WARFARIN","drugClassCode":"urn:vadc:BL110","drugClassName":"ANTICOAGULANTS","suppliedCode":"urn:vuid:4013990","suppliedName":"WARFARIN (C0UMADIN) NA 5MG TAB","ingredientRole":"urn:sct:410942007
;;"}],"dosages":[{"dose":"5 MG","units":"MG","routeName":"PO","scheduleName":"QD-WARF","relativeStart":0,"relativeStop":5760,"start":"20060531","stop":"20060604"}],"orders":[{"orderId":"","prescriptionId":"500412","quantity
;;Ordered":"30","daysSupply":30,"fillsAllowed":5,"fillsRemaining":5,"fillCost":"1.65","location":"VIST CLINIC","vaRouting":"W","vaDispensed":true,"vaOrderStatus":"DISCONTINUED","ordered":"20060531160045.000","expiration":"2
;;0070601","provider":{"uid":"10000000031","name":"VEHU,ONEHUNDRED"},"pharmacist":{"uid":"20144","name":"PHARMACIST,THIRTY"}}]}
;;zzzzz
MED3 ;;
;;{"patient":"-7","pid":"93EF;-7","facilityName":"Camp Master","uid":"urn:va:med:93EF:-7:17266","localId":"402924;O","productFormName":"TAB,SA","sig":"TAKE ONE TABLET BY BY MOUTH TWICE A DAY","medStatus":"urn:sct:73425007"
;;,"medStatusName":"not active","medType":"urn:sct:7
;;3639000","vaType":"O","vaStatus":"DISCONTINUED","qualifiedName":"METFORMIN","kind":"Medication, Outpatient","overallStart":"20060531","overallStop":"20070601","stopped":"20060604","stampTime":"73","products":[{"ingredientCode":"urn:vuid:4
;;023979","ingredientName":"METFORMIN","drugClassCode":"urn:vadc:HS502","drugClassName":"ORAL HYPOGLYCEMIC AGENTS,ORAL","suppliedCode":"urn:vuid:4014984","suppliedName":"METFORMIN HCL 500MG TAB,SA","ingredientRole":"urn:sct
;;:410942007"}],"dosages":[{"dose":"500 MG","units":"MG","routeName":"PO","scheduleName":"BID","relativeStart":0,"relativeStop":5760,"start":"20060531","stop":"20060604"}],"orders":[{"orderId":"","prescriptionId":"500290A",
;;"quantityOrdered":"180","daysSupply":90,"fillsAllowed":3,"fillsRemaining":3,"fillCost":"90","location":"VIST CLINIC","vaRouting":"W","vaDispensed":true,"vaOrderStatus":"DISCONTINUED","ordered":"20060531161818.000","expira
;;tion":"20070601","provider":{"uid":"10000000031","name":"VEHU,ONEHUNDRED"},"pharmacist":{"uid":"20144","name":"PHARMACIST,THIRTY"}}]}
;;zzzzz
MED4 ;;
;;{"patient":"-7","pid":"93EF;-7","facilityName":"Camp Master","uid":"urn:va:med:93EF:-7:18068","localId":"1N;O","productFormName":"TAB,EC","sig":"TAKE ONE TABLET BY MOUTH EVERY MORNING","medStatus":"urn:sct:55561003"
;;,"medStatusName":"active","medType":"urn:sct:329505003","stopped":""
;;,"vaType":"N","vaStatus":"ACTIVE","qualifiedName":"ASPIRIN","kind":"Medication, Non-VA","stampTime":"74","products":[{"ingredientCode":"urn:vuid:4017536","ingredientName":"ASPIRIN TAB","drugClassCode":"urn:vadc:CN103","drugClassName":"NON
;;-OPIOID ANALGESICS","suppliedCode":"urn:vuid:4005766","suppliedName":"ASPIRIN 81MG EC TAB","ingredientRole":"urn:sct:410942007"}],"dosages":[{"dose":"81 MG","units":"MG","routeName":"PO","scheduleName":"QAM","relativeStar
;;t":0}],"orders":[{"orderId":"","prescriptionId":"","quantityOrdered":"","fillCost":"","location":"GENERAL MEDICINE","vaRouting":"","vaDispensed":false,"vaOrderStatus":"ACTIVE","ordered":"20070411162700.000","provider":{"u
;;id":"10000000031","name":"VEHU,ONEHUNDRED"}}]}
;;zzzzz
MED5 ;;
;;{"patient":"-7","pid":"93EF;-7","facilityName":"Camp Master","uid":"urn:va:med:93EF:-7:18069","localId":"403229;O","productFormName":"TAB,SA","sig":"TAKE ONE TABLET BY BY MOUTH TWICE A DAY","medStatus":"urn:sct:73425007"
;;,"medStatusName":"not active","medType":"urn:sct:7
;;3639000","vaType":"O","vaStatus":"DISCONTINUED","qualifiedName":"METFORMIN","kind":"Medication, Outpatient","overallStart":"20070411","overallStop":"20080411","stopped":"20080128","stampTime":"75","products":[{"ingredientCode":"urn:vuid:4
;;023979","ingredientName":"METFORMIN","drugClassCode":"urn:vadc:HS502","drugClassName":"ORAL HYPOGLYCEMIC AGENTS,ORAL","suppliedCode":"urn:vuid:4014984","suppliedName":"METFORMIN HCL 500MG TAB,SA","ingredientRole":"urn:sct
;;:410942007"}],"dosages":[{"dose":"500 MG","units":"MG","routeName":"PO","scheduleName":"BID","relativeStart":0,"relativeStop":420540,"start":"20070411","stop":"20080128"}],"orders":[{"orderId":"","prescriptionId":"500290B
;;","quantityOrdered":"180","daysSupply":90,"fillsAllowed":3,"fillsRemaining":3,"fillCost":"90","location":"GENERAL MEDICINE","vaRouting":"W","vaDispensed":true,"vaOrderStatus":"DISCONTINUED","ordered":"20070411162837.000",
;;"expiration":"20080411","provider":{"uid":"10000000031","name":"VEHU,ONEHUNDRED"},"pharmacist":{"uid":"10000000056","name":"PHARMACIST,ONE"}}]}
;;zzzzz
;
MED6 ; Sample Med to Add
;;{"patient":"-7","pid":"93EF;-7","facilityName":"Camp Master","uid":"urn:va:med:93EF:-7:15231","localId":"402300;O","productFormName":"TAB","sig":"TAKE ONE TABLET BY BY MOUTH TWICE A DAY","medStatus":"urn:sct:73425007"
;;,"medStatusName":"not active","medType":"urn:sct:7363
;;9000","vaType":"O","vaStatus":"DISCONTINUED","qualifiedName":"METOPROLOL","kind":"Medication, Outpatient","overallStart":"20040330","overallStop":"20050331","stopped":"20040330","stampTime":"76","products":[{"ingredientCode":"urn:vuid:4
;;019836","ingredientName":"METOPROLOL","drugClassCode":"urn:vadc:CV100","drugClassName":"BETA BLOCKERS/RELATED","suppliedCode":"urn:vuid:4004608","suppliedName":"METOPROLOL TARTRATE 50MG TAB","ingredientRole":"urn:sct:41
;;0942007"}],"dosages":[{"dose":"50 MG","units":"MG","routeName":"PO","scheduleName":"BID","relativeStart":0,"relativeStop":0,"start":"20040330","stop":"20040330"}],"orders":[{"orderId":"","prescriptionId":"500046","quant
;;ityOrdered":"180","daysSupply":90,"fillsAllowed":3,"fillsRemaining":3,"fillCost":"11.88","location":"","vaRouting":"W","vaDispensed":true,"vaOrderStatus":"DISCONTINUED","ordered":"20040330145422.000","expiration":"20050
;;331","provider":{"uid":"11745","name":"LABTECH,SPECIAL"},"pharmacist":{"uid":"11745","name":"LABTECH,SPECIAL"}}]}
;;zzzzz
MED6HDR1 ; Sample Med to Add
;;{"patient":"-7","pid":"1HDR;-777V123777","facilityName":"Camp Master","uid":"urn:va:med:93EF:-7:15231","localId":"402300;O","productFormName":"TAB","sig":"HDR TAKE ONE TABLET BY BY MOUTH TWICE A DAY","medStatus":"urn:sct:73425007"
;;,"medStatusName":"not active","medType":"urn:sct:7363
;;9000","vaType":"O","vaStatus":"DISCONTINUED","qualifiedName":"METOPROLOL","kind":"Medication, Outpatient","overallStart":"20040330","overallStop":"20050331","stopped":"20040330","stampTime":"76","products":[{"ingredientCode":"urn:vuid:4
;;019836","ingredientName":"METOPROLOL","drugClassCode":"urn:vadc:CV100","drugClassName":"BETA BLOCKERS/RELATED","suppliedCode":"urn:vuid:4004608","suppliedName":"METOPROLOL TARTRATE 50MG TAB","ingredientRole":"urn:sct:41
;;0942007"}],"dosages":[{"dose":"50 MG","units":"MG","routeName":"PO","scheduleName":"BID","relativeStart":0,"relativeStop":0,"start":"20040330","stop":"20040330"}],"orders":[{"orderId":"","prescriptionId":"500046","quant
;;ityOrdered":"180","daysSupply":90,"fillsAllowed":3,"fillsRemaining":3,"fillCost":"11.88","location":"","vaRouting":"W","vaDispensed":true,"vaOrderStatus":"DISCONTINUED","ordered":"20040330145422.000","expiration":"20050
;;331","provider":{"uid":"11745","name":"LABTECH,SPECIAL"},"pharmacist":{"uid":"11745","name":"LABTECH,SPECIAL"}}]}
;;zzzzz
MED6HDR2 ; Sample Med to Add
;;{"patient":"-7","pid":"HDR1;-777V123777","facilityName":"Camp Master","uid":"urn:va:med:93EF:-7:15231","localId":"402300;O","productFormName":"TAB","sig":"HDR TAKE ONE TABLET BY BY MOUTH TWICE A DAY","medStatus":"urn:sct:73425007"
;;,"medStatusName":"not active","medType":"urn:sct:7363
;;9000","vaType":"O","vaStatus":"DISCONTINUED","qualifiedName":"METOPROLOL","kind":"Medication, Outpatient","overallStart":"20040330","overallStop":"20050331","stopped":"20040330","stampTime":"76","products":[{"ingredientCode":"urn:vuid:4
;;019836","ingredientName":"METOPROLOL","drugClassCode":"urn:vadc:CV100","drugClassName":"BETA BLOCKERS/RELATED","suppliedCode":"urn:vuid:4004608","suppliedName":"METOPROLOL TARTRATE 50MG TAB","ingredientRole":"urn:sct:41
;;0942007"}],"dosages":[{"dose":"50 MG","units":"MG","routeName":"PO","scheduleName":"BID","relativeStart":0,"relativeStop":0,"start":"20040330","stop":"20040330"}],"orders":[{"orderId":"","prescriptionId":"500046","quant
;;ityOrdered":"180","daysSupply":90,"fillsAllowed":3,"fillsRemaining":3,"fillCost":"11.88","location":"","vaRouting":"W","vaDispensed":true,"vaOrderStatus":"DISCONTINUED","ordered":"20040330145422.000","expiration":"20050
;;331","provider":{"uid":"11745","name":"LABTECH,SPECIAL"},"pharmacist":{"uid":"11745","name":"LABTECH,SPECIAL"}}]}
;;zzzzz
MED6N ; Sample new Med version to Add
;;{"patient":"-7","pid":"93EF;-7","facilityName":"Camp Master","uid":"urn:va:med:93EF:-7:15231","localId":"402300;O","productFormName":"TAB","sig":"TAKE ONE TABLET BY BY MOUTH TWICE A DAY","medStatus":"urn:sct:73425007"
;;,"medStatusName":"not active","medType":"urn:sct:7363
;;9000","vaType":"O","vaStatus":"DISCONTINUED","qualifiedName":"METOPROLOL","kind":"Medication, Outpatient","overallStart":"20040330","overallStop":"20050331","stopped":"20040330","stampTime":"77","products":[{"ingredientCode":"urn:vuid:4
;;019836","ingredientName":"METOPROLOL","drugClassCode":"urn:vadc:CV100","drugClassName":"BETA BLOCKERS/RELATED","suppliedCode":"urn:vuid:4004608","suppliedName":"METOPROLOL TARTRATE 50MG TAB","ingredientRole":"urn:sct:41
;;0942007"}],"dosages":[{"dose":"70 MG","units":"MG","routeName":"PO","scheduleName":"BID","relativeStart":0,"relativeStop":0,"start":"20040330","stop":"20040330"}],"orders":[{"orderId":"","prescriptionId":"500046","quant
;;ityOrdered":"180","daysSupply":90,"fillsAllowed":3,"fillsRemaining":3,"fillCost":"11.88","location":"","vaRouting":"W","vaDispensed":true,"vaOrderStatus":"DISCONTINUED","ordered":"20040330145422.000","expiration":"20050
;;331","provider":{"uid":"11745","name":"LABTECH,SPECIAL"},"pharmacist":{"uid":"11745","name":"LABTECH,SPECIAL"}}]}
;;zzzzz
MED8 ; Sample Med to Add Patient 8
;;{"patient":"-8","pid":"93EF;-8","facilityName":"Camp Master","uid":"urn:va:med:93EF:-8:15231","localId":"402300;O","productFormName":"TAB","sig":"TAKE ONE TABLET BY BY MOUTH TWICE A DAY","medStatus":"urn:sct:73425007"
;;,"medStatusName":"not active","medType":"urn:sct:7363
;;9000","vaType":"O","vaStatus":"DISCONTINUED","qualifiedName":"METOPROLOL","kind":"Medication, Outpatient","overallStart":"20040330","overallStop":"20050331","stopped":"20040330","stampTime":"76","products":[{"ingredientCode":"urn:vuid:4
;;019836","ingredientName":"METOPROLOL","drugClassCode":"urn:vadc:CV100","drugClassName":"BETA BLOCKERS/RELATED","suppliedCode":"urn:vuid:4004608","suppliedName":"METOPROLOL TARTRATE 50MG TAB","ingredientRole":"urn:sct:41
;;0942007"}],"dosages":[{"dose":"50 MG","units":"MG","routeName":"PO","scheduleName":"BID","relativeStart":0,"relativeStop":0,"start":"20040330","stop":"20040330"}],"orders":[{"orderId":"","prescriptionId":"500046","quant
;;ityOrdered":"180","daysSupply":90,"fillsAllowed":3,"fillsRemaining":3,"fillCost":"11.88","location":"","vaRouting":"W","vaDispensed":true,"vaOrderStatus":"DISCONTINUED","ordered":"20040330145422.000","expiration":"20050
;;331","provider":{"uid":"11745","name":"LABTECH,SPECIAL"},"pharmacist":{"uid":"11745","name":"LABTECH,SPECIAL"}}]}
;;zzzzz
MED8N ; Sample new Med version to Add Patient 8
;;{"patient":"-8","pid":"93EF;-8","facilityName":"Camp Master","uid":"urn:va:med:93EF:-8:15231","localId":"402300;O","productFormName":"TAB","sig":"TAKE ONE TABLET BY BY MOUTH TWICE A DAY","medStatus":"urn:sct:73425007"
;;,"medStatusName":"not active","medType":"urn:sct:7363
;;9000","vaType":"O","vaStatus":"DISCONTINUED","qualifiedName":"METOPROLOL","kind":"Medication, Outpatient","overallStart":"20040330","overallStop":"20050331","stopped":"20040330","stampTime":"77","products":[{"ingredientCode":"urn:vuid:4
;;019836","ingredientName":"METOPROLOL","drugClassCode":"urn:vadc:CV100","drugClassName":"BETA BLOCKERS/RELATED","suppliedCode":"urn:vuid:4004608","suppliedName":"METOPROLOL TARTRATE 50MG TAB","ingredientRole":"urn:sct:41
;;0942007"}],"dosages":[{"dose":"70 MG","units":"MG","routeName":"PO","scheduleName":"BID","relativeStart":0,"relativeStop":0,"start":"20040330","stop":"20040330"}],"orders":[{"orderId":"","prescriptionId":"500046","quant
;;ityOrdered":"180","daysSupply":90,"fillsAllowed":3,"fillsRemaining":3,"fillCost":"11.88","location":"","vaRouting":"W","vaDispensed":true,"vaOrderStatus":"DISCONTINUED","ordered":"20040330145422.000","expiration":"20050
;;331","provider":{"uid":"11745","name":"LABTECH,SPECIAL"},"pharmacist":{"uid":"11745","name":"LABTECH,SPECIAL"}}]}
;;zzzzz