sHelp
                                     PHA.INFCE
       2
   pha.interface.discrepancy
     pha.interface.discrepancy.text
   pha.interface.errors
     pha.interface.err.detail.meds
     pha.interface.err.detail.meds
     pha.interface.error.text
   pha.interface.last.txn
   pha.interface.file
     pha.interface.order.med.data

 Ì       2
pha.interface.discrepancy    (discrepancy) 
[dis.seconds,dis.med,dis.machine,dis.drawer,dis.pocket]
:TIFD[tifs,tf,tdv,tifd,tifp]

 Field Name                 Len Dat Typ  J  DPM            Offset/Local/VAL                                        
 dis.seconds                  9 PINT     R                 tifs                                                        
 dis.med                     10 FREE     L  PHA.DRUG       tf                                                      
 dis.machine                 10 FREE     L  PHA.DM         tdv                                                     
 dis.drawer                   2 INT      R                 tifd                                                        
 dis.pocket                   5 FREE     L                 tifp                                                        
 dis.acct.number             12 FREE     L                 :TIFD[tifs,tf,tdv,tifd,tifp]|8                              
 dis.ack.entered              9 PINT     R                 :TIFD[tifs,tf,tdv,tifd,tifp]|10                             
 dis.ack.user                10 FREE     L  MIS.USER       :TIFD[tifs,tf,tdv,tifd,tifp]|11                         
 dis.actual                   5 INT      R                 :TIFD[tifs,tf,tdv,tifd,tifp]|7                              
 dis.date                     8 DATE     L                 VAL=%Z.date.in.magic(@dis.seconds)                          
 dis.entered                  9 PINT     R                 :TIFD[tifs,tf,tdv,tifd,tifp]|2                              
 dis.entered.date             8 DATE     L                 VAL=%Z.date.in.magic(@dis.entered)                          
 dis.entered.time             4 HHMM     L                 VAL=%Z.time.out(@dis.entered)                               
 dis.expected                 5 INT      R                 :TIFD[tifs,tf,tdv,tifd,tifp]|6                              
 dis.infce                    5 CHOICE   L                 :TIFD[tifs,tf,tdv,tifd,tifp]|1                              
 dis.last.acct.number        12 FREE     L                 :TIFD[tifs,tf,tdv,tifd,tifp]L|8                             
 dis.last.actual              5 INT      R                 :TIFD[tifs,tf,tdv,tifd,tifp]L|7                             
 dis.last.entered             9 PINT     R                 :TIFD[tifs,tf,tdv,tifd,tifp]L|2                             
 dis.last.entered.date        8 DATE     L                 VAL=%Z.date.in.magic(@dis.last.entered)                     
 dis.last.entered.time        4 HHMM     L                 VAL=%Z.time.out(@dis.last.entered)                          
 dis.last.expected            5 INT      R                 :TIFD[tifs,tf,tdv,tifd,tifp]L|6                             
 dis.last.infce               5 CHOICE   L                 :TIFD[tifs,tf,tdv,tifd,tifp]L|1                             
 dis.last.qty                 5 INT      R                 :TIFD[tifs,tf,tdv,tifd,tifp]L|5                             
 dis.last.type                2 CHOICE   L                 :TIFD[tifs,tf,tdv,tifd,tifp]L|0                             
 dis.last.unit.number        10 FREE     L                 :TIFD[tifs,tf,tdv,tifd,tifp]L|9                             
 dis.last.user               10 FREE     L  MIS.USER       :TIFD[tifs,tf,tdv,tifd,tifp]L|3                         
 dis.last.witness            10 FREE     L  MIS.USER       :TIFD[tifs,tf,tdv,tifd,tifp]L|4                         
 dis.qty                      5 INT      R                 :TIFD[tifs,tf,tdv,tifd,tifp]|5                              
 dis.time                     4 HHMM     L                 VAL=%Z.time.out(@dis.seconds)                               
 dis.type                     2 CHOICE   L                 :TIFD[tifs,tf,tdv,tifd,tifp]|0                              
 dis.unit.number             10 FREE     L                 :TIFD[tifs,tf,tdv,tifd,tifp]|9                              
 dis.user                    10 FREE     L  MIS.USER       :TIFD[tifs,tf,tdv,tifd,tifp]|3                          
 dis.witness                 10 FREE     L  MIS.USER       :TIFD[tifs,tf,tdv,tifd,tifp]|4                          
 Ì        2
