Produced by Araxis Merge on 4/27/2017 3:14:12 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Thu Apr 27 19:14:12 2017 UTC | ||
| 2 | PRE-Inbound-eRx-2.0.3.040.zip\PS_INB_ERX_DataMgmt\target\PS_INB_ERX_DataMgmt-1.0.2.010-zipfile.zip\INB_ERX2.0\DDL\installation_scripts | SUMMARY_REPORT_VW.sql | Tue Jan 10 13:03:32 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 20 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | create or replace vi ew erx.sum mary_repor t_vw as ( | |||||
| 2 | select pha rm.ncpdp_i d pharmacy _ncpdp_id, pharm.va_ station_id pharmacy_ va_station _id, pharm .division_ name pharm acy_divisi on_name, | |||||
| 3 | pharm.visn visn, | |||||
| 4 | pharm.phar macy_addre ss_line_1| |' '|| | |||||
| 5 | pharm.phar macy_addre ss_line_2| |' '||phar m.pharmacy _city||', '||pharm.p harmacy_st ate||' '|| pharm.phar macy_zipco de pharmac y_address, | |||||
| 6 | sum(decode (inbmsg.me ssage_type , 'NewRx', 1, 0)) ne w_rx_cnt, | |||||
| 7 | sum(decode (inbmsg.me ssage_stat us, '3010' , 1, 0)) n ew_rx_phar m_disabled _at_hub, | |||||
| 8 | sum(decode (inbmsg.me ssage_stat us, '3006' , 1, 0)) n ew_rx_reje cted_at_hu b, | |||||
| 9 | sum(decode ((decode(i nbmsg.pati ent_chk_st atus,'0101 ',1,0) + d ecode(inbm sg.provide r_chk_stat us,'2001', 1,0) + dec ode(inbmsg .drug_chk_ status,'10 01',1,0)), 3, 1, 0)) new_rx_pa ss_auto_ch k, | |||||
| 10 | sum(decode ((decode(i nbmsg.pati ent_chk_st atus,'0101 ',1,0) + d ecode(inbm sg.provide r_chk_stat us,'2001', 1,0) + dec ode(inbmsg .drug_chk_ status,'10 01',1,0)), 3, 0, 1)) | |||||
| 11 | - (sum(dec ode(inbmsg .message_s tatus, '30 06', 1, 0) ) + sum(de code(inbms g.message_ status, '3 010', 1, 0 ))) new_rx _fail_auto _chk, | |||||
| 12 | sum(0 + 0) new_rx_re jected_by_ pharmacist , | |||||
| 13 | sum(0 + 0) new_rx_fi lled, | |||||
| 14 | sum(0 + 0) new_rx_in _process, | |||||
| 15 | trunc(inbm sg.created _date) new _rx_messag e_date | |||||
| 16 | from erx.i nbound_ncp dp_msg inb msg, erx.p harmacy ph arm | |||||
| 17 | where inbm sg.pharmac y_id = pha rm.pharmac y_id | |||||
| 18 | and inbmsg .MESSAGE_S TATUS NOT IN ('0000' ) and inbm sg.message _type in ( 'NewRx') | |||||
| 19 | group by p harm.ncpdp _id, pharm .va_statio n_id, phar m.visn, ph arm.divisi on_name, | |||||
| 20 | pharm.phar macy_addre ss_line_1, pharm.phar macy_addre ss_line_2, pharm.phar macy_city, pharm.phar macy_state ,pharm.pha rmacy_zipc ode,trunc( inbmsg.cre ated_date) ); |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.