sHelp
                                     MRM.PAT
     i   2
   mrm.form.appl.id.index
   mrm.pat.invalid.patients
   mrm.patient.file
     mrm.pat.audit.edited.docs
     mrm.pat.audit.printed
     chart.audit.trail
       chart.audit.trail.detail
     mrm.chart.index
     closed.chart.audit.trail
     mrm.disks
       disk.images
     mrm.pat.images
   mrm.pat.xfer.queue
   xfer.repeat.queue

 Ì     i   2
mrm.form.appl.id.index    (form.appl.id.index) 
[form.appl.db,form.appl.form,form.appl.id] = urn
*HGAFAI[iaD,gi,hgdI]

 Field Name                 Len Dat Typ  J  DPM            Offset/Local/VAL                                        
 form.appl.db                12 FREE     L  MIS.APPL       iaD                                                     
 form.appl.form              15 FREE     L  MIS.MR.FORM    gi                                                      
 form.appl.id                10 URN      L                 hgdI                                                        
 form.appl.mrm.doc.urn        9 URN      L  MRM.DOC        *HGAFAI[iaD,gi,hgdI]|1                                  
 form.appl.mrm.urn           30 URN      L  MRM.PAT        *HGAFAI[iaD,gi,hgdI]|0                                  
 Ì     i   2
mrm.pat.invalid.patients    (invalid.patients) 
[inv.pat,inv.doc]
*HGAIP[hga,hgd]

 Field Name                 Len Dat Typ  J  DPM            Offset/Local/VAL                                        
 inv.pat                     30 URN      L  MRM.PAT        hga                                                     
 inv.doc                      9 URN      L  MRM.DOC        hgd                                                     
 inv.reason                  15 CHOICE   L                 *HGAIP[hga,hgd]|0                                           
 inv.text                   100 FREE     L                 *HGAIP[hga,hgd]|1                                           
 Ì     i   2
mrm.patient.file    (main) 
[urn]
*HGA[hga]

 Field Name                 Len Dat Typ  J  DPM            Offset/Local/VAL                                        
 urn                         30 URN      L                 hga                                                         
 account                     30 URN      L  ADM.PAT        *HGA[hga]|1                                             
 account.number              12 FREE     L                 *HGA[hga]|7                                                 
 application.db.job.sect      2 PINT     R                                                                             
 available.to.code            1 YN       L                 *HGA[hga]|6                                                 
 available.to.code.date       8 DATE     L                 *HGA[hga]|9                                                 
 chart.compile.finish         8 PINT     R                 *HGA[hga]|12                                                
 chart.compile.start          8 PINT     R                 *HGA[hga]|11                                                
 created.date                 8 DATE     L                 *HGA[hga]|2                                                 
 created.time                 4 HHMM     L                 *HGA[hga]|3                                                 
 facility                    10 FREE     L  MIS.FACILITY   *HGA[hga]|8                                             
 id                          30 URN      L  MRM.PAT        VAL=@account.number                                     
 image.compile.base.date      8 DATE     L                 *HGA[hga]|10                                                
 last.update                 10 INT      R                 *HGA[hga]|4                                                 
 last.update.user            10 FREE     L  MIS.USER       *HGA[hga]|5                                             
 patient                     25 URN      L  MRI.PAT        *HGA[hga]|0                                             
 purge.base.date              8 DATE     L                 *HGA[hga]|13                                                
 Ì     i   2
mrm.pat.audit.edited.docs    (edited.docs) 
[urn, edit.date,edit.time,edit.count]
*HGA[hga]AU["ED",hgaED,hgaET,hgaE]

 Field Name                 Len Dat Typ  J  DPM            Offset/Local/VAL                                        
 edit.date                    8 DATE     L                 hgaED                                                       
 edit.time                    4 HHMM     L                 hgaET                                                       
 edit.count                   3 URN      L                 hgaE                                                        
 edit.account                30 URN      L  ADM.PAT        *HGA[hga]AU["ED",hgaED,hgaET,hgaE]|13                   
 edit.comment                30 FREE     L                 *HGA[hga]AU["ED",hgaED,hgaET,hgaE]|10                       
 edit.description            30 FREE     L                 *HGA[hga]AU["ED",hgaED,hgaET,hgaE]|6                        
 edit.doc                     9 URN      L  MRM.DOC        *HGA[hga]AU["ED",hgaED,hgaET,hgaE]|2                    
 edit.docid                  15 FREE     L  MIS.MR.FORM    *HGA[hga]AU["ED",hgaED,hgaET,hgaE]|3                    
 edit.facility               10 FREE     L  MIS.FACILITY   *HGA[hga]AU["ED",hgaED,hgaET,hgaE]|0                    
 edit.old.account            30 URN      L  ADM.PAT        *HGA[hga]AU["ED",hgaED,hgaET,hgaE]|11                   
 edit.old.description        30 FREE     L                 *HGA[hga]AU["ED",hgaED,hgaET,hgaE]|9                        
 edit.old.docid              15 FREE     L  MIS.MR.FORM    *HGA[hga]AU["ED",hgaED,hgaET,hgaE]|8                    
 edit.old.patient            25 URN      L  MRI.PAT        *HGA[hga]AU["ED",hgaED,hgaET,hgaE]|7                    
 edit.pages                  10 FREE     L                 *HGA[hga]AU["ED",hgaED,hgaET,hgaE]|5                        
 edit.patient                25 URN      L  MRI.PAT        *HGA[hga]AU["ED",hgaED,hgaET,hgaE]|12                   
 edit.type                    7 CHOICE   L                 *HGA[hga]AU["ED",hgaED,hgaET,hgaE]|4                        
 edit.user                   10 FREE     L  MIS.USER       *HGA[hga]AU["ED",hgaED,hgaET,hgaE]|1                    
 Ì     i   2
