Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: Data management

From   "Nick Cox" <>
To   <>
Subject   st: RE: Data management
Date   Fri, 23 Jul 2010 16:58:57 +0100

. help collapse 


Dilip Pandey

I am analyzing administrative database. There are multiple billing
submitted for one event. I would like to create one record for each
event. Please suggest how to collapse multiple billing records into
one record per event for an individual.


ID            billid       Amt($)                  bill from
    bill thru                 proc1     proc2     proc3     proc4

1              x1           345                         20050128
      20050131             123         345

1              x2           1000                       20050201
     20050203             993         452         462

1              x3           2000                       20050204
     20050206             991

1              x4           150                         20050207
      20050210             414         416

Apparently the billing is for services rendered between 20050128 thru
20050210. Multiple bills/claims were submitted for one episode. I will
highly appreciate suggestion for collapsing information from interim
bills into the final one to create one record for an episode without
loosing information from interim bill/claim.

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index