Exploring JSON representation for claims data.
A sample BlueButton Test file (medicare/medicare_bbp.txt) from MyMedicare.gov has been used to create a medicare_bbp.xml and medicare_bbp.json format. This has been based on the claims.xml file that was initially created by Ryan Panchadsaram.
Latest change is to change field names to headlessCamelCase. ie. "Medicare Part B Effective Date" becomes "medicarePartBEffectiveDate".
The objective of this work is to:
- Create structured file formats in XML and JSON that can be used for the CMS BlueButton Plus data-as-a-service project.
- Create claims summary and claim detail sections that will also satisfy the needs of the payer community for BlueButton claims output for beneficiaries of Medicare, Medicaid and private insurance plans.
The following design principles have been adopted in creating these file formats:
- Keep it simple
- Develop a single file format with the necessary sections incorporated within the file in order to avoid the challenges that can come with packaging multiple sets of files.
This is a medicare bluebutton test file in simple ASCII format
This is an xml version based on the fields in the medicare_bbp.txt file
This is a json format file that has been generated from the medicare_bbp.xml using an xml to JSON converter at http://www.freeformatter.com/xml-to-json-converter.html
Code conversion from medicare_bbp_v2.txt to medicare_bbp_v2.json by python-bluebutton (see https://github.com/ekivemark/python-bluebutton
Code conversion from medicare_bbp_v2.json to medicar_bbp_v2.xml by http://codebeautify.org/jsontoxml
- Create a generic BlueButtonPlus.xml and BlueButtonPlus.json that covers medicare and non-medicare payers.
- Confirm approach in using
- change field names to remove / Current Source field Values:
- patient
- mymedicare.gov