Interface ContributionEndpoint

All Known Implementing Classes:
DefaultRestContributionEndpoint

public interface ContributionEndpoint
The interface Contribution endpoint.
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<com.nedap.archie.rm.changecontrol.Contribution>
    find(UUID contributionId)
    Get the Contribution by ehrId and contributionId.
    Save a new Contribution to remote systems.
  • Method Details

    • saveContribution

      UUID saveContribution(ContributionCreateDto contribution) throws com.fasterxml.jackson.core.JsonProcessingException
      Save a new Contribution to remote systems.
      Parameters:
      contribution - the contribution
      Returns:
      the version uid
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException - the json processing exception
    • find

      Optional<com.nedap.archie.rm.changecontrol.Contribution> find(UUID contributionId) throws IOException
      Get the Contribution by ehrId and contributionId.
      Parameters:
      contributionId - the contribution id
      Returns:
      the optional
      Throws:
      IOException - the io exception