Application Facts |
Data Definitions |
Field Information |
Fragment Links |
Knowledge Base |
Accessing Queries |
The BAR.PAT DPM stores all patient related information and is usually popular DPM in which to write an NPR report.
The most popular segments within BAR.PAT to use would most likely be the segments of bar.acct which is the main segment in BAR.PAT and stores the singular patient related information, and child segments bar.acct.insurances which stores the patient's general insurance information, bar.acct.bills which stores the bills a patient has received and relevant billing information, bar.acct.insurance.ledger which is also a child segment of bar.acct and stores billed information per insurance, bar.acct.transactions which stores a list of each and every transaction which happened to a patient and bar.acct.pe.status.vector which stores a snapshot of period end information about a patient account at the end of a period.
In more detail, the segment of bar.acct stores some 400-500 data fields so a large amount of data is stored in this segment. This would be all patient demographic data as well as anything which is "singular" in nature with respect to the patient. In other words, a patient can only have one name, so the name field will be stored in this main segment of bar.acct.
Conversely, the child segments will store MULTIPLE records per patient or multiple records per each record in the main segment. For instance, a patient can have up to 4 insurances, a patient can have multiple bills printed for him or her, and certainly a patient can have many many individual transactions for each patient record in the BAR system.
The segment of bar.acct.transactions is one of the most volumnous files in the entire MEIDTECH system as it literally stores each and every transactions which happens to a patient which is interphased with BAR during his or her stay in the hospital and even beyond. This would include all clinical procedures performed, medications given, operations, lab tests, room charges, room transfers, edits made to the patient's file, bills processed, claims sent to insurance carriers, statements sent, reminders and comments added by billers and collectors, payments received, adjustments made, refersing and flagging individual transactions, refunds processed, etc. etc.
The segment of bar.acct.transactions is a very popular segment to write reports in since it contains such a vast amount and wide variety of information. However, the caution is that virtually any NPR report written in this segment will take a long time to run as in most cases, it must process thousands if not tens or hundreds of thousands of records (depending on the amount of patients stored in the BAR system and the elapsed time since going LIVE with BAR).
The most popular index files in BAR.PAT would most likely be the bar.acct.acct.type.index if selecting by account type, the bar.acct.adm.ser.date.index if selecting patients by their admit or service date, the bar.acct.bar.status.index if selecting only certain BAR statuses for a report, the bar.acct.discharge.date.index if selecting patients by their discharge or service date, bar.acct.number.index if sorting or selecting by patient account number, and the bar.acct.unit.number.index if sorting or selecting by patient's unit number.
A key point about the bar.acct.adm.ser.date.index and the bar.acct.discharge.date.index is that when using these indexes for selecting records, you should not use the fields service.date, admit.date or discharge date as selects as you might expect. These index files are subscripted by the fields bar.adm.ser and bar.dis.ser respectively and these are the fields which must be used as select fields to improve efficiency.
Other common DPM's to use are BAR.BCH which stores batch information, BAR.REV.AT.PI which stores revenue statistics (REV) by account type (AT) and primary insurance (PI), BAR.REV.PROC which stores revenue (REV) by procedure (PROC) and BAR.PROC which is the Procedure Dictionary.
The BAR.BCH DPM in particular is useful when searching for transaction level information for a more current time frame. Typically, batches purge from the system after somewhere between 60 and 120 days. As a result, the BAR.BCH file stores less transaction level data than say the bar.acct.transactions segment in BAR.PAT since patients are not regularly purged and many sites choose to keep patient records on the system for a very long time. As a result, a report which needs to print transaction information for say the last 30 days would most likely be more efficient if written in BAR.BCH as opposed to BAR.PAT.
BAR.PAT field | Field Information |
BAR.PAT.int.number | Equivalent to ADM.PAT.urn or @patient in any of the clinical applications. |
BAR.PAT.number | The field number is the patient account number. The field BAR.PAT.account is a urn. |
BAR.PAT.bar.status |
|
BAR.PAT.pt.balance | self pay balance |
BAR.PAT field | Other Application Field |
BAR.PAT.int.number | ADM.PAT.urn ABS.PAT.adm.urn LAB.C.PAT.patient LAB.L.SPEC.patient NUR.PAT.patient NUR.PC.WORK.patient OE.PAT.patient OE.ORD.patient PHA.PAT.pha.patient PHA.RX.patient SCH.PAT.acct.number |
BAR.PAT.number |
ADM.PAT.acct.number ABS.PAT.account.number RADRW.EXAM.exam.account |
BAR.PAT.unit.number | ABS.PAT.unit.number ADM.PAT.unit.number ADM.PAT.unit.number.canada ADM.PAT.unit.number.display.only ADM.PAT.unit.number.pre.er ADM.PAT.unit.number.quick.reg ADM.PAT.unit.number.reg.summary ADM.PAT.unit.number.sch ADM.PAT.unit.number.sch.canada ADM.PAT.unit.number.sch.short ADM.PAT.unit.number.sch.short.can ADM.PAT.unit.number.short LAB.C.PAT.unit.number MRI.PAT.ass.unit.number MRI.PAT.edit.unit.number MRI.PAT.ep.unit.number MRI.PAT.fast.unit.number MRI.PAT.cnv.unit.number MRI.PAT.mf.unit.number MRI.PAT.old.unit.number MRI.PAT.unit.number MRI.PAT.merged.unit.number MRI.PAT.px.unit.number MRI.PAT.merge.unit.number MRI.PAT.mrf.aud.unit.number MRI.PAT.xfer.new.unit.number MRI.DRC.er.unit.number MRI.DRC.unit.number NUR.PAT.unit.number OE.PAT.unit.number PHA.PAT.unit.number RADRW.PATIENT.unit.number |
Type of Query | Segment | Field |
single response account specific | BAR.PAT.bar.acct.customer.def.queries | BAR.PAT.cd.query (mnemonic) BAR.PAT.cd.response |
multiple response account specific | BAR.PAT.bar.acct.cust.def.mult.queries | BAR.PAT.cdm.seq.no (sequence
number) BAR.PAT.cdm.response |
single response insurance mnemonic specific | BAR.PAT.bar.pat.ins.custom.def.queries | BAR.PAT.ins.cd.query
(mnemonic) BAR.PAT.ins.cd.response |
multiple response insurance mnemonic specific | BAR.PAT.bar.pat.ins.cd.mult.queries | BAR.PAT.ins.cdm.seq.no (sequence
number) BAR.PAT.ins.cdm.response |
single response insurance by queue | BAR.PAT.bar.acct.insurance.queries | BAR.PAT.query.no (queue or order) BAR.PAT.query.mnemonic (mnemonic) BAR.PAT.query.info BAR.PAT.query.text |
account transaction | BAR.PAT.bar.acct.transaction.cdqs | BAR.PAT.txn.cd.query
(mnemonic) BAR.PAT.txn.cd.response |
batch rejected transaction | BAR.BCH.rej.txn.cust.def.queries | BAR.BCH.rej.cd.query
(mnemonic) BAR.BCH.rej.cd.response |
batch transaction Item | BAR.BCH.cust.def.queries | BAR.BCH.cd.query
(mnemonic) BAR.BCH.cd.response |