Oflfine mode notes

List of notes:

  • PatientRecordUtils.importEncounter - must set encounter_id for referring encounter.

File locations:

  • Store all locally-generated files - files that represent the current db values - in sitename/local
  • Store all imported files in sitename/import. If it's subscribed to the main zeprs feed, store in ZEP/import.
  • At the end of an import, store latest version of patient record in local db at sitename/local by using PatientRecordUtils.archivePatient.
    This uses XmlUtils.generatePatientXML to render the patient record from the database.
    • Before this step one could save the current file in sitename/local as a backup.

When a new build is released, the system performs any necessary Application updates. See the page on Updating the Application for more information.