primary_connect_client 1.2.0 → 1.3.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/CHANGELOG.md +4 -0
- data/README.md +4 -4
- data/docs/Medication.md +1 -1
- data/docs/MedicationAdministration.md +2 -2
- data/docs/Meta.md +1 -1
- data/docs/OrderOrder.md +4 -4
- data/docs/OrderOrderDiagnoses.md +1 -1
- data/docs/Result.md +1 -1
- data/docs/V2Medication.md +1 -1
- data/docs/V2MedicationAdministration.md +2 -2
- data/docs/Visit.md +1 -1
- data/lib/primary_connect_client/models/medication.rb +1 -1
- data/lib/primary_connect_client/models/medication_administration.rb +2 -2
- data/lib/primary_connect_client/models/meta.rb +1 -0
- data/lib/primary_connect_client/models/order_order.rb +4 -4
- data/lib/primary_connect_client/models/order_order_diagnoses.rb +1 -1
- data/lib/primary_connect_client/models/result.rb +1 -1
- data/lib/primary_connect_client/models/v2_medication.rb +1 -1
- data/lib/primary_connect_client/models/v2_medication_administration.rb +2 -2
- data/lib/primary_connect_client/models/visit.rb +1 -1
- data/lib/primary_connect_client/version.rb +1 -1
- data/primary_connect_client.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 87215c1bba59cc60aff1c1838ea092541fc494b5625fc9bdee05c8636b5b1574
|
|
4
|
+
data.tar.gz: a91593b598df16d40d875466ccda08c2dd6eb26b0ba155a3ccdf74fbd6fc2c74
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3d9361eac5551d6b08d3b8e5d6623f7d378e858402f5d7badc63c9236a657582557e2064fefd898307eace4588154f143704e639bf990af54545f6bab402bf9b
|
|
7
|
+
data.tar.gz: 0c5fb396166240dfa70dd950863e6e25408272d27bd3dfac2db71829c8811d86498f99ad6a1dbc7f679db3d6940266e6dc296f0b5b3f369c7e67552c556d9fb2
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Client Library to interface with Primary Connect
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: v1
|
|
10
|
-
- Package version: 1.
|
|
10
|
+
- Package version: 1.3.0
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
|
|
13
13
|
## Installation
|
|
@@ -23,16 +23,16 @@ gem build primary_connect_client.gemspec
|
|
|
23
23
|
Then either install the gem locally:
|
|
24
24
|
|
|
25
25
|
```shell
|
|
26
|
-
gem install ./primary_connect_client-1.
|
|
26
|
+
gem install ./primary_connect_client-1.3.0.gem
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
(for development, run `gem install --dev ./primary_connect_client-1.
|
|
29
|
+
(for development, run `gem install --dev ./primary_connect_client-1.3.0.gem` to install the development dependencies)
|
|
30
30
|
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
32
32
|
|
|
33
33
|
Finally add this to the Gemfile:
|
|
34
34
|
|
|
35
|
-
gem 'primary_connect_client', '~> 1.
|
|
35
|
+
gem 'primary_connect_client', '~> 1.3.0'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
data/docs/Medication.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **lot_number** | **String** | Lot number product component | [optional] |
|
|
8
|
-
| **expiration_date** | **Time** | Product expiration date | [optional] |
|
|
8
|
+
| **expiration_date** | **Time** | Product expiration date (ISO-8601) | [optional] |
|
|
9
9
|
| **manufacturer** | [**CodedValue**](CodedValue.md) | | [optional] |
|
|
10
10
|
|
|
11
11
|
## Example
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **identifier** | [**Identifier**](Identifier.md) | | [optional] |
|
|
8
8
|
| **administration_codes** | [**Array<CodedValue>**](CodedValue.md) | Codes for the medication administration | [optional] |
|
|
9
|
-
| **administration_start_time** | **Time** | Administration start date of medication | [optional] |
|
|
10
|
-
| **administration_end_time** | **Time** | Administration end date of medication | [optional] |
|
|
9
|
+
| **administration_start_time** | **Time** | Administration start date of medication (ISO-8601) | [optional] |
|
|
10
|
+
| **administration_end_time** | **Time** | Administration end date of medication (ISO-8601) | [optional] |
|
|
11
11
|
| **medication** | [**Medication**](Medication.md) | | [optional] |
|
|
12
12
|
| **dosage** | [**Dosage**](Dosage.md) | | [optional] |
|
|
13
13
|
| **refusal_reason** | [**CodedValue**](CodedValue.md) | | [optional] |
|
data/docs/Meta.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **event_type** | **String** | | [optional] |
|
|
8
|
-
| **event_date_and_time** | **Time** |
|
|
8
|
+
| **event_date_and_time** | **Time** | ISO-8601 | [optional] |
|
|
9
9
|
| **test** | **Boolean** | | [optional] |
|
|
10
10
|
| **source** | [**MetaSource**](MetaSource.md) | | [optional] |
|
|
11
11
|
| **destinations** | [**Array<MetaDestinations>**](MetaDestinations.md) | | [optional] |
|
data/docs/OrderOrder.md
CHANGED
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
| **id** | **String** | ID of the order assigned by the placing system | [optional] |
|
|
8
8
|
| **application_order_id** | **String** | ID assigned by the application fulfilling the order | [optional] |
|
|
9
9
|
| **status** | **String** | The status of an order. | [optional] |
|
|
10
|
-
| **transaction_date_time** | **Time** | Timestamp when the order was placed | [optional] |
|
|
11
|
-
| **collection_date_time** | **Time** | Timestamp when the specimen was collected | [optional] |
|
|
12
|
-
| **collection_start_date_time** | **Time** | Timestamp when the specimen was collected | [optional] |
|
|
13
|
-
| **completion_date_time** | **Time** | Timestamp when the results were composed into a report and released. | [optional] |
|
|
10
|
+
| **transaction_date_time** | **Time** | Timestamp when the order was placed (ISO-8601) | [optional] |
|
|
11
|
+
| **collection_date_time** | **Time** | Timestamp when the specimen was collected (ISO-8601) | [optional] |
|
|
12
|
+
| **collection_start_date_time** | **Time** | Timestamp when the specimen was collected (ISO-8601) | [optional] |
|
|
13
|
+
| **completion_date_time** | **Time** | Timestamp when the results were composed into a report and released. (ISO-8601) | [optional] |
|
|
14
14
|
| **expiration_date** | **String** | YYYY-MM-DD, Date when the order becomes invalid | [optional] |
|
|
15
15
|
| **specimen** | [**Specimen**](Specimen.md) | | [optional] |
|
|
16
16
|
| **medication_administrations** | [**Array<MedicationAdministration>**](MedicationAdministration.md) | Array of medications administered to the subject | [optional] |
|
data/docs/OrderOrderDiagnoses.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **code** | [**CodedValue**](CodedValue.md) | | [optional] |
|
|
8
8
|
| **type** | **String** | Type of the diagnosis | [optional] |
|
|
9
|
-
| **documented_date_time** | **Time** | Timestamp of the the diagnosis was documented | [optional] |
|
|
9
|
+
| **documented_date_time** | **Time** | Timestamp of the the diagnosis was documented (ISO-8601) | [optional] |
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
data/docs/Result.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
| **specimen** | [**Specimen**](Specimen.md) | | [optional] |
|
|
10
10
|
| **value** | **String** | Value of the result component | [optional] |
|
|
11
11
|
| **value_type** | **String** | Data type for the result value | [optional] |
|
|
12
|
-
| **completion_date_time** | **Time** | Timestamp when the results were composed into a report and released
|
|
12
|
+
| **completion_date_time** | **Time** | Timestamp when the results were composed into a report and released (ISO-8601) | [optional] |
|
|
13
13
|
| **report** | [**ResultReport**](ResultReport.md) | | [optional] |
|
|
14
14
|
| **units** | **String** | Units of the result | [optional] |
|
|
15
15
|
| **notes** | **Array<String>** | Notes about the result component/observation | [optional] |
|
data/docs/V2Medication.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **lot_number** | **String** | Lot number product component | [optional] |
|
|
8
|
-
| **expiration_date** | **Time** | Product expiration date | [optional] |
|
|
8
|
+
| **expiration_date** | **Time** | Product expiration date (ISO-8601) | [optional] |
|
|
9
9
|
| **manufacturer** | [**CodedValue**](CodedValue.md) | | [optional] |
|
|
10
10
|
|
|
11
11
|
## Example
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **identifier** | [**Identifier**](Identifier.md) | | [optional] |
|
|
8
8
|
| **administration_codes** | [**Array<CodedValue>**](CodedValue.md) | Codes for the medication administration | [optional] |
|
|
9
|
-
| **administration_start_time** | **Time** | Administration start date of medication | [optional] |
|
|
10
|
-
| **administration_end_time** | **Time** | Administration end date of medication | [optional] |
|
|
9
|
+
| **administration_start_time** | **Time** | Administration start date of medication (ISO-8601) | [optional] |
|
|
10
|
+
| **administration_end_time** | **Time** | Administration end date of medication (ISO-8601) | [optional] |
|
|
11
11
|
| **medication** | [**Medication**](Medication.md) | | [optional] |
|
|
12
12
|
| **dosage** | [**Dosage**](Dosage.md) | | [optional] |
|
|
13
13
|
| **refusal_reason** | [**CodedValue**](CodedValue.md) | | [optional] |
|
data/docs/Visit.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
| **visit_number** | **String** | Unique ID of a single visit | [optional] |
|
|
8
8
|
| **account_number** | **String** | An ID that can span several visits often related to the same issue - pregnancy, surgeries, research study, etc. | [optional] |
|
|
9
9
|
| **patient_class** | **String** | Patient class is used in many EHRs to determine where to put the patient. E.g. Inpatient, Outpatient, Emergency | [optional] |
|
|
10
|
-
| **visit_date_time** | **Time** | Timestamp of visit or the arrival time of the visit or admission
|
|
10
|
+
| **visit_date_time** | **Time** | Timestamp of visit or the arrival time of the visit or admission (ISO-8601) | [optional] |
|
|
11
11
|
| **attending_provider** | [**Provider**](Provider.md) | | [optional] |
|
|
12
12
|
| **consulting_provider** | [**Provider**](Provider.md) | | [optional] |
|
|
13
13
|
| **referring_provider** | [**Provider**](Provider.md) | | [optional] |
|
|
@@ -20,10 +20,10 @@ module PrimaryConnectClient
|
|
|
20
20
|
# Codes for the medication administration
|
|
21
21
|
attr_accessor :administration_codes
|
|
22
22
|
|
|
23
|
-
# Administration start date of medication
|
|
23
|
+
# Administration start date of medication (ISO-8601)
|
|
24
24
|
attr_accessor :administration_start_time
|
|
25
25
|
|
|
26
|
-
# Administration end date of medication
|
|
26
|
+
# Administration end date of medication (ISO-8601)
|
|
27
27
|
attr_accessor :administration_end_time
|
|
28
28
|
|
|
29
29
|
attr_accessor :medication
|
|
@@ -24,16 +24,16 @@ module PrimaryConnectClient
|
|
|
24
24
|
# The status of an order.
|
|
25
25
|
attr_accessor :status
|
|
26
26
|
|
|
27
|
-
# Timestamp when the order was placed
|
|
27
|
+
# Timestamp when the order was placed (ISO-8601)
|
|
28
28
|
attr_accessor :transaction_date_time
|
|
29
29
|
|
|
30
|
-
# Timestamp when the specimen was collected
|
|
30
|
+
# Timestamp when the specimen was collected (ISO-8601)
|
|
31
31
|
attr_accessor :collection_date_time
|
|
32
32
|
|
|
33
|
-
# Timestamp when the specimen was collected
|
|
33
|
+
# Timestamp when the specimen was collected (ISO-8601)
|
|
34
34
|
attr_accessor :collection_start_date_time
|
|
35
35
|
|
|
36
|
-
# Timestamp when the results were composed into a report and released.
|
|
36
|
+
# Timestamp when the results were composed into a report and released. (ISO-8601)
|
|
37
37
|
attr_accessor :completion_date_time
|
|
38
38
|
|
|
39
39
|
# YYYY-MM-DD, Date when the order becomes invalid
|
|
@@ -20,7 +20,7 @@ module PrimaryConnectClient
|
|
|
20
20
|
# Type of the diagnosis
|
|
21
21
|
attr_accessor :type
|
|
22
22
|
|
|
23
|
-
# Timestamp of the the diagnosis was documented
|
|
23
|
+
# Timestamp of the the diagnosis was documented (ISO-8601)
|
|
24
24
|
attr_accessor :documented_date_time
|
|
25
25
|
|
|
26
26
|
class EnumAttributeValidator
|
|
@@ -28,7 +28,7 @@ module PrimaryConnectClient
|
|
|
28
28
|
# Data type for the result value
|
|
29
29
|
attr_accessor :value_type
|
|
30
30
|
|
|
31
|
-
# Timestamp when the results were composed into a report and released
|
|
31
|
+
# Timestamp when the results were composed into a report and released (ISO-8601)
|
|
32
32
|
attr_accessor :completion_date_time
|
|
33
33
|
|
|
34
34
|
attr_accessor :report
|
|
@@ -20,10 +20,10 @@ module PrimaryConnectClient
|
|
|
20
20
|
# Codes for the medication administration
|
|
21
21
|
attr_accessor :administration_codes
|
|
22
22
|
|
|
23
|
-
# Administration start date of medication
|
|
23
|
+
# Administration start date of medication (ISO-8601)
|
|
24
24
|
attr_accessor :administration_start_time
|
|
25
25
|
|
|
26
|
-
# Administration end date of medication
|
|
26
|
+
# Administration end date of medication (ISO-8601)
|
|
27
27
|
attr_accessor :administration_end_time
|
|
28
28
|
|
|
29
29
|
attr_accessor :medication
|
|
@@ -24,7 +24,7 @@ module PrimaryConnectClient
|
|
|
24
24
|
# Patient class is used in many EHRs to determine where to put the patient. E.g. Inpatient, Outpatient, Emergency
|
|
25
25
|
attr_accessor :patient_class
|
|
26
26
|
|
|
27
|
-
# Timestamp of visit or the arrival time of the visit or admission
|
|
27
|
+
# Timestamp of visit or the arrival time of the visit or admission (ISO-8601)
|
|
28
28
|
attr_accessor :visit_date_time
|
|
29
29
|
|
|
30
30
|
attr_accessor :attending_provider
|
|
@@ -28,7 +28,7 @@ Gem::Specification.new do |s|
|
|
|
28
28
|
s.required_ruby_version = ">= 2.4"
|
|
29
29
|
|
|
30
30
|
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
|
31
|
-
s.add_runtime_dependency 'primary_connect_proto', '~> 0.
|
|
31
|
+
s.add_runtime_dependency 'primary_connect_proto', '~> 0.13.0', '>= 0.13.0'
|
|
32
32
|
|
|
33
33
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
|
34
34
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: primary_connect_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-09-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -36,20 +36,20 @@ dependencies:
|
|
|
36
36
|
requirements:
|
|
37
37
|
- - "~>"
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: 0.
|
|
39
|
+
version: 0.13.0
|
|
40
40
|
- - ">="
|
|
41
41
|
- !ruby/object:Gem::Version
|
|
42
|
-
version: 0.
|
|
42
|
+
version: 0.13.0
|
|
43
43
|
type: :runtime
|
|
44
44
|
prerelease: false
|
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
|
46
46
|
requirements:
|
|
47
47
|
- - "~>"
|
|
48
48
|
- !ruby/object:Gem::Version
|
|
49
|
-
version: 0.
|
|
49
|
+
version: 0.13.0
|
|
50
50
|
- - ">="
|
|
51
51
|
- !ruby/object:Gem::Version
|
|
52
|
-
version: 0.
|
|
52
|
+
version: 0.13.0
|
|
53
53
|
- !ruby/object:Gem::Dependency
|
|
54
54
|
name: rspec
|
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|