/**
   * REST service for getting an patient with a specified id.
   *
   * @param patientId the specified patient id
   * @return the patient with the specified id.
   */
  @GET
  @Path("getPatient/{patientId}")
  @Produces(MediaType.APPLICATION_JSON)
  public Patient getPatientById(@PathParam(value = "patientId") long patientId) {
    Patient patient = patientService.findById(patientId);

    return patient;
  }