mirah-ruby 0.2.2 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +25 -8
- data/lib/mirah/data/patient.rb +38 -0
- data/lib/mirah/inputs/patient_input.rb +36 -0
- data/lib/mirah/version.rb +1 -1
- data/schema.json +444 -80
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d6112c2bab9f017614f4ff32fec8d1a79bd53d3099f68a86679563dc6aae644
|
4
|
+
data.tar.gz: 49592ec2080f7af06bdb559f4f9d10cb3ee0acbbc12f9184a4a53544ac3fa429
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a913e4a74bea01d36cdd9b9a1045ba0af9872afd2caf75cbbaad6b251cc6d2f1466d134af9c1e97424dbbdb1a5f92bb9b7176a3d98a5fc9b41323cdb8a9c2119
|
7
|
+
data.tar.gz: 8d3743ef319ccdd90200993c78a201fa3003d07a28319c0666a5276a5cae0f4f2716dc4e691f985f4c8030edba1c87033f47fb639537501dfc5c17e53a0b4f3a
|
data/.circleci/config.yml
CHANGED
@@ -5,15 +5,13 @@ orbs:
|
|
5
5
|
jobs:
|
6
6
|
test24:
|
7
7
|
docker:
|
8
|
-
- image:
|
8
|
+
- image: cimg/ruby:2.4
|
9
9
|
executor: ruby/default
|
10
10
|
steps:
|
11
11
|
- checkout
|
12
12
|
- run:
|
13
13
|
name: Configure Bundler
|
14
14
|
command: |
|
15
|
-
echo 'export BUNDLER_VERSION=1.16.6' >> $BASH_ENV
|
16
|
-
source $BASH_ENV
|
17
15
|
gem install bundler
|
18
16
|
- run:
|
19
17
|
name: Which bundler?
|
@@ -24,15 +22,13 @@ jobs:
|
|
24
22
|
command: bundle exec rake spec
|
25
23
|
test25:
|
26
24
|
docker:
|
27
|
-
- image:
|
25
|
+
- image: cimg/ruby:2.5
|
28
26
|
executor: ruby/default
|
29
27
|
steps:
|
30
28
|
- checkout
|
31
29
|
- run:
|
32
30
|
name: Configure Bundler
|
33
31
|
command: |
|
34
|
-
echo 'export BUNDLER_VERSION=1.16.6' >> $BASH_ENV
|
35
|
-
source $BASH_ENV
|
36
32
|
gem install bundler
|
37
33
|
- run:
|
38
34
|
name: Which bundler?
|
@@ -43,7 +39,7 @@ jobs:
|
|
43
39
|
command: bundle exec rake spec
|
44
40
|
test26:
|
45
41
|
docker:
|
46
|
-
- image:
|
42
|
+
- image: cimg/ruby:2.6
|
47
43
|
executor: ruby/default
|
48
44
|
steps:
|
49
45
|
- checkout
|
@@ -62,7 +58,26 @@ jobs:
|
|
62
58
|
command: bundle exec rake spec
|
63
59
|
test27:
|
64
60
|
docker:
|
65
|
-
- image:
|
61
|
+
- image: cimg/ruby:2.7
|
62
|
+
executor: ruby/default
|
63
|
+
steps:
|
64
|
+
- checkout
|
65
|
+
- run:
|
66
|
+
name: Configure Bundler
|
67
|
+
command: |
|
68
|
+
echo 'export BUNDLER_VERSION=2.1.4' >> $BASH_ENV
|
69
|
+
source $BASH_ENV
|
70
|
+
gem install bundler
|
71
|
+
- run:
|
72
|
+
name: Which bundler?
|
73
|
+
command: bundle -v
|
74
|
+
- ruby/bundle-install
|
75
|
+
- run:
|
76
|
+
name: Tests
|
77
|
+
command: bundle exec rake spec
|
78
|
+
test31:
|
79
|
+
docker:
|
80
|
+
- image: cimg/ruby:3.1.2
|
66
81
|
executor: ruby/default
|
67
82
|
steps:
|
68
83
|
- checkout
|
@@ -81,6 +96,7 @@ jobs:
|
|
81
96
|
command: bundle exec rake spec
|
82
97
|
|
83
98
|
|
99
|
+
|
84
100
|
workflows:
|
85
101
|
version: 2
|
86
102
|
test:
|
@@ -89,5 +105,6 @@ workflows:
|
|
89
105
|
- test25
|
90
106
|
- test26
|
91
107
|
- test27
|
108
|
+
- test31
|
92
109
|
|
93
110
|
|
data/lib/mirah/data/patient.rb
CHANGED
@@ -15,12 +15,42 @@ module Mirah
|
|
15
15
|
|
16
16
|
# @!attribute [r] given_name
|
17
17
|
# @return [string] The patient's first or given name
|
18
|
+
# @deprecated use legal_given_name instead
|
18
19
|
attribute :given_name
|
19
20
|
|
21
|
+
# @!attribute [r] legal_given_name
|
22
|
+
# @return [string] The patient's legal first or given name
|
23
|
+
attribute :legal_given_name
|
24
|
+
|
25
|
+
# @!attribute [r] preferred_given_name
|
26
|
+
# @return [string] The patient's preferred first or given name
|
27
|
+
attribute :preferred_given_name
|
28
|
+
|
20
29
|
# @!attribute [r] family_name
|
21
30
|
# @return [string] The patient's last or family name
|
31
|
+
# @deprecated use legal_family_name instead
|
22
32
|
attribute :family_name
|
23
33
|
|
34
|
+
# @!attribute [r] legal_family_name
|
35
|
+
# @return [string] The patient's legal last or family name
|
36
|
+
attribute :legal_family_name
|
37
|
+
|
38
|
+
# @!attribute [r] preferred_family_name
|
39
|
+
# @return [string] The patient's preferred last or family name
|
40
|
+
attribute :preferred_family_name
|
41
|
+
|
42
|
+
# @!attribute [r] legal_name
|
43
|
+
# @return [string] The patient's full legal name.
|
44
|
+
attribute :legal_name
|
45
|
+
|
46
|
+
# @!attribute [r] preferred_name
|
47
|
+
# @return [string] The patient's full preferred name.
|
48
|
+
attribute :preferred_name
|
49
|
+
|
50
|
+
# @!attribute [r] preferred_pronouns
|
51
|
+
# @return [string] The patient's preferred pronouns.
|
52
|
+
attribute :preferred_pronouns
|
53
|
+
|
24
54
|
# @!attribute [r] birth_date
|
25
55
|
# @return [Date] The patient's date of birth.
|
26
56
|
attribute :birth_date, serializer: Serializers::DateSerializer.new
|
@@ -29,6 +59,14 @@ module Mirah
|
|
29
59
|
# @return [string] The patient's gender
|
30
60
|
attribute :gender
|
31
61
|
|
62
|
+
# @!attribute [r] gender_identity
|
63
|
+
# @return [string] The patient's gender identity as free text
|
64
|
+
attribute :gender_identity
|
65
|
+
|
66
|
+
# @!attribute [r] gender_identity_fhir
|
67
|
+
# @return [string] The patient's gender identity as FHIR extension coded.
|
68
|
+
attribute :gender_identity_fhir
|
69
|
+
|
32
70
|
# @!attribute [r] primary_language
|
33
71
|
# @return [string] The patient's primary language
|
34
72
|
attribute :primary_language
|
@@ -16,6 +16,34 @@ module Mirah
|
|
16
16
|
# @return (see Mirah::Data::Patient#family_name)
|
17
17
|
input :family_name, required: false
|
18
18
|
|
19
|
+
# @!attribute [r] preferred_given_name
|
20
|
+
# @return (see Mirah::Data::Patient#preferred_given_name)
|
21
|
+
input :preferred_given_name, required: false
|
22
|
+
|
23
|
+
# @!attribute [r] preferred_family_name
|
24
|
+
# @return (see Mirah::Data::Patient#preferred_family_name)
|
25
|
+
input :preferred_family_name, required: false
|
26
|
+
|
27
|
+
# @!attribute [r] legal_given_name
|
28
|
+
# @return (see Mirah::Data::Patient#legal_given_name)
|
29
|
+
input :legal_given_name, required: false
|
30
|
+
|
31
|
+
# @!attribute [r] legal_family_name
|
32
|
+
# @return (see Mirah::Data::Patient#legal_family_name)
|
33
|
+
input :legal_family_name, required: false
|
34
|
+
|
35
|
+
# @!attribute [r] preferred_name
|
36
|
+
# @return (see Mirah::Data::Patient#preferred_name)
|
37
|
+
input :preferred_name, required: false
|
38
|
+
|
39
|
+
# @!attribute [r] legal_name
|
40
|
+
# @return (see Mirah::Data::Patient#legal_name)
|
41
|
+
input :legal_name, required: false
|
42
|
+
|
43
|
+
# @!attribute [r] preferred_pronouns
|
44
|
+
# @return (see Mirah::Data::Patient#preferred_pronouns)
|
45
|
+
input :preferred_pronouns, required: false
|
46
|
+
|
19
47
|
# @!attribute [r] birth_date
|
20
48
|
# @return (see Mirah::Data::Patient#birth_date)
|
21
49
|
input :birth_date, required: false, serializer: Serializers::DateSerializer.new
|
@@ -24,6 +52,14 @@ module Mirah
|
|
24
52
|
# @return (see Mirah::Data::Patient#gender)
|
25
53
|
input :gender, required: false
|
26
54
|
|
55
|
+
# @!attribute [r] gender_identity
|
56
|
+
# @return (see Mirah::Data::Patient#gender_identity)
|
57
|
+
input :gender_identity, required: false
|
58
|
+
|
59
|
+
# @!attribute [r] gender_identity_fhir
|
60
|
+
# @return (see Mirah::Data::Patient#gender_identity_fhir)
|
61
|
+
input :gender_identity_fhir, required: false
|
62
|
+
|
27
63
|
# @!attribute [r] primary_language
|
28
64
|
# @return (see Mirah::Data::Patient#primary_language)
|
29
65
|
input :primary_language, required: false
|
data/lib/mirah/version.rb
CHANGED
data/schema.json
CHANGED
@@ -1022,6 +1022,16 @@
|
|
1022
1022
|
"description": "Autogenerated input type of CreateOrUpdateAppointment",
|
1023
1023
|
"fields": null,
|
1024
1024
|
"inputFields": [
|
1025
|
+
{
|
1026
|
+
"name": "clientMutationId",
|
1027
|
+
"description": "A unique identifier for the client performing the mutation.",
|
1028
|
+
"type": {
|
1029
|
+
"kind": "SCALAR",
|
1030
|
+
"name": "String",
|
1031
|
+
"ofType": null
|
1032
|
+
},
|
1033
|
+
"defaultValue": null
|
1034
|
+
},
|
1025
1035
|
{
|
1026
1036
|
"name": "externalId",
|
1027
1037
|
"description": "The external identifer for this appointment",
|
@@ -1115,16 +1125,6 @@
|
|
1115
1125
|
"ofType": null
|
1116
1126
|
},
|
1117
1127
|
"defaultValue": null
|
1118
|
-
},
|
1119
|
-
{
|
1120
|
-
"name": "clientMutationId",
|
1121
|
-
"description": "A unique identifier for the client performing the mutation.",
|
1122
|
-
"type": {
|
1123
|
-
"kind": "SCALAR",
|
1124
|
-
"name": "String",
|
1125
|
-
"ofType": null
|
1126
|
-
},
|
1127
|
-
"defaultValue": null
|
1128
1128
|
}
|
1129
1129
|
],
|
1130
1130
|
"interfaces": null,
|
@@ -1222,6 +1222,16 @@
|
|
1222
1222
|
"description": "Autogenerated input type of CreateOrUpdateOrganization",
|
1223
1223
|
"fields": null,
|
1224
1224
|
"inputFields": [
|
1225
|
+
{
|
1226
|
+
"name": "clientMutationId",
|
1227
|
+
"description": "A unique identifier for the client performing the mutation.",
|
1228
|
+
"type": {
|
1229
|
+
"kind": "SCALAR",
|
1230
|
+
"name": "String",
|
1231
|
+
"ofType": null
|
1232
|
+
},
|
1233
|
+
"defaultValue": null
|
1234
|
+
},
|
1225
1235
|
{
|
1226
1236
|
"name": "externalId",
|
1227
1237
|
"description": "The external identifer for this organization",
|
@@ -1255,16 +1265,6 @@
|
|
1255
1265
|
"ofType": null
|
1256
1266
|
},
|
1257
1267
|
"defaultValue": null
|
1258
|
-
},
|
1259
|
-
{
|
1260
|
-
"name": "clientMutationId",
|
1261
|
-
"description": "A unique identifier for the client performing the mutation.",
|
1262
|
-
"type": {
|
1263
|
-
"kind": "SCALAR",
|
1264
|
-
"name": "String",
|
1265
|
-
"ofType": null
|
1266
|
-
},
|
1267
|
-
"defaultValue": null
|
1268
1268
|
}
|
1269
1269
|
],
|
1270
1270
|
"interfaces": null,
|
@@ -1362,6 +1362,16 @@
|
|
1362
1362
|
"description": "Autogenerated input type of CreateOrUpdatePatient",
|
1363
1363
|
"fields": null,
|
1364
1364
|
"inputFields": [
|
1365
|
+
{
|
1366
|
+
"name": "clientMutationId",
|
1367
|
+
"description": "A unique identifier for the client performing the mutation.",
|
1368
|
+
"type": {
|
1369
|
+
"kind": "SCALAR",
|
1370
|
+
"name": "String",
|
1371
|
+
"ofType": null
|
1372
|
+
},
|
1373
|
+
"defaultValue": null
|
1374
|
+
},
|
1365
1375
|
{
|
1366
1376
|
"name": "externalId",
|
1367
1377
|
"description": "See Patient#mrn",
|
@@ -1387,18 +1397,18 @@
|
|
1387
1397
|
"defaultValue": null
|
1388
1398
|
},
|
1389
1399
|
{
|
1390
|
-
"name": "
|
1391
|
-
"description": "See Patient#
|
1400
|
+
"name": "birthDate",
|
1401
|
+
"description": "See Patient#mrn",
|
1392
1402
|
"type": {
|
1393
|
-
"kind": "
|
1394
|
-
"name": "
|
1403
|
+
"kind": "SCALAR",
|
1404
|
+
"name": "String",
|
1395
1405
|
"ofType": null
|
1396
1406
|
},
|
1397
1407
|
"defaultValue": null
|
1398
1408
|
},
|
1399
1409
|
{
|
1400
|
-
"name": "
|
1401
|
-
"description": "See Patient#
|
1410
|
+
"name": "legalGivenName",
|
1411
|
+
"description": "See Patient#legalFivenName",
|
1402
1412
|
"type": {
|
1403
1413
|
"kind": "SCALAR",
|
1404
1414
|
"name": "String",
|
@@ -1407,8 +1417,8 @@
|
|
1407
1417
|
"defaultValue": null
|
1408
1418
|
},
|
1409
1419
|
{
|
1410
|
-
"name": "
|
1411
|
-
"description": "See Patient#
|
1420
|
+
"name": "legalFamilyName",
|
1421
|
+
"description": "See Patient#legalFamilyName",
|
1412
1422
|
"type": {
|
1413
1423
|
"kind": "SCALAR",
|
1414
1424
|
"name": "String",
|
@@ -1417,8 +1427,68 @@
|
|
1417
1427
|
"defaultValue": null
|
1418
1428
|
},
|
1419
1429
|
{
|
1420
|
-
"name": "
|
1421
|
-
"description": "See Patient#
|
1430
|
+
"name": "legalName",
|
1431
|
+
"description": "See Patient#legalName",
|
1432
|
+
"type": {
|
1433
|
+
"kind": "SCALAR",
|
1434
|
+
"name": "String",
|
1435
|
+
"ofType": null
|
1436
|
+
},
|
1437
|
+
"defaultValue": null
|
1438
|
+
},
|
1439
|
+
{
|
1440
|
+
"name": "preferredGivenName",
|
1441
|
+
"description": "See Patient#preferredFivenName",
|
1442
|
+
"type": {
|
1443
|
+
"kind": "SCALAR",
|
1444
|
+
"name": "String",
|
1445
|
+
"ofType": null
|
1446
|
+
},
|
1447
|
+
"defaultValue": null
|
1448
|
+
},
|
1449
|
+
{
|
1450
|
+
"name": "preferredFamilyName",
|
1451
|
+
"description": "See Patient#preferredFamilyName",
|
1452
|
+
"type": {
|
1453
|
+
"kind": "SCALAR",
|
1454
|
+
"name": "String",
|
1455
|
+
"ofType": null
|
1456
|
+
},
|
1457
|
+
"defaultValue": null
|
1458
|
+
},
|
1459
|
+
{
|
1460
|
+
"name": "preferredName",
|
1461
|
+
"description": "See Patient#preferredName",
|
1462
|
+
"type": {
|
1463
|
+
"kind": "SCALAR",
|
1464
|
+
"name": "String",
|
1465
|
+
"ofType": null
|
1466
|
+
},
|
1467
|
+
"defaultValue": null
|
1468
|
+
},
|
1469
|
+
{
|
1470
|
+
"name": "preferredPronouns",
|
1471
|
+
"description": "See Patient#preferredPronouns",
|
1472
|
+
"type": {
|
1473
|
+
"kind": "SCALAR",
|
1474
|
+
"name": "String",
|
1475
|
+
"ofType": null
|
1476
|
+
},
|
1477
|
+
"defaultValue": null
|
1478
|
+
},
|
1479
|
+
{
|
1480
|
+
"name": "gender",
|
1481
|
+
"description": "See Patient#gender",
|
1482
|
+
"type": {
|
1483
|
+
"kind": "ENUM",
|
1484
|
+
"name": "Gender",
|
1485
|
+
"ofType": null
|
1486
|
+
},
|
1487
|
+
"defaultValue": null
|
1488
|
+
},
|
1489
|
+
{
|
1490
|
+
"name": "genderIdentity",
|
1491
|
+
"description": "See Patient#gender_identity",
|
1422
1492
|
"type": {
|
1423
1493
|
"kind": "SCALAR",
|
1424
1494
|
"name": "String",
|
@@ -1426,6 +1496,16 @@
|
|
1426
1496
|
},
|
1427
1497
|
"defaultValue": null
|
1428
1498
|
},
|
1499
|
+
{
|
1500
|
+
"name": "genderIdentityFhir",
|
1501
|
+
"description": "See Patient#gender_identity_fhir",
|
1502
|
+
"type": {
|
1503
|
+
"kind": "ENUM",
|
1504
|
+
"name": "GenderIdentity",
|
1505
|
+
"ofType": null
|
1506
|
+
},
|
1507
|
+
"defaultValue": null
|
1508
|
+
},
|
1429
1509
|
{
|
1430
1510
|
"name": "primaryLanguage",
|
1431
1511
|
"description": "See Patient#primaryLanguage",
|
@@ -1475,16 +1555,6 @@
|
|
1475
1555
|
"ofType": null
|
1476
1556
|
},
|
1477
1557
|
"defaultValue": null
|
1478
|
-
},
|
1479
|
-
{
|
1480
|
-
"name": "clientMutationId",
|
1481
|
-
"description": "A unique identifier for the client performing the mutation.",
|
1482
|
-
"type": {
|
1483
|
-
"kind": "SCALAR",
|
1484
|
-
"name": "String",
|
1485
|
-
"ofType": null
|
1486
|
-
},
|
1487
|
-
"defaultValue": null
|
1488
1558
|
}
|
1489
1559
|
],
|
1490
1560
|
"interfaces": null,
|
@@ -1582,6 +1652,16 @@
|
|
1582
1652
|
"description": "Autogenerated input type of CreateOrUpdatePractitioner",
|
1583
1653
|
"fields": null,
|
1584
1654
|
"inputFields": [
|
1655
|
+
{
|
1656
|
+
"name": "clientMutationId",
|
1657
|
+
"description": "A unique identifier for the client performing the mutation.",
|
1658
|
+
"type": {
|
1659
|
+
"kind": "SCALAR",
|
1660
|
+
"name": "String",
|
1661
|
+
"ofType": null
|
1662
|
+
},
|
1663
|
+
"defaultValue": null
|
1664
|
+
},
|
1585
1665
|
{
|
1586
1666
|
"name": "externalId",
|
1587
1667
|
"description": "The external identifer for this practitioner",
|
@@ -1683,16 +1763,6 @@
|
|
1683
1763
|
}
|
1684
1764
|
},
|
1685
1765
|
"defaultValue": null
|
1686
|
-
},
|
1687
|
-
{
|
1688
|
-
"name": "clientMutationId",
|
1689
|
-
"description": "A unique identifier for the client performing the mutation.",
|
1690
|
-
"type": {
|
1691
|
-
"kind": "SCALAR",
|
1692
|
-
"name": "String",
|
1693
|
-
"ofType": null
|
1694
|
-
},
|
1695
|
-
"defaultValue": null
|
1696
1766
|
}
|
1697
1767
|
],
|
1698
1768
|
"interfaces": null,
|
@@ -1827,13 +1897,9 @@
|
|
1827
1897
|
|
1828
1898
|
],
|
1829
1899
|
"type": {
|
1830
|
-
"kind": "
|
1831
|
-
"name":
|
1832
|
-
"ofType":
|
1833
|
-
"kind": "SCALAR",
|
1834
|
-
"name": "ISO8601DateTime",
|
1835
|
-
"ofType": null
|
1836
|
-
}
|
1900
|
+
"kind": "SCALAR",
|
1901
|
+
"name": "ISO8601DateTime",
|
1902
|
+
"ofType": null
|
1837
1903
|
},
|
1838
1904
|
"isDeprecated": false,
|
1839
1905
|
"deprecationReason": null
|
@@ -2641,6 +2707,12 @@
|
|
2641
2707
|
"inputFields": null,
|
2642
2708
|
"interfaces": null,
|
2643
2709
|
"enumValues": [
|
2710
|
+
{
|
2711
|
+
"name": "ASSESSMENT_IN_PROGRESS",
|
2712
|
+
"description": "Measurement In Progress",
|
2713
|
+
"isDeprecated": false,
|
2714
|
+
"deprecationReason": null
|
2715
|
+
},
|
2644
2716
|
{
|
2645
2717
|
"name": "NEW",
|
2646
2718
|
"description": "New",
|
@@ -2723,7 +2795,7 @@
|
|
2723
2795
|
{
|
2724
2796
|
"kind": "ENUM",
|
2725
2797
|
"name": "Gender",
|
2726
|
-
"description": "Administrative
|
2798
|
+
"description": "Administrative sex as defined by https://www.hl7.org/fhir/valueset-administrative-gender.html",
|
2727
2799
|
"fields": null,
|
2728
2800
|
"inputFields": null,
|
2729
2801
|
"interfaces": null,
|
@@ -2755,6 +2827,59 @@
|
|
2755
2827
|
],
|
2756
2828
|
"possibleTypes": null
|
2757
2829
|
},
|
2830
|
+
{
|
2831
|
+
"kind": "ENUM",
|
2832
|
+
"name": "GenderIdentity",
|
2833
|
+
"description": "Gender Identity as defined by http://hl7.org/fhir/R4/valueset-gender-identity.html",
|
2834
|
+
"fields": null,
|
2835
|
+
"inputFields": null,
|
2836
|
+
"interfaces": null,
|
2837
|
+
"enumValues": [
|
2838
|
+
{
|
2839
|
+
"name": "MALE",
|
2840
|
+
"description": "The patient identifies as male",
|
2841
|
+
"isDeprecated": false,
|
2842
|
+
"deprecationReason": null
|
2843
|
+
},
|
2844
|
+
{
|
2845
|
+
"name": "FEMALE",
|
2846
|
+
"description": "The patient identifies as female",
|
2847
|
+
"isDeprecated": false,
|
2848
|
+
"deprecationReason": null
|
2849
|
+
},
|
2850
|
+
{
|
2851
|
+
"name": "NON_BINARY",
|
2852
|
+
"description": "The patient identifies with neither/both female and male",
|
2853
|
+
"isDeprecated": false,
|
2854
|
+
"deprecationReason": null
|
2855
|
+
},
|
2856
|
+
{
|
2857
|
+
"name": "TRANSGENDER_MALE",
|
2858
|
+
"description": "The patient identifies as transgender female-to-male",
|
2859
|
+
"isDeprecated": false,
|
2860
|
+
"deprecationReason": null
|
2861
|
+
},
|
2862
|
+
{
|
2863
|
+
"name": "TRANSGENDER_FEMALE",
|
2864
|
+
"description": "The patient identifies as transgender male-to-female",
|
2865
|
+
"isDeprecated": false,
|
2866
|
+
"deprecationReason": null
|
2867
|
+
},
|
2868
|
+
{
|
2869
|
+
"name": "OTHER",
|
2870
|
+
"description": "Other gender identity",
|
2871
|
+
"isDeprecated": false,
|
2872
|
+
"deprecationReason": null
|
2873
|
+
},
|
2874
|
+
{
|
2875
|
+
"name": "NON_DISCLOSE",
|
2876
|
+
"description": "The patient does not wish to disclose his gender identity",
|
2877
|
+
"isDeprecated": false,
|
2878
|
+
"deprecationReason": null
|
2879
|
+
}
|
2880
|
+
],
|
2881
|
+
"possibleTypes": null
|
2882
|
+
},
|
2758
2883
|
{
|
2759
2884
|
"kind": "SCALAR",
|
2760
2885
|
"name": "ID",
|
@@ -3334,6 +3459,18 @@
|
|
3334
3459
|
"description": "The invitation was not started and has expired",
|
3335
3460
|
"isDeprecated": false,
|
3336
3461
|
"deprecationReason": null
|
3462
|
+
},
|
3463
|
+
{
|
3464
|
+
"name": "PARTIAL",
|
3465
|
+
"description": "The invitation was started but not completed and has now expired",
|
3466
|
+
"isDeprecated": false,
|
3467
|
+
"deprecationReason": null
|
3468
|
+
},
|
3469
|
+
{
|
3470
|
+
"name": "CANCELED",
|
3471
|
+
"description": "The invitation was canceled",
|
3472
|
+
"isDeprecated": false,
|
3473
|
+
"deprecationReason": null
|
3337
3474
|
}
|
3338
3475
|
],
|
3339
3476
|
"possibleTypes": null
|
@@ -3349,7 +3486,7 @@
|
|
3349
3486
|
"args": [
|
3350
3487
|
{
|
3351
3488
|
"name": "input",
|
3352
|
-
"description":
|
3489
|
+
"description": "Parameters for CreateOrUpdateAppointment",
|
3353
3490
|
"type": {
|
3354
3491
|
"kind": "NON_NULL",
|
3355
3492
|
"name": null,
|
@@ -3376,7 +3513,7 @@
|
|
3376
3513
|
"args": [
|
3377
3514
|
{
|
3378
3515
|
"name": "input",
|
3379
|
-
"description":
|
3516
|
+
"description": "Parameters for CreateOrUpdateOrganization",
|
3380
3517
|
"type": {
|
3381
3518
|
"kind": "NON_NULL",
|
3382
3519
|
"name": null,
|
@@ -3403,7 +3540,7 @@
|
|
3403
3540
|
"args": [
|
3404
3541
|
{
|
3405
3542
|
"name": "input",
|
3406
|
-
"description":
|
3543
|
+
"description": "Parameters for CreateOrUpdatePatient",
|
3407
3544
|
"type": {
|
3408
3545
|
"kind": "NON_NULL",
|
3409
3546
|
"name": null,
|
@@ -3430,7 +3567,7 @@
|
|
3430
3567
|
"args": [
|
3431
3568
|
{
|
3432
3569
|
"name": "input",
|
3433
|
-
"description":
|
3570
|
+
"description": "Parameters for CreateOrUpdatePractitioner",
|
3434
3571
|
"type": {
|
3435
3572
|
"kind": "NON_NULL",
|
3436
3573
|
"name": null,
|
@@ -4617,13 +4754,9 @@
|
|
4617
4754
|
|
4618
4755
|
],
|
4619
4756
|
"type": {
|
4620
|
-
"kind": "
|
4621
|
-
"name":
|
4622
|
-
"ofType":
|
4623
|
-
"kind": "SCALAR",
|
4624
|
-
"name": "String",
|
4625
|
-
"ofType": null
|
4626
|
-
}
|
4757
|
+
"kind": "SCALAR",
|
4758
|
+
"name": "String",
|
4759
|
+
"ofType": null
|
4627
4760
|
},
|
4628
4761
|
"isDeprecated": false,
|
4629
4762
|
"deprecationReason": null
|
@@ -4642,6 +4775,34 @@
|
|
4642
4775
|
"isDeprecated": false,
|
4643
4776
|
"deprecationReason": null
|
4644
4777
|
},
|
4778
|
+
{
|
4779
|
+
"name": "genderIdentity",
|
4780
|
+
"description": "The patient's gender identity as a string",
|
4781
|
+
"args": [
|
4782
|
+
|
4783
|
+
],
|
4784
|
+
"type": {
|
4785
|
+
"kind": "SCALAR",
|
4786
|
+
"name": "String",
|
4787
|
+
"ofType": null
|
4788
|
+
},
|
4789
|
+
"isDeprecated": false,
|
4790
|
+
"deprecationReason": null
|
4791
|
+
},
|
4792
|
+
{
|
4793
|
+
"name": "genderIdentityFhir",
|
4794
|
+
"description": "The patient's gender identity as expressed by the FHIR enum",
|
4795
|
+
"args": [
|
4796
|
+
|
4797
|
+
],
|
4798
|
+
"type": {
|
4799
|
+
"kind": "ENUM",
|
4800
|
+
"name": "GenderIdentity",
|
4801
|
+
"ofType": null
|
4802
|
+
},
|
4803
|
+
"isDeprecated": false,
|
4804
|
+
"deprecationReason": null
|
4805
|
+
},
|
4645
4806
|
{
|
4646
4807
|
"name": "givenName",
|
4647
4808
|
"description": "The patient's first or given name",
|
@@ -4649,13 +4810,9 @@
|
|
4649
4810
|
|
4650
4811
|
],
|
4651
4812
|
"type": {
|
4652
|
-
"kind": "
|
4653
|
-
"name":
|
4654
|
-
"ofType":
|
4655
|
-
"kind": "SCALAR",
|
4656
|
-
"name": "String",
|
4657
|
-
"ofType": null
|
4658
|
-
}
|
4813
|
+
"kind": "SCALAR",
|
4814
|
+
"name": "String",
|
4815
|
+
"ofType": null
|
4659
4816
|
},
|
4660
4817
|
"isDeprecated": false,
|
4661
4818
|
"deprecationReason": null
|
@@ -4718,6 +4875,48 @@
|
|
4718
4875
|
"isDeprecated": false,
|
4719
4876
|
"deprecationReason": null
|
4720
4877
|
},
|
4878
|
+
{
|
4879
|
+
"name": "legalFamilyName",
|
4880
|
+
"description": "The patient's legal last or family name",
|
4881
|
+
"args": [
|
4882
|
+
|
4883
|
+
],
|
4884
|
+
"type": {
|
4885
|
+
"kind": "SCALAR",
|
4886
|
+
"name": "String",
|
4887
|
+
"ofType": null
|
4888
|
+
},
|
4889
|
+
"isDeprecated": false,
|
4890
|
+
"deprecationReason": null
|
4891
|
+
},
|
4892
|
+
{
|
4893
|
+
"name": "legalGivenName",
|
4894
|
+
"description": "The patient's legal first or given name",
|
4895
|
+
"args": [
|
4896
|
+
|
4897
|
+
],
|
4898
|
+
"type": {
|
4899
|
+
"kind": "SCALAR",
|
4900
|
+
"name": "String",
|
4901
|
+
"ofType": null
|
4902
|
+
},
|
4903
|
+
"isDeprecated": false,
|
4904
|
+
"deprecationReason": null
|
4905
|
+
},
|
4906
|
+
{
|
4907
|
+
"name": "legalName",
|
4908
|
+
"description": "The patient's legal last or family name",
|
4909
|
+
"args": [
|
4910
|
+
|
4911
|
+
],
|
4912
|
+
"type": {
|
4913
|
+
"kind": "SCALAR",
|
4914
|
+
"name": "String",
|
4915
|
+
"ofType": null
|
4916
|
+
},
|
4917
|
+
"isDeprecated": false,
|
4918
|
+
"deprecationReason": null
|
4919
|
+
},
|
4721
4920
|
{
|
4722
4921
|
"name": "managingOrganization",
|
4723
4922
|
"description": "The managing organization for this patient record. This is used most commonly in situations where there are\ndata firewalls between organizations and the patient is not in active treatment. In this case, managing\n organization can be used to show who has access to the patient record.\n",
|
@@ -4760,6 +4959,62 @@
|
|
4760
4959
|
"isDeprecated": false,
|
4761
4960
|
"deprecationReason": null
|
4762
4961
|
},
|
4962
|
+
{
|
4963
|
+
"name": "preferredFamilyName",
|
4964
|
+
"description": "The patient's preferred last or family name",
|
4965
|
+
"args": [
|
4966
|
+
|
4967
|
+
],
|
4968
|
+
"type": {
|
4969
|
+
"kind": "SCALAR",
|
4970
|
+
"name": "String",
|
4971
|
+
"ofType": null
|
4972
|
+
},
|
4973
|
+
"isDeprecated": false,
|
4974
|
+
"deprecationReason": null
|
4975
|
+
},
|
4976
|
+
{
|
4977
|
+
"name": "preferredGivenName",
|
4978
|
+
"description": "The patient's preferred first or given name",
|
4979
|
+
"args": [
|
4980
|
+
|
4981
|
+
],
|
4982
|
+
"type": {
|
4983
|
+
"kind": "SCALAR",
|
4984
|
+
"name": "String",
|
4985
|
+
"ofType": null
|
4986
|
+
},
|
4987
|
+
"isDeprecated": false,
|
4988
|
+
"deprecationReason": null
|
4989
|
+
},
|
4990
|
+
{
|
4991
|
+
"name": "preferredName",
|
4992
|
+
"description": "The patient's preferred last or family name",
|
4993
|
+
"args": [
|
4994
|
+
|
4995
|
+
],
|
4996
|
+
"type": {
|
4997
|
+
"kind": "SCALAR",
|
4998
|
+
"name": "String",
|
4999
|
+
"ofType": null
|
5000
|
+
},
|
5001
|
+
"isDeprecated": false,
|
5002
|
+
"deprecationReason": null
|
5003
|
+
},
|
5004
|
+
{
|
5005
|
+
"name": "preferredPronouns",
|
5006
|
+
"description": "The patient's preferred pronouns",
|
5007
|
+
"args": [
|
5008
|
+
|
5009
|
+
],
|
5010
|
+
"type": {
|
5011
|
+
"kind": "SCALAR",
|
5012
|
+
"name": "String",
|
5013
|
+
"ofType": null
|
5014
|
+
},
|
5015
|
+
"isDeprecated": false,
|
5016
|
+
"deprecationReason": null
|
5017
|
+
},
|
4763
5018
|
{
|
4764
5019
|
"name": "primaryLanguage",
|
4765
5020
|
"description": "The patient's primary language",
|
@@ -8658,7 +8913,16 @@
|
|
8658
8913
|
"name": "args",
|
8659
8914
|
"description": null,
|
8660
8915
|
"args": [
|
8661
|
-
|
8916
|
+
{
|
8917
|
+
"name": "includeDeprecated",
|
8918
|
+
"description": null,
|
8919
|
+
"type": {
|
8920
|
+
"kind": "SCALAR",
|
8921
|
+
"name": "Boolean",
|
8922
|
+
"ofType": null
|
8923
|
+
},
|
8924
|
+
"defaultValue": "false"
|
8925
|
+
}
|
8662
8926
|
],
|
8663
8927
|
"type": {
|
8664
8928
|
"kind": "NON_NULL",
|
@@ -8694,6 +8958,20 @@
|
|
8694
8958
|
"isDeprecated": false,
|
8695
8959
|
"deprecationReason": null
|
8696
8960
|
},
|
8961
|
+
{
|
8962
|
+
"name": "isRepeatable",
|
8963
|
+
"description": null,
|
8964
|
+
"args": [
|
8965
|
+
|
8966
|
+
],
|
8967
|
+
"type": {
|
8968
|
+
"kind": "SCALAR",
|
8969
|
+
"name": "Boolean",
|
8970
|
+
"ofType": null
|
8971
|
+
},
|
8972
|
+
"isDeprecated": false,
|
8973
|
+
"deprecationReason": null
|
8974
|
+
},
|
8697
8975
|
{
|
8698
8976
|
"name": "locations",
|
8699
8977
|
"description": null,
|
@@ -8915,6 +9193,12 @@
|
|
8915
9193
|
"description": "Location adjacent to an input object field definition.",
|
8916
9194
|
"isDeprecated": false,
|
8917
9195
|
"deprecationReason": null
|
9196
|
+
},
|
9197
|
+
{
|
9198
|
+
"name": "VARIABLE_DEFINITION",
|
9199
|
+
"description": "Location adjacent to a variable definition.",
|
9200
|
+
"isDeprecated": false,
|
9201
|
+
"deprecationReason": null
|
8918
9202
|
}
|
8919
9203
|
],
|
8920
9204
|
"possibleTypes": null
|
@@ -9005,7 +9289,16 @@
|
|
9005
9289
|
"name": "args",
|
9006
9290
|
"description": null,
|
9007
9291
|
"args": [
|
9008
|
-
|
9292
|
+
{
|
9293
|
+
"name": "includeDeprecated",
|
9294
|
+
"description": null,
|
9295
|
+
"type": {
|
9296
|
+
"kind": "SCALAR",
|
9297
|
+
"name": "Boolean",
|
9298
|
+
"ofType": null
|
9299
|
+
},
|
9300
|
+
"defaultValue": "false"
|
9301
|
+
}
|
9009
9302
|
],
|
9010
9303
|
"type": {
|
9011
9304
|
"kind": "NON_NULL",
|
@@ -9136,6 +9429,20 @@
|
|
9136
9429
|
"isDeprecated": false,
|
9137
9430
|
"deprecationReason": null
|
9138
9431
|
},
|
9432
|
+
{
|
9433
|
+
"name": "deprecationReason",
|
9434
|
+
"description": null,
|
9435
|
+
"args": [
|
9436
|
+
|
9437
|
+
],
|
9438
|
+
"type": {
|
9439
|
+
"kind": "SCALAR",
|
9440
|
+
"name": "String",
|
9441
|
+
"ofType": null
|
9442
|
+
},
|
9443
|
+
"isDeprecated": false,
|
9444
|
+
"deprecationReason": null
|
9445
|
+
},
|
9139
9446
|
{
|
9140
9447
|
"name": "description",
|
9141
9448
|
"description": null,
|
@@ -9150,6 +9457,24 @@
|
|
9150
9457
|
"isDeprecated": false,
|
9151
9458
|
"deprecationReason": null
|
9152
9459
|
},
|
9460
|
+
{
|
9461
|
+
"name": "isDeprecated",
|
9462
|
+
"description": null,
|
9463
|
+
"args": [
|
9464
|
+
|
9465
|
+
],
|
9466
|
+
"type": {
|
9467
|
+
"kind": "NON_NULL",
|
9468
|
+
"name": null,
|
9469
|
+
"ofType": {
|
9470
|
+
"kind": "SCALAR",
|
9471
|
+
"name": "Boolean",
|
9472
|
+
"ofType": null
|
9473
|
+
}
|
9474
|
+
},
|
9475
|
+
"isDeprecated": false,
|
9476
|
+
"deprecationReason": null
|
9477
|
+
},
|
9153
9478
|
{
|
9154
9479
|
"name": "name",
|
9155
9480
|
"description": null,
|
@@ -9199,6 +9524,20 @@
|
|
9199
9524
|
"name": "__Schema",
|
9200
9525
|
"description": "A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",
|
9201
9526
|
"fields": [
|
9527
|
+
{
|
9528
|
+
"name": "description",
|
9529
|
+
"description": null,
|
9530
|
+
"args": [
|
9531
|
+
|
9532
|
+
],
|
9533
|
+
"type": {
|
9534
|
+
"kind": "SCALAR",
|
9535
|
+
"name": "String",
|
9536
|
+
"ofType": null
|
9537
|
+
},
|
9538
|
+
"isDeprecated": false,
|
9539
|
+
"deprecationReason": null
|
9540
|
+
},
|
9202
9541
|
{
|
9203
9542
|
"name": "directives",
|
9204
9543
|
"description": "A list of all directives supported by this server.",
|
@@ -9390,7 +9729,16 @@
|
|
9390
9729
|
"name": "inputFields",
|
9391
9730
|
"description": null,
|
9392
9731
|
"args": [
|
9393
|
-
|
9732
|
+
{
|
9733
|
+
"name": "includeDeprecated",
|
9734
|
+
"description": null,
|
9735
|
+
"type": {
|
9736
|
+
"kind": "SCALAR",
|
9737
|
+
"name": "Boolean",
|
9738
|
+
"ofType": null
|
9739
|
+
},
|
9740
|
+
"defaultValue": "false"
|
9741
|
+
}
|
9394
9742
|
],
|
9395
9743
|
"type": {
|
9396
9744
|
"kind": "LIST",
|
@@ -9497,6 +9845,20 @@
|
|
9497
9845
|
},
|
9498
9846
|
"isDeprecated": false,
|
9499
9847
|
"deprecationReason": null
|
9848
|
+
},
|
9849
|
+
{
|
9850
|
+
"name": "specifiedByURL",
|
9851
|
+
"description": null,
|
9852
|
+
"args": [
|
9853
|
+
|
9854
|
+
],
|
9855
|
+
"type": {
|
9856
|
+
"kind": "SCALAR",
|
9857
|
+
"name": "String",
|
9858
|
+
"ofType": null
|
9859
|
+
},
|
9860
|
+
"isDeprecated": false,
|
9861
|
+
"deprecationReason": null
|
9500
9862
|
}
|
9501
9863
|
],
|
9502
9864
|
"inputFields": null,
|
@@ -9622,7 +9984,9 @@
|
|
9622
9984
|
"description": "Marks an element of a GraphQL schema as no longer supported.",
|
9623
9985
|
"locations": [
|
9624
9986
|
"FIELD_DEFINITION",
|
9625
|
-
"ENUM_VALUE"
|
9987
|
+
"ENUM_VALUE",
|
9988
|
+
"ARGUMENT_DEFINITION",
|
9989
|
+
"INPUT_FIELD_DEFINITION"
|
9626
9990
|
],
|
9627
9991
|
"args": [
|
9628
9992
|
{
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mirah-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Jones
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2022-07-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -214,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
214
214
|
- !ruby/object:Gem::Version
|
215
215
|
version: '0'
|
216
216
|
requirements: []
|
217
|
-
rubygems_version: 3.
|
217
|
+
rubygems_version: 3.2.15
|
218
218
|
signing_key:
|
219
219
|
specification_version: 4
|
220
220
|
summary: Connect to your data on Mirah.
|