mirah-ruby 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76ec40df793b5716ae1e5f3ab4ff5c2163634910af216668912de9861d357d2f
4
- data.tar.gz: 166a1138b4a93f953b1914ebdd13785fcf8f175bc2615c3c19c813ba116c32f0
3
+ metadata.gz: 696e34582c199592219e613b61e5d2b589c9f1c60dcb1b1aef1dcd89c247d1c9
4
+ data.tar.gz: 49650fce7e284c9493d9f14fff054193ff869fc802ea75d88323d7f84660a146
5
5
  SHA512:
6
- metadata.gz: 6f9d8daebe43ffc1e5e95e98cb8ae37fd82ef3a412c773291e82cbb4a9ed294cd339e74a3999388dc6b564d333ac36209a444235803155be78daa1c186d64deb
7
- data.tar.gz: 0071b8cba8dfc1d09d7fb731cd55f2719af3d4e1d57fe1b9366d95a64befa6c93f393e5018d08516c45e77f30a6d2eb3bdecdd3ceb4c67d11dd5d521ed3c6aac
6
+ metadata.gz: 54cc31b654b63ca9e576ab079078996cae6e7abad1abb8846b30338e9f5bc118da0409aa7cbb77762ca5a324e64f706c8ec295e02cc37061ee22c1ffc32992ca
7
+ data.tar.gz: 181712767f87cd4415bf417d10371a939ab7edd7e476f40995a46ffbaaccc22322e693fa7c248030a4ffa9d217bf8df3c72e63bcaa834d20ec1cf0b3518c9291
@@ -42,6 +42,11 @@ module Mirah
42
42
  # Please do not use a phone number which corresponds to a landline as text messages will not be received.
43
43
  attribute :phone_number
44
44
 
45
+ # @!attribute [r] timezone
46
+ # @return [string] The patient's timezone. If not specified, the organization's default will be used. Timezone
47
+ # should be formatted like: https://en.wikipedia.org/wiki/Tz_database
48
+ attribute :timezone
49
+
45
50
  # @!attribute [r] managing_organization_id
46
51
  # @return [string] The internal mirah id of the organization this patient is with
47
52
  attribute :managing_organization_id, path: %w[managingOrganization], target: 'id'
@@ -24,6 +24,7 @@ module Mirah
24
24
  primaryLanguage
25
25
  email
26
26
  phoneNumber
27
+ timezone
27
28
  managingOrganization {
28
29
  id
29
30
  externalId
@@ -36,6 +36,10 @@ module Mirah
36
36
  # @return (see Mirah::Data::Patient#phone_number)
37
37
  input :phone_number, required: false
38
38
 
39
+ # @!attribute [r] phone_number
40
+ # @return (see Mirah::Data::Patient#timezone)
41
+ input :timezone, required: false
42
+
39
43
  # @!attribute [r] external_managing_organization_id
40
44
  # @return (see Mirah::Data::Patient#external_managing_organization_id)
41
45
  input :external_managing_organization_id, required: false
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mirah
4
- VERSION = '0.2.1'
4
+ VERSION = '0.2.2'
5
5
  end
@@ -440,6 +440,24 @@
440
440
  "description": "No-show",
441
441
  "isDeprecated": false,
442
442
  "deprecationReason": null
443
+ },
444
+ {
445
+ "name": "ENTERED_IN_ERROR",
446
+ "description": "Entered in error",
447
+ "isDeprecated": false,
448
+ "deprecationReason": null
449
+ },
450
+ {
451
+ "name": "CHECKED_IN",
452
+ "description": "Checked in",
453
+ "isDeprecated": false,
454
+ "deprecationReason": null
455
+ },
456
+ {
457
+ "name": "WAIT_LIST",
458
+ "description": "Wait list",
459
+ "isDeprecated": false,
460
+ "deprecationReason": null
443
461
  }
444
462
  ],
445
463
  "possibleTypes": null
@@ -1438,6 +1456,16 @@
1438
1456
  },
1439
1457
  "defaultValue": null
1440
1458
  },
1459
+ {
1460
+ "name": "timezone",
1461
+ "description": "See Patient#timezone",
1462
+ "type": {
1463
+ "kind": "SCALAR",
1464
+ "name": "String",
1465
+ "ofType": null
1466
+ },
1467
+ "defaultValue": null
1468
+ },
1441
1469
  {
1442
1470
  "name": "externalManagingOrganizationId",
1443
1471
  "description": "The external identifier for the managing organization. An error will be returned if this cannot be matched\n",
@@ -4737,6 +4765,20 @@
4737
4765
  "description": "The patient's primary language",
4738
4766
  "args": [
4739
4767
 
4768
+ ],
4769
+ "type": {
4770
+ "kind": "SCALAR",
4771
+ "name": "String",
4772
+ "ofType": null
4773
+ },
4774
+ "isDeprecated": false,
4775
+ "deprecationReason": null
4776
+ },
4777
+ {
4778
+ "name": "timezone",
4779
+ "description": "This user's timezone, used for localizing assessment notifications. If not specified, the institutional default will be used",
4780
+ "args": [
4781
+
4740
4782
  ],
4741
4783
  "type": {
4742
4784
  "kind": "SCALAR",
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mirah-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Jones
8
8
  - Hugh Barrigan
9
- autorequire:
9
+ autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-06-24 00:00:00.000000000 Z
12
+ date: 2020-09-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -199,7 +199,7 @@ metadata:
199
199
  homepage_uri: https://www.mirah.com
200
200
  source_code_uri: https://www.mirah.com
201
201
  changelog_uri: https://www.mirah.com
202
- post_install_message:
202
+ post_install_message:
203
203
  rdoc_options: []
204
204
  require_paths:
205
205
  - lib
@@ -214,9 +214,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
214
214
  - !ruby/object:Gem::Version
215
215
  version: '0'
216
216
  requirements: []
217
- rubyforge_project:
218
- rubygems_version: 2.7.10
219
- signing_key:
217
+ rubygems_version: 3.1.2
218
+ signing_key:
220
219
  specification_version: 4
221
220
  summary: Connect to your data on Mirah.
222
221
  test_files: []