t2iapi 4.2.0.dev509__py3-none-any.whl → 4.2.0.dev512__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,7 +19,7 @@ from t2iapi.context import context_requests_pb2 as t2iapi_dot_context_dot_contex
19
19
  from t2iapi.context import context_responses_pb2 as t2iapi_dot_context_dot_context__responses__pb2
20
20
 
21
21
 
22
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ct2iapi/context/service.proto\x12\x0et2iapi.context\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1bt2iapi/basic_requests.proto\x1a\x1ct2iapi/basic_responses.proto\x1a%t2iapi/context/context_requests.proto\x1a&t2iapi/context/context_responses.proto2\xbf\x14\n\x0e\x43ontextService\x12T\n\x11SetLocationDetail\x12(.t2iapi.context.SetLocationDetailRequest\x1a\x15.t2iapi.BasicResponse\x12\x63\n\x1fRemoveAllContextStateValidators\x12).t2iapi.context.ContextStateHandleRequest\x1a\x15.t2iapi.BasicResponse\x12\x66\n\x1aSetContextStateAssociation\x12\x31.t2iapi.context.SetContextStateAssociationRequest\x1a\x15.t2iapi.BasicResponse\x12\x98\x01\n!CreateContextStateWithAssociation\x12\x38.t2iapi.context.CreateContextStateWithAssociationRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\xb2\x01\n.CreateContextStateWithAssociationAndValidators\x12\x45.t2iapi.context.CreateContextStateWithAssociationAndValidatorsRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\x88\x01\n5CreateContextStateWithAssocIdentificationAndValidator\x12\x38.t2iapi.context.CreateContextStateWithAssociationRequest\x1a\x15.t2iapi.BasicResponse\x12\x9a\x01\nATransitionFromCreateStateWithIdentificationToRemoveIdentification\x12\x1a.t2iapi.BasicHandleRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\x9a\x01\nATransitionFromCreateStateWithIdentificationToChangeIdentification\x12\x1a.t2iapi.BasicHandleRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\xb4\x01\n/CreateContextStateWithAssocAndSpecificValidator\x12\x46.t2iapi.context.CreateContextStateWithAssocAndSpecificValidatorRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\x8a\x02\nGAssociateValidateAndChangeIdentificationOfPatientOrLocationContextState\x12^.t2iapi.context.AssociateValidateAndChangeIdentificationOfPatientOrLocationContextStateRequest\x1a_.t2iapi.context.AssociateValidateAndChangeIdentificationOfPatientOrLocationContextStateResponse\x12\xb3\x01\n<CreateNeonatalPatientWithAssociationAndMothersIdentification\x12\x38.t2iapi.context.CreateContextStateWithAssociationRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12R\n\x10\x41ssociatePatient\x12\'.t2iapi.context.AssociatePatientRequest\x1a\x15.t2iapi.BasicResponse\x12V\n!EnsembleContextIndicateMembership\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12\x9e\x01\n3EnsembleContextIndicateMembershipWithIdentification\x12\x1a.t2iapi.BasicHandleRequest\x1aK.t2iapi.context.EnsembleContextIndicateMembershipWithIdentificationResponse\x12T\n\x0eGetEnsembleIds\x12\x1a.t2iapi.BasicHandleRequest\x1a&.t2iapi.context.GetEnsembleIdsResponse\x12\x8f\x01\n(IndicateMembershipInEnsembleByEnsembleId\x12!.t2iapi.context.EnsembleIdRequest\x1a@.t2iapi.context.IndicateMembershipInEnsembleByEnsembleIdResponse\x12_\n#EndMembershipInEnsembleByEnsembleId\x12!.t2iapi.context.EnsembleIdRequest\x1a\x15.t2iapi.BasicResponse\x12\x64\n\x18GetSupportedContextTypes\x12\x16.google.protobuf.Empty\x1a\x30.t2iapi.context.GetSupportedContextTypesResponse\x12\x7f\n*AssociatePatientWithAutoGeneratedPatientId\x12\x16.google.protobuf.Empty\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponseB7\n\"com.draeger.medical.t2iapi.contextB\x11\x43ontextApiServiceb\x06proto3')
22
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ct2iapi/context/service.proto\x12\x0et2iapi.context\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1bt2iapi/basic_requests.proto\x1a\x1ct2iapi/basic_responses.proto\x1a%t2iapi/context/context_requests.proto\x1a&t2iapi/context/context_responses.proto2\x86\x16\n\x0e\x43ontextService\x12T\n\x11SetLocationDetail\x12(.t2iapi.context.SetLocationDetailRequest\x1a\x15.t2iapi.BasicResponse\x12\x63\n\x1fRemoveAllContextStateValidators\x12).t2iapi.context.ContextStateHandleRequest\x1a\x15.t2iapi.BasicResponse\x12\x66\n\x1aSetContextStateAssociation\x12\x31.t2iapi.context.SetContextStateAssociationRequest\x1a\x15.t2iapi.BasicResponse\x12\x98\x01\n!CreateContextStateWithAssociation\x12\x38.t2iapi.context.CreateContextStateWithAssociationRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\xb2\x01\n.CreateContextStateWithAssociationAndValidators\x12\x45.t2iapi.context.CreateContextStateWithAssociationAndValidatorsRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\x88\x01\n5CreateContextStateWithAssocIdentificationAndValidator\x12\x38.t2iapi.context.CreateContextStateWithAssociationRequest\x1a\x15.t2iapi.BasicResponse\x12\x9a\x01\nATransitionFromCreateStateWithIdentificationToRemoveIdentification\x12\x1a.t2iapi.BasicHandleRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\x9a\x01\nATransitionFromCreateStateWithIdentificationToChangeIdentification\x12\x1a.t2iapi.BasicHandleRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\xb4\x01\n/CreateContextStateWithAssocAndSpecificValidator\x12\x46.t2iapi.context.CreateContextStateWithAssocAndSpecificValidatorRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\x8a\x02\nGAssociateValidateAndChangeIdentificationOfPatientOrLocationContextState\x12^.t2iapi.context.AssociateValidateAndChangeIdentificationOfPatientOrLocationContextStateRequest\x1a_.t2iapi.context.AssociateValidateAndChangeIdentificationOfPatientOrLocationContextStateResponse\x12\xb3\x01\n<CreateNeonatalPatientWithAssociationAndMothersIdentification\x12\x38.t2iapi.context.CreateContextStateWithAssociationRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12R\n\x10\x41ssociatePatient\x12\'.t2iapi.context.AssociatePatientRequest\x1a\x15.t2iapi.BasicResponse\x12V\n!EnsembleContextIndicateMembership\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12\x9e\x01\n3EnsembleContextIndicateMembershipWithIdentification\x12\x1a.t2iapi.BasicHandleRequest\x1aK.t2iapi.context.EnsembleContextIndicateMembershipWithIdentificationResponse\x12T\n\x0eGetEnsembleIds\x12\x1a.t2iapi.BasicHandleRequest\x1a&.t2iapi.context.GetEnsembleIdsResponse\x12\x8f\x01\n(IndicateMembershipInEnsembleByEnsembleId\x12!.t2iapi.context.EnsembleIdRequest\x1a@.t2iapi.context.IndicateMembershipInEnsembleByEnsembleIdResponse\x12_\n#EndMembershipInEnsembleByEnsembleId\x12!.t2iapi.context.EnsembleIdRequest\x1a\x15.t2iapi.BasicResponse\x12\x64\n\x18GetSupportedContextTypes\x12\x16.google.protobuf.Empty\x1a\x30.t2iapi.context.GetSupportedContextTypesResponse\x12\x7f\n*AssociatePatientWithAutoGeneratedPatientId\x12\x16.google.protobuf.Empty\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\x62\n-TemporarilyAssociateLocationWithNewIdentifier\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12\x61\n,TemporarilyAssociatePatientWithNewIdentifier\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponseB7\n\"com.draeger.medical.t2iapi.contextB\x11\x43ontextApiServiceb\x06proto3')
23
23
 