mrm.pat.audit.printed    (printed) 
[urn, print.date,print.time,print.count]
*HGA[hga]AU["PP",hgaPD,hgaPT,hgaP]

 Field Name                 Len Dat Typ  J  DPM            Offset/Local/VAL                                        
 print.date                   8 DATE     L                 hgaPD                                                       
 print.time                   4 HHMM     L                 hgaPT                                                       
 print.count                  4 URN      L                 hgaP                                                        
 print.confidential          12 CHOICE   L                 *HGA[hga]AU["PP",hgaPD,hgaPT,hgaP]|2                        
 print.device                15 FREE     L  MRM.SCAN.DICT  *HGA[hga]AU["PP",hgaPD,hgaPT,hgaP]|3                    
 print.document              10 FREE     L  MIS.MRM.DOC    *HGA[hga]AU["PP",hgaPD,hgaPT,hgaP]|5                    
 print.facility              10 FREE     L  MIS.FACILITY   *HGA[hga]AU["PP",hgaPD,hgaPT,hgaP]|0                    
 print.group                 10 FREE     L  MIS.MRM.PRT.GRP*HGA[hga]AU["PP",hgaPD,hgaPT,hgaP]|4                    
 print.user                  10 FREE     L  MIS.USER       *HGA[hga]AU["PP",hgaPD,hgaPT,hgaP]|1                    
 Ì     i   2
chart.audit.trail    (chart.audit.trail) 
[urn, chart.audit.q]
*HGA[hga]A[hgaA]

 Field Name                 Len Dat Typ  J  DPM            Offset/Local/VAL                                        
 chart.audit.q                3 PINT     R                 hgaA                                                        
 chart.audit.account         12 FREE     L                 *HGA[hga]A[hgaA]|8                                          
 chart.audit.activity        20 FREE     L                 *HGA[hga]A[hgaA]|3                                          
 chart.audit.activity.item   30                            *HGA[hga]A[hgaA]|4                                          
 chart.audit.device          10 FREE     L                 *HGA[hga]A[hgaA]|5                                          
 chart.audit.end.date         8 DATE     L                 *HGA[hga]A[hgaA]|6                                          
 chart.audit.end.time         4 TIME     L                 *HGA[hga]A[hgaA]|7                                          
 chart.audit.medical.rec     10 FREE     L                 *HGA[hga]A[hgaA]|10                                         
 chart.audit.minutes          3 PINT     R                 *HGA[hga]A[hgaA]|9                                          
 chart.audit.st.date          8 DATE     L                 *HGA[hga]A[hgaA]|0                                          
 chart.audit.st.time          4 TIME     L                 *HGA[hga]A[hgaA]|1                                          
 chart.audit.user            10 FREE     L  MIS.USER       *HGA[hga]A[hgaA]|2                                      
 chart.audit.user.name       34 FREE     L                 VAL=IF{@MIS.USER.name[@chart.audit..user];@chart.audit      
                                                           VAL=.user}                                                  
 Ì     i   2
chart.audit.trail.detail    (chart.audit.trail.detail) 
[urn,chart.audit.q, chart.audit.doc.urn]
*HGA[hga]A[hgaA]D[hgd]

 Field Name                 Len Dat Typ  J  DPM            Offset/Local/VAL                                        
 chart.audit.doc.urn          9 URN      L  MRM.DOC        hgd                                                     
 chart.audit.desc            30 FREE     L                 *HGA[hga]A[hgaA]D[hgd]|0                                    
 Ì     i   2
mrm.chart.index    (chart.index) 
[urn, form,doc.urn]
*HGA[hga]CI[gi,hgd]

 Field Name                 Len Dat Typ  J  DPM            Offset/Local/VAL                                        
 form                        15 FREE     L  MIS.MR.FORM    gi                                                      
 doc.urn                      9 URN      L  MRM.DOC        hgd                                                     
 application.db              12 FREE     L  MIS.APPL       *HGA[hga]CI[gi,hgd]|2                                   
 application.id              50 FREE     L                 *HGA[hga]CI[gi,hgd]|0                                       
 external.id                 53 FREE     L                 *HGA[hga]CI[gi,hgd]|1                                       
 Ì     i   2
