source: ePrescribing/tags/1.0/C0P-1_SEQ-004_PAT-004.KID

Last change on this file was 1595, checked in by George Lilly, 11 years ago

initial release of ePrescribing

File size: 29.7 KB
Line 
1KIDS Distribution saved on Jun 13, 2012@17:54:52
2GetMeds6 for MU Data
3**KIDS**:C0P*1.0*4^
4
5**INSTALL NAME**
6C0P*1.0*4
7"BLD",7936,0)
8C0P*1.0*4^ORO ERX E-PRESCRIBING^0^3120613^y
9"BLD",7936,1,0)
10^^6^6^3120530^^
11"BLD",7936,1,1,0)
12Contains the XML Template for use in C0P XML TEMPLATE file for NC WS Call
13"BLD",7936,1,2,0)
14GetPatientFullMedicationHistory6 required for Meaningful Use Data.
15"BLD",7936,1,3,0)
16Currently, the ePrescribing application uses
17"BLD",7936,1,4,0)
18GetPatientFullMedicationHistory5 to get data. This patch adds the new
19"BLD",7936,1,5,0)
20template for use with C0Q to get Meaningful Use data regarding percentage
21"BLD",7936,1,6,0)
22of electronic transmission of prescriptions.
23"BLD",7936,4,0)
24^9.64PA^113059001^1
25"BLD",7936,4,113059001,0)
26113059001
27"BLD",7936,4,113059001,222)
28y^y^f^^n^^y^r^n
29"BLD",7936,4,113059001,224)
30I $P(^(0),U)="GETMEDS6"
31"BLD",7936,4,"B",113059001,113059001)
32
33"BLD",7936,6.3)
347
35"BLD",7936,"ABPKG")
36n
37"BLD",7936,"KRN",0)
38^9.67PA^779.2^20
39"BLD",7936,"KRN",.4,0)
40.4
41"BLD",7936,"KRN",.401,0)
42.401
43"BLD",7936,"KRN",.402,0)
44.402
45"BLD",7936,"KRN",.403,0)
46.403
47"BLD",7936,"KRN",.5,0)
48.5
49"BLD",7936,"KRN",.84,0)
50.84
51"BLD",7936,"KRN",3.6,0)
523.6
53"BLD",7936,"KRN",3.8,0)
543.8
55"BLD",7936,"KRN",9.2,0)
569.2
57"BLD",7936,"KRN",9.8,0)
589.8
59"BLD",7936,"KRN",9.8,"NM",0)
60^9.68A^^0
61"BLD",7936,"KRN",19,0)
6219
63"BLD",7936,"KRN",19.1,0)
6419.1
65"BLD",7936,"KRN",101,0)
66101
67"BLD",7936,"KRN",409.61,0)
68409.61
69"BLD",7936,"KRN",771,0)
70771
71"BLD",7936,"KRN",779.2,0)
72779.2
73"BLD",7936,"KRN",870,0)
74870
75"BLD",7936,"KRN",8989.51,0)
768989.51
77"BLD",7936,"KRN",8989.52,0)
788989.52
79"BLD",7936,"KRN",8994,0)
808994
81"BLD",7936,"KRN","B",.4,.4)
82
83"BLD",7936,"KRN","B",.401,.401)
84
85"BLD",7936,"KRN","B",.402,.402)
86
87"BLD",7936,"KRN","B",.403,.403)
88
89"BLD",7936,"KRN","B",.5,.5)
90
91"BLD",7936,"KRN","B",.84,.84)
92
93"BLD",7936,"KRN","B",3.6,3.6)
94
95"BLD",7936,"KRN","B",3.8,3.8)
96
97"BLD",7936,"KRN","B",9.2,9.2)
98
99"BLD",7936,"KRN","B",9.8,9.8)
100
101"BLD",7936,"KRN","B",19,19)
102
103"BLD",7936,"KRN","B",19.1,19.1)
104
105"BLD",7936,"KRN","B",101,101)
106
107"BLD",7936,"KRN","B",409.61,409.61)
108
109"BLD",7936,"KRN","B",771,771)
110
111"BLD",7936,"KRN","B",779.2,779.2)
112
113"BLD",7936,"KRN","B",870,870)
114
115"BLD",7936,"KRN","B",8989.51,8989.51)
116
117"BLD",7936,"KRN","B",8989.52,8989.52)
118
119"BLD",7936,"KRN","B",8994,8994)
120
121"BLD",7936,"QUES",0)
122^9.62^^
123"BLD",7936,"REQB",0)
124^9.611^^
125"DATA",113059001,38,0)
126GETMEDS6
127"DATA",113059001,38,1)
128https://preproduction.newcropaccounts.com/V7/webservices/Update1.asmx
129"DATA",113059001,38,2)
130https://preproduction.newcropaccounts.com/v7/WebServices/Update1.asmx?op=GetPatientFullMedicationHistory6
131"DATA",113059001,38,3,0)
132^113059001.01^33^33^3120528^^
133"DATA",113059001,38,3,1,0)
134<?xml version="1.0" encoding="utf-8"?><soap:Envelope
135"DATA",113059001,38,3,2,0)
136xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
137"DATA",113059001,38,3,3,0)
138<soap:Body><GetPatientFullMedicationHistory6
139"DATA",113059001,38,3,4,0)
140xmlns="https://secure.newcropaccounts.com/V7/webservices">
141"DATA",113059001,38,3,5,0)
142<credentials>
143"DATA",113059001,38,3,6,0)
144<PartnerName>demo
145"DATA",113059001,38,3,7,0)
146</PartnerName>
147"DATA",113059001,38,3,8,0)
148<Name>demo</Name>
149"DATA",113059001,38,3,9,0)
150<Password>demo</Password>
151"DATA",113059001,38,3,10,0)
152</credentials>
153"DATA",113059001,38,3,11,0)
154<accountRequest>
155"DATA",113059001,38,3,12,0)
156<AccountId>demo</AccountId>
157"DATA",113059001,38,3,13,0)
158<SiteId>demo</SiteId>
159"DATA",113059001,38,3,14,0)
160</accountRequest>
161"DATA",113059001,38,3,15,0)
162<patientRequest>
163"DATA",113059001,38,3,16,0)
164<PatientId>PATIENT1</PatientId>
165"DATA",113059001,38,3,17,0)
166</patientRequest>
167"DATA",113059001,38,3,18,0)
168<prescriptionHistoryRequest>
169"DATA",113059001,38,3,19,0)
170<StartHistory>2004-01-01T00:00:00</StartHistory>
171"DATA",113059001,38,3,20,0)
172<EndHistory>2010-01-01T00:00:00</EndHistory>
173"DATA",113059001,38,3,21,0)
174<PrescriptionStatus>C</PrescriptionStatus>
175"DATA",113059001,38,3,22,0)
176<PrescriptionSubStatus>S</PrescriptionSubStatus>
177"DATA",113059001,38,3,23,0)
178<PrescriptionArchiveStatus>N</PrescriptionArchiveStatus>
179"DATA",113059001,38,3,24,0)
180</prescriptionHistoryRequest>
181"DATA",113059001,38,3,25,0)
182<patientInformationRequester>
183"DATA",113059001,38,3,26,0)
184<UserType />
185"DATA",113059001,38,3,27,0)
186<UserId />
187"DATA",113059001,38,3,28,0)
188</patientInformationRequester>
189"DATA",113059001,38,3,29,0)
190<patientIdType />
191"DATA",113059001,38,3,30,0)
192<includeSchema />
193"DATA",113059001,38,3,31,0)
194</GetPatientFullMedicationHistory6>
195"DATA",113059001,38,3,32,0)
196</soap:Body>
197"DATA",113059001,38,3,33,0)
198</soap:Envelope>
199"DATA",113059001,38,4,0)
200^113059001.03^32^32^3120528^^
201"DATA",113059001,38,4,1,0)
202<?xml version="1.0" encoding="utf-8"?>
203"DATA",113059001,38,4,2,0)
204<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
205"DATA",113059001,38,4,3,0)
206<soap:Body>
207"DATA",113059001,38,4,4,0)
208<GetPatientFullMedicationHistory6 xmlns="https://secure.newcropaccounts.com/V7/webservices">
209"DATA",113059001,38,4,5,0)
210<credentials>
211"DATA",113059001,38,4,6,0)
212<PartnerName>@@ACCOUNT-PARTNERNAME@@</PartnerName>
213"DATA",113059001,38,4,7,0)
214<Name>@@//soap:Envelope/soap:Body/GetPatientFullMedicationHistory6/credentials/Name@@</Name>
215"DATA",113059001,38,4,8,0)
216<Password>@@//soap:Envelope/soap:Body/GetPatientFullMedicationHistory6/credentials/Password@@</Password>
217"DATA",113059001,38,4,9,0)
218</credentials>
219"DATA",113059001,38,4,10,0)
220<accountRequest>
221"DATA",113059001,38,4,11,0)
222<AccountId>@@//soap:Envelope/soap:Body/GetPatientFullMedicationHistory6/accountRequest/AccountId@@</AccountId>
223"DATA",113059001,38,4,12,0)
224<SiteId>@@//soap:Envelope/soap:Body/GetPatientFullMedicationHistory6/accountRequest/SiteId@@</SiteId>
225"DATA",113059001,38,4,13,0)
226</accountRequest>
227"DATA",113059001,38,4,14,0)
228<patientRequest>
229"DATA",113059001,38,4,15,0)
230<PatientId>@@//soap:Envelope/soap:Body/GetPatientFullMedicationHistory6/patientRequest/PatientId@@</PatientId>
231"DATA",113059001,38,4,16,0)
232</patientRequest>
233"DATA",113059001,38,4,17,0)
234<prescriptionHistoryRequest>
235"DATA",113059001,38,4,18,0)
236<StartHistory>@@//soap:Envelope/soap:Body/GetPatientFullMedicationHistory6/prescriptionHistoryRequest/StartHistory@@</StartHistory>
237"DATA",113059001,38,4,19,0)
238<EndHistory>@@//soap:Envelope/soap:Body/GetPatientFullMedicationHistory6/prescriptionHistoryRequest/EndHistory@@</EndHistory>
239"DATA",113059001,38,4,20,0)
240<PrescriptionStatus>@@//soap:Envelope/soap:Body/GetPatientFullMedicationHistory6/prescriptionHistoryRequest/PrescriptionStatus@@</PrescriptionStatus>
241"DATA",113059001,38,4,21,0)
242<PrescriptionSubStatus>@@//soap:Envelope/soap:Body/GetPatientFullMedicationHistory6/prescriptionHistoryRequest/PrescriptionSubStatus@@</PrescriptionSubStatus>
243"DATA",113059001,38,4,22,0)
244<PrescriptionArchiveStatus>@@//soap:Envelope/soap:Body/GetPatientFullMedicationHistory6/prescriptionHistoryRequest/PrescriptionArchiveStatus@@</PrescriptionArchiveStatus>
245"DATA",113059001,38,4,23,0)
246</prescriptionHistoryRequest>
247"DATA",113059001,38,4,24,0)
248<patientInformationRequester>
249"DATA",113059001,38,4,25,0)
250<UserType />
251"DATA",113059001,38,4,26,0)
252<UserId />
253"DATA",113059001,38,4,27,0)
254</patientInformationRequester>
255"DATA",113059001,38,4,28,0)
256<patientIdType />
257"DATA",113059001,38,4,29,0)
258<includeSchema>N</includeSchema>
259"DATA",113059001,38,4,30,0)
260</GetPatientFullMedicationHistory6>
261"DATA",113059001,38,4,31,0)
262</soap:Body>
263"DATA",113059001,38,4,32,0)
264</soap:Envelope>
265"DATA",113059001,38,5,0)
266^113059001.04^15^15
267"DATA",113059001,38,5,1,0)
268//soap:Envelope/soap:Body/GetPatientFullMedicationHistory6/accountRequest/AccountId^ACCT
269"DATA",113059001,38,5,1,1)
270^^^ACCOUNT-ACCOUNTID
271"DATA",113059001,38,5,2,0)
272//soap:Envelope/soap:Body/GetPatientFullMedicationHistory6/accountRequest/SiteId^ACCT
273"DATA",113059001,38,5,2,1)
274C0P SITE ID^113059002^2.3
275"DATA",113059001,38,5,3,0)
276//soap:Envelope/soap:Body/GetPatientFullMedicationHistory6/credentials/Name^DFN
277"DATA",113059001,38,5,3,1)
278^^^ACCOUNT-NAME
279"DATA",113059001,38,5,4,0)
280//soap:Envelope/soap:Body/GetPatientFullMedicationHistory6/credentials/PartnerName
281"DATA",113059001,38,5,5,0)
282//soap:Envelope/soap:Body/GetPatientFullMedicationHistory6/credentials/Password^ACCT
283"DATA",113059001,38,5,5,1)
284^^^ACCOUNT-PASSWORD
285"DATA",113059001,38,5,6,0)
286//soap:Envelope/soap:Body/GetPatientFullMedicationHistory6/patientRequest/PatientId^DFN
287"DATA",113059001,38,5,6,1)
288^^^PATIENT-PATIENTID
289"DATA",113059001,38,5,7,0)
290//soap:Envelope/soap:Body/GetPatientFullMedicationHistory6/prescriptionHistoryRequest/EndHistory^DFN
291"DATA",113059001,38,5,7,1)
292^^^PATIENT-ENDHISTORY
293"DATA",113059001,38,5,8,0)
294//soap:Envelope/soap:Body/GetPatientFullMedicationHistory6/prescriptionHistoryRequest/PrescriptionArchiveStatus^DFN
295"DATA",113059001,38,5,8,1)
296^^^PATIENT-ARCHIVESTATUS
297"DATA",113059001,38,5,9,0)
298//soap:Envelope/soap:Body/GetPatientFullMedicationHistory6/prescriptionHistoryRequest/PrescriptionStatus^DFN
299"DATA",113059001,38,5,9,1)
300^^^PATIENT-PRESCRIPTIONSTATUS
301"DATA",113059001,38,5,10,0)
302//soap:Envelope/soap:Body/GetPatientFullMedicationHistory6/prescriptionHistoryRequest/PrescriptionSubStatus^DFN
303"DATA",113059001,38,5,10,1)
304^^^PATIENT-PRESCRIPTIONSUBSTATUS
305"DATA",113059001,38,5,11,0)
306//soap:Envelope/soap:Body/GetPatientFullMedicationHistory6/prescriptionHistoryRequest/StartHistory^DFN
307"DATA",113059001,38,5,11,1)
308^^^PATIENT-STARTHISTORY
309"DATA",113059001,38,5,12,0)
310//soap:Envelope/soap:Body/GetPatientFullMedicationHistory6/patientInformationRequester/UserType^DUZ
311"DATA",113059001,38,5,12,1)
312^^^SUBSCRIBER-USERTYPE
313"DATA",113059001,38,5,13,0)
314//soap:Envelope/soap:Body/GetPatientFullMedicationHistory6/patientInformationRequester/UserId^DUZ
315"DATA",113059001,38,5,13,1)
316^^^SUBSCRIBER-SID
317"DATA",113059001,38,5,14,0)
318//soap:Envelope/soap:Body/GetPatientFullMedicationHistory6/patientIdType^DFN
319"DATA",113059001,38,5,14,1)
320^^^PATIENT-IDTYPE
321"DATA",113059001,38,5,15,0)
322ACCOUNT-PARTNERNAME^ACCT
323"DATA",113059001,38,5,15,1)
324^^^ACCOUNT-PARTNERNAME
325"DATA",113059001,38,6)
3261
327"DATA",113059001,38,7,0)
328^113059001.02^4^4^3120528^^
329"DATA",113059001,38,7,1,0)
330User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.3074)
331"DATA",113059001,38,7,2,0)
332SOAPAction: "https://secure.newcropaccounts.com/V7/webservices/GetPatientFullMedicationHistory6"
333"DATA",113059001,38,7,3,0)
334Expect: 100-continue
335"DATA",113059001,38,7,4,0)
336Connection: Keep-Alive
337"DATA",113059001,38,8)
338text/xml; charset=utf-8
339"DATA",113059001,38,9)
340^10
341"FIA",113059001)
342C0P XML TEMPLATE
343"FIA",113059001,0)
344^C0PX(
345"FIA",113059001,0,0)
346113059001
347"FIA",113059001,0,1)
348y^y^f^^n^^y^r^n
349"FIA",113059001,0,10)
350
351"FIA",113059001,0,11)
352I $P(^(0),U)="GETMEDS6"
353"FIA",113059001,0,"RLRO")
354
355"FIA",113059001,0,"VR")
3561.0^C0P
357"FIA",113059001,113059001)
3580
359"FIA",113059001,113059001.01)
3600
361"FIA",113059001,113059001.02)
3620
363"FIA",113059001,113059001.03)
3640
365"FIA",113059001,113059001.04)
3660
367"FIA",113059001,113059001.05)
3680
369"IX",113059001,113059001,"C",0)
370113059001^C^Uniqueness Index for Key 'A' of File #113059001^R^^R^IR^I^113059001^^^^^LS
371"IX",113059001,113059001,"C",1)
372S ^C0PX("C",X(1),X(2),DA)=""
373"IX",113059001,113059001,"C",2)
374K ^C0PX("C",X(1),X(2),DA)
375"IX",113059001,113059001,"C",2.5)
376K ^C0PX("C")
377"IX",113059001,113059001,"C",11.1,0)
378^.114IA^2^2
379"IX",113059001,113059001,"C",11.1,1,0)
3801^F^113059001^.02^^1
381"IX",113059001,113059001,"C",11.1,2,0)
3822^F^113059001^.01^^2
383"IX",113059001,113059001,"XPATH",0)
384113059001^XPATH^WHOLE FILE XPATH INDEX FOR BINDINGS BY TEMPLATE^R^^F^IR^W^113059001.04^^^^^LS
385"IX",113059001,113059001,"XPATH",1)
386S ^C0PX("XPATH",$E(X,1,240),DA(1),DA)=""
387"IX",113059001,113059001,"XPATH",2)
388K ^C0PX("XPATH",$E(X,1,240),DA(1),DA)
389"IX",113059001,113059001,"XPATH",2.5)
390K ^C0PX("XPATH")
391"IX",113059001,113059001,"XPATH",11.1,0)
392^.114IA^1^1
393"IX",113059001,113059001,"XPATH",11.1,1,0)
3941^F^113059001.04^.01^240^1^F
395"IX",113059001,113059001.04,"B",0)
396113059001.04^B^REPLACEMENT FOR B INDEX TO INCREASE MAX LENGTH^R^^F^IR^I^113059001.04^^^^^LS
397"IX",113059001,113059001.04,"B",1)
398S ^C0PX(DA(1),5,"B",$E(X,1,240),DA)=""
399"IX",113059001,113059001.04,"B",2)
400K ^C0PX(DA(1),5,"B",$E(X,1,240),DA)
401"IX",113059001,113059001.04,"B",2.5)
402K ^C0PX(DA(1),5,"B")
403"IX",113059001,113059001.04,"B",11.1,0)
404^.114IA^1^1
405"IX",113059001,113059001.04,"B",11.1,1,0)
4061^F^113059001.04^.01^240^1^F
407"IX",113059001,113059001.04,"B",11.1,1,3)
408
409"KEY",113059001,113059001,"A",0)
410113059001^A^P^559
411"KEY",113059001,113059001,"A",2,0)
412^.312IA^2^2
413"KEY",113059001,113059001,"A",2,1,0)
414.01^113059001^2
415"KEY",113059001,113059001,"A",2,2,0)
416.02^113059001^1
417"KEYPTR",113059001,113059001,"A")
418113059001^C
419"MBREQ")
4200
421"PKG",211,-1)
4221^1
423"PKG",211,0)
424ORO ERX E-PRESCRIBING^C0P^Oroville Electronic Prescriptions
425"PKG",211,20,0)
426^9.402P^^
427"PKG",211,22,0)
428^9.49I^1^1
429"PKG",211,22,1,0)
4301.0^3120510^3120510^8
431"PKG",211,22,1,"PAH",1,0)
4324^3120613^8
433"PKG",211,22,1,"PAH",1,1,0)
434^^6^6^3120613
435"PKG",211,22,1,"PAH",1,1,1,0)
436Contains the XML Template for use in C0P XML TEMPLATE file for NC WS Call
437"PKG",211,22,1,"PAH",1,1,2,0)
438GetPatientFullMedicationHistory6 required for Meaningful Use Data.
439"PKG",211,22,1,"PAH",1,1,3,0)
440Currently, the ePrescribing application uses
441"PKG",211,22,1,"PAH",1,1,4,0)
442GetPatientFullMedicationHistory5 to get data. This patch adds the new
443"PKG",211,22,1,"PAH",1,1,5,0)
444template for use with C0Q to get Meaningful Use data regarding percentage
445"PKG",211,22,1,"PAH",1,1,6,0)
446of electronic transmission of prescriptions.
447"QUES","XPF1",0)
448Y
449"QUES","XPF1","??")
450^D REP^XPDH
451"QUES","XPF1","A")
452Shall I write over your |FLAG| File
453"QUES","XPF1","B")
454YES
455"QUES","XPF1","M")
456D XPF1^XPDIQ
457"QUES","XPF2",0)
458Y
459"QUES","XPF2","??")
460^D DTA^XPDH
461"QUES","XPF2","A")
462Want my data |FLAG| yours
463"QUES","XPF2","B")
464YES
465"QUES","XPF2","M")
466D XPF2^XPDIQ
467"QUES","XPI1",0)
468YO
469"QUES","XPI1","??")
470^D INHIBIT^XPDH
471"QUES","XPI1","A")
472Want KIDS to INHIBIT LOGONs during the install
473"QUES","XPI1","B")
474NO
475"QUES","XPI1","M")
476D XPI1^XPDIQ
477"QUES","XPM1",0)
478PO^VA(200,:EM
479"QUES","XPM1","??")
480^D MG^XPDH
481"QUES","XPM1","A")
482Enter the Coordinator for Mail Group '|FLAG|'
483"QUES","XPM1","B")
484
485"QUES","XPM1","M")
486D XPM1^XPDIQ
487"QUES","XPO1",0)
488Y
489"QUES","XPO1","??")
490^D MENU^XPDH
491"QUES","XPO1","A")
492Want KIDS to Rebuild Menu Trees Upon Completion of Install
493"QUES","XPO1","B")
494NO
495"QUES","XPO1","M")
496D XPO1^XPDIQ
497"QUES","XPZ1",0)
498Y
499"QUES","XPZ1","??")
500^D OPT^XPDH
501"QUES","XPZ1","A")
502Want to DISABLE Scheduled Options, Menu Options, and Protocols
503"QUES","XPZ1","B")
504NO
505"QUES","XPZ1","M")
506D XPZ1^XPDIQ
507"QUES","XPZ2",0)
508Y
509"QUES","XPZ2","??")
510^D RTN^XPDH
511"QUES","XPZ2","A")
512Want to MOVE routines to other CPUs
513"QUES","XPZ2","B")
514NO
515"QUES","XPZ2","M")
516D XPZ2^XPDIQ
517"SEC","^DIC",113059001,113059001,0,"AUDIT")
518@
519"SEC","^DIC",113059001,113059001,0,"DD")
520@
521"SEC","^DIC",113059001,113059001,0,"DEL")
522@
523"SEC","^DIC",113059001,113059001,0,"LAYGO")
524@
525"SEC","^DIC",113059001,113059001,0,"RD")
526@
527"SEC","^DIC",113059001,113059001,0,"WR")
528@
529"VER")
5308.0^22.0
531"^DD",113059001,113059001,0)
532FIELD^^5^13
533"^DD",113059001,113059001,0,"DDA")
534N
535"^DD",113059001,113059001,0,"DT")
5363091016
537"^DD",113059001,113059001,0,"IX","B",113059001,.01)
538
539"^DD",113059001,113059001,0,"NM","C0P XML TEMPLATE")
540
541"^DD",113059001,113059001,0,"PT",113059001,.03)
542
543"^DD",113059001,113059001,0,"PT",113059001.05,1)
544
545"^DD",113059001,113059001,0,"PT",113059003.02,2)
546
547"^DD",113059001,113059001,0,"PT",113059003.03,.01)
548
549"^DD",113059001,113059001,0,"PT",113059003.04,1)
550
551"^DD",113059001,113059001,0,"VRPK")
552C0P
553"^DD",113059001,113059001,.01,0)
554TEMPLATE NAME^RF^^0;1^K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
555"^DD",113059001,113059001,.01,.1)
556NAME OF THE TEMPLATE
557"^DD",113059001,113059001,.01,1,0)
558^.1
559"^DD",113059001,113059001,.01,1,1,0)
560113059001^B
561"^DD",113059001,113059001,.01,1,1,1)
562S ^C0PX("B",$E(X,1,30),DA)=""
563"^DD",113059001,113059001,.01,1,1,2)
564K ^C0PX("B",$E(X,1,30),DA)
565"^DD",113059001,113059001,.01,3)
566TEMPLATE NAME
567"^DD",113059001,113059001,.01,"DT")
5683091015
569"^DD",113059001,113059001,.02,0)
570BELONGS TO WEB SERVICE^P113059003^C0PW(^6;1^Q
571"^DD",113059001,113059001,.02,.1)
572WEB SERVICE THAT THIS TEMPLATE BELONGS TO
573"^DD",113059001,113059001,.02,3)
574WEB SERVICE THAT THIS TEMPLATE BELONGS TO
575"^DD",113059001,113059001,.02,"DT")
5763091015
577"^DD",113059001,113059001,.03,0)
578REPLY TEMPLATE^P113059001^C0PX(^9;2^Q
579"^DD",113059001,113059001,.03,.1)
580TEMPLATE TO PROCESS THE REPLY FROM REQUEST TEMPLATE
581"^DD",113059001,113059001,.03,"DT")
5823091015
583"^DD",113059001,113059001,1,0)
584URL^F^^1;1^K:$L(X)>240!($L(X)<3) X
585"^DD",113059001,113059001,1,.1)
586URL FOR USE WITH THIS TEMPLATE
587"^DD",113059001,113059001,1,3)
588
589"^DD",113059001,113059001,1,21,0)
590^^1^1^3120504^
591"^DD",113059001,113059001,1,21,1,0)
592This is the Soap Request endpoint where the Soap Request must be sent.
593"^DD",113059001,113059001,1,"DT")
5943120504
595"^DD",113059001,113059001,2,0)
596WSDL URL^F^^2;1^K:$L(X)>240!($L(X)<3) X
597"^DD",113059001,113059001,2,.1)
598URL WHERE THE WSDL XML IS FOUND
599"^DD",113059001,113059001,2,3)
600URL WHERE THE WSDL XML IS FOUND
601"^DD",113059001,113059001,2,"DT")
6023091015
603"^DD",113059001,113059001,2.1,0)
604XML^113059001.01^^3;0
605"^DD",113059001,113059001,2.1,21,0)
606^^2^2^3120504^
607"^DD",113059001,113059001,2.1,21,1,0)
608Contains sample XML Soaps to send to the web service. These are then
609"^DD",113059001,113059001,2.1,21,2,0)
610compiled to form the Template XML stored in the Template XML field.
611"^DD",113059001,113059001,2.1,"DT")
6123091015
613"^DD",113059001,113059001,2.2,0)
614XML HEADER^113059001.02^^7;0
615"^DD",113059001,113059001,2.2,21,0)
616^^2^2^3120504^
617"^DD",113059001,113059001,2.2,21,1,0)
618This contains the HTTP request headers for getting the XML field. It does
619"^DD",113059001,113059001,2.2,21,2,0)
620not contain the XML <? xml ... ?> header.
621"^DD",113059001,113059001,2.2,"DT")
6223090925
623"^DD",113059001,113059001,2.3,0)
624MIME TYPE^F^^8;1^K:$L(X)>100!($L(X)<3) X
625"^DD",113059001,113059001,2.3,.1)
626MIME TYPE FOR THE XML MESSAGE
627"^DD",113059001,113059001,2.3,3)
628MIME TYPE FOR THE XML MESSAGE i.e. text/xml
629"^DD",113059001,113059001,2.3,"DT")
6303120504
631"^DD",113059001,113059001,2.4,0)
632PROXY SERVER^F^^8;2^K:$L(X)>100!($L(X)<3) X
633"^DD",113059001,113059001,2.4,.1)
634
635"^DD",113059001,113059001,2.4,3)
636OPTIONAL PROXY SERVER TO USE
637"^DD",113059001,113059001,2.4,"DT")
6383120504
639"^DD",113059001,113059001,2.5,0)
640XPATH REDUCTION STRING^F^^9;1^K:$L(X)>240!($L(X)<3) X
641"^DD",113059001,113059001,2.5,.1)
642
643"^DD",113059001,113059001,2.5,3)
644Answer must be 3-240 characters in length
645"^DD",113059001,113059001,2.5,21,0)
646^^1^1^3120504^
647"^DD",113059001,113059001,2.5,21,1,0)
648XPATH STRING TO REDUCE XPATH SIZE
649"^DD",113059001,113059001,2.5,"DT")
6503120504
651"^DD",113059001,113059001,3,0)
652TEMPLATE XML^113059001.03^^4;0
653"^DD",113059001,113059001,3,21,0)
654^^20^20^3120504^
655"^DD",113059001,113059001,3,21,1,0)
656This field holds a compliled XML template (generated by COMPILE^C0PSOAP)
657"^DD",113059001,113059001,3,21,2,0)
658that contains prototype XML with @@ escaped fields for substitution
659"^DD",113059001,113059001,3,21,3,0)
660processing by MAP^C0CXPATH
661"^DD",113059001,113059001,3,21,4,0)
662
663"^DD",113059001,113059001,3,21,5,0)
664Example of variable interpolation:
665"^DD",113059001,113059001,3,21,6,0)
666<Name>@@PATIENTNAME@@</Name>
667"^DD",113059001,113059001,3,21,7,0)
668
669"^DD",113059001,113059001,3,21,8,0)
670becomes:
671"^DD",113059001,113059001,3,21,9,0)
672
673"^DD",113059001,113059001,3,21,10,0)
674<Name>Mouse,Mickey</Name>
675"^DD",113059001,113059001,3,21,11,0)
676
677"^DD",113059001,113059001,3,21,12,0)
678Example of field interpolation based on an XPATH:
679"^DD",113059001,113059001,3,21,13,0)
680<PatientID>
681"^DD",113059001,113059001,3,21,14,0)
682//soap:Envelope/soap:Body/GetPatientFullMedicationHistory5/patientRequest
683"^DD",113059001,113059001,3,21,15,0)
684/PatientId
685"^DD",113059001,113059001,3,21,16,0)
686</PatientID>
687"^DD",113059001,113059001,3,21,17,0)
688
689"^DD",113059001,113059001,3,21,18,0)
690becomes:
691"^DD",113059001,113059001,3,21,19,0)
692
693"^DD",113059001,113059001,3,21,20,0)
694<PatientID>98129749824</PatientID)
695"^DD",113059001,113059001,3,"DT")
6963091015
697"^DD",113059001,113059001,4,0)
698BINDING^113059001.04^^5;0
699"^DD",113059001,113059001,4,21,0)
700^^5^5^3120507^
701"^DD",113059001,113059001,4,21,1,0)
702This multiple contains data which is used to drive the XML Template
703"^DD",113059001,113059001,4,21,2,0)
704Processor to replace @@...@@ elements in the Template XML with actual
705"^DD",113059001,113059001,4,21,3,0)
706data. After actual data is in place, it is sent over to the WebService.
707"^DD",113059001,113059001,4,21,4,0)
708
709"^DD",113059001,113059001,4,21,5,0)
710The code that does the processing is in BIND^C0PMAIN.
711"^DD",113059001,113059001,4,"DT")
7123091015
713"^DD",113059001,113059001,5,0)
714INCLUDE TEMPLATE^113059001.05^^10;0
715"^DD",113059001,113059001,5,21,0)
716^^4^4^3120507^
717"^DD",113059001,113059001,5,21,1,0)
718This multiple will allow a more dynamic slicing of Template XMLs where
719"^DD",113059001,113059001,5,21,2,0)
720specific sections can be included as part of a bigger XML.
721"^DD",113059001,113059001,5,21,3,0)
722
723"^DD",113059001,113059001,5,21,4,0)
724Currently not used in eRx 1.0.
725"^DD",113059001,113059001.01,0)
726XML SUB-FIELD^^.01^1
727"^DD",113059001,113059001.01,0,"DT")
7283090913
729"^DD",113059001,113059001.01,0,"NM","XML")
730
731"^DD",113059001,113059001.01,0,"UP")
732113059001
733"^DD",113059001,113059001.01,.01,0)
734XML^WLx^^0;1
735"^DD",113059001,113059001.01,.01,.1)
736
737"^DD",113059001,113059001.01,.01,3)
738
739"^DD",113059001,113059001.01,.01,"DT")
7403120504
741"^DD",113059001,113059001.02,0)
742XML HEADER SUB-FIELD^^.01^1
743"^DD",113059001,113059001.02,0,"DT")
7443090925
745"^DD",113059001,113059001.02,0,"NM","XML HEADER")
746
747"^DD",113059001,113059001.02,0,"UP")
748113059001
749"^DD",113059001,113059001.02,.01,0)
750XML HEADERS^WLx^^0;1
751"^DD",113059001,113059001.02,.01,.1)
752
753"^DD",113059001,113059001.02,.01,3)
754
755"^DD",113059001,113059001.02,.01,"DT")
7563120504
757"^DD",113059001,113059001.03,0)
758TEMPLATE XML SUB-FIELD^^.01^1
759"^DD",113059001,113059001.03,0,"DT")
7603090913
761"^DD",113059001,113059001.03,0,"NM","TEMPLATE XML")
762
763"^DD",113059001,113059001.03,0,"UP")
764113059001
765"^DD",113059001,113059001.03,.01,0)
766TEMPLATE XML^WLx^^0;1
767"^DD",113059001,113059001.03,.01,.1)
768
769"^DD",113059001,113059001.03,.01,3)
770
771"^DD",113059001,113059001.03,.01,"DT")
7723120504
773"^DD",113059001,113059001.04,0)
774BINDING SUB-FIELD^^4^8
775"^DD",113059001,113059001.04,0,"DT")
7763091015
777"^DD",113059001,113059001.04,0,"NM","BINDING")
778
779"^DD",113059001,113059001.04,0,"UP")
780113059001
781"^DD",113059001,113059001.04,.01,0)
782XPATH^MF^^0;1^K:$L(X)>240!($L(X)<3) X
783"^DD",113059001,113059001.04,.01,.1)
784BINDING XPATH
785"^DD",113059001,113059001.04,.01,1,0)
786^.1^^0
787"^DD",113059001,113059001.04,.01,3)
788XPATH or Variable Name
789"^DD",113059001,113059001.04,.01,21,0)
790^^1^1^3120507^
791"^DD",113059001,113059001.04,.01,21,1,0)
792Contains either the XPATH or variable name in @@..@@ to substitute.
793"^DD",113059001,113059001.04,.01,"DT")
7943120507
795"^DD",113059001,113059001.04,.05,0)
796INDEXED BY^S^DFN:PATIENT;DUZ:PROVIDER;ACCT:ACCOUNT;LOC:LOCATION;^0;2^Q
797"^DD",113059001,113059001.04,.05,.1)
798
799"^DD",113059001,113059001.04,.05,3)
800INDEXED BY - DFN OR DUZ OR ACCOUNT OR LOCATION
801"^DD",113059001,113059001.04,.05,21,0)
802^^2^2^3120507^
803"^DD",113059001,113059001.04,.05,21,1,0)
804This functions almost as a 'variable pointer' for the code. The code
805"^DD",113059001,113059001.04,.05,21,2,0)
806uses this to figure out which file to retrieve data from.
807"^DD",113059001,113059001.04,.05,"DT")
8083120507
809"^DD",113059001,113059001.04,1,0)
810FILEMAN FIELD NAME^F^^1;1^K:$L(X)>80!($L(X)<3) X
811"^DD",113059001,113059001.04,1,.1)
812NAME OF FILEMAN FIELD
813"^DD",113059001,113059001.04,1,3)
814FILEMAN FIELD NAME
815"^DD",113059001,113059001.04,1,21,0)
816^^2^2^3120507^
817"^DD",113059001,113059001.04,1,21,1,0)
818This field is for documentation only; the actual field is in #1.2 FILEMAN
819"^DD",113059001,113059001.04,1,21,2,0)
820FIELD NUMBER.
821"^DD",113059001,113059001.04,1,"DT")
8223120507
823"^DD",113059001,113059001.04,1.1,0)
824FILEMAN FILE POINTER^P1'^DIC(^1;2^Q
825"^DD",113059001,113059001.04,1.1,.1)
826
827"^DD",113059001,113059001.04,1.1,3)
828Fileman File
829"^DD",113059001,113059001.04,1.1,21,0)
830^^1^1^3120507^
831"^DD",113059001,113059001.04,1.1,21,1,0)
832Fileman file to retrieve data from for the element.
833"^DD",113059001,113059001.04,1.1,"DT")
8343120507
835"^DD",113059001,113059001.04,1.2,0)
836FILEMAN FIELD NUMBER^NJ22,9^^1;3^K:+X'=X!(X>999999999999)!(X<.000000001)!(X?.E1"."10.N) X
837"^DD",113059001,113059001.04,1.2,.1)
838
839"^DD",113059001,113059001.04,1.2,3)
840FILEMAN FIELD NUMBER
841"^DD",113059001,113059001.04,1.2,21,0)
842^^1^1^3120507^
843"^DD",113059001,113059001.04,1.2,21,1,0)
844Field to use for the file entered (1.1 FILEMAN FILE POINTER)
845"^DD",113059001,113059001.04,1.2,"DT")
8463120507
847"^DD",113059001,113059001.04,2,0)
848VARIABLE NAME^F^^1;4^K:$L(X)>80!($L(X)<3) X
849"^DD",113059001,113059001.04,2,.1)
850
851"^DD",113059001,113059001.04,2,3)
852Name of a runtime variable
853"^DD",113059001,113059001.04,2,21,0)
854^^3^3^3120507^
855"^DD",113059001,113059001.04,2,21,1,0)
856Runtime Variable to use for the data (instead of retrieving data from
857"^DD",113059001,113059001.04,2,21,2,0)
858Fileman File/Field). If this is specified, it override Fileman File/Field
859"^DD",113059001,113059001.04,2,21,3,0)
860data in the runtime processor.
861"^DD",113059001,113059001.04,2,"DT")
8623120507
863"^DD",113059001,113059001.04,3,0)
864SQLI FIELD NAME^F^^2;1^K:$L(X)>80!($L(X)<3) X
865"^DD",113059001,113059001.04,3,.1)
866
867"^DD",113059001,113059001.04,3,3)
868
869"^DD",113059001,113059001.04,3,21,0)
870^^1^1^3120507^
871"^DD",113059001,113059001.04,3,21,1,0)
872Not used in eRx.
873"^DD",113059001,113059001.04,3,"DT")
8743120507
875"^DD",113059001,113059001.04,4,0)
876CCR VARIABLE^P170^C0CDIC(170,^2;2^Q
877"^DD",113059001,113059001.04,4,.1)
878
879"^DD",113059001,113059001.04,4,21,0)
880^^1^1^3120507^
881"^DD",113059001,113059001.04,4,21,1,0)
882Pointer to the CCR dictionary for binding. Not used in eRx.
883"^DD",113059001,113059001.04,4,"DT")
8843120507
885"^DD",113059001,113059001.05,0)
886INCLUDE TEMPLATE SUB-FIELD^^1^2
887"^DD",113059001,113059001.05,0,"DT")
8883091016
889"^DD",113059001,113059001.05,0,"IX","B",113059001.05,.01)
890
891"^DD",113059001,113059001.05,0,"NM","INCLUDE TEMPLATE")
892
893"^DD",113059001,113059001.05,0,"UP")
894113059001
895"^DD",113059001,113059001.05,.01,0)
896INCLUDE TEMPLATE NAME^MF^^0;1^K:$L(X)>30!($L(X)<3) X
897"^DD",113059001,113059001.05,.01,.1)
898
899"^DD",113059001,113059001.05,.01,1,0)
900^.1
901"^DD",113059001,113059001.05,.01,1,1,0)
902113059001.05^B
903"^DD",113059001,113059001.05,.01,1,1,1)
904S ^C0PX(DA(1),10,"B",$E(X,1,30),DA)=""
905"^DD",113059001,113059001.05,.01,1,1,2)
906K ^C0PX(DA(1),10,"B",$E(X,1,30),DA)
907"^DD",113059001,113059001.05,.01,3)
908Templates to be included during processing
909"^DD",113059001,113059001.05,.01,"DT")
9103120507
911"^DD",113059001,113059001.05,1,0)
912INCLUDE TEMPLATE POINTER^P113059001^C0PX(^0;2^Q
913"^DD",113059001,113059001.05,1,.1)
914
915"^DD",113059001,113059001.05,1,3)
916Pointer to the Included Template
917"^DD",113059001,113059001.05,1,"DT")
9183120507
919"^DIC",113059001,113059001,0)
920C0P XML TEMPLATE^113059001
921"^DIC",113059001,113059001,0,"GL")
922^C0PX(
923"^DIC",113059001,113059001,"%",0)
924^1.005^^0
925"^DIC",113059001,113059001,"%D",0)
926^^38^38^3120504^
927"^DIC",113059001,113059001,"%D",1,0)
928Copyright 2009 George Lilly. Licensed under the terms of the GNU General
929"^DIC",113059001,113059001,"%D",2,0)
930Public License See attached copy of the License.
931"^DIC",113059001,113059001,"%D",3,0)
932
933"^DIC",113059001,113059001,"%D",4,0)
934This program is free software; you can redistribute it and/or modify it
935"^DIC",113059001,113059001,"%D",5,0)
936under the terms of the GNU General Public License as published by the Free
937"^DIC",113059001,113059001,"%D",6,0)
938Software Foundation; either version 2 of the License, or (at your option)
939"^DIC",113059001,113059001,"%D",7,0)
940any later version.
941"^DIC",113059001,113059001,"%D",8,0)
942
943"^DIC",113059001,113059001,"%D",9,0)
944This program is distributed in the hope that it will be useful, but
945"^DIC",113059001,113059001,"%D",10,0)
946WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
947"^DIC",113059001,113059001,"%D",11,0)
948or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
949"^DIC",113059001,113059001,"%D",12,0)
950for more details.
951"^DIC",113059001,113059001,"%D",13,0)
952
953"^DIC",113059001,113059001,"%D",14,0)
954You should have received a copy of the GNU General Public License along
955"^DIC",113059001,113059001,"%D",15,0)
956with this program; if not, write to the Free Software Foundation, Inc., 51
957"^DIC",113059001,113059001,"%D",16,0)
958Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
959"^DIC",113059001,113059001,"%D",17,0)
960
961"^DIC",113059001,113059001,"%D",18,0)
962This file was created by George Lilly for the Oroville Hospital
963"^DIC",113059001,113059001,"%D",19,0)
964ePrescribing project.
965"^DIC",113059001,113059001,"%D",20,0)
966
967"^DIC",113059001,113059001,"%D",21,0)
968It stores XML templates that define web services for use in VistA.
969"^DIC",113059001,113059001,"%D",22,0)
970
971"^DIC",113059001,113059001,"%D",23,0)
972Each template has a name and a pointer to a Web Service record in the C0P
973"^DIC",113059001,113059001,"%D",24,0)
974WEB SERVICE file #113059003. For templates that define external web
975"^DIC",113059001,113059001,"%D",25,0)
976services, there is automation to generate most of this file. If a template
977"^DIC",113059001,113059001,"%D",26,0)
978record has a name and a pointer to its webservice, and a URL to its WSDL
979"^DIC",113059001,113059001,"%D",27,0)
980definition on the external web service, TBLD^C0PWS1(DA) will download the
981"^DIC",113059001,113059001,"%D",28,0)
982WSDL xml, put it in the Raw XML WP field, call INDEX^C0CXPATH to generate
983"^DIC",113059001,113059001,"%D",29,0)
984a template, store the template in the Template WP field, and then generate
985"^DIC",113059001,113059001,"%D",30,0)
986a XPath binding subfile for each XPath in the xml. It will also look to
987"^DIC",113059001,113059001,"%D",31,0)
988see if the XPath binding has already been created for a different template
989"^DIC",113059001,113059001,"%D",32,0)
990pointing to the same web service, and if so, will copy the VistA bindings
991"^DIC",113059001,113059001,"%D",33,0)
992from that definition. Often, multiple templates for the same web service
993"^DIC",113059001,113059001,"%D",34,0)
994will have many XPath definitions in common. So when adding a new web
995"^DIC",113059001,113059001,"%D",35,0)
996service to the system, start with one template, run TBLKD^C0PWS1, and then
997"^DIC",113059001,113059001,"%D",36,0)
998add the VistA binding by hand. After the first one is completed, add the
999"^DIC",113059001,113059001,"%D",37,0)
1000other templates and avoid having to enter the common XPath bindings again
1001"^DIC",113059001,113059001,"%D",38,0)
1002by hand.
1003"^DIC",113059001,"B","C0P XML TEMPLATE",113059001)
1004
1005**END**
1006**END**
Note: See TracBrowser for help on using the repository browser.