24
24
  _globals = globals()
25
25
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -28,5 +28,5 @@ if _descriptor._USE_C_DESCRIPTORS == False:
28
28
  _globals['DESCRIPTOR']._options = None
29
29
  _globals['DESCRIPTOR']._serialized_options = b'\n\"com.draeger.medical.t2iapi.contextB\021ContextApiService'
30
30
  _globals['_CONTEXTSERVICE']._serialized_start=216
31
- _globals['_CONTEXTSERVICE']._serialized_end=2839
31
+ _globals['_CONTEXTSERVICE']._serialized_end=3038
32
32
  # @@protoc_insertion_point(module_scope)
@@ -115,6 +115,16 @@ class ContextServiceStub(object):
115
115
  request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
116
116
  response_deserializer=t2iapi_dot_context_dot_context__responses__pb2.CreateContextStateWithAssociationResponse.FromString,
117
117
  )
118
+ self.TemporarilyAssociateLocationWithNewIdentifier = channel.unary_unary(
119
+ '/t2iapi.context.ContextService/TemporarilyAssociateLocationWithNewIdentifier',
120
+ request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
121
+ response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
122
+ )
123
+ self.TemporarilyAssociatePatientWithNewIdentifier = channel.unary_unary(
124
+ '/t2iapi.context.ContextService/TemporarilyAssociatePatientWithNewIdentifier',
125
+ request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
126
+ response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
127
+ )
118
128
 