pha.interface.discrepancy.text    (discrepancy.text) 
[dis.seconds,dis.med,dis.machine,dis.drawer,dis.pocket, dis.text.q]
:TIFD[tifs,tf,tdv,tifd,tifp]T[tifq]

 Field Name                 Len Dat Typ  J  DPM            Offset/Local/VAL                                        
 dis.text.q                   2 PINT     R                 tifq                                                        
 dis.text                    80 FREE     L                 :TIFD[tifs,tf,tdv,tifd,tifp]T[tifq]                         
 Ì       2
pha.interface.errors    (errors) 
[err.seconds,err.q]
:TIFE[tifs,tifq]

 Field Name                 Len Dat Typ  J  DPM            Offset/Local/VAL                                        
 err.seconds                  9 PINT     R                 tifs                                                        
 err.q                        3 PINT     R                 tifq                                                        
 err.acct.number             20 FREE     L                 :TIFE[tifs,tifq]D|10                                        
 err.ack.entered              9 PINT     R                 :TIFE[tifs,tifq]|2                                          
 err.ack.user                10 FREE     L  MIS.USER       :TIFE[tifs,tifq]|3                                      
 err.actual                   5 INTZ     R                 :TIFE[tifs,tifq]D|17                                        
 err.date                     8 DATE     L                 VAL=%Z.date.in.magic(err.seconds)                           
 err.drawer                   2 INT      R                 :TIFE[tifs,tifq]D|14                                        
 err.entered                  9 PINT     R                 :TIFE[tifs,tifq]D|2                                         
 err.entered.date             8 DATE     L                 VAL=%Z.date.in.magic(@err.entered)                          
 err.entered.time             4 HHMM     L                 VAL=%Z.time.out(@err.entered)                               
 err.expected                 5 INTZ     R                 :TIFE[tifs,tifq]D|16                                        
 err.facility                10 FREE     L  MIS.FACILITY   :TIFE[tifs,tifq]D|3                                     
 err.full                     5 INTZ     R                 :TIFE[tifs,tifq]D|18                                        
 err.infce                    5 CHOICE   L                 :TIFE[tifs,tifq]D|1                                         
 err.machine                 10 FREE     L  PHA.DM         :TIFE[tifs,tifq]D|4                                     
 err.med                     10 FREE     L  PHA.DRUG       :TIFE[tifs,tifq]D|5                                     
 err.msg                     70 FREE     L                 :TIFE[tifs,tifq]|0                                          
 err.par                      5 INTZ     R                 :TIFE[tifs,tifq]D|19                                        
 err.patient.name            30 FREE     L                 :TIFE[tifs,tifq]D|20                                        
 err.physician               10 FREE     L  MIS.DOC.DICT   :TIFE[tifs,tifq]D|13                                    
 err.pocket                   5 FREE     L                 :TIFE[tifs,tifq]D|15                                        
 err.qty                      5 INTZ     R                 :TIFE[tifs,tifq]D|8                                         
 err.repr.entered             9 PINT     R                 :TIFE[tifs,tifq]|4                                          
 err.repr.user               10 FREE     L  MIS.USER       :TIFE[tifs,tifq]|5                                      
 err.rx.number               11 FREE     L                 :TIFE[tifs,tifq]D|12                                        
 err.status                   1 CHOICE   L                 :TIFE[tifs,tifq]|1                                          
 err.time                     4 HHMM     L                 VAL=%Z.time.out(err.seconds)                                
 err.total                    8 INTZ     R                 :TIFE[tifs,tifq]D|9                                         
 err.type                     2 CHOICE   L                 :TIFE[tifs,tifq]D|0                                         
 err.unit.number             10 FREE     L                 :TIFE[tifs,tifq]D|11                                        
 err.user                    10 FREE     L  MIS.USER       :TIFE[tifs,tifq]D|6                                     
 err.witness                 10 FREE     L  MIS.USER       :TIFE[tifs,tifq]D|7                                     
 Ì        2