closed.chart.audit.trail    (closed.chart.audit.trail) 
[urn, cchart.audit.q]
*HGA[hga]CCAC[hgaCC]

 Field Name                 Len Dat Typ  J  DPM            Offset/Local/VAL                                        
 cchart.audit.q               4 PINT     R                 hgaCC                                                       
 cchart.audit.account        12 FREE     L                 *HGA[hga]CCAC[hgaCC]|5                                      
 cchart.audit.activity       20 FREE     L                 *HGA[hga]CCAC[hgaCC]|3                                      
 cchart.audit.date            8 DATE     L                 *HGA[hga]CCAC[hgaCC]|0                                      
 cchart.audit.device         10 FREE     L                 *HGA[hga]CCAC[hgaCC]|4                                      
 cchart.audit.form           15 FREE     L  MIS.MR.FORM    *HGA[hga]CCAC[hgaCC]|7                                  
 cchart.audit.med.rec        10 FREE     L                 *HGA[hga]CCAC[hgaCC]|6                                      
 cchart.audit.time            4 HHMM     L                 *HGA[hga]CCAC[hgaCC]|1                                      
 cchart.audit.user           10 FREE     L  MIS.USER       *HGA[hga]CCAC[hgaCC]|2                                  
 cchart.audit.user.name      34 FREE     L                 VAL=IF{@MIS.USER.name[@closed.chart.user];@closed.char      
                                                           VAL=t.user}                                                 
 Ì     i   2
mrm.disks    (disks) 
[urn, disk]
*HGA[hga]DSK[hgk]

 Field Name                 Len Dat Typ  J  DPM            Offset/Local/VAL                                        
 disk                         7 URN      L  MRM.DISK       hgk                                                     
 disk.active                  1 YN       L                 *HGA[hga]DSK[hgk]|0                                         
 Ì     i   2
disk.images    (disk.images) 
[urn,disk, disk.document.urn]
*HGA[hga]DSK[hgk]IM[hgd]

 Field Name                 Len Dat Typ  J  DPM            Offset/Local/VAL                                        
 disk.document.urn            9 URN      L  MRM.DOC        hgd                                                     
 disk.document.id            15 FREE     L  MIS.MR.FORM    *HGA[hga]DSK[hgk]IM[hgd]|0                              
 Ì     i   2
mrm.pat.images    (images) 
[urn, document.urn]
*HGA[hga]IM[hgd]

 Field Name                 Len Dat Typ  J  DPM            Offset/Local/VAL                                        
 document.urn                 9 URN      L  MRM.DOC        hgd                                                     
 document.id                 15 FREE     L  MIS.MR.FORM    *HGA[hga]IM[hgd]|0                                      
 Ì     i   2
mrm.pat.xfer.queue    (xfer.queue) 
[xfer.queue.seq.no]
*HGAXQ[hgaXQ]

 Field Name                 Len Dat Typ  J  DPM            Offset/Local/VAL                                        
 xfer.queue.seq.no           10 PINT     R                 hgaXQ                                                       
 xfer.queue.time             10 FREE     L                 *HGAXQ[hgaXQ]|1                                             
 xfer.queue.urn              30 URN      L  MRM.PAT        *HGAXQ[hgaXQ]|0                                         
 Ì     i   2
xfer.repeat.queue    (xfer.repeat.queue) 
[xfer.repeat.queue.db,xfer.repeat.queue.seq.no]
*HGAXQR[iaD,hgaXQ]

 Field Name                 Len Dat Typ  J  DPM            Offset/Local/VAL                                        
 xfer.repeat.queue.db        12 FREE     L  MIS.APPL       iaD                                                     
 xfer.repeat.queue.seq.no    10 PINT     R                 hgaXQ                                                       
 Ì       2
 INDEX FILE/INTERNAL NAME           SUBSCRIPTS/PHYSICAL BASE

 acct.number.index                  [account.number,urn]
   acct.num.index                     *HGANX[aaA,hga]

 adm.visit.urn.index                [account] = urn
   adm.urn.x                          *HGAX[aa]

 conversion.acct.index              [account.number] = urn
   conversion.acct.x                  ?HGANCX[aaA]

 mrm.pat.created.date.index         [facility,created.date,urn]
   created.date.index                 *HGACX[gqb,hgaCD,hga]

 document.removal.index             [patient,account,document.urn] = @.sd
   doc.rem.x                          *HGADRX[ea,aa,hgd]

 image.compile.date.db.x            [application.db,application.db.job.sect,image.compile.base.date,urn,document.urn
   image.compile.date.db.x            *HGAICD[iaD,sect,hgaID,hga,hgd]

 image.compile.date.index           [image.compile.base.date,urn,document.urn]
   image.compile.date.index           *HGAIC[hgaID,hga,hgd]

 image.compile.failed.x             [document.urn] = urn
   image.compile.failed.x             *HGAICF[hgd]

 medical.record.visit.index         [patient,account] = urn
   mri.adm.urn.x                      *HGAMVX[ea,aa]

 medical.record.urn.index           [patient,urn]
   mri.urn.x                          *HGAMX[ea,hga]

 mrm.pat.remote.coding.index        [available.to.code.date,urn]
   remote.coding.index                *HGAPC[hgaAC,hga]

 urn.acct.num.index                 [urn,account.number]
   urn.acct.num.index                 *HGAUNX[hga,aaA]