119
129
 
120
130
  class ContextServiceServicer(object):
@@ -367,6 +377,38 @@ class ContextServiceServicer(object):
367
377
  context.set_details('Method not implemented!')
368
378
  raise NotImplementedError('Method not implemented!')
369
379
 
380
+ def TemporarilyAssociateLocationWithNewIdentifier(self, request, context):
381
+ """
382
+ For the MDS with the given handle:
383
+
384
+ In an MdibVersion x associate a validated, i.e. one containing at least one pm:Validator, pm:LocationContextState
385
+ having an pm:Identification that is not already in use for a location in the MDS especially in terms of the Root and
386
+ Extension attribute combination.
387
+
388
+ Then in MdibVersion y > x of the same sequence make a change that does not alter any context state.
389
+
390
+ At last in MdibVersion z > y of the same sequence disassociate the context state added in x via this rpc.
391
+ """
392
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
393
+ context.set_details('Method not implemented!')
394
+ raise NotImplementedError('Method not implemented!')
395
+
396
+ def TemporarilyAssociatePatientWithNewIdentifier(self, request, context):
397
+ """
398
+ For the MDS with the given handle:
399
+
400
+ In an MdibVersion x associate a validated, i.e. one containing at least one pm:Validator, pm:PatientContextState
401
+ having an pm:Identification that is not already in use for a patient in the MDS especially in terms of the Root
402
+ and Extension attribute combination.
403
+
404
+ Then in MdibVersion y > x of the same sequence make a change that does not alter any context state.
405
+
406
+ At last in MdibVersion z > y of the same sequence disassociate the context state added in x via this rpc.
407
+ """
408
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
409
+ context.set_details('Method not implemented!')
410
+ raise NotImplementedError('Method not implemented!')
411
+
370
412
 
371
413
  def add_ContextServiceServicer_to_server(servicer, server):
372
414
  rpc_method_handlers = {
@@ -465,6 +507,16 @@ def add_ContextServiceServicer_to_server(servicer, server):
465
507
  request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
466
508
  response_serializer=t2iapi_dot_context_dot_context__responses__pb2.CreateContextStateWithAssociationResponse.SerializeToString,
467
509
  ),
510
+ 'TemporarilyAssociateLocationWithNewIdentifier': grpc.unary_unary_rpc_method_handler(
511
+ servicer.TemporarilyAssociateLocationWithNewIdentifier,
512
+ request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
513
+ response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
514
+ ),
515
+ 'TemporarilyAssociatePatientWithNewIdentifier': grpc.unary_unary_rpc_method_handler(
516
+ servicer.TemporarilyAssociatePatientWithNewIdentifier,
517
+ request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
518
+ response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
519
+ ),
468
520
  }
469
521
  generic_handler = grpc.method_handlers_generic_handler(
470
522
  't2iapi.context.ContextService', rpc_method_handlers)
@@ -799,3 +851,37 @@ class ContextService(object):
799
851
  t2iapi_dot_context_dot_context__responses__pb2.CreateContextStateWithAssociationResponse.FromString,
800
852
  options, channel_credentials,
