Skip to content

mvpdev/casexml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

casexml

An application for generating and pushing CaseXML to commcareHQ

This applications both works for CSV document and it auto fill data to casexml template. This template is then pushed to commcare or saved in the output folder.

How it works:

# Create a casexml template using

# Prepare the data to export into a csv file. Ensure the headings is one word for each row.

# CSV heading should match the template tags

# To run: $ python casexml.py filename_location template_name

Variables

filename_location: This is the exact file_name. Use absolute location of tttthe file and dont forget to add file extension.

template_name: Name of the template you want to populate and save. This should be an xml file.

example:

To generate casexml for data in Patient.csv and the casexml template is patient.xml use this command.

$python casexml.py Patient.csv template/patient.xml

Releases

No releases published

Packages

No packages published

Languages