primary_connect_proto 0.8.2 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/connect_proto.gemspec +1 -1
- data/lib/connect_proto/build/device_pb.rb +29 -0
- data/lib/connect_proto/build/location_pb.rb +1 -0
- data/lib/connect_proto/build/meta_pb.rb +2 -1
- data/lib/connect_proto/build/order_pb.rb +16 -3
- data/lib/connect_proto/build/phone_number_pb.rb +2 -1
- data/lib/connect_proto/build/relationship_pb.rb +2 -2
- data/lib/connect_proto/build/result_pb.rb +6 -4
- data/lib/connect_proto/build/visit_pb.rb +13 -10
- data/lib/connect_proto/src/address.proto +1 -0
- data/lib/connect_proto/src/coded_value.proto +1 -0
- data/lib/connect_proto/src/demographics.proto +1 -0
- data/lib/connect_proto/src/device.proto +22 -0
- data/lib/connect_proto/src/identifier.proto +1 -0
- data/lib/connect_proto/src/location.proto +3 -1
- data/lib/connect_proto/src/meta.proto +3 -2
- data/lib/connect_proto/src/name.proto +1 -0
- data/lib/connect_proto/src/order.proto +18 -4
- data/lib/connect_proto/src/patient.proto +1 -0
- data/lib/connect_proto/src/phone_number.proto +3 -1
- data/lib/connect_proto/src/provider.proto +1 -0
- data/lib/connect_proto/src/relationship.proto +3 -2
- data/lib/connect_proto/src/result.proto +7 -4
- data/lib/connect_proto/src/results.proto +1 -0
- data/lib/connect_proto/src/specimen.proto +1 -1
- data/lib/connect_proto/src/visit.proto +14 -10
- data/lib/primary_connect_proto.rb +1 -0
- metadata +8 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6cdfb8725dfc8548cfe48cf3727e78a435e50212c080dafc07ce778c599e9e5c
|
4
|
+
data.tar.gz: 484f6c5239580a4460b4ddb70358e418f4f890f4465f037149927fcc8b529f89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74166b308ed9d2ac62a49537df0deac54092ea7b875b68f74fe4e8a1b1a2ccf356fdf7e0465aff1bae5e245bf6c5ebb4d08f24285b935b89be485be65afd754b
|
7
|
+
data.tar.gz: ae98ea8325f5ce6acbd8a25f444ea21741766bdb794b3030759e3d88cd88ee992db2f9c9db762350ee4fc060dff78055d1b75dc0f5c171f06884ce690eb8ac08
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.10.2
|
4
|
+
|
5
|
+
- Use `oneof` for `Subject` in `Order`
|
6
|
+
|
7
|
+
## 0.10.1
|
8
|
+
|
9
|
+
- Added `Device` model and `Subject` field to `Order`
|
10
|
+
|
11
|
+
## 0.9.0
|
12
|
+
|
13
|
+
- Update enums at index 0 to be an `unknown` type value
|
14
|
+
|
15
|
+
## 0.8.2
|
16
|
+
|
17
|
+
- This change applies to version 0.8.1 as well
|
18
|
+
- Force google-protobuf:4.0.0.rc.1 in Gemfile.lock
|
19
|
+
|
3
20
|
## 0.8.0
|
4
21
|
|
5
22
|
- Pull `Result` out of `Results`
|
data/connect_proto.gemspec
CHANGED
@@ -0,0 +1,29 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: device.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/struct_pb'
|
7
|
+
require 'google/protobuf/timestamp_pb'
|
8
|
+
require 'address_pb'
|
9
|
+
require 'identifier_pb'
|
10
|
+
require 'location_pb'
|
11
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
|
+
add_file("device.proto", :syntax => :proto3) do
|
13
|
+
add_message "primary.connect.Device" do
|
14
|
+
optional :device_id, :message, 1, "primary.connect.Identifier"
|
15
|
+
optional :manufacturer, :string, 2
|
16
|
+
optional :model_number, :string, 3
|
17
|
+
optional :serial_number, :string, 4
|
18
|
+
optional :address, :message, 5, "primary.connect.Address"
|
19
|
+
optional :location, :message, 6, "primary.connect.Location"
|
20
|
+
map :config, :string, :message, 7, "google.protobuf.Value"
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
module Primary
|
26
|
+
module Connect
|
27
|
+
Device = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("primary.connect.Device").msgclass
|
28
|
+
end
|
29
|
+
end
|
@@ -35,11 +35,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
35
35
|
map :config, :string, :message, 3, "google.protobuf.Value"
|
36
36
|
end
|
37
37
|
add_enum "primary.connect.Meta.EventType" do
|
38
|
-
value :
|
38
|
+
value :EVENT_TYPE_UNKNOWN, 0
|
39
39
|
value :EVENT_TYPE_NEW_UNSOLICITED, 1
|
40
40
|
value :EVENT_TYPE_UPDATE, 2
|
41
41
|
value :EVENT_TYPE_CANCEL, 3
|
42
42
|
value :EVENT_TYPE_QUERY, 4
|
43
|
+
value :EVENT_TYPE_NEW, 5
|
43
44
|
end
|
44
45
|
end
|
45
46
|
end
|
@@ -6,6 +6,7 @@ require 'google/protobuf'
|
|
6
6
|
require 'google/protobuf/timestamp_pb'
|
7
7
|
require 'address_pb'
|
8
8
|
require 'coded_value_pb'
|
9
|
+
require 'device_pb'
|
9
10
|
require 'identifier_pb'
|
10
11
|
require 'meta_pb'
|
11
12
|
require 'patient_pb'
|
@@ -21,6 +22,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
21
22
|
optional :patient, :message, 2, "primary.connect.Patient"
|
22
23
|
optional :visit, :message, 3, "primary.connect.Visit"
|
23
24
|
optional :order, :message, 4, "primary.connect.Order.Order"
|
25
|
+
optional :subject, :message, 5, "primary.connect.Order.Subject"
|
24
26
|
end
|
25
27
|
add_message "primary.connect.Order.Order" do
|
26
28
|
optional :id, :string, 1
|
@@ -44,6 +46,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
44
46
|
optional :response_flag, :enum, 19, "primary.connect.Order.Order.ResponseFlag"
|
45
47
|
repeated :external_ids, :message, 20, "primary.connect.Identifier"
|
46
48
|
repeated :results, :message, 21, "primary.connect.Result"
|
49
|
+
optional :collection_start_date_time, :message, 22, "google.protobuf.Timestamp"
|
47
50
|
end
|
48
51
|
add_message "primary.connect.Order.Order.Facility" do
|
49
52
|
optional :name, :string, 1
|
@@ -71,17 +74,19 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
71
74
|
repeated :notes, :string, 5
|
72
75
|
end
|
73
76
|
add_enum "primary.connect.Order.Order.Status" do
|
74
|
-
value :
|
77
|
+
value :STATUS_UNKNOWN, 0
|
75
78
|
value :STATUS_UPDATE, 1
|
76
79
|
value :STATUS_CANCEL, 2
|
77
80
|
value :STATUS_RESULTED, 3
|
81
|
+
value :STATUS_NEW, 4
|
78
82
|
end
|
79
83
|
add_enum "primary.connect.Order.Order.Priority" do
|
80
|
-
value :
|
84
|
+
value :PRIORITY_UNKNOWN, 0
|
81
85
|
value :PRIORITY_ASAP, 1
|
82
86
|
value :PRIORITY_ROUTINE, 2
|
83
87
|
value :PRIORITY_PREOPERATIVE, 3
|
84
88
|
value :PRIORITY_TIMING_CRITICAL, 4
|
89
|
+
value :PRIORITY_STAT, 5
|
85
90
|
end
|
86
91
|
add_enum "primary.connect.Order.Order.ResultStatus" do
|
87
92
|
value :UNAVAILABLE, 0
|
@@ -92,11 +97,18 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
92
97
|
value :FINAL, 5
|
93
98
|
end
|
94
99
|
add_enum "primary.connect.Order.Order.ResponseFlag" do
|
95
|
-
value :
|
100
|
+
value :UNKNOWN, 0
|
96
101
|
value :EXCEPTIONS, 1
|
97
102
|
value :REPLACEMENTS, 2
|
98
103
|
value :ASSOCIATED_SEGMENTS, 3
|
99
104
|
value :CONFIRMATIONS, 4
|
105
|
+
value :ACKNOWLEDGEMENT, 5
|
106
|
+
end
|
107
|
+
add_message "primary.connect.Order.Subject" do
|
108
|
+
oneof :subject do
|
109
|
+
optional :patient, :message, 1, "primary.connect.Patient"
|
110
|
+
optional :device, :message, 2, "primary.connect.Device"
|
111
|
+
end
|
100
112
|
end
|
101
113
|
end
|
102
114
|
end
|
@@ -113,5 +125,6 @@ module Primary
|
|
113
125
|
Order::Order::Priority = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("primary.connect.Order.Order.Priority").enummodule
|
114
126
|
Order::Order::ResultStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("primary.connect.Order.Order.ResultStatus").enummodule
|
115
127
|
Order::Order::ResponseFlag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("primary.connect.Order.Order.ResponseFlag").enummodule
|
128
|
+
Order::Subject = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("primary.connect.Order.Subject").msgclass
|
116
129
|
end
|
117
130
|
end
|
@@ -10,10 +10,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
10
10
|
optional :number, :string, 2
|
11
11
|
end
|
12
12
|
add_enum "primary.connect.PhoneNumber.Type" do
|
13
|
-
value :
|
13
|
+
value :UNKNOWN, 0
|
14
14
|
value :OFFICE, 1
|
15
15
|
value :MOBILE, 2
|
16
16
|
value :FAX, 3
|
17
|
+
value :HOME, 4
|
17
18
|
end
|
18
19
|
end
|
19
20
|
end
|
@@ -6,9 +6,9 @@ require 'google/protobuf'
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
7
|
add_file("relationship.proto", :syntax => :proto3) do
|
8
8
|
add_enum "primary.connect.Relationship" do
|
9
|
-
value :
|
9
|
+
value :RELATIONSHIP_UNKNOWN, 0
|
10
10
|
value :RELATIONSHIP_OTHER, 1
|
11
|
-
value :
|
11
|
+
value :RELATIONSHIP_SELF, 2
|
12
12
|
value :RELATIONSHIP_SPOUSE, 3
|
13
13
|
value :RELATIONSHIP_LIFE_PARTNER, 4
|
14
14
|
value :RELATIONSHIP_CHILD, 5
|
@@ -47,7 +47,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
47
47
|
optional :url, :string, 3
|
48
48
|
end
|
49
49
|
add_enum "primary.connect.Result.ValueType" do
|
50
|
-
value :
|
50
|
+
value :UNKNOWN, 0
|
51
51
|
value :CODED_ENTRY, 1
|
52
52
|
value :DATE, 2
|
53
53
|
value :DATE_TIME, 3
|
@@ -64,9 +64,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
64
64
|
value :STRING, 14
|
65
65
|
value :TIME, 15
|
66
66
|
value :STRUCTURED_NUMERIC, 16
|
67
|
+
value :ADDRESS, 17
|
67
68
|
end
|
68
69
|
add_enum "primary.connect.Result.AbnormalFlag" do
|
69
|
-
value :
|
70
|
+
value :NONE, 0
|
70
71
|
value :LOW, 1
|
71
72
|
value :VERY_LOW, 2
|
72
73
|
value :HIGH, 3
|
@@ -83,14 +84,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
83
84
|
value :NOT_SUSCEPTIBLE, 14
|
84
85
|
value :INCONCLUSIVE, 15
|
85
86
|
value :VERY_ABNORMAL, 16
|
87
|
+
value :NORMAL, 17
|
86
88
|
end
|
87
89
|
add_enum "primary.connect.Result.Status" do
|
88
|
-
value :
|
90
|
+
value :NONE_SPECIFIED, 0
|
89
91
|
value :INCOMPLETE, 1
|
90
92
|
value :CORRECTED, 2
|
91
93
|
value :FINAL, 3
|
92
94
|
value :UNAVAILABLE, 4
|
93
|
-
value :
|
95
|
+
value :PRELIMINARY, 5
|
94
96
|
value :CANCELED, 6
|
95
97
|
value :DELETED, 7
|
96
98
|
value :REJECTED, 8
|
@@ -80,20 +80,23 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
80
80
|
optional :address, :message, 7, "primary.connect.Address"
|
81
81
|
end
|
82
82
|
add_enum "primary.connect.Visit.Insurance.Priority" do
|
83
|
-
value :
|
84
|
-
value :
|
85
|
-
value :
|
83
|
+
value :PRIORITY_UNKNOWN, 0
|
84
|
+
value :PRIORITY_PRIMARY, 1
|
85
|
+
value :PRIORITY_SECONDARY, 2
|
86
|
+
value :PRIORITY_TERTIARY, 3
|
86
87
|
end
|
87
88
|
add_enum "primary.connect.Visit.Insurance.AgreementType" do
|
88
|
-
value :
|
89
|
-
value :
|
90
|
-
value :
|
89
|
+
value :AGREEMENT_TYPE_UNKNOWN, 0
|
90
|
+
value :AGREEMENT_TYPE_STANDARD, 1
|
91
|
+
value :AGREEMENT_TYPE_UNIFIED, 2
|
92
|
+
value :AGREEMENT_TYPE_MATERNITY, 3
|
91
93
|
end
|
92
94
|
add_enum "primary.connect.Visit.Insurance.CoverageType" do
|
93
|
-
value :
|
94
|
-
value :
|
95
|
-
value :
|
96
|
-
value :
|
95
|
+
value :COVERAGE_TYPE_UNKNOWN, 0
|
96
|
+
value :COVERAGE_TYPE_PATIENT, 1
|
97
|
+
value :COVERAGE_TYPE_CLINIC, 2
|
98
|
+
value :COVERAGE_TYPE_INSURANCE, 3
|
99
|
+
value :COVERAGE_TYPE_OTHER, 4
|
97
100
|
end
|
98
101
|
end
|
99
102
|
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
package primary.connect;
|
3
|
+
option go_package = "primary.connect";
|
4
|
+
|
5
|
+
import "google/protobuf/struct.proto";
|
6
|
+
import "google/protobuf/timestamp.proto";
|
7
|
+
|
8
|
+
import "address.proto";
|
9
|
+
import "identifier.proto";
|
10
|
+
import "location.proto";
|
11
|
+
|
12
|
+
message Device {
|
13
|
+
Identifier device_id = 1;
|
14
|
+
|
15
|
+
string manufacturer = 2;
|
16
|
+
string model_number = 3;
|
17
|
+
string serial_number = 4;
|
18
|
+
|
19
|
+
Address address = 5;
|
20
|
+
Location location = 6;
|
21
|
+
map<string, google.protobuf.Value> config = 7;
|
22
|
+
}
|
@@ -1,10 +1,12 @@
|
|
1
1
|
syntax = "proto3";
|
2
2
|
package primary.connect;
|
3
|
+
option go_package = "primary.connect";
|
3
4
|
|
4
5
|
message Location {
|
5
6
|
string type = 1; // E.g. Clinic, Department, Home, Nursing Unit, Provider's Office, Phone
|
6
7
|
string facility = 2; // E.g. Community Hospital
|
7
8
|
string department = 3;
|
8
9
|
string room = 4; // E.g. 136
|
9
|
-
string bed = 5; // E.g B
|
10
|
+
string bed = 5; // E.g. B
|
11
|
+
string floor = 6; // E.g. 33
|
10
12
|
}
|
@@ -1,17 +1,18 @@
|
|
1
|
-
|
2
1
|
syntax = "proto3";
|
3
2
|
package primary.connect;
|
3
|
+
option go_package = "primary.connect";
|
4
4
|
|
5
5
|
import "google/protobuf/struct.proto";
|
6
6
|
import "google/protobuf/timestamp.proto";
|
7
7
|
|
8
8
|
message Meta {
|
9
9
|
enum EventType {
|
10
|
-
|
10
|
+
EVENT_TYPE_UNKNOWN = 0;
|
11
11
|
EVENT_TYPE_NEW_UNSOLICITED = 1;
|
12
12
|
EVENT_TYPE_UPDATE = 2;
|
13
13
|
EVENT_TYPE_CANCEL = 3;
|
14
14
|
EVENT_TYPE_QUERY = 4;
|
15
|
+
EVENT_TYPE_NEW = 5;
|
15
16
|
}
|
16
17
|
|
17
18
|
message Source {
|
@@ -1,10 +1,12 @@
|
|
1
1
|
syntax = "proto3";
|
2
2
|
package primary.connect;
|
3
|
+
option go_package = "primary.connect";
|
3
4
|
|
4
5
|
import "google/protobuf/timestamp.proto";
|
5
6
|
|
6
7
|
import "address.proto";
|
7
8
|
import "coded_value.proto";
|
9
|
+
import "device.proto";
|
8
10
|
import "identifier.proto";
|
9
11
|
import "meta.proto";
|
10
12
|
import "patient.proto";
|
@@ -46,18 +48,20 @@ message Order {
|
|
46
48
|
}
|
47
49
|
|
48
50
|
enum Status {
|
49
|
-
|
51
|
+
STATUS_UNKNOWN = 0;
|
50
52
|
STATUS_UPDATE = 1;
|
51
53
|
STATUS_CANCEL = 2;
|
52
54
|
STATUS_RESULTED = 3;
|
55
|
+
STATUS_NEW = 4;
|
53
56
|
}
|
54
57
|
|
55
58
|
enum Priority {
|
56
|
-
|
59
|
+
PRIORITY_UNKNOWN = 0;
|
57
60
|
PRIORITY_ASAP = 1;
|
58
61
|
PRIORITY_ROUTINE = 2;
|
59
62
|
PRIORITY_PREOPERATIVE = 3;
|
60
63
|
PRIORITY_TIMING_CRITICAL = 4;
|
64
|
+
PRIORITY_STAT = 5;
|
61
65
|
}
|
62
66
|
|
63
67
|
enum ResultStatus {
|
@@ -72,11 +76,12 @@ message Order {
|
|
72
76
|
enum ResponseFlag {
|
73
77
|
/* Increasing specificity, values incorporate previous options */
|
74
78
|
/* HL7 Table 0121 */
|
75
|
-
|
79
|
+
UNKNOWN = 0;
|
76
80
|
EXCEPTIONS = 1;
|
77
81
|
REPLACEMENTS = 2;
|
78
82
|
ASSOCIATED_SEGMENTS = 3;
|
79
83
|
CONFIRMATIONS = 4;
|
84
|
+
ACKNOWLEDGEMENT = 5;
|
80
85
|
}
|
81
86
|
|
82
87
|
string id = 1; // ID of the order assigned by the placing system
|
@@ -100,10 +105,19 @@ message Order {
|
|
100
105
|
ResponseFlag response_flag = 19; // Specificity of the response requested from the receiving system
|
101
106
|
repeated Identifier external_ids = 20; // May contain any number of ids related to this order
|
102
107
|
repeated Result results = 21; // If this order already has a result, add the result here
|
108
|
+
google.protobuf.Timestamp collection_start_date_time = 22; // Timestamp when the results collection was started.
|
109
|
+
}
|
110
|
+
|
111
|
+
message Subject {
|
112
|
+
oneof subject {
|
113
|
+
Patient patient = 1;
|
114
|
+
Device device = 2;
|
115
|
+
};
|
103
116
|
}
|
104
117
|
|
105
118
|
Meta meta = 1;
|
106
|
-
Patient patient = 2;
|
119
|
+
Patient patient = 2; // Deprecated in favor of the subject field
|
107
120
|
Visit visit = 3;
|
108
121
|
Order order = 4;
|
122
|
+
Subject subject = 5;
|
109
123
|
}
|
@@ -1,12 +1,14 @@
|
|
1
1
|
syntax = "proto3";
|
2
2
|
package primary.connect;
|
3
|
+
option go_package = "primary.connect";
|
3
4
|
|
4
5
|
message PhoneNumber {
|
5
6
|
enum Type {
|
6
|
-
|
7
|
+
UNKNOWN = 0;
|
7
8
|
OFFICE = 1;
|
8
9
|
MOBILE = 2;
|
9
10
|
FAX = 3;
|
11
|
+
HOME = 4;
|
10
12
|
}
|
11
13
|
Type type = 1;
|
12
14
|
string number = 2; /* E.164 */
|
@@ -1,10 +1,11 @@
|
|
1
1
|
syntax = "proto3";
|
2
2
|
package primary.connect;
|
3
|
+
option go_package = "primary.connect";
|
3
4
|
|
4
5
|
enum Relationship {
|
5
|
-
|
6
|
+
RELATIONSHIP_UNKNOWN = 0;
|
6
7
|
RELATIONSHIP_OTHER = 1;
|
7
|
-
|
8
|
+
RELATIONSHIP_SELF = 2;
|
8
9
|
RELATIONSHIP_SPOUSE = 3;
|
9
10
|
RELATIONSHIP_LIFE_PARTNER = 4;
|
10
11
|
RELATIONSHIP_CHILD = 5;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
syntax = "proto3";
|
2
2
|
package primary.connect;
|
3
|
+
option go_package = "primary.connect";
|
3
4
|
|
4
5
|
import "google/protobuf/timestamp.proto";
|
5
6
|
|
@@ -11,7 +12,7 @@ import "specimen.proto";
|
|
11
12
|
|
12
13
|
message Result {
|
13
14
|
enum ValueType {
|
14
|
-
|
15
|
+
UNKNOWN = 0;
|
15
16
|
CODED_ENTRY = 1;
|
16
17
|
DATE = 2;
|
17
18
|
DATE_TIME = 3;
|
@@ -28,10 +29,11 @@ message Result {
|
|
28
29
|
STRING = 14;
|
29
30
|
TIME = 15;
|
30
31
|
STRUCTURED_NUMERIC = 16;
|
32
|
+
ADDRESS = 17;
|
31
33
|
}
|
32
34
|
|
33
35
|
enum AbnormalFlag {
|
34
|
-
|
36
|
+
NONE = 0;
|
35
37
|
LOW = 1;
|
36
38
|
VERY_LOW = 2;
|
37
39
|
HIGH = 3;
|
@@ -48,15 +50,16 @@ message Result {
|
|
48
50
|
NOT_SUSCEPTIBLE = 14;
|
49
51
|
INCONCLUSIVE = 15;
|
50
52
|
VERY_ABNORMAL = 16;
|
53
|
+
NORMAL = 17;
|
51
54
|
}
|
52
55
|
|
53
56
|
enum Status {
|
54
|
-
|
57
|
+
NONE_SPECIFIED = 0;
|
55
58
|
INCOMPLETE = 1;
|
56
59
|
CORRECTED = 2;
|
57
60
|
FINAL = 3;
|
58
61
|
UNAVAILABLE = 4;
|
59
|
-
|
62
|
+
PRELIMINARY = 5;
|
60
63
|
CANCELED = 6;
|
61
64
|
DELETED = 7;
|
62
65
|
REJECTED = 8;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
syntax = "proto3";
|
2
2
|
package primary.connect;
|
3
|
+
option go_package = "primary.connect";
|
3
4
|
|
4
5
|
import "google/protobuf/timestamp.proto";
|
5
6
|
|
@@ -60,22 +61,25 @@ message Visit {
|
|
60
61
|
}
|
61
62
|
|
62
63
|
enum Priority {
|
63
|
-
|
64
|
-
|
65
|
-
|
64
|
+
PRIORITY_UNKNOWN = 0;
|
65
|
+
PRIORITY_PRIMARY = 1;
|
66
|
+
PRIORITY_SECONDARY = 2;
|
67
|
+
PRIORITY_TERTIARY = 3;
|
66
68
|
}
|
67
69
|
|
68
70
|
enum AgreementType {
|
69
|
-
|
70
|
-
|
71
|
-
|
71
|
+
AGREEMENT_TYPE_UNKNOWN = 0;
|
72
|
+
AGREEMENT_TYPE_STANDARD = 1;
|
73
|
+
AGREEMENT_TYPE_UNIFIED = 2;
|
74
|
+
AGREEMENT_TYPE_MATERNITY = 3;
|
72
75
|
}
|
73
76
|
|
74
77
|
enum CoverageType {
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
78
|
+
COVERAGE_TYPE_UNKNOWN = 0;
|
79
|
+
COVERAGE_TYPE_PATIENT = 1;
|
80
|
+
COVERAGE_TYPE_CLINIC = 2;
|
81
|
+
COVERAGE_TYPE_INSURANCE = 3;
|
82
|
+
COVERAGE_TYPE_OTHER = 4;
|
79
83
|
}
|
80
84
|
|
81
85
|
Plan plan = 1;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: primary_connect_proto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Primary.Health
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -88,6 +88,7 @@ files:
|
|
88
88
|
- lib/connect_proto/build/address_pb.rb
|
89
89
|
- lib/connect_proto/build/coded_value_pb.rb
|
90
90
|
- lib/connect_proto/build/demographics_pb.rb
|
91
|
+
- lib/connect_proto/build/device_pb.rb
|
91
92
|
- lib/connect_proto/build/identifier_pb.rb
|
92
93
|
- lib/connect_proto/build/location_pb.rb
|
93
94
|
- lib/connect_proto/build/meta_pb.rb
|
@@ -104,6 +105,7 @@ files:
|
|
104
105
|
- lib/connect_proto/src/address.proto
|
105
106
|
- lib/connect_proto/src/coded_value.proto
|
106
107
|
- lib/connect_proto/src/demographics.proto
|
108
|
+
- lib/connect_proto/src/device.proto
|
107
109
|
- lib/connect_proto/src/identifier.proto
|
108
110
|
- lib/connect_proto/src/location.proto
|
109
111
|
- lib/connect_proto/src/meta.proto
|
@@ -1878,7 +1880,7 @@ homepage: https://github.com/PrimaryDotHealth/connect-proto
|
|
1878
1880
|
licenses:
|
1879
1881
|
- Unlicense
|
1880
1882
|
metadata: {}
|
1881
|
-
post_install_message:
|
1883
|
+
post_install_message:
|
1882
1884
|
rdoc_options: []
|
1883
1885
|
require_paths:
|
1884
1886
|
- lib
|
@@ -1895,8 +1897,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1895
1897
|
- !ruby/object:Gem::Version
|
1896
1898
|
version: '0'
|
1897
1899
|
requirements: []
|
1898
|
-
rubygems_version: 3.
|
1899
|
-
signing_key:
|
1900
|
+
rubygems_version: 3.2.15
|
1901
|
+
signing_key:
|
1900
1902
|
specification_version: 4
|
1901
1903
|
summary: Primary Connect Protobuf
|
1902
1904
|
test_files: []
|