google-apis-healthcare_v1 0.11.0 → 0.15.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 +16 -0
- data/lib/google/apis/healthcare_v1/classes.rb +446 -3
- data/lib/google/apis/healthcare_v1/gem_version.rb +2 -2
- data/lib/google/apis/healthcare_v1/representations.rb +212 -0
- data/lib/google/apis/healthcare_v1/service.rb +153 -16
- data/lib/google/apis/healthcare_v1.rb +1 -1
- 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: 98652121566257e018eca80e376a00cd67ba0a6463e6659f2c0e300803ebb75f
|
4
|
+
data.tar.gz: 3ce1650516a7f412c7c7708476502cc816a52259bb2612439dd20fd78a81d4b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 737f751a46d1e201e53ac36ae7782a3078263a085b424ea6d5ba18c2c05bfca7346e3d018722935c704436a32c441ff062313a1d9f976e5a4bc4fa3a245107d4
|
7
|
+
data.tar.gz: a197a0a28a142a416f2c3fdb9e5a4834f039efdc12559a389e4021a25a3f8ff6eb02033fa6774165068f9cc193644fd222540f75895a71ca3f03fa0eaf009fb7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-healthcare_v1
|
2
2
|
|
3
|
+
### v0.15.0 (2021-10-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210917
|
6
|
+
|
7
|
+
### v0.14.0 (2021-09-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210914
|
10
|
+
|
11
|
+
### v0.13.0 (2021-09-16)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210909
|
14
|
+
|
15
|
+
### v0.12.0 (2021-09-01)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210830
|
18
|
+
|
3
19
|
### v0.11.0 (2021-06-29)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210621
|
@@ -61,6 +61,66 @@ module Google
|
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
64
|
+
# The request to analyze healthcare entities in a document.
|
65
|
+
class AnalyzeEntitiesRequest
|
66
|
+
include Google::Apis::Core::Hashable
|
67
|
+
|
68
|
+
# document_content is a document to be annotated.
|
69
|
+
# Corresponds to the JSON property `documentContent`
|
70
|
+
# @return [String]
|
71
|
+
attr_accessor :document_content
|
72
|
+
|
73
|
+
# A list of licensed vocabularies to use in the request, in addition to the
|
74
|
+
# default unlicensed vocabularies.
|
75
|
+
# Corresponds to the JSON property `licensedVocabularies`
|
76
|
+
# @return [Array<String>]
|
77
|
+
attr_accessor :licensed_vocabularies
|
78
|
+
|
79
|
+
def initialize(**args)
|
80
|
+
update!(**args)
|
81
|
+
end
|
82
|
+
|
83
|
+
# Update properties of this object
|
84
|
+
def update!(**args)
|
85
|
+
@document_content = args[:document_content] if args.key?(:document_content)
|
86
|
+
@licensed_vocabularies = args[:licensed_vocabularies] if args.key?(:licensed_vocabularies)
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
# Includes recognized entity mentions and relationships between them.
|
91
|
+
class AnalyzeEntitiesResponse
|
92
|
+
include Google::Apis::Core::Hashable
|
93
|
+
|
94
|
+
# The union of all the candidate entities that the entity_mentions in this
|
95
|
+
# response could link to. These are UMLS concepts or normalized mention content.
|
96
|
+
# Corresponds to the JSON property `entities`
|
97
|
+
# @return [Array<Google::Apis::HealthcareV1::Entity>]
|
98
|
+
attr_accessor :entities
|
99
|
+
|
100
|
+
# entity_mentions contains all the annotated medical entities that were
|
101
|
+
# mentioned in the provided document.
|
102
|
+
# Corresponds to the JSON property `entityMentions`
|
103
|
+
# @return [Array<Google::Apis::HealthcareV1::EntityMention>]
|
104
|
+
attr_accessor :entity_mentions
|
105
|
+
|
106
|
+
# relationships contains all the binary relationships that were identified
|
107
|
+
# between entity mentions within the provided document.
|
108
|
+
# Corresponds to the JSON property `relationships`
|
109
|
+
# @return [Array<Google::Apis::HealthcareV1::EntityMentionRelationship>]
|
110
|
+
attr_accessor :relationships
|
111
|
+
|
112
|
+
def initialize(**args)
|
113
|
+
update!(**args)
|
114
|
+
end
|
115
|
+
|
116
|
+
# Update properties of this object
|
117
|
+
def update!(**args)
|
118
|
+
@entities = args[:entities] if args.key?(:entities)
|
119
|
+
@entity_mentions = args[:entity_mentions] if args.key?(:entity_mentions)
|
120
|
+
@relationships = args[:relationships] if args.key?(:relationships)
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
64
124
|
# Archives the specified User data mapping.
|
65
125
|
class ArchiveUserDataMappingRequest
|
66
126
|
include Google::Apis::Core::Hashable
|
@@ -122,7 +182,7 @@ module Google
|
|
122
182
|
include Google::Apis::Core::Hashable
|
123
183
|
|
124
184
|
# Required. Possible values for the attribute. The number of allowed values must
|
125
|
-
# not exceed
|
185
|
+
# not exceed 500. An empty list is invalid. The list can only be expanded after
|
126
186
|
# creation.
|
127
187
|
# Corresponds to the JSON property `allowedValues`
|
128
188
|
# @return [Array<String>]
|
@@ -1045,6 +1105,145 @@ module Google
|
|
1045
1105
|
end
|
1046
1106
|
end
|
1047
1107
|
|
1108
|
+
# The candidate entities that an entity mention could link to.
|
1109
|
+
class Entity
|
1110
|
+
include Google::Apis::Core::Hashable
|
1111
|
+
|
1112
|
+
# entity_id is a first class field entity_id uniquely identifies this concept
|
1113
|
+
# and its meta-vocabulary. For example, "UMLS/C0000970".
|
1114
|
+
# Corresponds to the JSON property `entityId`
|
1115
|
+
# @return [String]
|
1116
|
+
attr_accessor :entity_id
|
1117
|
+
|
1118
|
+
# preferred_term is the preferred term for this concept. For example, "
|
1119
|
+
# Acetaminophen". For ad hoc entities formed by normalization, this is the most
|
1120
|
+
# popular unnormalized string.
|
1121
|
+
# Corresponds to the JSON property `preferredTerm`
|
1122
|
+
# @return [String]
|
1123
|
+
attr_accessor :preferred_term
|
1124
|
+
|
1125
|
+
# Vocabulary codes are first-class fields and differentiated from the concept
|
1126
|
+
# unique identifier (entity_id). vocabulary_codes contains the representation of
|
1127
|
+
# this concept in particular vocabularies, such as ICD-10, SNOMED-CT and RxNORM.
|
1128
|
+
# These are prefixed by the name of the vocabulary, followed by the unique code
|
1129
|
+
# within that vocabulary. For example, "RXNORM/A10334543".
|
1130
|
+
# Corresponds to the JSON property `vocabularyCodes`
|
1131
|
+
# @return [Array<String>]
|
1132
|
+
attr_accessor :vocabulary_codes
|
1133
|
+
|
1134
|
+
def initialize(**args)
|
1135
|
+
update!(**args)
|
1136
|
+
end
|
1137
|
+
|
1138
|
+
# Update properties of this object
|
1139
|
+
def update!(**args)
|
1140
|
+
@entity_id = args[:entity_id] if args.key?(:entity_id)
|
1141
|
+
@preferred_term = args[:preferred_term] if args.key?(:preferred_term)
|
1142
|
+
@vocabulary_codes = args[:vocabulary_codes] if args.key?(:vocabulary_codes)
|
1143
|
+
end
|
1144
|
+
end
|
1145
|
+
|
1146
|
+
# An entity mention in the document.
|
1147
|
+
class EntityMention
|
1148
|
+
include Google::Apis::Core::Hashable
|
1149
|
+
|
1150
|
+
# A feature of an entity mention.
|
1151
|
+
# Corresponds to the JSON property `certaintyAssessment`
|
1152
|
+
# @return [Google::Apis::HealthcareV1::Feature]
|
1153
|
+
attr_accessor :certainty_assessment
|
1154
|
+
|
1155
|
+
# The model's confidence in this entity mention annotation. A number between 0
|
1156
|
+
# and 1.
|
1157
|
+
# Corresponds to the JSON property `confidence`
|
1158
|
+
# @return [Float]
|
1159
|
+
attr_accessor :confidence
|
1160
|
+
|
1161
|
+
# linked_entities are candidate ontological concepts that this entity mention
|
1162
|
+
# may refer to. They are sorted by decreasing confidence.it
|
1163
|
+
# Corresponds to the JSON property `linkedEntities`
|
1164
|
+
# @return [Array<Google::Apis::HealthcareV1::LinkedEntity>]
|
1165
|
+
attr_accessor :linked_entities
|
1166
|
+
|
1167
|
+
# mention_id uniquely identifies each entity mention in a single response.
|
1168
|
+
# Corresponds to the JSON property `mentionId`
|
1169
|
+
# @return [String]
|
1170
|
+
attr_accessor :mention_id
|
1171
|
+
|
1172
|
+
# A feature of an entity mention.
|
1173
|
+
# Corresponds to the JSON property `subject`
|
1174
|
+
# @return [Google::Apis::HealthcareV1::Feature]
|
1175
|
+
attr_accessor :subject
|
1176
|
+
|
1177
|
+
# A feature of an entity mention.
|
1178
|
+
# Corresponds to the JSON property `temporalAssessment`
|
1179
|
+
# @return [Google::Apis::HealthcareV1::Feature]
|
1180
|
+
attr_accessor :temporal_assessment
|
1181
|
+
|
1182
|
+
# A span of text in the provided document.
|
1183
|
+
# Corresponds to the JSON property `text`
|
1184
|
+
# @return [Google::Apis::HealthcareV1::TextSpan]
|
1185
|
+
attr_accessor :text
|
1186
|
+
|
1187
|
+
# The semantic type of the entity: UNKNOWN_ENTITY_TYPE, ALONE,
|
1188
|
+
# ANATOMICAL_STRUCTURE, ASSISTED_LIVING, BF_RESULT, BM_RESULT, BM_UNIT, BM_VALUE,
|
1189
|
+
# BODY_FUNCTION, BODY_MEASUREMENT, COMPLIANT, DOESNOT_FOLLOWUP, FAMILY,
|
1190
|
+
# FOLLOWSUP, LABORATORY_DATA, LAB_RESULT, LAB_UNIT, LAB_VALUE, MEDICAL_DEVICE,
|
1191
|
+
# MEDICINE, MED_DOSE, MED_DURATION, MED_FORM, MED_FREQUENCY, MED_ROUTE,
|
1192
|
+
# MED_STATUS, MED_STRENGTH, MED_TOTALDOSE, MED_UNIT, NON_COMPLIANT,
|
1193
|
+
# OTHER_LIVINGSTATUS, PROBLEM, PROCEDURE, PROCEDURE_RESULT, PROC_METHOD,
|
1194
|
+
# REASON_FOR_NONCOMPLIANCE, SEVERITY, SUBSTANCE_ABUSE, UNCLEAR_FOLLOWUP.
|
1195
|
+
# Corresponds to the JSON property `type`
|
1196
|
+
# @return [String]
|
1197
|
+
attr_accessor :type
|
1198
|
+
|
1199
|
+
def initialize(**args)
|
1200
|
+
update!(**args)
|
1201
|
+
end
|
1202
|
+
|
1203
|
+
# Update properties of this object
|
1204
|
+
def update!(**args)
|
1205
|
+
@certainty_assessment = args[:certainty_assessment] if args.key?(:certainty_assessment)
|
1206
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
1207
|
+
@linked_entities = args[:linked_entities] if args.key?(:linked_entities)
|
1208
|
+
@mention_id = args[:mention_id] if args.key?(:mention_id)
|
1209
|
+
@subject = args[:subject] if args.key?(:subject)
|
1210
|
+
@temporal_assessment = args[:temporal_assessment] if args.key?(:temporal_assessment)
|
1211
|
+
@text = args[:text] if args.key?(:text)
|
1212
|
+
@type = args[:type] if args.key?(:type)
|
1213
|
+
end
|
1214
|
+
end
|
1215
|
+
|
1216
|
+
# Defines directed relationship from one entity mention to another.
|
1217
|
+
class EntityMentionRelationship
|
1218
|
+
include Google::Apis::Core::Hashable
|
1219
|
+
|
1220
|
+
# The model's confidence in this annotation. A number between 0 and 1.
|
1221
|
+
# Corresponds to the JSON property `confidence`
|
1222
|
+
# @return [Float]
|
1223
|
+
attr_accessor :confidence
|
1224
|
+
|
1225
|
+
# object_id is the id of the object entity mention.
|
1226
|
+
# Corresponds to the JSON property `objectId`
|
1227
|
+
# @return [String]
|
1228
|
+
attr_accessor :object_id_prop
|
1229
|
+
|
1230
|
+
# subject_id is the id of the subject entity mention.
|
1231
|
+
# Corresponds to the JSON property `subjectId`
|
1232
|
+
# @return [String]
|
1233
|
+
attr_accessor :subject_id
|
1234
|
+
|
1235
|
+
def initialize(**args)
|
1236
|
+
update!(**args)
|
1237
|
+
end
|
1238
|
+
|
1239
|
+
# Update properties of this object
|
1240
|
+
def update!(**args)
|
1241
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
1242
|
+
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
|
1243
|
+
@subject_id = args[:subject_id] if args.key?(:subject_id)
|
1244
|
+
end
|
1245
|
+
end
|
1246
|
+
|
1048
1247
|
# Evaluate a user's Consents for all matching User data mappings. Note: User
|
1049
1248
|
# data mappings are indexed asynchronously, causing slight delays between the
|
1050
1249
|
# time mappings are created or updated and when they are included in
|
@@ -1175,6 +1374,63 @@ module Google
|
|
1175
1374
|
end
|
1176
1375
|
end
|
1177
1376
|
|
1377
|
+
# Request to schedule an export.
|
1378
|
+
class ExportMessagesRequest
|
1379
|
+
include Google::Apis::Core::Hashable
|
1380
|
+
|
1381
|
+
# The end of the range in `send_time` (MSH.7, https://www.hl7.org/documentcenter/
|
1382
|
+
# public_temp_2E58C1F9-1C23-BA17-0C6126475344DA9D/wg/conf/HL7MSH.htm) to process.
|
1383
|
+
# If not specified, the time when the export is scheduled is used. This value
|
1384
|
+
# has to come after the `start_time` defined below. Only messages whose `
|
1385
|
+
# send_time` lies in the range `start_time` (inclusive) to `end_time` (exclusive)
|
1386
|
+
# are exported.
|
1387
|
+
# Corresponds to the JSON property `endTime`
|
1388
|
+
# @return [String]
|
1389
|
+
attr_accessor :end_time
|
1390
|
+
|
1391
|
+
# The Cloud Storage output destination. The Cloud Healthcare Service Agent
|
1392
|
+
# requires the `roles/storage.objectAdmin` Cloud IAM roles on the Cloud Storage
|
1393
|
+
# location.
|
1394
|
+
# Corresponds to the JSON property `gcsDestination`
|
1395
|
+
# @return [Google::Apis::HealthcareV1::GcsDestination]
|
1396
|
+
attr_accessor :gcs_destination
|
1397
|
+
|
1398
|
+
# The start of the range in `send_time` (MSH.7, https://www.hl7.org/
|
1399
|
+
# documentcenter/public_temp_2E58C1F9-1C23-BA17-0C6126475344DA9D/wg/conf/HL7MSH.
|
1400
|
+
# htm) to process. If not specified, the UNIX epoch (1970-01-01T00:00:00Z) is
|
1401
|
+
# used. This value has to come before the `end_time` defined below. Only
|
1402
|
+
# messages whose `send_time` lies in the range `start_time` (inclusive) to `
|
1403
|
+
# end_time` (exclusive) are exported.
|
1404
|
+
# Corresponds to the JSON property `startTime`
|
1405
|
+
# @return [String]
|
1406
|
+
attr_accessor :start_time
|
1407
|
+
|
1408
|
+
def initialize(**args)
|
1409
|
+
update!(**args)
|
1410
|
+
end
|
1411
|
+
|
1412
|
+
# Update properties of this object
|
1413
|
+
def update!(**args)
|
1414
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
1415
|
+
@gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
|
1416
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
1417
|
+
end
|
1418
|
+
end
|
1419
|
+
|
1420
|
+
# Final response for the export operation. This structure is included in the
|
1421
|
+
# response to describe the detailed outcome.
|
1422
|
+
class ExportMessagesResponse
|
1423
|
+
include Google::Apis::Core::Hashable
|
1424
|
+
|
1425
|
+
def initialize(**args)
|
1426
|
+
update!(**args)
|
1427
|
+
end
|
1428
|
+
|
1429
|
+
# Update properties of this object
|
1430
|
+
def update!(**args)
|
1431
|
+
end
|
1432
|
+
end
|
1433
|
+
|
1178
1434
|
# Request to export resources.
|
1179
1435
|
class ExportResourcesRequest
|
1180
1436
|
include Google::Apis::Core::Hashable
|
@@ -1269,6 +1525,32 @@ module Google
|
|
1269
1525
|
end
|
1270
1526
|
end
|
1271
1527
|
|
1528
|
+
# A feature of an entity mention.
|
1529
|
+
class Feature
|
1530
|
+
include Google::Apis::Core::Hashable
|
1531
|
+
|
1532
|
+
# The model's confidence in this feature annotation. A number between 0 and 1.
|
1533
|
+
# Corresponds to the JSON property `confidence`
|
1534
|
+
# @return [Float]
|
1535
|
+
attr_accessor :confidence
|
1536
|
+
|
1537
|
+
# The value of this feature annotation. Its range depends on the type of the
|
1538
|
+
# feature.
|
1539
|
+
# Corresponds to the JSON property `value`
|
1540
|
+
# @return [String]
|
1541
|
+
attr_accessor :value
|
1542
|
+
|
1543
|
+
def initialize(**args)
|
1544
|
+
update!(**args)
|
1545
|
+
end
|
1546
|
+
|
1547
|
+
# Update properties of this object
|
1548
|
+
def update!(**args)
|
1549
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
1550
|
+
@value = args[:value] if args.key?(:value)
|
1551
|
+
end
|
1552
|
+
end
|
1553
|
+
|
1272
1554
|
# Specifies how to handle de-identification of a FHIR store.
|
1273
1555
|
class FhirConfig
|
1274
1556
|
include Google::Apis::Core::Hashable
|
@@ -1505,6 +1787,71 @@ module Google
|
|
1505
1787
|
end
|
1506
1788
|
end
|
1507
1789
|
|
1790
|
+
# The Cloud Storage output destination. The Cloud Healthcare Service Agent
|
1791
|
+
# requires the `roles/storage.objectAdmin` Cloud IAM roles on the Cloud Storage
|
1792
|
+
# location.
|
1793
|
+
class GcsDestination
|
1794
|
+
include Google::Apis::Core::Hashable
|
1795
|
+
|
1796
|
+
# The format of the exported HL7v2 message files.
|
1797
|
+
# Corresponds to the JSON property `contentStructure`
|
1798
|
+
# @return [String]
|
1799
|
+
attr_accessor :content_structure
|
1800
|
+
|
1801
|
+
# Specifies the parts of the Message resource to include in the export. If not
|
1802
|
+
# specified, FULL is used.
|
1803
|
+
# Corresponds to the JSON property `messageView`
|
1804
|
+
# @return [String]
|
1805
|
+
attr_accessor :message_view
|
1806
|
+
|
1807
|
+
# URI of an existing Cloud Storage directory where the server writes result
|
1808
|
+
# files, in the format `gs://`bucket-id`/`path/to/destination/dir``. If there is
|
1809
|
+
# no trailing slash, the service appends one when composing the object path.
|
1810
|
+
# Corresponds to the JSON property `uriPrefix`
|
1811
|
+
# @return [String]
|
1812
|
+
attr_accessor :uri_prefix
|
1813
|
+
|
1814
|
+
def initialize(**args)
|
1815
|
+
update!(**args)
|
1816
|
+
end
|
1817
|
+
|
1818
|
+
# Update properties of this object
|
1819
|
+
def update!(**args)
|
1820
|
+
@content_structure = args[:content_structure] if args.key?(:content_structure)
|
1821
|
+
@message_view = args[:message_view] if args.key?(:message_view)
|
1822
|
+
@uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
|
1823
|
+
end
|
1824
|
+
end
|
1825
|
+
|
1826
|
+
# Specifies the configuration for importing data from Cloud Storage.
|
1827
|
+
class GcsSource
|
1828
|
+
include Google::Apis::Core::Hashable
|
1829
|
+
|
1830
|
+
# Points to a Cloud Storage URI containing file(s) to import. The URI must be in
|
1831
|
+
# the following format: `gs://`bucket_id`/`object_id``. The URI can include
|
1832
|
+
# wildcards in `object_id` and thus identify multiple files. Supported wildcards:
|
1833
|
+
# * `*` to match 0 or more non-separator characters * `**` to match 0 or more
|
1834
|
+
# characters (including separators). Must be used at the end of a path and with
|
1835
|
+
# no other wildcards in the path. Can also be used with a file extension (such
|
1836
|
+
# as .ndjson), which imports all files with the extension in the specified
|
1837
|
+
# directory and its sub-directories. For example, `gs://my-bucket/my-directory/**
|
1838
|
+
# .ndjson` imports all files with `.ndjson` extensions in `my-directory/` and
|
1839
|
+
# its sub-directories. * `?` to match 1 character Files matching the wildcard
|
1840
|
+
# are expected to contain content only, no metadata.
|
1841
|
+
# Corresponds to the JSON property `uri`
|
1842
|
+
# @return [String]
|
1843
|
+
attr_accessor :uri
|
1844
|
+
|
1845
|
+
def initialize(**args)
|
1846
|
+
update!(**args)
|
1847
|
+
end
|
1848
|
+
|
1849
|
+
# Update properties of this object
|
1850
|
+
def update!(**args)
|
1851
|
+
@uri = args[:uri] if args.key?(:uri)
|
1852
|
+
end
|
1853
|
+
end
|
1854
|
+
|
1508
1855
|
# The Cloud Storage location for export.
|
1509
1856
|
class GoogleCloudHealthcareV1ConsentGcsDestination
|
1510
1857
|
include Google::Apis::Core::Hashable
|
@@ -2154,6 +2501,40 @@ module Google
|
|
2154
2501
|
end
|
2155
2502
|
end
|
2156
2503
|
|
2504
|
+
# Request to import messages.
|
2505
|
+
class ImportMessagesRequest
|
2506
|
+
include Google::Apis::Core::Hashable
|
2507
|
+
|
2508
|
+
# Specifies the configuration for importing data from Cloud Storage.
|
2509
|
+
# Corresponds to the JSON property `gcsSource`
|
2510
|
+
# @return [Google::Apis::HealthcareV1::GcsSource]
|
2511
|
+
attr_accessor :gcs_source
|
2512
|
+
|
2513
|
+
def initialize(**args)
|
2514
|
+
update!(**args)
|
2515
|
+
end
|
2516
|
+
|
2517
|
+
# Update properties of this object
|
2518
|
+
def update!(**args)
|
2519
|
+
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
2520
|
+
end
|
2521
|
+
end
|
2522
|
+
|
2523
|
+
# Final response of importing messages. This structure is included in the
|
2524
|
+
# response to describe the detailed outcome. It is only included when the
|
2525
|
+
# operation finishes successfully.
|
2526
|
+
class ImportMessagesResponse
|
2527
|
+
include Google::Apis::Core::Hashable
|
2528
|
+
|
2529
|
+
def initialize(**args)
|
2530
|
+
update!(**args)
|
2531
|
+
end
|
2532
|
+
|
2533
|
+
# Update properties of this object
|
2534
|
+
def update!(**args)
|
2535
|
+
end
|
2536
|
+
end
|
2537
|
+
|
2157
2538
|
# Request to import resources.
|
2158
2539
|
class ImportResourcesRequest
|
2159
2540
|
include Google::Apis::Core::Hashable
|
@@ -2298,6 +2679,29 @@ module Google
|
|
2298
2679
|
end
|
2299
2680
|
end
|
2300
2681
|
|
2682
|
+
# EntityMentions can be linked to multiple entities using a LinkedEntity message
|
2683
|
+
# lets us add other fields, e.g. confidence.
|
2684
|
+
class LinkedEntity
|
2685
|
+
include Google::Apis::Core::Hashable
|
2686
|
+
|
2687
|
+
# entity_id is a concept unique identifier. These are prefixed by a string that
|
2688
|
+
# identifies the entity coding system, followed by the unique identifier within
|
2689
|
+
# that system. For example, "UMLS/C0000970". This also supports ad hoc entities,
|
2690
|
+
# which are formed by normalizing entity mention content.
|
2691
|
+
# Corresponds to the JSON property `entityId`
|
2692
|
+
# @return [String]
|
2693
|
+
attr_accessor :entity_id
|
2694
|
+
|
2695
|
+
def initialize(**args)
|
2696
|
+
update!(**args)
|
2697
|
+
end
|
2698
|
+
|
2699
|
+
# Update properties of this object
|
2700
|
+
def update!(**args)
|
2701
|
+
@entity_id = args[:entity_id] if args.key?(:entity_id)
|
2702
|
+
end
|
2703
|
+
end
|
2704
|
+
|
2301
2705
|
#
|
2302
2706
|
class ListAttributeDefinitionsResponse
|
2303
2707
|
include Google::Apis::Core::Hashable
|
@@ -2966,6 +3370,12 @@ module Google
|
|
2966
3370
|
# @return [String]
|
2967
3371
|
attr_accessor :segment_terminator
|
2968
3372
|
|
3373
|
+
# Immutable. Determines the version of the unschematized parser to be used when `
|
3374
|
+
# schema` is not given. This field is immutable after store creation.
|
3375
|
+
# Corresponds to the JSON property `version`
|
3376
|
+
# @return [String]
|
3377
|
+
attr_accessor :version
|
3378
|
+
|
2969
3379
|
def initialize(**args)
|
2970
3380
|
update!(**args)
|
2971
3381
|
end
|
@@ -2975,6 +3385,7 @@ module Google
|
|
2975
3385
|
@allow_null_header = args[:allow_null_header] if args.key?(:allow_null_header)
|
2976
3386
|
@schema = args[:schema] if args.key?(:schema)
|
2977
3387
|
@segment_terminator = args[:segment_terminator] if args.key?(:segment_terminator)
|
3388
|
+
@version = args[:version] if args.key?(:version)
|
2978
3389
|
end
|
2979
3390
|
end
|
2980
3391
|
|
@@ -3027,7 +3438,7 @@ module Google
|
|
3027
3438
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
3028
3439
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
3029
3440
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
3030
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
3441
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
3031
3442
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
3032
3443
|
# google.com/iam/docs/).
|
3033
3444
|
class Policy
|
@@ -3421,6 +3832,12 @@ module Google
|
|
3421
3832
|
# @return [Array<Google::Apis::HealthcareV1::Hl7TypesConfig>]
|
3422
3833
|
attr_accessor :types
|
3423
3834
|
|
3835
|
+
# Determines how unexpected segments (segments not matched to the schema) are
|
3836
|
+
# handled.
|
3837
|
+
# Corresponds to the JSON property `unexpectedSegmentHandling`
|
3838
|
+
# @return [String]
|
3839
|
+
attr_accessor :unexpected_segment_handling
|
3840
|
+
|
3424
3841
|
def initialize(**args)
|
3425
3842
|
update!(**args)
|
3426
3843
|
end
|
@@ -3431,6 +3848,7 @@ module Google
|
|
3431
3848
|
@schemas = args[:schemas] if args.key?(:schemas)
|
3432
3849
|
@schematized_parsing_type = args[:schematized_parsing_type] if args.key?(:schematized_parsing_type)
|
3433
3850
|
@types = args[:types] if args.key?(:types)
|
3851
|
+
@unexpected_segment_handling = args[:unexpected_segment_handling] if args.key?(:unexpected_segment_handling)
|
3434
3852
|
end
|
3435
3853
|
end
|
3436
3854
|
|
@@ -3583,7 +4001,7 @@ module Google
|
|
3583
4001
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
3584
4002
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
3585
4003
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
3586
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
4004
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
3587
4005
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
3588
4006
|
# google.com/iam/docs/).
|
3589
4007
|
# Corresponds to the JSON property `policy`
|
@@ -3794,6 +4212,31 @@ module Google
|
|
3794
4212
|
end
|
3795
4213
|
end
|
3796
4214
|
|
4215
|
+
# A span of text in the provided document.
|
4216
|
+
class TextSpan
|
4217
|
+
include Google::Apis::Core::Hashable
|
4218
|
+
|
4219
|
+
# The unicode codepoint index of the beginning of this span.
|
4220
|
+
# Corresponds to the JSON property `beginOffset`
|
4221
|
+
# @return [Fixnum]
|
4222
|
+
attr_accessor :begin_offset
|
4223
|
+
|
4224
|
+
# The original text contained in this span.
|
4225
|
+
# Corresponds to the JSON property `content`
|
4226
|
+
# @return [String]
|
4227
|
+
attr_accessor :content
|
4228
|
+
|
4229
|
+
def initialize(**args)
|
4230
|
+
update!(**args)
|
4231
|
+
end
|
4232
|
+
|
4233
|
+
# Update properties of this object
|
4234
|
+
def update!(**args)
|
4235
|
+
@begin_offset = args[:begin_offset] if args.key?(:begin_offset)
|
4236
|
+
@content = args[:content] if args.key?(:content)
|
4237
|
+
end
|
4238
|
+
end
|
4239
|
+
|
3797
4240
|
# A type definition for some HL7v2 type (incl. Segments and Datatypes).
|
3798
4241
|
class Type
|
3799
4242
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module HealthcareV1
|
18
18
|
# Version of the google-apis-healthcare_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.15.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210917"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,18 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class AnalyzeEntitiesRequest
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class AnalyzeEntitiesResponse
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
31
43
|
class ArchiveUserDataMappingRequest
|
32
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
45
|
|
@@ -202,6 +214,24 @@ module Google
|
|
202
214
|
include Google::Apis::Core::JsonObjectSupport
|
203
215
|
end
|
204
216
|
|
217
|
+
class Entity
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class EntityMention
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class EntityMentionRelationship
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
205
235
|
class EvaluateUserConsentsRequest
|
206
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
237
|
|
@@ -226,6 +256,18 @@ module Google
|
|
226
256
|
include Google::Apis::Core::JsonObjectSupport
|
227
257
|
end
|
228
258
|
|
259
|
+
class ExportMessagesRequest
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
265
|
+
class ExportMessagesResponse
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
229
271
|
class ExportResourcesRequest
|
230
272
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
273
|
|
@@ -244,6 +286,12 @@ module Google
|
|
244
286
|
include Google::Apis::Core::JsonObjectSupport
|
245
287
|
end
|
246
288
|
|
289
|
+
class Feature
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
247
295
|
class FhirConfig
|
248
296
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
297
|
|
@@ -274,6 +322,18 @@ module Google
|
|
274
322
|
include Google::Apis::Core::JsonObjectSupport
|
275
323
|
end
|
276
324
|
|
325
|
+
class GcsDestination
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
331
|
+
class GcsSource
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
277
337
|
class GoogleCloudHealthcareV1ConsentGcsDestination
|
278
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
339
|
|
@@ -394,6 +454,18 @@ module Google
|
|
394
454
|
include Google::Apis::Core::JsonObjectSupport
|
395
455
|
end
|
396
456
|
|
457
|
+
class ImportMessagesRequest
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
|
+
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
461
|
+
end
|
462
|
+
|
463
|
+
class ImportMessagesResponse
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
|
+
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
467
|
+
end
|
468
|
+
|
397
469
|
class ImportResourcesRequest
|
398
470
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
471
|
|
@@ -424,6 +496,12 @@ module Google
|
|
424
496
|
include Google::Apis::Core::JsonObjectSupport
|
425
497
|
end
|
426
498
|
|
499
|
+
class LinkedEntity
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
|
+
|
502
|
+
include Google::Apis::Core::JsonObjectSupport
|
503
|
+
end
|
504
|
+
|
427
505
|
class ListAttributeDefinitionsResponse
|
428
506
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
507
|
|
@@ -700,6 +778,12 @@ module Google
|
|
700
778
|
include Google::Apis::Core::JsonObjectSupport
|
701
779
|
end
|
702
780
|
|
781
|
+
class TextSpan
|
782
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
783
|
+
|
784
|
+
include Google::Apis::Core::JsonObjectSupport
|
785
|
+
end
|
786
|
+
|
703
787
|
class Type
|
704
788
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
705
789
|
|
@@ -727,6 +811,26 @@ module Google
|
|
727
811
|
end
|
728
812
|
end
|
729
813
|
|
814
|
+
class AnalyzeEntitiesRequest
|
815
|
+
# @private
|
816
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
817
|
+
property :document_content, as: 'documentContent'
|
818
|
+
collection :licensed_vocabularies, as: 'licensedVocabularies'
|
819
|
+
end
|
820
|
+
end
|
821
|
+
|
822
|
+
class AnalyzeEntitiesResponse
|
823
|
+
# @private
|
824
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
825
|
+
collection :entities, as: 'entities', class: Google::Apis::HealthcareV1::Entity, decorator: Google::Apis::HealthcareV1::Entity::Representation
|
826
|
+
|
827
|
+
collection :entity_mentions, as: 'entityMentions', class: Google::Apis::HealthcareV1::EntityMention, decorator: Google::Apis::HealthcareV1::EntityMention::Representation
|
828
|
+
|
829
|
+
collection :relationships, as: 'relationships', class: Google::Apis::HealthcareV1::EntityMentionRelationship, decorator: Google::Apis::HealthcareV1::EntityMentionRelationship::Representation
|
830
|
+
|
831
|
+
end
|
832
|
+
end
|
833
|
+
|
730
834
|
class ArchiveUserDataMappingRequest
|
731
835
|
# @private
|
732
836
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -994,6 +1098,43 @@ module Google
|
|
994
1098
|
end
|
995
1099
|
end
|
996
1100
|
|
1101
|
+
class Entity
|
1102
|
+
# @private
|
1103
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1104
|
+
property :entity_id, as: 'entityId'
|
1105
|
+
property :preferred_term, as: 'preferredTerm'
|
1106
|
+
collection :vocabulary_codes, as: 'vocabularyCodes'
|
1107
|
+
end
|
1108
|
+
end
|
1109
|
+
|
1110
|
+
class EntityMention
|
1111
|
+
# @private
|
1112
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1113
|
+
property :certainty_assessment, as: 'certaintyAssessment', class: Google::Apis::HealthcareV1::Feature, decorator: Google::Apis::HealthcareV1::Feature::Representation
|
1114
|
+
|
1115
|
+
property :confidence, as: 'confidence'
|
1116
|
+
collection :linked_entities, as: 'linkedEntities', class: Google::Apis::HealthcareV1::LinkedEntity, decorator: Google::Apis::HealthcareV1::LinkedEntity::Representation
|
1117
|
+
|
1118
|
+
property :mention_id, as: 'mentionId'
|
1119
|
+
property :subject, as: 'subject', class: Google::Apis::HealthcareV1::Feature, decorator: Google::Apis::HealthcareV1::Feature::Representation
|
1120
|
+
|
1121
|
+
property :temporal_assessment, as: 'temporalAssessment', class: Google::Apis::HealthcareV1::Feature, decorator: Google::Apis::HealthcareV1::Feature::Representation
|
1122
|
+
|
1123
|
+
property :text, as: 'text', class: Google::Apis::HealthcareV1::TextSpan, decorator: Google::Apis::HealthcareV1::TextSpan::Representation
|
1124
|
+
|
1125
|
+
property :type, as: 'type'
|
1126
|
+
end
|
1127
|
+
end
|
1128
|
+
|
1129
|
+
class EntityMentionRelationship
|
1130
|
+
# @private
|
1131
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1132
|
+
property :confidence, as: 'confidence'
|
1133
|
+
property :object_id_prop, as: 'objectId'
|
1134
|
+
property :subject_id, as: 'subjectId'
|
1135
|
+
end
|
1136
|
+
end
|
1137
|
+
|
997
1138
|
class EvaluateUserConsentsRequest
|
998
1139
|
# @private
|
999
1140
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1033,6 +1174,22 @@ module Google
|
|
1033
1174
|
end
|
1034
1175
|
end
|
1035
1176
|
|
1177
|
+
class ExportMessagesRequest
|
1178
|
+
# @private
|
1179
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1180
|
+
property :end_time, as: 'endTime'
|
1181
|
+
property :gcs_destination, as: 'gcsDestination', class: Google::Apis::HealthcareV1::GcsDestination, decorator: Google::Apis::HealthcareV1::GcsDestination::Representation
|
1182
|
+
|
1183
|
+
property :start_time, as: 'startTime'
|
1184
|
+
end
|
1185
|
+
end
|
1186
|
+
|
1187
|
+
class ExportMessagesResponse
|
1188
|
+
# @private
|
1189
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1190
|
+
end
|
1191
|
+
end
|
1192
|
+
|
1036
1193
|
class ExportResourcesRequest
|
1037
1194
|
# @private
|
1038
1195
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1059,6 +1216,14 @@ module Google
|
|
1059
1216
|
end
|
1060
1217
|
end
|
1061
1218
|
|
1219
|
+
class Feature
|
1220
|
+
# @private
|
1221
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1222
|
+
property :confidence, as: 'confidence'
|
1223
|
+
property :value, as: 'value'
|
1224
|
+
end
|
1225
|
+
end
|
1226
|
+
|
1062
1227
|
class FhirConfig
|
1063
1228
|
# @private
|
1064
1229
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1111,6 +1276,22 @@ module Google
|
|
1111
1276
|
end
|
1112
1277
|
end
|
1113
1278
|
|
1279
|
+
class GcsDestination
|
1280
|
+
# @private
|
1281
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1282
|
+
property :content_structure, as: 'contentStructure'
|
1283
|
+
property :message_view, as: 'messageView'
|
1284
|
+
property :uri_prefix, as: 'uriPrefix'
|
1285
|
+
end
|
1286
|
+
end
|
1287
|
+
|
1288
|
+
class GcsSource
|
1289
|
+
# @private
|
1290
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1291
|
+
property :uri, as: 'uri'
|
1292
|
+
end
|
1293
|
+
end
|
1294
|
+
|
1114
1295
|
class GoogleCloudHealthcareV1ConsentGcsDestination
|
1115
1296
|
# @private
|
1116
1297
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1277,6 +1458,20 @@ module Google
|
|
1277
1458
|
end
|
1278
1459
|
end
|
1279
1460
|
|
1461
|
+
class ImportMessagesRequest
|
1462
|
+
# @private
|
1463
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1464
|
+
property :gcs_source, as: 'gcsSource', class: Google::Apis::HealthcareV1::GcsSource, decorator: Google::Apis::HealthcareV1::GcsSource::Representation
|
1465
|
+
|
1466
|
+
end
|
1467
|
+
end
|
1468
|
+
|
1469
|
+
class ImportMessagesResponse
|
1470
|
+
# @private
|
1471
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1472
|
+
end
|
1473
|
+
end
|
1474
|
+
|
1280
1475
|
class ImportResourcesRequest
|
1281
1476
|
# @private
|
1282
1477
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1326,6 +1521,13 @@ module Google
|
|
1326
1521
|
end
|
1327
1522
|
end
|
1328
1523
|
|
1524
|
+
class LinkedEntity
|
1525
|
+
# @private
|
1526
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1527
|
+
property :entity_id, as: 'entityId'
|
1528
|
+
end
|
1529
|
+
end
|
1530
|
+
|
1329
1531
|
class ListAttributeDefinitionsResponse
|
1330
1532
|
# @private
|
1331
1533
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1520,6 +1722,7 @@ module Google
|
|
1520
1722
|
property :schema, as: 'schema', class: Google::Apis::HealthcareV1::SchemaPackage, decorator: Google::Apis::HealthcareV1::SchemaPackage::Representation
|
1521
1723
|
|
1522
1724
|
property :segment_terminator, :base64 => true, as: 'segmentTerminator'
|
1725
|
+
property :version, as: 'version'
|
1523
1726
|
end
|
1524
1727
|
end
|
1525
1728
|
|
@@ -1641,6 +1844,7 @@ module Google
|
|
1641
1844
|
property :schematized_parsing_type, as: 'schematizedParsingType'
|
1642
1845
|
collection :types, as: 'types', class: Google::Apis::HealthcareV1::Hl7TypesConfig, decorator: Google::Apis::HealthcareV1::Hl7TypesConfig::Representation
|
1643
1846
|
|
1847
|
+
property :unexpected_segment_handling, as: 'unexpectedSegmentHandling'
|
1644
1848
|
end
|
1645
1849
|
end
|
1646
1850
|
|
@@ -1744,6 +1948,14 @@ module Google
|
|
1744
1948
|
end
|
1745
1949
|
end
|
1746
1950
|
|
1951
|
+
class TextSpan
|
1952
|
+
# @private
|
1953
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1954
|
+
property :begin_offset, as: 'beginOffset'
|
1955
|
+
property :content, as: 'content'
|
1956
|
+
end
|
1957
|
+
end
|
1958
|
+
|
1747
1959
|
class Type
|
1748
1960
|
# @private
|
1749
1961
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4171,14 +4171,16 @@ module Google
|
|
4171
4171
|
# _revinclude`, `_summary=text`, `_summary=data`, and `_elements`. The maximum
|
4172
4172
|
# number of search results returned defaults to 100, which can be overridden by
|
4173
4173
|
# the `_count` parameter up to a maximum limit of 1000. If there are additional
|
4174
|
-
# results, the returned `Bundle`
|
4175
|
-
#
|
4176
|
-
#
|
4177
|
-
#
|
4178
|
-
#
|
4179
|
-
#
|
4180
|
-
#
|
4181
|
-
#
|
4174
|
+
# results, the returned `Bundle` contains a link of `relation` "next", which has
|
4175
|
+
# a `_page_token` parameter for an opaque pagination token that can be used to
|
4176
|
+
# retrieve the next page. Resources with a total size larger than 5MB or a field
|
4177
|
+
# count larger than 50,000 might not be fully searchable as the server might
|
4178
|
+
# trim its generated search index in those cases. Note: FHIR resources are
|
4179
|
+
# indexed asynchronously, so there might be a slight delay between the time a
|
4180
|
+
# resource is created or changes and when the change is reflected in search
|
4181
|
+
# results. For samples and detailed information, see [Searching for FHIR
|
4182
|
+
# resources](/healthcare/docs/how-tos/fhir-search) and [Advanced FHIR search
|
4183
|
+
# features](/healthcare/docs/how-tos/fhir-advanced-search).
|
4182
4184
|
# @param [String] parent
|
4183
4185
|
# Name of the FHIR store to retrieve resources from.
|
4184
4186
|
# @param [Google::Apis::HealthcareV1::SearchResourcesRequest] search_resources_request_object
|
@@ -4245,14 +4247,16 @@ module Google
|
|
4245
4247
|
# _revinclude`, `_summary=text`, `_summary=data`, and `_elements`. The maximum
|
4246
4248
|
# number of search results returned defaults to 100, which can be overridden by
|
4247
4249
|
# the `_count` parameter up to a maximum limit of 1000. If there are additional
|
4248
|
-
# results, the returned `Bundle`
|
4249
|
-
#
|
4250
|
-
#
|
4251
|
-
#
|
4252
|
-
#
|
4253
|
-
#
|
4254
|
-
#
|
4255
|
-
#
|
4250
|
+
# results, the returned `Bundle` contains a link of `relation` "next", which has
|
4251
|
+
# a `_page_token` parameter for an opaque pagination token that can be used to
|
4252
|
+
# retrieve the next page. Resources with a total size larger than 5MB or a field
|
4253
|
+
# count larger than 50,000 might not be fully searchable as the server might
|
4254
|
+
# trim its generated search index in those cases. Note: FHIR resources are
|
4255
|
+
# indexed asynchronously, so there might be a slight delay between the time a
|
4256
|
+
# resource is created or changes and when the change is reflected in search
|
4257
|
+
# results. For samples and detailed information, see [Searching for FHIR
|
4258
|
+
# resources](/healthcare/docs/how-tos/fhir-search) and [Advanced FHIR search
|
4259
|
+
# features](/healthcare/docs/how-tos/fhir-advanced-search).
|
4256
4260
|
# @param [String] parent
|
4257
4261
|
# Name of the FHIR store to retrieve resources from.
|
4258
4262
|
# @param [String] resource_type
|
@@ -4451,6 +4455,46 @@ module Google
|
|
4451
4455
|
execute_or_queue_command(command, &block)
|
4452
4456
|
end
|
4453
4457
|
|
4458
|
+
# Exports the messages to a destination. To filter messages to be exported,
|
4459
|
+
# define a filter using the start and end time, relative to the message
|
4460
|
+
# generation time (MSH.7). This API returns an Operation that can be used to
|
4461
|
+
# track the status of the job by calling GetOperation. Immediate fatal errors
|
4462
|
+
# appear in the error field. Otherwise, when the operation finishes, a detailed
|
4463
|
+
# response of type ExportMessagesResponse is returned in the response field. The
|
4464
|
+
# metadata field type for this operation is OperationMetadata.
|
4465
|
+
# @param [String] name
|
4466
|
+
# The name of the source HL7v2 store, in the format `projects/`project_id`/
|
4467
|
+
# locations/`location_id`/datasets/`dataset_id`/hl7v2Stores/`hl7v2_store_id``
|
4468
|
+
# @param [Google::Apis::HealthcareV1::ExportMessagesRequest] export_messages_request_object
|
4469
|
+
# @param [String] fields
|
4470
|
+
# Selector specifying which fields to include in a partial response.
|
4471
|
+
# @param [String] quota_user
|
4472
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4473
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4474
|
+
# @param [Google::Apis::RequestOptions] options
|
4475
|
+
# Request-specific options
|
4476
|
+
#
|
4477
|
+
# @yield [result, err] Result & error if block supplied
|
4478
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Operation] parsed result object
|
4479
|
+
# @yieldparam err [StandardError] error object if request failed
|
4480
|
+
#
|
4481
|
+
# @return [Google::Apis::HealthcareV1::Operation]
|
4482
|
+
#
|
4483
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4484
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4485
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4486
|
+
def export_hl7_v2_store_messages(name, export_messages_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4487
|
+
command = make_simple_command(:post, 'v1/{+name}:export', options)
|
4488
|
+
command.request_representation = Google::Apis::HealthcareV1::ExportMessagesRequest::Representation
|
4489
|
+
command.request_object = export_messages_request_object
|
4490
|
+
command.response_representation = Google::Apis::HealthcareV1::Operation::Representation
|
4491
|
+
command.response_class = Google::Apis::HealthcareV1::Operation
|
4492
|
+
command.params['name'] = name unless name.nil?
|
4493
|
+
command.query['fields'] = fields unless fields.nil?
|
4494
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4495
|
+
execute_or_queue_command(command, &block)
|
4496
|
+
end
|
4497
|
+
|
4454
4498
|
# Gets the specified HL7v2 store.
|
4455
4499
|
# @param [String] name
|
4456
4500
|
# The resource name of the HL7v2 store to get.
|
@@ -4522,6 +4566,63 @@ module Google
|
|
4522
4566
|
execute_or_queue_command(command, &block)
|
4523
4567
|
end
|
4524
4568
|
|
4569
|
+
# Import messages to the HL7v2 store by loading data from the specified sources.
|
4570
|
+
# This method is optimized to load large quantities of data using import
|
4571
|
+
# semantics that ignore some HL7v2 store configuration options and are not
|
4572
|
+
# suitable for all use cases. It is primarily intended to load data into an
|
4573
|
+
# empty HL7v2 store that is not being used by other clients. An existing message
|
4574
|
+
# will be overwritten if a duplicate message is imported. A duplicate message is
|
4575
|
+
# a message with the same raw bytes as a message that already exists in this
|
4576
|
+
# HL7v2 store. When a message is overwritten, its labels will also be
|
4577
|
+
# overwritten. The import operation is idempotent unless the input data contains
|
4578
|
+
# multiple valid messages with the same raw bytes but different labels. In that
|
4579
|
+
# case, after the import completes, the store contains exactly one message with
|
4580
|
+
# those raw bytes but there is no ordering guarantee on which version of the
|
4581
|
+
# labels it has. The operation result counters do not count duplicated raw bytes
|
4582
|
+
# as an error and count one success for each message in the input, which might
|
4583
|
+
# result in a success count larger than the number of messages in the HL7v2
|
4584
|
+
# store. If some messages fail to import, for example due to parsing errors,
|
4585
|
+
# successfully imported messages are not rolled back. This method returns an
|
4586
|
+
# Operation that can be used to track the status of the import by calling
|
4587
|
+
# GetOperation. Immediate fatal errors appear in the error field, errors are
|
4588
|
+
# also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https:/
|
4589
|
+
# /cloud.google.com/healthcare/docs/how-tos/logging)). Otherwise, when the
|
4590
|
+
# operation finishes, a response of type ImportMessagesResponse is returned in
|
4591
|
+
# the response field. The metadata field type for this operation is
|
4592
|
+
# OperationMetadata.
|
4593
|
+
# @param [String] name
|
4594
|
+
# The name of the target HL7v2 store, in the format `projects/`project_id`/
|
4595
|
+
# locations/`location_id`/datasets/`dataset_id`/hl7v2Stores/`hl7v2_store_id``
|
4596
|
+
# @param [Google::Apis::HealthcareV1::ImportMessagesRequest] import_messages_request_object
|
4597
|
+
# @param [String] fields
|
4598
|
+
# Selector specifying which fields to include in a partial response.
|
4599
|
+
# @param [String] quota_user
|
4600
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4601
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4602
|
+
# @param [Google::Apis::RequestOptions] options
|
4603
|
+
# Request-specific options
|
4604
|
+
#
|
4605
|
+
# @yield [result, err] Result & error if block supplied
|
4606
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Operation] parsed result object
|
4607
|
+
# @yieldparam err [StandardError] error object if request failed
|
4608
|
+
#
|
4609
|
+
# @return [Google::Apis::HealthcareV1::Operation]
|
4610
|
+
#
|
4611
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4612
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4613
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4614
|
+
def import_hl7_v2_store_messages(name, import_messages_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4615
|
+
command = make_simple_command(:post, 'v1/{+name}:import', options)
|
4616
|
+
command.request_representation = Google::Apis::HealthcareV1::ImportMessagesRequest::Representation
|
4617
|
+
command.request_object = import_messages_request_object
|
4618
|
+
command.response_representation = Google::Apis::HealthcareV1::Operation::Representation
|
4619
|
+
command.response_class = Google::Apis::HealthcareV1::Operation
|
4620
|
+
command.params['name'] = name unless name.nil?
|
4621
|
+
command.query['fields'] = fields unless fields.nil?
|
4622
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4623
|
+
execute_or_queue_command(command, &block)
|
4624
|
+
end
|
4625
|
+
|
4525
4626
|
# Lists the HL7v2 stores in the given dataset.
|
4526
4627
|
# @param [String] parent
|
4527
4628
|
# Name of the dataset.
|
@@ -5088,6 +5189,42 @@ module Google
|
|
5088
5189
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5089
5190
|
execute_or_queue_command(command, &block)
|
5090
5191
|
end
|
5192
|
+
|
5193
|
+
# Analyze heathcare entity in a document. Its response includes the recognized
|
5194
|
+
# entity mentions and the relationships between them. AnalyzeEntities uses
|
5195
|
+
# context aware models to detect entities.
|
5196
|
+
# @param [String] nlp_service
|
5197
|
+
# The resource name of the service of the form: "projects/`project_id`/locations/
|
5198
|
+
# `location_id`/services/nlp".
|
5199
|
+
# @param [Google::Apis::HealthcareV1::AnalyzeEntitiesRequest] analyze_entities_request_object
|
5200
|
+
# @param [String] fields
|
5201
|
+
# Selector specifying which fields to include in a partial response.
|
5202
|
+
# @param [String] quota_user
|
5203
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5204
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5205
|
+
# @param [Google::Apis::RequestOptions] options
|
5206
|
+
# Request-specific options
|
5207
|
+
#
|
5208
|
+
# @yield [result, err] Result & error if block supplied
|
5209
|
+
# @yieldparam result [Google::Apis::HealthcareV1::AnalyzeEntitiesResponse] parsed result object
|
5210
|
+
# @yieldparam err [StandardError] error object if request failed
|
5211
|
+
#
|
5212
|
+
# @return [Google::Apis::HealthcareV1::AnalyzeEntitiesResponse]
|
5213
|
+
#
|
5214
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5215
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5216
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5217
|
+
def analyze_nlp_entities(nlp_service, analyze_entities_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
5218
|
+
command = make_simple_command(:post, 'v1/{+nlpService}:analyzeEntities', options)
|
5219
|
+
command.request_representation = Google::Apis::HealthcareV1::AnalyzeEntitiesRequest::Representation
|
5220
|
+
command.request_object = analyze_entities_request_object
|
5221
|
+
command.response_representation = Google::Apis::HealthcareV1::AnalyzeEntitiesResponse::Representation
|
5222
|
+
command.response_class = Google::Apis::HealthcareV1::AnalyzeEntitiesResponse
|
5223
|
+
command.params['nlpService'] = nlp_service unless nlp_service.nil?
|
5224
|
+
command.query['fields'] = fields unless fields.nil?
|
5225
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5226
|
+
execute_or_queue_command(command, &block)
|
5227
|
+
end
|
5091
5228
|
|
5092
5229
|
protected
|
5093
5230
|
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1'
|
31
31
|
|
32
|
-
# See, edit, configure, and delete your Google Cloud
|
32
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-healthcare_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-healthcare_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1/v0.15.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-healthcare_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|