I need to export the data generated in the MUMPS system with a unique key for each appointment made. Data needs to be exported in XML, can I do that in MUMPS? Can anyone help me? The data I need to export in XML format is accession_number Each exam has a unique identifier, if the patient performs more than one exam on the same day, each one will have a different Accession Number.
patient_id - Unique identifier of the exam
accession_number - Patient identifier
patient_name - Patient's name
patient_birthdate - Patient's date of birth Example: YYYYMMDD
patient_sex - Patient's gender
patient_weight - Patient weight
It depends what kind of application you use. Epic and VistA have their own XML export utilities.
I maintained some utilities here: https://github.com/shabiel/VISTA-xml-processing-utilities; but I would check with somebody in your EMR system on what's the proper API to use.