Skip to main content
Your results are the values that come back from an investigation: hemoglobin, total WBC count, platelet count. Each row is one result with one unit, identified by your own id. Use type=lab_result with the API, or pick Results in the console. Results are what a lab panel is made of. Upload your results first, then your panels. What a doctor orders is a separate catalog: lab investigations.
Mandatory columns: result_id and name. Every other column is optional; leave the cell empty if you don’t have the value.A result has one unit. If a value is reported in two units, upload two results.

Columns

Example file

lab-results.csv
The sample leaves unit_id empty, so its units won’t be shown in Eka products until you fill in unit_id. The smallest valid file has just the two mandatory columns:
minimal.csv

Example JSON

The same records sent to Create or update records. In JSON, multi-value fields are lists.

Common mistakes

  • A unit without a unit_id. The unit is stored, but Eka products show it only when unit_id is also set. Fill in unit_id from Eka’s reference list.
  • Two units in one result. A result holds one unit. For a value that is reported in two units, upload two results with different ids.
  • Lowercase result_type. Use N, C or D in capitals; n or numeric is rejected.
  • Changing a result_id that a panel uses. Panels refer to results by this id. A new id is a new result, and the panel keeps pointing at the old one.
  • A wrong ekaid. Eka stores the id you send without checking it. A wrong id can attach your result to the wrong Eka item, so check each mapping against Eka’s reference list.