Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

new dataValueSet(...) syntax

Compare
Choose a tag to compare
@taylordowns2000 taylordowns2000 released this 29 Sep 18:01

simplified syntax for using data from state inside dataValueSets:

dataValueSet({
  dataSet: dataValue("set"),
  orgUnit: "DiszpKrYNg8",
  period: "201402",
  completeData: "2014-03-03",
  dataValues: [
    dataElement("f7n9E0hX8qk", dataValue("site_school_number")),
    dataElement("Ix2HsbDMLea", dataValue("patients")),
    dataElement("eY5ehpbEsB7", 30)
  ]
});