primary_connect_proto 0.26.0 → 0.29.0
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.
- checksums.yaml +4 -4
- data/.ruby-version +1 -0
- data/CHANGELOG.md +16 -0
- data/Gemfile.lock +3 -3
- data/README.md +3 -3
- data/lib/connect_proto/build/coded_value_pb.rb +1 -1
- data/lib/connect_proto/build/result_pb.rb +1 -1
- data/lib/connect_proto/src/coded_value.proto +1 -1
- data/lib/connect_proto/src/result.proto +6 -0
- data/lib/connect_proto/version.rb +1 -1
- data/lib/extensions/formattable/coded_value.rb +7 -1
- metadata +6 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07d3ca7dc306291ef3c29dba6f9a744c85e4c9ebf4864832bc3c8a0f7006851a
|
4
|
+
data.tar.gz: 9fba13506d1ae4451cbc5387ecdee58ab6311293ef3e156e134642b2da4ef5b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c10565c67a923f25e03b455a533df95e20980c48f647e0ee0ecae5acb6a3c0b8240df1569de35478b99b3baada3186cd29a37b10d7102fbf666bc4519fe05f58
|
7
|
+
data.tar.gz: c515d2343a16f1aa2894eb73eab4acd5799267d914b238a826761f184921ab3042d457f7561b4be7b23ddc227efde94d7b8e98c8f392806722410ab2c92a9bc9
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
3.3.7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.29.0
|
4
|
+
|
5
|
+
- Fix missing `CodeValue` alt types
|
6
|
+
|
7
|
+
## 0.28.1
|
8
|
+
|
9
|
+
- Fix outdated `result_pb` due to building issues
|
10
|
+
|
11
|
+
## 0.28.0
|
12
|
+
|
13
|
+
- Updated `google-protobof` from `25.5` (3.25.5) to `25.7` (3.25.7)
|
14
|
+
|
15
|
+
## 0.27.0
|
16
|
+
|
17
|
+
- Update `Result.abnormal_flag` enum to include all values from HL7 table 0078
|
18
|
+
|
3
19
|
## 0.26.0
|
4
20
|
|
5
21
|
- Update `Order.procedure` to include alternate fields
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
primary_connect_proto (0.
|
5
|
-
google-protobuf (~> 3.25.
|
4
|
+
primary_connect_proto (0.29.0)
|
5
|
+
google-protobuf (~> 3.25.7)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
@@ -11,7 +11,7 @@ GEM
|
|
11
11
|
byebug (11.1.3)
|
12
12
|
coderay (1.1.3)
|
13
13
|
diff-lcs (1.5.1)
|
14
|
-
google-protobuf (3.25.
|
14
|
+
google-protobuf (3.25.7-arm64-darwin)
|
15
15
|
json (2.9.0)
|
16
16
|
language_server-protocol (3.17.0.3)
|
17
17
|
method_source (1.1.0)
|
data/README.md
CHANGED
@@ -7,10 +7,10 @@
|
|
7
7
|
|
8
8
|
## Compile
|
9
9
|
|
10
|
-
Install [version `
|
10
|
+
Install [version `25`](https://github.com/protocolbuffers/protobuf/releases/tag/v25.7) of Protobuffers .
|
11
11
|
|
12
12
|
```bash
|
13
|
-
PROTOC_VERSION=
|
13
|
+
PROTOC_VERSION=25.7
|
14
14
|
PROTOC_ZIP=protoc-${PROTOC_VERSION}-osx-x86_64.zip
|
15
15
|
|
16
16
|
curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v$PROTOC_VERSION/$PROTOC_ZIP
|
@@ -22,7 +22,7 @@ rm -f $PROTOC_ZIP
|
|
22
22
|
|
23
23
|
- Eval the shell so it picks up changes with `. ~/.zshrc` or restart your terminal
|
24
24
|
|
25
|
-
- Check that `protoc --version` outputs **libprotoc
|
25
|
+
- Check that `protoc --version` outputs **libprotoc 25.7**
|
26
26
|
|
27
27
|
Then, run:
|
28
28
|
|
@@ -5,7 +5,7 @@
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
7
|
|
8
|
-
descriptor_data = "\n\x11\x63oded_value.proto\x12\x0fprimary.connect\"
|
8
|
+
descriptor_data = "\n\x11\x63oded_value.proto\x12\x0fprimary.connect\"\xd3\x01\n\nCodedValue\x12\r\n\x05value\x18\x01 \x01(\t\x12\x10\n\x08\x63ode_set\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x11\n\talt_value\x18\x04 \x01(\t\x12\x14\n\x0c\x61lt_code_set\x18\x05 \x01(\t\x12\x17\n\x0f\x61lt_description\x18\x06 \x01(\t\x12\x18\n\x10\x63ode_set_version\x18\x07 \x01(\t\x12\x1c\n\x14\x61lt_code_set_version\x18\x08 \x01(\t\x12\x15\n\roriginal_text\x18\t \x01(\tB\x11Z\x0fprimary.connectb\x06proto3"
|
9
9
|
|
10
10
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
11
|
|
@@ -13,7 +13,7 @@ require 'provider_pb'
|
|
13
13
|
require 'specimen_pb'
|
14
14
|
|
15
15
|
|
16
|
-
descriptor_data = "\n\x0cresult.proto\x12\x0fprimary.connect\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\raddress.proto\x1a\x11\x63oded_value.proto\x1a\x0c\x64\x65vice.proto\x1a\x10identifier.proto\x1a\x0eprovider.proto\x1a\x0especimen.proto\"\xd7\
|
16
|
+
descriptor_data = "\n\x0cresult.proto\x12\x0fprimary.connect\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\raddress.proto\x1a\x11\x63oded_value.proto\x1a\x0c\x64\x65vice.proto\x1a\x10identifier.proto\x1a\x0eprovider.proto\x1a\x0especimen.proto\"\xd7\x0f\n\x06Result\x12)\n\x04\x63ode\x18\x01 \x01(\x0b\x32\x1b.primary.connect.CodedValue\x12\x18\n\x10related_group_id\x18\x02 \x03(\t\x12+\n\x08specimen\x18\x03 \x01(\x0b\x32\x19.primary.connect.Specimen\x12\r\n\x05value\x18\x04 \x01(\t\x12\x35\n\nvalue_type\x18\x05 \x01(\x0e\x32!.primary.connect.Result.ValueType\x12\x38\n\x14\x63ompletion_date_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\x06report\x18\x07 \x01(\x0b\x32\x1e.primary.connect.Result.Report\x12\r\n\x05units\x18\x08 \x01(\t\x12\r\n\x05notes\x18\t \x03(\t\x12;\n\rabnormal_flag\x18\n \x01(\x0e\x32$.primary.connect.Result.AbnormalFlag\x12.\n\x06status\x18\x0c \x01(\x0e\x32\x1e.primary.connect.Result.Status\x12>\n\x1bprimary_results_interpreter\x18\r \x01(\x0b\x32\x19.primary.connect.Provider\x12\x32\n\x08producer\x18\x0e \x01(\x0b\x32 .primary.connect.Result.Producer\x12,\n\tperformer\x18\x0f \x01(\x0b\x32\x19.primary.connect.Provider\x12\x36\n\x0freference_range\x18\x10 \x01(\x0b\x32\x1d.primary.connect.Result.Range\x12\x37\n\x12observation_method\x18\x11 \x01(\x0b\x32\x1b.primary.connect.CodedValue\x12\x19\n\x11producer_order_id\x18\x12 \x01(\t\x12\x32\n\rfinding_value\x18\x13 \x01(\x0b\x32\x1b.primary.connect.CodedValue\x12\x31\n\x10resulting_device\x18\x14 \x01(\x0b\x32\x17.primary.connect.Device\x12.\n\tprocedure\x18\x15 \x01(\x0b\x32\x1b.primary.connect.CodedValue\x12\x10\n\x08suppress\x18\x16 \x01(\x08\x1al\n\x08Producer\x12\'\n\x02id\x18\x01 \x01(\x0b\x32\x1b.primary.connect.Identifier\x12\x0c\n\x04name\x18\x02 \x01(\t\x12)\n\x07\x61\x64\x64ress\x18\x03 \x01(\x0b\x32\x18.primary.connect.Address\x1a\x30\n\x05Range\x12\x0b\n\x03low\x18\x01 \x01(\x05\x12\x0c\n\x04high\x18\x02 \x01(\x05\x12\x0c\n\x04text\x18\x03 \x01(\t\x1a\x36\n\x06Report\x12\x11\n\tfile_type\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\t\x12\x0b\n\x03url\x18\x03 \x01(\t\"\x97\x02\n\tValueType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0f\n\x0b\x43ODED_ENTRY\x10\x01\x12\x08\n\x04\x44\x41TE\x10\x02\x12\r\n\tDATE_TIME\x10\x03\x12\x15\n\x11\x45NCAPSULATED_DATA\x10\x04\x12\x12\n\x0e\x46ORMATTED_TEXT\x10\x05\x12\x06\n\x02ID\x10\x06\x12\x0f\n\x0bID_AND_NAME\x10\x07\x12\t\n\x05MONEY\x10\x08\x12\x08\n\x04NAME\x10\t\x12\x0b\n\x07NUMERIC\x10\n\x12\x10\n\x0cPHONE_NUMBER\x10\x0b\x12\t\n\x05PRICE\x10\x0c\x12\x15\n\x11REFERENCE_POINTER\x10\r\x12\n\n\x06STRING\x10\x0e\x12\x08\n\x04TIME\x10\x0f\x12\x16\n\x12STRUCTURED_NUMERIC\x10\x10\x12\x0b\n\x07\x41\x44\x44RESS\x10\x11\"\xc2\x03\n\x0c\x41\x62normalFlag\x12\x08\n\x04NONE\x10\x00\x12\x07\n\x03LOW\x10\x01\x12\x0c\n\x08VERY_LOW\x10\x02\x12\x08\n\x04HIGH\x10\x03\x12\r\n\tVERY_HIGH\x10\x04\x12\x0c\n\x08\x41\x42NORMAL\x10\x05\x12\x0f\n\x0bSUSCEPTIBLE\x10\x06\x12\r\n\tRESISTANT\x10\x07\x12\x10\n\x0cINTERMEDIATE\x10\x08\x12\x1a\n\x16MODERATELY_SUSCEPTIBLE\x10\t\x12\x14\n\x10VERY_SUSCEPTIBLE\x10\n\x12\x17\n\x13\x43RITICALLY_ABNORMAL\x10\x0b\x12\x12\n\x0e\x43RITICALLY_LOW\x10\x0c\x12\x13\n\x0f\x43RITICALLY_HIGH\x10\r\x12\x13\n\x0fNOT_SUSCEPTIBLE\x10\x0e\x12\x10\n\x0cINCONCLUSIVE\x10\x0f\x12\x11\n\rVERY_ABNORMAL\x10\x10\x12\n\n\x06NORMAL\x10\x11\x12\x17\n\x13\x41\x42OVE_ABSOLUTE_HIGH\x10\x12\x12\x16\n\x12\x42\x45LOW_ABSOLUTE_LOW\x10\x13\x12\n\n\x06\x42\x45TTER\x10\x14\x12\x1b\n\x17SIGNIFICANT_CHANGE_DOWN\x10\x15\x12\x19\n\x15SIGNIFICANT_CHANGE_UP\x10\x16\x12\t\n\x05WORSE\x10\x17\"\x91\x01\n\x06Status\x12\x12\n\x0eNONE_SPECIFIED\x10\x00\x12\x0e\n\nINCOMPLETE\x10\x01\x12\r\n\tCORRECTED\x10\x02\x12\t\n\x05\x46INAL\x10\x03\x12\x0f\n\x0bUNAVAILABLE\x10\x04\x12\x0f\n\x0bPRELIMINARY\x10\x05\x12\x0c\n\x08\x43\x41NCELED\x10\x06\x12\x0b\n\x07\x44\x45LETED\x10\x07\x12\x0c\n\x08REJECTED\x10\x08\x42\x11Z\x0fprimary.connectb\x06proto3"
|
17
17
|
|
18
18
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
19
|
|
@@ -52,6 +52,12 @@ message Result {
|
|
52
52
|
INCONCLUSIVE = 15;
|
53
53
|
VERY_ABNORMAL = 16;
|
54
54
|
NORMAL = 17;
|
55
|
+
ABOVE_ABSOLUTE_HIGH = 18;
|
56
|
+
BELOW_ABSOLUTE_LOW = 19;
|
57
|
+
BETTER = 20;
|
58
|
+
SIGNIFICANT_CHANGE_DOWN = 21;
|
59
|
+
SIGNIFICANT_CHANGE_UP = 22;
|
60
|
+
WORSE = 23;
|
55
61
|
}
|
56
62
|
|
57
63
|
enum Status {
|
@@ -8,7 +8,13 @@ module ConnectProto
|
|
8
8
|
[
|
9
9
|
value.presence,
|
10
10
|
description.presence,
|
11
|
-
code_set.presence
|
11
|
+
code_set.presence,
|
12
|
+
alt_value.presence,
|
13
|
+
alt_code_set.presence,
|
14
|
+
alt_description.presence,
|
15
|
+
code_set_version.presence,
|
16
|
+
alt_code_set_version.presence,
|
17
|
+
original_text.presence
|
12
18
|
].join('^').squeeze(' ').strip
|
13
19
|
end
|
14
20
|
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
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.29.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Primary.Health
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date: 2025-
|
10
|
+
date: 2025-05-08 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-protobuf
|
@@ -16,14 +15,14 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - "~>"
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.25.
|
18
|
+
version: 3.25.7
|
20
19
|
type: :runtime
|
21
20
|
prerelease: false
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
23
22
|
requirements:
|
24
23
|
- - "~>"
|
25
24
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.25.
|
25
|
+
version: 3.25.7
|
27
26
|
- !ruby/object:Gem::Dependency
|
28
27
|
name: bundler
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,6 +79,7 @@ extensions: []
|
|
80
79
|
extra_rdoc_files: []
|
81
80
|
files:
|
82
81
|
- ".bundle/config"
|
82
|
+
- ".ruby-version"
|
83
83
|
- CHANGELOG.md
|
84
84
|
- Gemfile
|
85
85
|
- Gemfile.lock
|
@@ -133,7 +133,6 @@ homepage: https://github.com/PrimaryDotHealth/connect-proto
|
|
133
133
|
licenses:
|
134
134
|
- Unlicense
|
135
135
|
metadata: {}
|
136
|
-
post_install_message:
|
137
136
|
rdoc_options: []
|
138
137
|
require_paths:
|
139
138
|
- lib
|
@@ -150,8 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
149
|
- !ruby/object:Gem::Version
|
151
150
|
version: '0'
|
152
151
|
requirements: []
|
153
|
-
rubygems_version: 3.
|
154
|
-
signing_key:
|
152
|
+
rubygems_version: 3.6.5
|
155
153
|
specification_version: 4
|
156
154
|
summary: Primary Connect Protobuf
|
157
155
|
test_files: []
|