primary_connect_proto 0.26.0 → 0.30.1
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 +24 -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/primary_connect_proto.rb +0 -2
- metadata +6 -6
- data/lib/extensions/formattable/coded_value.rb +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41660eaec7ca25a2a7b0383852f971bfd1d77de28eb69f8bd26333a624061c5d
|
4
|
+
data.tar.gz: 7601cec29fe92af874b1de70008f9593c50f7d5f155eb311edf90ef1f5bdf15e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da9b132d44942edfe649b72dcf490b7694fd9c20f3850744421accb53888214fe0297da3f52393a1e5d88e9c7ff14d975d70a7880b716d2ec7b71829e25eb7b8
|
7
|
+
data.tar.gz: 369e8c51c1a65e57a00e32ce0a0039feb2ed17688bcbb9068ee9933d1c10167e24f9002ee554efe7f9381a2ca7eef0c8cda8cff8e496980c321de6ab4d368f75
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
3.3.7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,29 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.30.1
|
4
|
+
|
5
|
+
-- Remove all references of `'formattable/coded_value'`
|
6
|
+
|
7
|
+
## 0.30.0
|
8
|
+
|
9
|
+
-- Remove `Extensions::Formattable::CodedValue` module
|
10
|
+
|
11
|
+
## 0.29.0
|
12
|
+
|
13
|
+
- Fix missing `CodeValue` alt types
|
14
|
+
|
15
|
+
## 0.28.1
|
16
|
+
|
17
|
+
- Fix outdated `result_pb` due to building issues
|
18
|
+
|
19
|
+
## 0.28.0
|
20
|
+
|
21
|
+
- Updated `google-protobof` from `25.5` (3.25.5) to `25.7` (3.25.7)
|
22
|
+
|
23
|
+
## 0.27.0
|
24
|
+
|
25
|
+
- Update `Result.abnormal_flag` enum to include all values from HL7 table 0078
|
26
|
+
|
3
27
|
## 0.26.0
|
4
28
|
|
5
29
|
- 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.30.1)
|
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 {
|
@@ -22,10 +22,8 @@ require 'visit_pb'
|
|
22
22
|
require 'full_nameable'
|
23
23
|
require 'phone_numberable'
|
24
24
|
require 'valueable'
|
25
|
-
require 'formattable/coded_value'
|
26
25
|
|
27
26
|
Primary::Connect::Name.include(ConnectProto::Extensions::FullNameable)
|
28
|
-
Primary::Connect::CodedValue.include(ConnectProto::Extensions::Formattable::CodedValue)
|
29
27
|
[
|
30
28
|
Primary::Connect::Provider,
|
31
29
|
Primary::Connect::Demographics,
|
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.30.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Primary.Health
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.25.
|
19
|
+
version: 3.25.7
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.25.
|
26
|
+
version: 3.25.7
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,6 +80,7 @@ extensions: []
|
|
80
80
|
extra_rdoc_files: []
|
81
81
|
files:
|
82
82
|
- ".bundle/config"
|
83
|
+
- ".ruby-version"
|
83
84
|
- CHANGELOG.md
|
84
85
|
- Gemfile
|
85
86
|
- Gemfile.lock
|
@@ -124,7 +125,6 @@ files:
|
|
124
125
|
- lib/connect_proto/src/specimen.proto
|
125
126
|
- lib/connect_proto/src/visit.proto
|
126
127
|
- lib/connect_proto/version.rb
|
127
|
-
- lib/extensions/formattable/coded_value.rb
|
128
128
|
- lib/extensions/full_nameable.rb
|
129
129
|
- lib/extensions/phone_numberable.rb
|
130
130
|
- lib/extensions/valueable.rb
|
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
150
|
- !ruby/object:Gem::Version
|
151
151
|
version: '0'
|
152
152
|
requirements: []
|
153
|
-
rubygems_version: 3.
|
153
|
+
rubygems_version: 3.5.22
|
154
154
|
signing_key:
|
155
155
|
specification_version: 4
|
156
156
|
summary: Primary Connect Protobuf
|
@@ -1,17 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module ConnectProto
|
4
|
-
module Extensions
|
5
|
-
module Formattable
|
6
|
-
module CodedValue
|
7
|
-
def to_hl7
|
8
|
-
[
|
9
|
-
value.presence,
|
10
|
-
description.presence,
|
11
|
-
code_set.presence
|
12
|
-
].join('^').squeeze(' ').strip
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|