This is a manual differential counter for use in hematopathology practices.
The app is relatively simple to use.
- Load up the app by navigating to the
index.html. - Then, choose whether the count represents a peripheral blood specimen or a bone marrow aspirate; this choice will load a slightly different set of tags above the individual squares in the counter display.
- Start counting. The keyboard keys corresponding to the cell type is displayed at the bottom of each column. The cell type this corresponds to is at the top of each column.
- Percentages are calculated in real time, as there is two-way data binding between the input boxes and the output percentage boxes.
Customization can be done via the comboTpl.json file in the settings folder.
The parts of this JSON file are:
tplCode: Template Code. An easy to type code that will be used to refer to the template in the app code.tplName: Template Name. A descriptive (but not too long) name for the template that is rendered into the tabbed output view.specType: Specimen Type. By default, this contains onlypb(peripheral blood) andbm(bone marrow). Certainly, other specimen types can be made. However, the drop down menu currently only knows these two types. The goal is to eventually build a drop down menu that will render from thespecType.outSentence: Output sentence using a Handlebars-type format. The tags in the double-stashes ({{example}}) should match exactly the codes in the next section of the tplJSON.outCodes: Output Codes. This contains JSON objects. In each{"key": "value"}, the key represents the one letter keyboard key. The "value" represents the abbreviation biological cell type. This abbreviation must match the cell code abbreviation that was written into the Handlebars template in number 2 (outSentence). Sorry to use the word key to represent both the keyboard key and the object key. If you can think of a clearer way to word this, then please let me know.
- jQuery version 1.11.2
- Backbone JS v1.2.0
- Underscore JS v1.8.3
- Handlebars JS v3.0.3