title: MUMPS - Export to xml
body: <p>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.</p>
  <p>patient_id - Unique identifier of the exam</p>
  <p>accession_number - Patient identifier</p>
  <p>patient_name - Patient's name</p>
  <p>patient_birthdate - Patient's date of birth
  Example: YYYYMMDD</p>
  <p>patient_sex - Patient's gender</p>
  <p>patient_weight - Patient weight</p>