From bab883fb23521b8ac5dfdad450bdbe10b101fe06 Mon Sep 17 00:00:00 2001 From: pstaeck <36667270+pstaeck@users.noreply.github.com> Date: Thu, 7 Sep 2023 10:50:15 +0200 Subject: [PATCH] adapt wording (#63) Adapt semantics of serveral rpcs # Checklist The following aspects have been respected by the author of this pull request, confirmed by both pull request assignee **and** reviewer: * Changelog update (necessity checked and entry added or not added respectively) * [x] Pull Request Assignee * [x] Reviewer * README update (necessity checked and entry added or not added respectively) * [x] Pull Request Assignee * [x] Reviewer --------- Co-authored-by: Staeck, Philipp --- src/t2iapi/context/context_requests.proto | 6 +++--- src/t2iapi/context/service.proto | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/t2iapi/context/context_requests.proto b/src/t2iapi/context/context_requests.proto index b3be7b1..b03e3fa 100644 --- a/src/t2iapi/context/context_requests.proto +++ b/src/t2iapi/context/context_requests.proto @@ -38,7 +38,7 @@ message SetContextStateAssociationRequest { } /* -Request to create a new context state with a given association. +Request to create or adapt a context state with a given association. */ message CreateContextStateWithAssociationRequest { string descriptor_handle = 1; @@ -46,7 +46,7 @@ message CreateContextStateWithAssociationRequest { } /* -Request to create a new pm:AbstractContextState instance with a given @ContextAssociation and a given number +Request to create or adapt a pm:AbstractContextState instance with a given @ContextAssociation and a given number of pm:Validator elements. */ message CreateContextStateWithAssociationAndValidatorsRequest { @@ -56,7 +56,7 @@ message CreateContextStateWithAssociationAndValidatorsRequest { } /* -Request to create a new context state with a given association and specific validator. +Request to create or adapt a context state with a given association and specific validator. */ message CreateContextStateWithAssocAndSpecificValidatorRequest { string descriptor_handle = 1; diff --git a/src/t2iapi/context/service.proto b/src/t2iapi/context/service.proto index 40e9e8c..48e9a2c 100644 --- a/src/t2iapi/context/service.proto +++ b/src/t2iapi/context/service.proto @@ -51,7 +51,7 @@ service ContextService { returns (BasicResponse); /* - Create a new ContextState instance with the given ContextAssociation value for the given descriptor handle. + Create or adapt a ContextState instance with the given ContextAssociation value for the given descriptor handle. The manipulated state shall be persistent until a next manipulation call. If the device is not able to maintain the static state, it shall return RESULT_NOT_SUPPORTED. */ @@ -59,7 +59,7 @@ service ContextService { returns (t2iapi.context.CreateContextStateWithAssociationResponse); /* - Create a new pm:AbstractContextState instance with the given @ContextAssociation value for the given descriptor handle + Create or adapt a pm:AbstractContextState instance with the given @ContextAssociation value for the given descriptor handle and provide at least the number of pm:Validator elements for this ContextState. If the number of pm:Validator elements is zero, zero pm:Validator elements shall be provided. */ @@ -68,7 +68,7 @@ service ContextService { returns (t2iapi.context.CreateContextStateWithAssociationResponse); /* - Create a new ContextState instance with the given ContextAssociation value for the given descriptor handle + Create or adapt a ContextState instance with the given ContextAssociation value for the given descriptor handle and provide at least one Identification and Validator for this ContextState. The manipulated state shall be persistent until a next manipulation call. If the device is not able to maintain the static state, it shall return RESULT_NOT_SUPPORTED. @@ -96,17 +96,17 @@ service ContextService { returns (CreateContextStateWithAssociationResponse); /* - Create a new ContextState instance with the given ContextAssociation value for the given descriptor handle, + Create or adapt a ContextState instance with the given ContextAssociation value for the given descriptor handle, confirm by requested validator type. The manipulated state shall be persistent until a next manipulation call. If the device is not able to maintain the static state, it shall return RESULT_NOT_SUPPORTED. */ rpc CreateContextStateWithAssocAndSpecificValidator( - t2iapi.context.CreateContextStateWithAssocAndSpecificValidatorRequest) + t2iapi.context.CreateContextStateWithAssocAndSpecificValidatorRequest) returns (t2iapi.context.CreateContextStateWithAssociationResponse); /* - Create a new neonatal patient with a given type of association and + Create or adapt neonatal patient with a given type of association and including the mothers identification. */ rpc CreateNeonatalPatientWithAssociationAndMothersIdentification(