pha.interface.err.detail.meds    (errors.detail.meds) 
[err.seconds,err.q, err.med.q]
:TIFE[tifs,tifq]MEDQ[tifMQ]

 Field Name                 Len Dat Typ  J  DPM            Offset/Local/VAL                                        
 err.med.q                    3 PINT     R                 tifMQ                                                       
 err.med.actual               5 INTZ     R                 :TIFE[tifs,tifq]MEDQ[tifMQ]|6                               
 err.med.drawer               2 INT      R                 :TIFE[tifs,tifq]MEDQ[tifMQ]|3                               
 err.med.expected             5 INTZ     R                 :TIFE[tifs,tifq]MEDQ[tifMQ]|5                               
 err.med.full                 5 INT      R                 :TIFE[tifs,tifq]MEDQ[tifMQ]|7                               
 err.med.med                 10 FREE     L  PHA.DRUG       :TIFE[tifs,tifq]MEDQ[tifMQ]|0                           
 err.med.par                  5 INT      R                 :TIFE[tifs,tifq]MEDQ[tifMQ]|8                               
 err.med.pocket               5 FREE     L                 :TIFE[tifs,tifq]MEDQ[tifMQ]|4                               
 err.med.qty                  5 INTZ     R                 :TIFE[tifs,tifq]MEDQ[tifMQ]|1                               
 err.med.total                8 INTZ     R                 :TIFE[tifs,tifq]MEDQ[tifMQ]|2                               
 Ì        2
pha.interface.err.detail.meds    (errors.detail.meds) 
[err.seconds,err.q, err.med.q]
:TIFE[tifs,tifq]MEDQ[tifMQ]

 Field Name                 Len Dat Typ  J  DPM            Offset/Local/VAL                                        
 err.med.q                    3 PINT     R                 tifMQ                                                       
 err.med.actual               5 INTZ     R                 :TIFE[tifs,tifq]MEDQ[tifMQ]|6                               
 err.med.drawer               2 INT      R                 :TIFE[tifs,tifq]MEDQ[tifMQ]|3                               
 err.med.expected             5 INTZ     R                 :TIFE[tifs,tifq]MEDQ[tifMQ]|5                               
 err.med.full                 5 INT      R                 :TIFE[tifs,tifq]MEDQ[tifMQ]|7                               
 err.med.med                 10 FREE     L  PHA.DRUG       :TIFE[tifs,tifq]MEDQ[tifMQ]|0                           
 err.med.par                  5 INT      R                 :TIFE[tifs,tifq]MEDQ[tifMQ]|8                               
 err.med.pocket               5 FREE     L                 :TIFE[tifs,tifq]MEDQ[tifMQ]|4                               
 err.med.qty                  5 INTZ     R                 :TIFE[tifs,tifq]MEDQ[tifMQ]|1                               
 err.med.total                8 INTZ     R                 :TIFE[tifs,tifq]MEDQ[tifMQ]|2                               
 Ì        2
pha.interface.error.text    (errors.text) 
[err.seconds,err.q, err.text.q]
:TIFE[tifs,tifq]T[tifeq]

 Field Name                 Len Dat Typ  J  DPM            Offset/Local/VAL                                        
 err.text.q                   2 PINT     R                 tifeq                                                       
 err.text                    80 FREE     L                 :TIFE[tifs,tifq]T[tifeq]                                    
 Ì       2
