Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Clone the epsos-nc-mock from bitbucket, git clone git@bitbucket.org:openncp/epsos-nc-mock.git
  2. Focus on the following three classes
    1. PatientSearchImpl, it is called during XCPD queries
    2. DocumentSearchImpl, it is called during XCA List and XCA Retrieve queries (both patient summary and eprescription documents)
    3. DocumentSubmitImpl, it is called in XDR submissions (consent, dispensations)
  3. Implement these classes, according to comments exist in the class body. The general guide is described below
  4. Build the project using the command mvn clean package. The produced jar has to be copied inside epsos-ws-server/WEB-INF/lib folder and delete accordingly the existing (if any) epeos-nc-mock* file

Classes to be implemented

PatientSearchImpl

In this class you have access to the list of patient identifiers passed by epsos-client-connector to epsos-ws-server

...