Monday, September 30, 2013

How to Add a Clinical Question in Orchard AP



  1. Create a 'Test' item
    1. File >> Table Setup >> Tests >> New
    2. Enter Test name, Abbreviation
    3. Keep Enterability as Enterable as numeric and text/choice list  (Keep this setting even if you want the question to have an enumerated set of answers, the answer choices will be set later.)
    4. Set Location (I set it to Veracyte, but it probably doesn't matter)
    5. Save


  2. Create a 'Clinical Information' item 
    1. File >> Table Setup >> Clinical Information
    2. Enter the Question. Note, questions are asked in Alphanumeric order.  You can prefix a number to control question order.
    3. Select the 'Tied Test' that you created in step 1.
    4. Set the 'Answer Type'.  Use 'Pre-Defined Text' for a question with Enumerated Answers.
    5. Set the Valid Answers (if applicable)
    6. Save









       
  3.  Attach the 'Clinical Information' to the 'Specimen'
    1. File >> Table Setup >> Specimens
    2. Click the Specimen you want to attach the Clinical Information To
    3. Click 'Clinical Info'
    4. Find the Clinical Information you created in step 2.
    5. Ctrl-click it to add it to the set of Questions
    6. OK
    7. Save




  4. Test your new Question
    1. Laboratory >> Order Patient Specimens
    2. Enter Patient
    3. Add Specimen
    4. Click Clinical Info
    5. See your Clinical Question



Monday, July 22, 2013

OSX Dock magnification/menus/hot corners not working!

Moved the Wireless mouse/keyboard dongle to the other input on the KVM switch.  Problem solved!

Wednesday, May 1, 2013

Zebra Printer Problems



I arrived at this script.  It works on a Gx420t with Factory defaults.  It’s not exactly what I was aiming for, but it’s pretty close. 

^XA
^LT10    //Label Top.  Sets the top edge of the label (determined experimentally)
^PW200   //Print Width.  Sets the left edge of the label (determined experimentally)
^LH10,15 //Label Home.  Offsets from left and top edges from which fields positions are relative to.
^PR2     //Print Rate.  2 is the slowest setting
^MD30    //Media Darkness.  Set to maximum darkness
^BY1     //Set the barcode bar-width to 1 dot … If not set, the previous setting will be used.  The factory default is too big for this label.
^FO0,0^BCN,26,N,N,N,N^FD%s^FS
^FO0,30^A0,20,17^FD%s^FS
^FO0,50^A0,20,17^FD%s^FS
^XZ

Some key insights:

a)      the gx420t has lower resolution(203dpi) than the gx430t (300dpi), so all positions and sizes needed to be determined again.  Multiplying everything by 2/3 was insufficient…I had to do it experimentally.  

b)      Some settings persist between print jobs (examples: ^PW, ^BY).  The printer maintains state between jobs.  Not all of the printers state is visible through the web interface.  It’s important to develop and test your scripts against a printer with factory default settings.  To restore factory defaults you must apply ‘restore default settings’ AND then power-cycle the printer.