This repository has been archived by the owner on Oct 21, 2022. It is now read-only.
new dataValueSet(...) syntax
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)
]
});