Skip to content

Commit

Permalink
changes proposed by Reviewers.
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-Draeger committed Jun 24, 2024
1 parent 0e00dd4 commit 45a5466
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions src/t2iapi/context/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,14 @@ service ContextService {
returns (t2iapi.context.CreateContextStateWithAssociationResponse);

/*
* 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.
* Returns the handle of the created or adapted context state.
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.
*/
rpc CreateContextStateWithAssocIdentificationAndValidator(
t2iapi.context.CreateContextStateWithAssociationRequest)
returns (CreateContextStateWithAssociationResponse);
returns (BasicResponse);

/*
For the Context with the provided descriptor handle perform the following transition:
Expand Down Expand Up @@ -107,18 +106,19 @@ service ContextService {
returns (t2iapi.context.CreateContextStateWithAssociationResponse);

/*
* Create or adapt a patient- or location context state, such that
* - it belongs to the given @DescriptorHandle,
* - it has @ContextAssociation = Assoc,
* - it has the given number of pm:Validators, and
* - the pm:Identification of the created resp. adapted context state differs structurally from
* the pm:Identification of the previously associated context state of the same @DescriptorHandle.
* In this context previous means directly prior to the manipulation call.
* Returns the handle of the created or adapted context state and the mdib version
* that contains the previously associated context state whose pm:Identification
* the changed pm:Identification must structurally differ from.
* 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.
Create or adapt a patient- or location context state, such that
- it belongs to the given @DescriptorHandle,
- it has @ContextAssociation = Assoc,
- it has the given number of pm:Validators, and
- its pm:Identification changes.
The pm:Identification of the created resp. adapted context state must differ structurally from
the pm:Identification of the previously associated context state of the same @DescriptorHandle.
In this context previous means directly prior to the manipulation call.
Returns the handle of the created or adapted context state and the mdib version
that contains the previously associated context state whose pm:Identification
the changed pm:Identification must structurally differ from.
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 AssociateValidateAndChangeIdentificationOfPatientOrLocationContextState(
t2iapi.context.AssociateValidateAndChangeIdentificationOfPatientOrLocationContextStateRequest)
Expand Down

0 comments on commit 45a5466

Please sign in to comment.