Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

custom field

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    custom field

    i have a set
    patients
    ----transactions
    --------payments
    ..........
    what i need to do is have multiple payments be linked to a single transaction and multiple transactions linked to a single customer
    ..........

    if i use a common field(patientid) for both tramsactions and payments - all payments for the customer show up in an embedded browse whereas i need only the payments for a single transaction to display - i was thinking about having a "calculated field" in tranactions like patientid + 1 (20001-01) and using that as the linking field between transactions and payments.
    .........
    but i can't figure out how to create it. patientid is a numeric field
    Cole Custom Programming - Terrell, Texas
    972 524 8714
    [email protected]

    ____________________
    "A young man who is not liberal has no heart, but an old man who is not conservative has no mind." GB Shaw

    #2
    RE: custom field

    You could add a calculated field as described, but you don't need to do so. You could accomplish the same thing with a complex linking expression.

    If your patientid is character based and your transaction number is numeric you could use

    patientid+" "+str(transaction number)

    as the linking expression. I put in the space for easier "readability" if you ever need to view it in the expression builder with the "evaluate" button.
    There can be only one.

    Comment


      #3
      RE: custom field

      where does the transaction number come from ---
      Cole Custom Programming - Terrell, Texas
      972 524 8714
      [email protected]

      ____________________
      "A young man who is not liberal has no heart, but an old man who is not conservative has no mind." GB Shaw

      Comment


        #4
        RE: custom field

        patientid(patients)(20001)
        ....patientid(transactions)(20001)
        ....[calculater field(transnumber)=20001-01]
        ....patientid(transactions)(20001)
        ....[calculated field(transnumber)=20001-02]
        ........payments(transnumber) (20001-02)
        ........payments(transnumber) (20001-02)
        Cole Custom Programming - Terrell, Texas
        972 524 8714
        [email protected]

        ____________________
        "A young man who is not liberal has no heart, but an old man who is not conservative has no mind." GB Shaw

        Comment


          #5
          RE: custom field

          I didn't look at your structure closely enough.

          I would recommend that the payments table be a child of the tranactions table which is a child of the patients table. It seems from your posting, and it's hard to demonstrate without vertical lines like the set builder has, that yur payments table is linked directly to the parents table.

          With this structure your problem should vanish.

          I assume you have a link patientid-patientid between patients and transactions and a link transaction number-transaction number between transactions and payments.

          If you decide you want to make the change you could look at patientid records and filter on the "grandchild" values.
          There can be only one.

          Comment


            #6
            RE: custom field

            stan - thank's for staying with me
            yes
            patients ...parent
            ....transactions ... child (1 to many) - patientid linking
            ........payments ... grandchild (1 to many)

            medicaid may pay only part of a particualer charge/transaction - and an additional payment may be made by the patient for the balance and/or an adjustment may be made as a "payment type" to make up the difference.

            the problem is that the customer, a hearing aid company, does not have a unique number for the transaction, like a regular medical office probably would.

            i can, and may have to, just add an auto increment field to transactions and use that as the linking field between transactions and payments - but not display it as it would be 'non-sensical.' my thought was that if i could generate my own transaction number which would be the patient id plus the tranasction number for that patient.

            patient - 30056
            .....transaction 1 30056-01
            .....transaction 2 30056-02
            ..........payment 1 30056-02
            ..........payment 2 30056-02
            ..........payment 3 30056-02
            .....transaction 3 30056-03
            ..........payment 1 30056-03

            does this make sense





            Cole Custom Programming - Terrell, Texas
            972 524 8714
            [email protected]

            ____________________
            "A young man who is not liberal has no heart, but an old man who is not conservative has no mind." GB Shaw

            Comment


              #7
              RE: custom field

              Martin---> I am n not by any stretch of the imagination an Accountant or do I even uderstand the ramifications of what they do (Jake has a great understanding of such things) In my honest opinion, you are making too much out of this. This is what Quicken does.

              Check number is the linking field 'could be 10252, Deposit, ELT etc
              cdate(Date) + Check Number is an index
              Payee 'Who transaction is made for
              (sometimes there are may charges for one payment and is shown on a split screen)
              All is one table.

              Therefore if you have a date and check number and a payee field you cannot every
              get mixed up on records. Everything just needs to be kept within the same sequence. The date field would be Ck_Date and every record would have this date.
              Is this what you are looking for? I have been working on duplication Quicken and the simplistic approach is something to marvel at. Very fast. Hope this is what you are looking for.

              Comment


                #8
                RE: custom field

                Martin,

                I worked in computer operations in a hospital for a number of years. Each patient had their own medical record number (client id). However, each patient also had a unique account number for each visit. This allowed us to look up a patient by their medical record number and see all of their accounts, or if we had a specific account number, look up the activity for that specific billing. When billing medicare, medicaid, insurance companies, etc. we submitted the account number instead of the medical records number. When the payment came in, the breakdown always had the account number on it so that we could apply the payment to that specific account. Then, adjustments (discounts and so on) were made to that account and if any balance remaining, the patient was billed.

                HTH

                Oran

                Comment


                  #9
                  RE: custom field

                  Martin,

                  In reading my post, I realized that I must clarify what a visit meant. It is the initial treatment and all follow up visits. For example, a patient comes to the emergency room and requires stitches and is told to come back for suture removal in 5 days. The charges for the suture removal would be applied to the account number for the initial visit, not a new account number. Hope this makes it a little clearer.

                  Oran

                  Comment


                    #10
                    RE: custom field

                    thank's all ever so much - my main realization is that i was making much abou nothing

                    my solution in plac and working is this
                    there are three files:
                    patient - parent
                    transaction(charge via cpt code) - child - 1 to many
                    and
                    payments - grandchild 1 to many

                    what i have to do is have more than one payment to a transaction (not the patient per sey)

                    i put a field in transactions(transnmbr) and made it an autoincrement and added the same field top payments - then made that the linking field for transactions and payments.

                    works great
                    Cole Custom Programming - Terrell, Texas
                    972 524 8714
                    [email protected]

                    ____________________
                    "A young man who is not liberal has no heart, but an old man who is not conservative has no mind." GB Shaw

                    Comment

                    Working...
                    X