Jump to content

Recommended Posts

Hello! Would any of your meditech users care to share some of your rules and calculations? Meditech's knowledge base is sometimes lacking in what you need to build these things. A lot of the keywords have no explanation of how they're formatted when used. I'll start out with one I came up with.

Filling in that patient history was checked when the specimen is received.

I built a t-type test called PT HISTORY. It's default result code is "." without the quotes. This result code's text is "No History\FV".

The other result codes are AN, AP, ABN, etc. The text for these result codes is "History On File\FV".

The "\FV" files and verifies the result in case anyone didn't know that.

In the BB calculation dictionary the trigger test and the target test are both PT HISTORY. I assigned the label "B" to this in the calculation. The calculation is as follows.

;The system will check for patient blood type history.

IF{B=. [f bsp bt]};

In English it says: If B (PT HISTORY) is "." then fill in the blood type from the patient history. In this case if there is nothing in patient history then the "." remains and the result is No History. If there is a type, then that result is put in as the result and displayed as History On File.

This helpful for anyone?

Share this post


Link to post
Share on other sites


We're currently in the midst of switching our Lab's send out reference lab (regular lab, not BB) and we've had to rebuild all of our tests that go out. We have 850 order rules that are only there to make the specimen generate a new label rather than group together on one. These are the [f lord lab link test]( , ) There's also some for bbk and mic. The way this rule works is that you put in a number in the parenthesis, then a comma, then the mnemonic or print number. The first number has to be unique in order for it to not group with other ordered tests. We didn't know you could use the print number instead of the mnemonic until today. Or that variables will work inside the parenthesis. So today I was kicking around and came up with ONE rule to replace the 850 rules. It was so easy I was surprised it worked. I called the rule SEPARATE and made it an order rule. Then used the following logic:

[f lord print#]^P,
[f lord print#]^Q,
[f lord lab link test](Q,P);

In English, the variables P and Q are assigned to the the print number of the test the rule is attached to. Since print numbers are unique you'll never have to worry about these combining with other tests.

Our Meditech contact thought this was a great find and will be evaluating it to add to their knowledge base articles.

Share this post


Link to post
Share on other sites
23 hours ago, Darren said:

;The system will check for patient blood type history.

IF{B=. [f bsp bt]};

In English it says: If B (PT HISTORY) is "." then fill in the blood type from the patient history. In this case if there is nothing in patient history then the "." remains and the result is No History. If there is a type, then that result is put in as the result and displayed as History On File.

This helpful for anyone?

This intrigues me.  Does this calculation automatically fill in the previous history?  I asked Meditech if this was possible and they told me it was not so we are manually resulting the history.

Share this post


Link to post
Share on other sites
9 minutes ago, BankerGirl said:

This intrigues me.  Does this calculation automatically fill in the previous history?  I asked Meditech if this was possible and they told me it was not so we are manually resulting the history.

Yes, it does. It results it as soon as the specimen is received. The result of the calculation will be ABN, ABP, AP, AN, BN, BP, ON, or OP. You can have any of those set as the result code and then make the result text whatever you want. If the calculation sends a blood type I have it translate all of the blood types to History On File. You could leave it the blood type if you want. If no type is sent it just says No History.

I should have also said that the type of calculation is "PRE" and in the trigger test section I have ORD set to N.

Share this post


Link to post
Share on other sites
12 minutes ago, BankerGirl said:

This intrigues me.  Does this calculation automatically fill in the previous history?  I asked Meditech if this was possible and they told me it was not so we are manually resulting the history.

Yes, it does. It results it as soon as the specimen is received. The result of the calculation will be ABN, ABP, AP, AN, BN, BP, ON, or OP. You can have any of those set as the result code and then make the result text whatever you want. If the calculation sends a blood type I have it translate all of the blood types to History On File. You could leave it the blood type if you want. If no type is sent it just says No History.

I should have also said that the type of calculation is "PRE" and in the trigger test section I have ORD set to N.

Share this post


Link to post
Share on other sites

I came up with a reflex rule for our fetal bleed screens. We have the fetal bleed in an Order Group that reflex orders the FBS if a tech says that RhIgG is indicated. We don't run fetal bleeds on patients with a gestational age <14 weeks. You attached the reflex rule to the order group.

We have a custom screen on the RhIgG screen order that requires that the gestational age be entered in a query by nursing. It's a number query.

The logic is:

[q L.FF2]^W,
IF{W<14 [f rflx not ok];
[f rflx ok]};

Our number query for the gestational age is L.FF2. We assign it to the letter W and then the rule says if the number is less than 14 don't reflex, otherwise reflex the FBS.

Share this post


Link to post
Share on other sites

Anyone using the [f qc spec] keyword in calculations so that they work on QC samples? There are no examples of it being used in the Meditech knowledge base. I've got a few calculations that use it and work.

Share this post


Link to post
Share on other sites

Here's the setup I did recently for putting hemacytometers into meditech and have meditech do all of the calculating for the staff.

Here's the RBC or WBC count average formula. R and S are the labels assigned to Side 1 and Side 2 of the hemacytometer

[f qc spec],                     -------This makes it use the calculation for the qc test as well. (I'm a one man paper eliminating machine.)
S!R^H,                           -------This evaluates side 1 and side 2 and assigns H to the higher number.
S&R^L,                          -------This evaluates side 1 and side 2 and assigns L to the lower number.
((H-L):2D/L:2D)^P,          -------H-L (up to 2 decimal places) divided by L. This is the percent difference in the two sides expressed as a decimal.
IF{P*100>10 ">10%";     -------This multiplies the decimal from above by 100 to make the percentage, then looks to see if it's greater than                                        10%. If it is greater, it displays ">10%" which is an unacceptable result and indicates a recount is required.
P*100'>10 (H+L)/2};       -------If the percentage is less than 10% then it calculates the average count of the two sides.

A separate calculation performs the hemacytometer count for RBC and WBC when the number of fields counted is entered. Much simpler than the above one.

(L/F)*10;        -------L is the the average count from above. F is the number of fields counted. If there is a dilution the staff have to multiply this result by the dilution factor manually.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By BBKaren
      Hi everyone, new to the group.  Our Blood Bank is upgrading from ProVue to a Vision.  We are also upgrading from Meditech Magic 5.67 to Expanse.  I'm wondering if anyone has that set up?  I'm interested in how the interface is working, are you able to run everything you want and have the results cross over?  Any problems?  Information and advice appreciated!  Thanks!
      Karen
    • By BloodbankZ
      I am needing some help setting  up electronic crossmatch in Meditech. I have everything else in place but can not figure out how to prevent EXM in patients who have mixed field reactions. I am wanting to be able to perform the IS serologically as I understand this is needed per CAP and FDA regulations. Has anyone else experience this. We are currently on version 6.08. Thanks in advance!
    • By dmed03
      Trying to get the antigen typings on blood bag units to auto fill into Meditech from the barcode. Any ideas on how to do this?
    • By dmed03
      Hey! Currently when entering a unit of Red cells into Meditech, a Blood bank unit typing is automatically ordered. Any ideas how we can make this specific, so that it only orders it on ONeg and OPos units (instead of every unit)?
    • By Sunshinegirl
      Good Morning and Happy New Year to Everyone,
      I am just inquiring to find out if anyone has any experience with the Meditech Ambulatory System?  We are using it and would like to share ideas and experiences.  I appreciate the help.
      Thanks,
       
  • Advertisement

  • Site Suggestions

    Site Feedback & Suggestions

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.