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?