801
853
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
854
+
855
+ @staticmethod
856
+ def TemporarilyAssociateLocationWithNewIdentifier(request,
857
+ target,
858
+ options=(),
859
+ channel_credentials=None,
860
+ call_credentials=None,
861
+ insecure=False,
862
+ compression=None,
863
+ wait_for_ready=None,
864
+ timeout=None,
865
+ metadata=None):
866
+ return grpc.experimental.unary_unary(request, target, '/t2iapi.context.ContextService/TemporarilyAssociateLocationWithNewIdentifier',
867
+ t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
868
+ t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
869
+ options, channel_credentials,
870
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
871
+
872
+ @staticmethod
873
+ def TemporarilyAssociatePatientWithNewIdentifier(request,
874
+ target,
875
+ options=(),
876
+ channel_credentials=None,
877
+ call_credentials=None,
878
+ insecure=False,
879
+ compression=None,
880
+ wait_for_ready=None,
881
+ timeout=None,
882
+ metadata=None):
883
+ return grpc.experimental.unary_unary(request, target, '/t2iapi.context.ContextService/TemporarilyAssociatePatientWithNewIdentifier',
884
+ t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
885
+ t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
886
+ options, channel_credentials,
887
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: t2iapi
3
- Version: 4.2.0.dev509
3
+ Version: 4.2.0.dev512
4
4
  Summary: T2I API for device communication in test scenarios
5
5
  Home-page: https://github.com/Draegerwerk/t2iapi
6
6
  Author: T2I Team
@@ -67,9 +67,9 @@ t2iapi/context/context_requests_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMh
67
67
  t2iapi/context/context_responses_pb2.py,sha256=B2XYa4dz-PTLnObzLJbIMRwfiVDeyN-SYap-R3u_UnA,3615
68
68
  t2iapi/context/context_responses_pb2.pyi,sha256=mUvMWv-BUksIFanEDSQqRQjuBIlh0upSytLJK6bRYyk,3660
69
69
  t2iapi/context/context_responses_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
70
- t2iapi/context/service_pb2.py,sha256=lhUVeWu1ClbAtN0KpekjtWo0AFs-MZ3fyhfuwKt1ii8,4840
70
+ t2iapi/context/service_pb2.py,sha256=hM233BdQCIttfsNbu7uzmLVUgYEJlR38NJqg7_nc304,5077
71
71
  t2iapi/context/service_pb2.pyi,sha256=oyeZZo2RCHp8vfCPM1Xs2jcoykpo0RBuKsZrMrjV6S4,459
72
- t2iapi/context/service_pb2_grpc.py,sha256=dTp09QIqwjIFotYb0U_AUTLHJ7jmXKED4YVoBWIvWcg,48249
72
+ t2iapi/context/service_pb2_grpc.py,sha256=6jn-AXiIDnMmdwXHLYFejbNFnwZhBHp5AcdySw65A3M,53036
73
73
  t2iapi/context/types_pb2.py,sha256=stA550VvS6o6uctX6pfuU83ufynh2PBLatye7vf_oxk,3389
74
74
  t2iapi/context/types_pb2.pyi,sha256=r507x_S7T9Wl3Uh88RJ16fKoRZ7GSizZAgUmM_3EpIc,3985
75
75
  t2iapi/context/types_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
@@ -114,9 +114,9 @@ t2iapi/operation/service_pb2_grpc.py,sha256=yPxuVXTxpVy5wSGVmsIkj_kfeHHm-AJ_4sgu
114
114
  t2iapi/operation/types_pb2.py,sha256=pdM7ob1_SBFZ6ndx0MPkCo6AdV_pZKtDwFiWBBtT6r4,1374
115
115
  t2iapi/operation/types_pb2.pyi,sha256=DplrhCrEW7nHBLLOWlNeka5FzX2gFPv1QGNHyT0tvRM,591
116
116
  t2iapi/operation/types_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
117
- t2iapi-4.2.0.dev509.dist-info/LICENSE,sha256=8ZnuIeCzXNlN6lfSNcmIr6gDfOtFoZ9TKDlf2AAfYdQ,1086
118
- t2iapi-4.2.0.dev509.dist-info/METADATA,sha256=XPU-vLcH7dC7kwjtwg2eill9JYaisqkqKhgx_ZFYNLA,835
119
- t2iapi-4.2.0.dev509.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
120
- t2iapi-4.2.0.dev509.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
121
- t2iapi-4.2.0.dev509.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
122
- t2iapi-4.2.0.dev509.dist-info/RECORD,,
117
+ t2iapi-4.2.0.dev512.dist-info/LICENSE,sha256=8ZnuIeCzXNlN6lfSNcmIr6gDfOtFoZ9TKDlf2AAfYdQ,1086
118
+ t2iapi-4.2.0.dev512.dist-info/METADATA,sha256=crA-XUP6zKZynik_kZS2j9n-3VKAvq9gSKlmj2ruggs,835
119
+ t2iapi-4.2.0.dev512.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
120
+ t2iapi-4.2.0.dev512.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
121
+ t2iapi-4.2.0.dev512.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
122
+ t2iapi-4.2.0.dev512.dist-info/RECORD,,