Class DefaultRestContributionEndpoint
java.lang.Object
org.ehrbase.openehr.sdk.client.openehrclient.defaultrestclient.DefaultRestContributionEndpoint
- All Implemented Interfaces:
ContributionEndpoint
The type Default rest contribution endpoint.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultRestContributionEndpoint(DefaultRestClient defaultRestClient, UUID ehrId) Instantiates a new Default rest contribution endpoint. -
Method Summary
Modifier and TypeMethodDescriptionOptional<com.nedap.archie.rm.changecontrol.Contribution>Get the Contribution byehrIdandcontributionId.saveContribution(ContributionCreateDto contribution) Save a new Contribution to remote systems.
-
Field Details
-
CONTRIBUTION_PATH
- See Also:
-
-
Constructor Details
-
DefaultRestContributionEndpoint
Instantiates a new Default rest contribution endpoint.- Parameters:
defaultRestClient- the default rest clientehrId- the ehr id
-
-
Method Details
-
saveContribution
Description copied from interface:ContributionEndpointSave a new Contribution to remote systems.- Specified by:
saveContributionin interfaceContributionEndpoint- Parameters:
contribution- the contribution- Returns:
- the version uid
-
find
Description copied from interface:ContributionEndpointGet the Contribution byehrIdandcontributionId.- Specified by:
findin interfaceContributionEndpoint- Parameters:
contributionId- the contribution id- Returns:
- the optional
-