pha.interface.last.txn    (last.txn) 
[last.med,last.machine,last.drawer,last.pocket]
:TIFL[tf,tdv,tifd,tifp]

 Field Name                 Len Dat Typ  J  DPM            Offset/Local/VAL                                        
 last.med                    10 FREE     L  PHA.DRUG       tf                                                      
 last.machine                10 FREE     L  PHA.DM         tdv                                                     
 last.drawer                  2 INT      R                 tifd                                                        
 last.pocket                  5 FREE     L                 tifp                                                        
 last.acct.number            12 FREE     L                 :TIFL[tf,tdv,tifd,tifp]|8                                   
 last.actual                  5 INT      R                 :TIFL[tf,tdv,tifd,tifp]|7                                   
 last.entered                 9 PINT     R                 :TIFL[tf,tdv,tifd,tifp]|2                                   
 last.entered.date            8 DATE     L                 VAL=%Z.date.in.magic(@last.entered)                         
 last.entered.time            4 HHMM     L                 VAL=%Z.time.out(@last.entered)                              
 last.expected                5 INT      R                 :TIFL[tf,tdv,tifd,tifp]|6                                   
 last.infce                   5 CHOICE   L                 :TIFL[tf,tdv,tifd,tifp]|1                                   
 last.qty                     5 INT      R                 :TIFL[tf,tdv,tifd,tifp]|5                                   
 last.type                    2 CHOICE   L                 :TIFL[tf,tdv,tifd,tifp]|0                                   
 last.unit.number            10 FREE     L                 :TIFL[tf,tdv,tifd,tifp]|9                                   
 last.user                   10 FREE     L  MIS.USER       :TIFL[tf,tdv,tifd,tifp]|3                               
 last.witness                10 FREE     L  MIS.USER       :TIFL[tf,tdv,tifd,tifp]|4                               
 Ì       2
pha.interface.file    (main) 
[urn]
?TIF[tif]

 Field Name                 Len Dat Typ  J  DPM            Offset/Local/VAL                                        
 urn                         10 URN      L                 tif                                                         
 entered                      9 PINT     R                 ?TIF[tif]|2                                                 
 entered.date                 8 DATE     L                 VAL=%Z.date.in.magic(@entered)                              
 entered.time                 4 HHMM     L                 VAL=%Z.time.out(@entered)                                   
 facility                    10 FREE     L  MIS.FACILITY   ?TIF[tif]|3                                             
 infce                        5 CHOICE   L                 ?TIF[tif]|1                                                 
 med                         10 FREE     L  PHA.DRUG       ?TIF[tif]D|0                                            
 med.class                    1 FREE     L                 ?TIF[tif]D|2                                                
 med.form                    10 FREE     L  PHA.FORMS      ?TIF[tif]D|3                                            
 med.id                      30 FREE     L                 ?TIF[tif]D|1                                                
 ord.acct.number             12 FREE     L                 ?TIF[tif]O|5                                                
 ord.comment                 30 FREE     L                 ?TIF[tif]O|10                                               
 ord.med                     10 FREE     L  PHA.DRUG       ?TIF[tif]O|6                                            
 ord.notation                30 FREE     L                 ?TIF[tif]O|9                                                
 ord.one.time                 1 CHOICE   L                 ?TIF[tif]O|8                                                
 ord.physician               10 FREE     L  MIS.DOC.DICT   ?TIF[tif]O|7                                            
 ord.rx.number               10 FREE     L                 ?TIF[tif]O|0                                                
 ord.start.date               8 DATE     L                 ?TIF[tif]O|1                                                
 ord.start.time               4 HHMM     L                 ?TIF[tif]O|2                                                
 ord.stop.date                8 DATE     L                 ?TIF[tif]O|3                                                
 ord.stop.time                4 HHMM     L                 ?TIF[tif]O|4                                                
 ord.unit.number             10 FREE     L                 ?TIF[tif]O|11                                               
 type                         2 CHOICE   L                 ?TIF[tif]|0                                                 
 Ì        2
pha.interface.order.med.data    (order.med.data) 
[urn, out.med.q]
?TIF[tif]O["MEDQ",tifMQ]

 Field Name                 Len Dat Typ  J  DPM            Offset/Local/VAL                                        
 out.med.q                    3 PINT     R                 tifMQ                                                       
 out.order.disp.forms         9 PDEC     R                 ?TIF[tif]O["MEDQ",tifMQ]|3                                  
 out.order.disp.units        10 FREE     L                 ?TIF[tif]O["MEDQ",tifMQ]|4                                  
 out.order.dose              10 DECZ     R                 ?TIF[tif]O["MEDQ",tifMQ]|1                                  
 out.order.med               10 FREE     L  PHA.DRUG       ?TIF[tif]O["MEDQ",tifMQ]|0                              
 out.order.volume             9 DECZ     R                 ?TIF[tif]O["MEDQ",tifMQ]|2