{"format_version": 1,"id": "lab_result","name": "Lab result","plural": "Lab results","picture": null,"builtin": false,"visibility": "owner","engine": null,"columns": [ {"key": "key","name": "Key","type": "text","required": true,"hidden": true }, {"key": "person","name": "Person","type": "link","link_to": "person","required": true,"readonly": true }, {"key": "report","name": "Report","type": "link","link_to": "lab_report","required": true,"readonly": true }, {"key": "day","name": "Collected","type": "date","required": true,"readonly": true }, {"key": "parameter","name": "Parameter","type": "text","readonly": true }, {"key": "name","name": "Test","type": "text","required": true,"readonly": true }, {"key": "panel","name": "Panel","type": "text","readonly": true }, {"key": "result","name": "Result","type": "text","readonly": true }, {"key": "value","name": "Value","type": "number","readonly": true }, {"key": "comparator","name": "Comparator","type": "choice","choices": ["<","<=",">",">=" ],"labels": {"<": "Less than","<=": "At most",">": "More than",">=": "At least" },"readonly": true }, {"key": "unit","name": "Unit","type": "text","readonly": true }, {"key": "range","name": "Reference interval","type": "longtext","readonly": true }, {"key": "range_low","name": "Interval from","type": "number","readonly": true }, {"key": "range_high","name": "Interval to","type": "number","readonly": true }, {"key": "interval","name": "Interval, read","type": "longtext","hidden": true,"readonly": true }, {"key": "method","name": "Method","type": "text","readonly": true }, {"key": "specimen","name": "Specimen","type": "text","readonly": true }, {"key": "flag","name": "Lab's flag","type": "text","readonly": true }, {"key": "canonical_value","name": "In the usual unit","type": "number","readonly": true }, {"key": "canonical_unit","name": "Usual unit","type": "text","readonly": true }, {"key": "position","name": "Order on the report","type": "number","hidden": true,"readonly": true }, {"key": "page","name": "Page","type": "number","hidden": true,"readonly": true }, {"key": "line","name": "Line","type": "number","hidden": true,"readonly": true } ],"seal": {"clear": ["key","day" ] },"title": "name","date": "day","project": null,"order": null,"slip": {"title": "name","subtitle": "result","trailing": "day","photo": null,"toggle": null },"tile": {"face": "slip-list" },"card": {"face": "health.tag","fields": [ {"slot": "title","column": "name" }, {"slot": "subtitle","column": "result" }, {"slot": "date","column": "day","form": "weekday_date" } ] },"page": [ {"heading": null,"columns": ["person","name","result","unit","range","day" ] }, {"heading": "As printed","columns": ["panel","method","specimen","flag","canonical_value","canonical_unit","report" ] } ],"sort": {"column": "day","descending": true },"empty": {"title": "No lab results yet","message": "Each measured value of each report stands here." },"row_key": "key","instructions": "One measured result in one lab report, as printed: `name` the lab's own name for the test, `result` the value as printed (a number, or a word such as Negative, or a range such as 2-3), `value` and `comparator` the number when it is one, `unit` and `range` (the reference interval, possibly several lines of bands) as printed, `range_low`/`range_high` read from it where it is one span, `interval` the whole interval read (JSON: low, high, bands), `method`, `specimen`, `flag` (the lab's own H/L), `panel` the section title it stood under. `parameter` is the canonical parameter's id (kits/health/parameters.json) or empty when the name is not yet known; `canonical_value` is the value in that parameter's `canonical_unit` where an exact conversion exists. `person` and `report` say whose and which report. A record, not advice: never write a diagnosis or a suggestion, and state ranges as the lab printed them. Sealed: only the collected day stays clear on the object."}