You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
okapi/okapi-patient-registration....

1293 lines
47 KiB

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.30.0
// protoc v3.21.12
// source: okapi-patient-registration.proto
package okapi
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
structpb "google.golang.org/protobuf/types/known/structpb"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type Identifier struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}
func (x *Identifier) Reset() {
*x = Identifier{}
if protoimpl.UnsafeEnabled {
mi := &file_okapi_patient_registration_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Identifier) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Identifier) ProtoMessage() {}
func (x *Identifier) ProtoReflect() protoreflect.Message {
mi := &file_okapi_patient_registration_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Identifier.ProtoReflect.Descriptor instead.
func (*Identifier) Descriptor() ([]byte, []int) {
return file_okapi_patient_registration_proto_rawDescGZIP(), []int{0}
}
func (x *Identifier) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *Identifier) GetValue() string {
if x != nil {
return x.Value
}
return ""
}
type PatientRegistrationData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Subject *PatientMeta `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
CallbackProtocolData *structpb.Struct `protobuf:"bytes,3,opt,name=callbackProtocolData,proto3" json:"callbackProtocolData,omitempty"`
// Aangeven van extra data voor dienst specifieke zaken, bijv policy oid,
ServiceInput *structpb.Struct `protobuf:"bytes,4,opt,name=serviceInput,proto3" json:"serviceInput,omitempty"`
ServiceOutput *structpb.Struct `protobuf:"bytes,5,opt,name=serviceOutput,proto3" json:"serviceOutput,omitempty"`
}
func (x *PatientRegistrationData) Reset() {
*x = PatientRegistrationData{}
if protoimpl.UnsafeEnabled {
mi := &file_okapi_patient_registration_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PatientRegistrationData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PatientRegistrationData) ProtoMessage() {}
func (x *PatientRegistrationData) ProtoReflect() protoreflect.Message {
mi := &file_okapi_patient_registration_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PatientRegistrationData.ProtoReflect.Descriptor instead.
func (*PatientRegistrationData) Descriptor() ([]byte, []int) {
return file_okapi_patient_registration_proto_rawDescGZIP(), []int{1}
}
func (x *PatientRegistrationData) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *PatientRegistrationData) GetSubject() *PatientMeta {
if x != nil {
return x.Subject
}
return nil
}
func (x *PatientRegistrationData) GetCallbackProtocolData() *structpb.Struct {
if x != nil {
return x.CallbackProtocolData
}
return nil
}
func (x *PatientRegistrationData) GetServiceInput() *structpb.Struct {
if x != nil {
return x.ServiceInput
}
return nil
}
func (x *PatientRegistrationData) GetServiceOutput() *structpb.Struct {
if x != nil {
return x.ServiceOutput
}
return nil
}
type Name struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Display string `protobuf:"bytes,1,opt,name=display,proto3" json:"display,omitempty"`
Given []string `protobuf:"bytes,2,rep,name=given,proto3" json:"given,omitempty"`
OwnName string `protobuf:"bytes,3,opt,name=ownName,proto3" json:"ownName,omitempty"`
OwnNamePrefix string `protobuf:"bytes,4,opt,name=ownNamePrefix,proto3" json:"ownNamePrefix,omitempty"`
PartnerName string `protobuf:"bytes,5,opt,name=partnerName,proto3" json:"partnerName,omitempty"`
PartnerNamePrefix string `protobuf:"bytes,6,opt,name=partnerNamePrefix,proto3" json:"partnerNamePrefix,omitempty"`
}
func (x *Name) Reset() {
*x = Name{}
if protoimpl.UnsafeEnabled {
mi := &file_okapi_patient_registration_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Name) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Name) ProtoMessage() {}
func (x *Name) ProtoReflect() protoreflect.Message {
mi := &file_okapi_patient_registration_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Name.ProtoReflect.Descriptor instead.
func (*Name) Descriptor() ([]byte, []int) {
return file_okapi_patient_registration_proto_rawDescGZIP(), []int{2}
}
func (x *Name) GetDisplay() string {
if x != nil {
return x.Display
}
return ""
}
func (x *Name) GetGiven() []string {
if x != nil {
return x.Given
}
return nil
}
func (x *Name) GetOwnName() string {
if x != nil {
return x.OwnName
}
return ""
}
func (x *Name) GetOwnNamePrefix() string {
if x != nil {
return x.OwnNamePrefix
}
return ""
}
func (x *Name) GetPartnerName() string {
if x != nil {
return x.PartnerName
}
return ""
}
func (x *Name) GetPartnerNamePrefix() string {
if x != nil {
return x.PartnerNamePrefix
}
return ""
}
type Address struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Street string `protobuf:"bytes,1,opt,name=street,proto3" json:"street,omitempty"`
StreetNumber string `protobuf:"bytes,2,opt,name=streetNumber,proto3" json:"streetNumber,omitempty"`
PostalCode string `protobuf:"bytes,3,opt,name=postalCode,proto3" json:"postalCode,omitempty"`
City string `protobuf:"bytes,4,opt,name=city,proto3" json:"city,omitempty"`
Country string `protobuf:"bytes,5,opt,name=country,proto3" json:"country,omitempty"`
}
func (x *Address) Reset() {
*x = Address{}
if protoimpl.UnsafeEnabled {
mi := &file_okapi_patient_registration_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Address) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Address) ProtoMessage() {}
func (x *Address) ProtoReflect() protoreflect.Message {
mi := &file_okapi_patient_registration_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Address.ProtoReflect.Descriptor instead.
func (*Address) Descriptor() ([]byte, []int) {
return file_okapi_patient_registration_proto_rawDescGZIP(), []int{3}
}
func (x *Address) GetStreet() string {
if x != nil {
return x.Street
}
return ""
}
func (x *Address) GetStreetNumber() string {
if x != nil {
return x.StreetNumber
}
return ""
}
func (x *Address) GetPostalCode() string {
if x != nil {
return x.PostalCode
}
return ""
}
func (x *Address) GetCity() string {
if x != nil {
return x.City
}
return ""
}
func (x *Address) GetCountry() string {
if x != nil {
return x.Country
}
return ""
}
type PatientMeta struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Identifier *Identifier `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
Name *Name `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Address *Address `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
Birthdate string `protobuf:"bytes,4,opt,name=birthdate,proto3" json:"birthdate,omitempty"` // Date in format yyyy-mm-dd
Extra *structpb.Struct `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"`
}
func (x *PatientMeta) Reset() {
*x = PatientMeta{}
if protoimpl.UnsafeEnabled {
mi := &file_okapi_patient_registration_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PatientMeta) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PatientMeta) ProtoMessage() {}
func (x *PatientMeta) ProtoReflect() protoreflect.Message {
mi := &file_okapi_patient_registration_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PatientMeta.ProtoReflect.Descriptor instead.
func (*PatientMeta) Descriptor() ([]byte, []int) {
return file_okapi_patient_registration_proto_rawDescGZIP(), []int{4}
}
func (x *PatientMeta) GetIdentifier() *Identifier {
if x != nil {
return x.Identifier
}
return nil
}
func (x *PatientMeta) GetName() *Name {
if x != nil {
return x.Name
}
return nil
}
func (x *PatientMeta) GetAddress() *Address {
if x != nil {
return x.Address
}
return nil
}
func (x *PatientMeta) GetBirthdate() string {
if x != nil {
return x.Birthdate
}
return ""
}
func (x *PatientMeta) GetExtra() *structpb.Struct {
if x != nil {
return x.Extra
}
return nil
}
type PatientRegistrationCreateOrUpdateData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Subject *PatientMeta `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
CallbackProtocolData *structpb.Struct `protobuf:"bytes,3,opt,name=callbackProtocolData,proto3" json:"callbackProtocolData,omitempty"`
ServiceInput *structpb.Struct `protobuf:"bytes,4,opt,name=serviceInput,proto3" json:"serviceInput,omitempty"`
}
func (x *PatientRegistrationCreateOrUpdateData) Reset() {
*x = PatientRegistrationCreateOrUpdateData{}
if protoimpl.UnsafeEnabled {
mi := &file_okapi_patient_registration_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PatientRegistrationCreateOrUpdateData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PatientRegistrationCreateOrUpdateData) ProtoMessage() {}
func (x *PatientRegistrationCreateOrUpdateData) ProtoReflect() protoreflect.Message {
mi := &file_okapi_patient_registration_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PatientRegistrationCreateOrUpdateData.ProtoReflect.Descriptor instead.
func (*PatientRegistrationCreateOrUpdateData) Descriptor() ([]byte, []int) {
return file_okapi_patient_registration_proto_rawDescGZIP(), []int{5}
}
func (x *PatientRegistrationCreateOrUpdateData) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *PatientRegistrationCreateOrUpdateData) GetSubject() *PatientMeta {
if x != nil {
return x.Subject
}
return nil
}
func (x *PatientRegistrationCreateOrUpdateData) GetCallbackProtocolData() *structpb.Struct {
if x != nil {
return x.CallbackProtocolData
}
return nil
}
func (x *PatientRegistrationCreateOrUpdateData) GetServiceInput() *structpb.Struct {
if x != nil {
return x.ServiceInput
}
return nil
}
type PatientRegistrationResult struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
ServiceOuput *structpb.Struct `protobuf:"bytes,2,opt,name=serviceOuput,proto3" json:"serviceOuput,omitempty"`
Error *OKAPIError `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
}
func (x *PatientRegistrationResult) Reset() {
*x = PatientRegistrationResult{}
if protoimpl.UnsafeEnabled {
mi := &file_okapi_patient_registration_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PatientRegistrationResult) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PatientRegistrationResult) ProtoMessage() {}
func (x *PatientRegistrationResult) ProtoReflect() protoreflect.Message {
mi := &file_okapi_patient_registration_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PatientRegistrationResult.ProtoReflect.Descriptor instead.
func (*PatientRegistrationResult) Descriptor() ([]byte, []int) {
return file_okapi_patient_registration_proto_rawDescGZIP(), []int{6}
}
func (x *PatientRegistrationResult) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *PatientRegistrationResult) GetServiceOuput() *structpb.Struct {
if x != nil {
return x.ServiceOuput
}
return nil
}
func (x *PatientRegistrationResult) GetError() *OKAPIError {
if x != nil {
return x.Error
}
return nil
}
// Probably do this streaming (also)?
type CreateOrUpdatePatientRegistrationsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ServiceId string `protobuf:"bytes,1,opt,name=serviceId,proto3" json:"serviceId,omitempty"`
Registrations []*PatientRegistrationCreateOrUpdateData `protobuf:"bytes,2,rep,name=registrations,proto3" json:"registrations,omitempty"`
}
func (x *CreateOrUpdatePatientRegistrationsRequest) Reset() {
*x = CreateOrUpdatePatientRegistrationsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_okapi_patient_registration_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateOrUpdatePatientRegistrationsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateOrUpdatePatientRegistrationsRequest) ProtoMessage() {}
func (x *CreateOrUpdatePatientRegistrationsRequest) ProtoReflect() protoreflect.Message {
mi := &file_okapi_patient_registration_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateOrUpdatePatientRegistrationsRequest.ProtoReflect.Descriptor instead.
func (*CreateOrUpdatePatientRegistrationsRequest) Descriptor() ([]byte, []int) {
return file_okapi_patient_registration_proto_rawDescGZIP(), []int{7}
}
func (x *CreateOrUpdatePatientRegistrationsRequest) GetServiceId() string {
if x != nil {
return x.ServiceId
}
return ""
}
func (x *CreateOrUpdatePatientRegistrationsRequest) GetRegistrations() []*PatientRegistrationCreateOrUpdateData {
if x != nil {
return x.Registrations
}
return nil
}
type CreateOrUpdatePatientRegistrationsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Results []*PatientRegistrationResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
}
func (x *CreateOrUpdatePatientRegistrationsResponse) Reset() {
*x = CreateOrUpdatePatientRegistrationsResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_okapi_patient_registration_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateOrUpdatePatientRegistrationsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateOrUpdatePatientRegistrationsResponse) ProtoMessage() {}
func (x *CreateOrUpdatePatientRegistrationsResponse) ProtoReflect() protoreflect.Message {
mi := &file_okapi_patient_registration_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateOrUpdatePatientRegistrationsResponse.ProtoReflect.Descriptor instead.
func (*CreateOrUpdatePatientRegistrationsResponse) Descriptor() ([]byte, []int) {
return file_okapi_patient_registration_proto_rawDescGZIP(), []int{8}
}
func (x *CreateOrUpdatePatientRegistrationsResponse) GetResults() []*PatientRegistrationResult {
if x != nil {
return x.Results
}
return nil
}
type RemovePatientRegistrationsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ServiceId string `protobuf:"bytes,1,opt,name=serviceId,proto3" json:"serviceId,omitempty"`
Registrations []string `protobuf:"bytes,2,rep,name=registrations,proto3" json:"registrations,omitempty"`
}
func (x *RemovePatientRegistrationsRequest) Reset() {
*x = RemovePatientRegistrationsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_okapi_patient_registration_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RemovePatientRegistrationsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RemovePatientRegistrationsRequest) ProtoMessage() {}
func (x *RemovePatientRegistrationsRequest) ProtoReflect() protoreflect.Message {
mi := &file_okapi_patient_registration_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RemovePatientRegistrationsRequest.ProtoReflect.Descriptor instead.
func (*RemovePatientRegistrationsRequest) Descriptor() ([]byte, []int) {
return file_okapi_patient_registration_proto_rawDescGZIP(), []int{9}
}
func (x *RemovePatientRegistrationsRequest) GetServiceId() string {
if x != nil {
return x.ServiceId
}
return ""
}
func (x *RemovePatientRegistrationsRequest) GetRegistrations() []string {
if x != nil {
return x.Registrations
}
return nil
}
type RemovePatientRegistrationsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Results []*PatientRegistrationResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
}
func (x *RemovePatientRegistrationsResponse) Reset() {
*x = RemovePatientRegistrationsResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_okapi_patient_registration_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RemovePatientRegistrationsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RemovePatientRegistrationsResponse) ProtoMessage() {}
func (x *RemovePatientRegistrationsResponse) ProtoReflect() protoreflect.Message {
mi := &file_okapi_patient_registration_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RemovePatientRegistrationsResponse.ProtoReflect.Descriptor instead.
func (*RemovePatientRegistrationsResponse) Descriptor() ([]byte, []int) {
return file_okapi_patient_registration_proto_rawDescGZIP(), []int{10}
}
func (x *RemovePatientRegistrationsResponse) GetResults() []*PatientRegistrationResult {
if x != nil {
return x.Results
}
return nil
}
type ListPatientRegistrationQuery struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id []string `protobuf:"bytes,1,rep,name=id,proto3" json:"id,omitempty"`
Identifier []*Identifier `protobuf:"bytes,2,rep,name=identifier,proto3" json:"identifier,omitempty"`
}
func (x *ListPatientRegistrationQuery) Reset() {
*x = ListPatientRegistrationQuery{}
if protoimpl.UnsafeEnabled {
mi := &file_okapi_patient_registration_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListPatientRegistrationQuery) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListPatientRegistrationQuery) ProtoMessage() {}
func (x *ListPatientRegistrationQuery) ProtoReflect() protoreflect.Message {
mi := &file_okapi_patient_registration_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListPatientRegistrationQuery.ProtoReflect.Descriptor instead.
func (*ListPatientRegistrationQuery) Descriptor() ([]byte, []int) {
return file_okapi_patient_registration_proto_rawDescGZIP(), []int{11}
}
func (x *ListPatientRegistrationQuery) GetId() []string {
if x != nil {
return x.Id
}
return nil
}
func (x *ListPatientRegistrationQuery) GetIdentifier() []*Identifier {
if x != nil {
return x.Identifier
}
return nil
}
type ListPatientRegistrationsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ServiceId string `protobuf:"bytes,1,opt,name=serviceId,proto3" json:"serviceId,omitempty"`
Query *ListPatientRegistrationQuery `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
}
func (x *ListPatientRegistrationsRequest) Reset() {
*x = ListPatientRegistrationsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_okapi_patient_registration_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListPatientRegistrationsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListPatientRegistrationsRequest) ProtoMessage() {}
func (x *ListPatientRegistrationsRequest) ProtoReflect() protoreflect.Message {
mi := &file_okapi_patient_registration_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListPatientRegistrationsRequest.ProtoReflect.Descriptor instead.
func (*ListPatientRegistrationsRequest) Descriptor() ([]byte, []int) {
return file_okapi_patient_registration_proto_rawDescGZIP(), []int{12}
}
func (x *ListPatientRegistrationsRequest) GetServiceId() string {
if x != nil {
return x.ServiceId
}
return ""
}
func (x *ListPatientRegistrationsRequest) GetQuery() *ListPatientRegistrationQuery {
if x != nil {
return x.Query
}
return nil
}
type ListPatientRegistrationsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PatientRegistrationData []*PatientRegistrationData `protobuf:"bytes,1,rep,name=patientRegistrationData,proto3" json:"patientRegistrationData,omitempty"`
}
func (x *ListPatientRegistrationsResponse) Reset() {
*x = ListPatientRegistrationsResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_okapi_patient_registration_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListPatientRegistrationsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListPatientRegistrationsResponse) ProtoMessage() {}
func (x *ListPatientRegistrationsResponse) ProtoReflect() protoreflect.Message {
mi := &file_okapi_patient_registration_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListPatientRegistrationsResponse.ProtoReflect.Descriptor instead.
func (*ListPatientRegistrationsResponse) Descriptor() ([]byte, []int) {
return file_okapi_patient_registration_proto_rawDescGZIP(), []int{13}
}
func (x *ListPatientRegistrationsResponse) GetPatientRegistrationData() []*PatientRegistrationData {
if x != nil {
return x.PatientRegistrationData
}
return nil
}
var File_okapi_patient_registration_proto protoreflect.FileDescriptor
var file_okapi_patient_registration_proto_rawDesc = []byte{
0x0a, 0x20, 0x6f, 0x6b, 0x61, 0x70, 0x69, 0x2d, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x2d,
0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x1a, 0x12, 0x6f, 0x6b, 0x61, 0x70, 0x69, 0x2d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x22, 0x36, 0x0a, 0x0a, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69,
0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x9a, 0x02, 0x0a,
0x17, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x26, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a,
0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x50, 0x61, 0x74, 0x69,
0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74,
0x12, 0x4b, 0x0a, 0x14, 0x63, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74,
0x6f, 0x63, 0x6f, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17,
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x14, 0x63, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63,
0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x12, 0x3b, 0x0a,
0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x18, 0x04, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0c, 0x73, 0x65,
0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x3d, 0x0a, 0x0d, 0x73, 0x65,
0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x76,
0x69, 0x63, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x22, 0xc6, 0x01, 0x0a, 0x04, 0x4e, 0x61,
0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x12, 0x14, 0x0a, 0x05,
0x67, 0x69, 0x76, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x67, 0x69, 0x76,
0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x77, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20,
0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d,
0x6f, 0x77, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x04, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x77, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x50, 0x72, 0x65, 0x66,
0x69, 0x78, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d,
0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72,
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x4e,
0x61, 0x6d, 0x65, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
0x11, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x50, 0x72, 0x65, 0x66,
0x69, 0x78, 0x22, 0x93, 0x01, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16,
0x0a, 0x06, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74,
0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x74,
0x72, 0x65, 0x65, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x6f,
0x73, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
0x70, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x69,
0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x69, 0x74, 0x79, 0x12, 0x18,
0x0a, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x22, 0xc6, 0x01, 0x0a, 0x0b, 0x50, 0x61, 0x74,
0x69, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x2b, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e,
0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x49,
0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74,
0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
0x12, 0x22, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x08, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x07, 0x61, 0x64, 0x64,
0x72, 0x65, 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x74,
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61,
0x74, 0x65, 0x12, 0x2d, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72,
0x61, 0x22, 0xe9, 0x01, 0x0a, 0x25, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x67,
0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f,
0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69,
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x26, 0x0a, 0x07, 0x73,
0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x50,
0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a,
0x65, 0x63, 0x74, 0x12, 0x4b, 0x0a, 0x14, 0x63, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x50,
0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x14, 0x63, 0x61, 0x6c, 0x6c,
0x62, 0x61, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x44, 0x61, 0x74, 0x61,
0x12, 0x3b, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x70, 0x75, 0x74,
0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52,
0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x22, 0x8b, 0x01,
0x0a, 0x19, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69,
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3b, 0x0a, 0x0c, 0x73,
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x75, 0x70, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0c, 0x73, 0x65, 0x72, 0x76,
0x69, 0x63, 0x65, 0x4f, 0x75, 0x70, 0x75, 0x74, 0x12, 0x21, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f,
0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x4f, 0x4b, 0x41, 0x50, 0x49, 0x45,
0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x97, 0x01, 0x0a, 0x29,
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61,
0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x72,
0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65,
0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x4c, 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x73,
0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26,
0x2e, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x55, 0x70, 0x64, 0x61,
0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x62, 0x0a, 0x2a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f,
0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65,
0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65,
0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x67, 0x0a, 0x21, 0x52, 0x65, 0x6d,
0x6f, 0x76, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74,
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c,
0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0d,
0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20,
0x03, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x73, 0x22, 0x5a, 0x0a, 0x22, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x61, 0x74, 0x69,
0x65, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75,
0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x50, 0x61, 0x74, 0x69,
0x65, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x5b,
0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x67,
0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x0e,
0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2b,
0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52,
0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x22, 0x74, 0x0a, 0x1f, 0x4c,
0x69, 0x73, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74,
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c,
0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x05,
0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x4c, 0x69,
0x73, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72,
0x79, 0x22, 0x76, 0x0a, 0x20, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74,
0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x17, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74,
0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61,
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74,
0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61,
0x52, 0x17, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x42, 0x1a, 0x5a, 0x18, 0x77, 0x68, 0x69,
0x74, 0x65, 0x62, 0x6f, 0x78, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2e, 0x6e, 0x6c, 0x2f,
0x6f, 0x6b, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_okapi_patient_registration_proto_rawDescOnce sync.Once
file_okapi_patient_registration_proto_rawDescData = file_okapi_patient_registration_proto_rawDesc
)
func file_okapi_patient_registration_proto_rawDescGZIP() []byte {
file_okapi_patient_registration_proto_rawDescOnce.Do(func() {
file_okapi_patient_registration_proto_rawDescData = protoimpl.X.CompressGZIP(file_okapi_patient_registration_proto_rawDescData)
})
return file_okapi_patient_registration_proto_rawDescData
}
var file_okapi_patient_registration_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
var file_okapi_patient_registration_proto_goTypes = []interface{}{
(*Identifier)(nil), // 0: Identifier
(*PatientRegistrationData)(nil), // 1: PatientRegistrationData
(*Name)(nil), // 2: Name
(*Address)(nil), // 3: Address
(*PatientMeta)(nil), // 4: PatientMeta
(*PatientRegistrationCreateOrUpdateData)(nil), // 5: PatientRegistrationCreateOrUpdateData
(*PatientRegistrationResult)(nil), // 6: PatientRegistrationResult
(*CreateOrUpdatePatientRegistrationsRequest)(nil), // 7: CreateOrUpdatePatientRegistrationsRequest
(*CreateOrUpdatePatientRegistrationsResponse)(nil), // 8: CreateOrUpdatePatientRegistrationsResponse
(*RemovePatientRegistrationsRequest)(nil), // 9: RemovePatientRegistrationsRequest
(*RemovePatientRegistrationsResponse)(nil), // 10: RemovePatientRegistrationsResponse
(*ListPatientRegistrationQuery)(nil), // 11: ListPatientRegistrationQuery
(*ListPatientRegistrationsRequest)(nil), // 12: ListPatientRegistrationsRequest
(*ListPatientRegistrationsResponse)(nil), // 13: ListPatientRegistrationsResponse
(*structpb.Struct)(nil), // 14: google.protobuf.Struct
(*OKAPIError)(nil), // 15: OKAPIError
}
var file_okapi_patient_registration_proto_depIdxs = []int32{
4, // 0: PatientRegistrationData.subject:type_name -> PatientMeta
14, // 1: PatientRegistrationData.callbackProtocolData:type_name -> google.protobuf.Struct
14, // 2: PatientRegistrationData.serviceInput:type_name -> google.protobuf.Struct
14, // 3: PatientRegistrationData.serviceOutput:type_name -> google.protobuf.Struct
0, // 4: PatientMeta.identifier:type_name -> Identifier
2, // 5: PatientMeta.name:type_name -> Name
3, // 6: PatientMeta.address:type_name -> Address
14, // 7: PatientMeta.extra:type_name -> google.protobuf.Struct
4, // 8: PatientRegistrationCreateOrUpdateData.subject:type_name -> PatientMeta
14, // 9: PatientRegistrationCreateOrUpdateData.callbackProtocolData:type_name -> google.protobuf.Struct
14, // 10: PatientRegistrationCreateOrUpdateData.serviceInput:type_name -> google.protobuf.Struct
14, // 11: PatientRegistrationResult.serviceOuput:type_name -> google.protobuf.Struct
15, // 12: PatientRegistrationResult.error:type_name -> OKAPIError
5, // 13: CreateOrUpdatePatientRegistrationsRequest.registrations:type_name -> PatientRegistrationCreateOrUpdateData
6, // 14: CreateOrUpdatePatientRegistrationsResponse.results:type_name -> PatientRegistrationResult
6, // 15: RemovePatientRegistrationsResponse.results:type_name -> PatientRegistrationResult
0, // 16: ListPatientRegistrationQuery.identifier:type_name -> Identifier
11, // 17: ListPatientRegistrationsRequest.query:type_name -> ListPatientRegistrationQuery
1, // 18: ListPatientRegistrationsResponse.patientRegistrationData:type_name -> PatientRegistrationData
19, // [19:19] is the sub-list for method output_type
19, // [19:19] is the sub-list for method input_type
19, // [19:19] is the sub-list for extension type_name
19, // [19:19] is the sub-list for extension extendee
0, // [0:19] is the sub-list for field type_name
}
func init() { file_okapi_patient_registration_proto_init() }
func file_okapi_patient_registration_proto_init() {
if File_okapi_patient_registration_proto != nil {
return
}
file_okapi_errors_proto_init()
if !protoimpl.UnsafeEnabled {
file_okapi_patient_registration_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Identifier); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_okapi_patient_registration_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PatientRegistrationData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_okapi_patient_registration_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Name); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_okapi_patient_registration_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Address); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_okapi_patient_registration_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PatientMeta); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_okapi_patient_registration_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PatientRegistrationCreateOrUpdateData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_okapi_patient_registration_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PatientRegistrationResult); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_okapi_patient_registration_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateOrUpdatePatientRegistrationsRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_okapi_patient_registration_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateOrUpdatePatientRegistrationsResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_okapi_patient_registration_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RemovePatientRegistrationsRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_okapi_patient_registration_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RemovePatientRegistrationsResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_okapi_patient_registration_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListPatientRegistrationQuery); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_okapi_patient_registration_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListPatientRegistrationsRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_okapi_patient_registration_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListPatientRegistrationsResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_okapi_patient_registration_proto_rawDesc,
NumEnums: 0,
NumMessages: 14,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_okapi_patient_registration_proto_goTypes,
DependencyIndexes: file_okapi_patient_registration_proto_depIdxs,
MessageInfos: file_okapi_patient_registration_proto_msgTypes,
}.Build()
File_okapi_patient_registration_proto = out.File
file_okapi_patient_registration_proto_rawDesc = nil
file_okapi_patient_registration_proto_goTypes = nil
file_okapi_patient_registration_proto_depIdxs = nil
}