The pervasive use of electronic records in healthcare increases the dependency on technology due to the lack of a physical support for the records. Downtime in the EHR system is unavoidable, due to software, infrastructure, energy failures or even natural disasters, so there is a need to develop a contingency plan ensuring patient care continuity and minimizing risks on health care delivery. To mitigate these risks, an application was developed allowing healthcare delivery providers to retrieve medication prescriptions for inpatient or emergency care patients using the CDA R2 document repository as information source. In this paper we describe the strategy and the implementation results.