Skip to content

Instantly share code, notes, and snippets.

@djazayeri
Created April 14, 2014 20:33
Show Gist options
  • Save djazayeri/10680667 to your computer and use it in GitHub Desktop.
Save djazayeri/10680667 to your computer and use it in GitHub Desktop.
{
"type": "org.openmrs.module.reporting.dataset.definition.PatientDataSetDefinition",
"name": "Example data export",
"customRowFilterCombination": "1 OR 2 OR 3",
"parameters": [
{
"name": "startDate",
"type": "java.util.Date",
"value": "2008-08-01"
},
{
"name": "endDate",
"type": "java.util.Date",
"value": "2008-08-31"
}
],
"rowFilters": [
{
"type": "org.openmrs.module.reporting.cohort.definition.CohortDefinition",
"key": "reporting.library.cohortDefinition.builtIn.males"
},
{
"type": "org.openmrs.module.reporting.cohort.definition.CohortDefinition",
"key": "reporting.library.cohortDefinition.builtIn.anyEncounterDuringPeriod"
},
{
"type": "org.openmrs.module.reporting.cohort.definition.CohortDefinition",
"key": "reporting.library.cohortDefinition.builtIn.atLeastAgeOnDate",
"parameterValues": {
"minAge": 15,
"effectiveDate": "2014-01-01"
}
}
],
"columns": [
{
"type": "org.openmrs.module.reporting.data.patient.definition.PatientDataDefinition",
"name": "Given Name",
"key": "reporting.library.patientDataDefinition.builtIn.preferredName.givenName"
},
{
"type": "org.openmrs.module.reporting.data.patient.definition.PatientDataDefinition",
"name": "Family Name",
"key": "reporting.library.patientDataDefinition.builtIn.preferredName.familyName"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment