Skip to content

Commit 29bd379

Browse files
feat(healthcare): update the api
#### healthcare:v1 The following keys were added: - schemas.ParserConfig.properties.version.type (Total Keys: 1) - schemas.SchemaPackage.properties.unexpectedSegmentHandling.type (Total Keys: 1)
1 parent f138f70 commit 29bd379

File tree

3 files changed

+44
-2
lines changed

3 files changed

+44
-2
lines changed

docs/dyn/healthcare_v1.projects.locations.datasets.hl7V2Stores.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,10 @@ <h3>Method Details</h3>
193193
],
194194
},
195195
],
196+
&quot;unexpectedSegmentHandling&quot;: &quot;A String&quot;, # Determines how unexpected segments (segments not matched to the schema) are handled.
196197
},
197198
&quot;segmentTerminator&quot;: &quot;A String&quot;, # Byte(s) to use as the segment terminator. If this is unset, &#x27;\r&#x27; is used as segment terminator, matching the HL7 version 2 specification.
199+
&quot;version&quot;: &quot;A String&quot;, # Immutable. Determines the version of the unschematized parser to be used when `schema` is not given. This field is immutable after store creation.
198200
},
199201
&quot;rejectDuplicateMessage&quot;: True or False, # Determines whether to reject duplicate messages. A duplicate message is a message with the same raw bytes as a message that has already been ingested/created in this HL7v2 store. The default value is false, meaning that the store accepts the duplicate messages and it also returns the same ACK message in the IngestMessageResponse as has been returned previously. Note that only one resource is created in the store. When this field is set to true, CreateMessage/IngestMessage requests with a duplicate message will be rejected by the store, and IngestMessageErrorDetail returns a NACK message upon rejection.
200202
}
@@ -277,8 +279,10 @@ <h3>Method Details</h3>
277279
],
278280
},
279281
],
282+
&quot;unexpectedSegmentHandling&quot;: &quot;A String&quot;, # Determines how unexpected segments (segments not matched to the schema) are handled.
280283
},
281284
&quot;segmentTerminator&quot;: &quot;A String&quot;, # Byte(s) to use as the segment terminator. If this is unset, &#x27;\r&#x27; is used as segment terminator, matching the HL7 version 2 specification.
285+
&quot;version&quot;: &quot;A String&quot;, # Immutable. Determines the version of the unschematized parser to be used when `schema` is not given. This field is immutable after store creation.
282286
},
283287
&quot;rejectDuplicateMessage&quot;: True or False, # Determines whether to reject duplicate messages. A duplicate message is a message with the same raw bytes as a message that has already been ingested/created in this HL7v2 store. The default value is false, meaning that the store accepts the duplicate messages and it also returns the same ACK message in the IngestMessageResponse as has been returned previously. Note that only one resource is created in the store. When this field is set to true, CreateMessage/IngestMessage requests with a duplicate message will be rejected by the store, and IngestMessageErrorDetail returns a NACK message upon rejection.
284288
}</pre>
@@ -385,8 +389,10 @@ <h3>Method Details</h3>
385389
],
386390
},
387391
],
392+
&quot;unexpectedSegmentHandling&quot;: &quot;A String&quot;, # Determines how unexpected segments (segments not matched to the schema) are handled.
388393
},
389394
&quot;segmentTerminator&quot;: &quot;A String&quot;, # Byte(s) to use as the segment terminator. If this is unset, &#x27;\r&#x27; is used as segment terminator, matching the HL7 version 2 specification.
395+
&quot;version&quot;: &quot;A String&quot;, # Immutable. Determines the version of the unschematized parser to be used when `schema` is not given. This field is immutable after store creation.
390396
},
391397
&quot;rejectDuplicateMessage&quot;: True or False, # Determines whether to reject duplicate messages. A duplicate message is a message with the same raw bytes as a message that has already been ingested/created in this HL7v2 store. The default value is false, meaning that the store accepts the duplicate messages and it also returns the same ACK message in the IngestMessageResponse as has been returned previously. Note that only one resource is created in the store. When this field is set to true, CreateMessage/IngestMessage requests with a duplicate message will be rejected by the store, and IngestMessageErrorDetail returns a NACK message upon rejection.
392398
}</pre>
@@ -528,8 +534,10 @@ <h3>Method Details</h3>
528534
],
529535
},
530536
],
537+
&quot;unexpectedSegmentHandling&quot;: &quot;A String&quot;, # Determines how unexpected segments (segments not matched to the schema) are handled.
531538
},
532539
&quot;segmentTerminator&quot;: &quot;A String&quot;, # Byte(s) to use as the segment terminator. If this is unset, &#x27;\r&#x27; is used as segment terminator, matching the HL7 version 2 specification.
540+
&quot;version&quot;: &quot;A String&quot;, # Immutable. Determines the version of the unschematized parser to be used when `schema` is not given. This field is immutable after store creation.
533541
},
534542
&quot;rejectDuplicateMessage&quot;: True or False, # Determines whether to reject duplicate messages. A duplicate message is a message with the same raw bytes as a message that has already been ingested/created in this HL7v2 store. The default value is false, meaning that the store accepts the duplicate messages and it also returns the same ACK message in the IngestMessageResponse as has been returned previously. Note that only one resource is created in the store. When this field is set to true, CreateMessage/IngestMessage requests with a duplicate message will be rejected by the store, and IngestMessageErrorDetail returns a NACK message upon rejection.
535543
},
@@ -630,8 +638,10 @@ <h3>Method Details</h3>
630638
],
631639
},
632640
],
641+
&quot;unexpectedSegmentHandling&quot;: &quot;A String&quot;, # Determines how unexpected segments (segments not matched to the schema) are handled.
633642
},
634643
&quot;segmentTerminator&quot;: &quot;A String&quot;, # Byte(s) to use as the segment terminator. If this is unset, &#x27;\r&#x27; is used as segment terminator, matching the HL7 version 2 specification.
644+
&quot;version&quot;: &quot;A String&quot;, # Immutable. Determines the version of the unschematized parser to be used when `schema` is not given. This field is immutable after store creation.
635645
},
636646
&quot;rejectDuplicateMessage&quot;: True or False, # Determines whether to reject duplicate messages. A duplicate message is a message with the same raw bytes as a message that has already been ingested/created in this HL7v2 store. The default value is false, meaning that the store accepts the duplicate messages and it also returns the same ACK message in the IngestMessageResponse as has been returned previously. Note that only one resource is created in the store. When this field is set to true, CreateMessage/IngestMessage requests with a duplicate message will be rejected by the store, and IngestMessageErrorDetail returns a NACK message upon rejection.
637647
}
@@ -714,8 +724,10 @@ <h3>Method Details</h3>
714724
],
715725
},
716726
],
727+
&quot;unexpectedSegmentHandling&quot;: &quot;A String&quot;, # Determines how unexpected segments (segments not matched to the schema) are handled.
717728
},
718729
&quot;segmentTerminator&quot;: &quot;A String&quot;, # Byte(s) to use as the segment terminator. If this is unset, &#x27;\r&#x27; is used as segment terminator, matching the HL7 version 2 specification.
730+
&quot;version&quot;: &quot;A String&quot;, # Immutable. Determines the version of the unschematized parser to be used when `schema` is not given. This field is immutable after store creation.
719731
},
720732
&quot;rejectDuplicateMessage&quot;: True or False, # Determines whether to reject duplicate messages. A duplicate message is a message with the same raw bytes as a message that has already been ingested/created in this HL7v2 store. The default value is false, meaning that the store accepts the duplicate messages and it also returns the same ACK message in the IngestMessageResponse as has been returned previously. Note that only one resource is created in the store. When this field is set to true, CreateMessage/IngestMessage requests with a duplicate message will be rejected by the store, and IngestMessageErrorDetail returns a NACK message upon rejection.
721733
}</pre>

googleapiclient/discovery_cache/documents/healthcare.v1.json

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3956,7 +3956,7 @@
39563956
}
39573957
}
39583958
},
3959-
"revision": "20210830",
3959+
"revision": "20210909",
39603960
"rootUrl": "https://healthcare.googleapis.com/",
39613961
"schemas": {
39623962
"ActivateConsentRequest": {
@@ -5886,6 +5886,20 @@
58865886
"description": "Byte(s) to use as the segment terminator. If this is unset, '\\r' is used as segment terminator, matching the HL7 version 2 specification.",
58875887
"format": "byte",
58885888
"type": "string"
5889+
},
5890+
"version": {
5891+
"description": "Immutable. Determines the version of the unschematized parser to be used when `schema` is not given. This field is immutable after store creation.",
5892+
"enum": [
5893+
"PARSER_VERSION_UNSPECIFIED",
5894+
"V1",
5895+
"V2"
5896+
],
5897+
"enumDescriptions": [
5898+
"Unspecified parser version, equivalent to V1.",
5899+
"The `parsed_data` includes every given non-empty message field except the Field Separator (MSH-1) field. As a result, the parsed MSH segment starts with the MSH-2 field and the field numbers are off-by-one with respect to the HL7 standard.",
5900+
"The `parsed_data` includes every given non-empty message field."
5901+
],
5902+
"type": "string"
58895903
}
58905904
},
58915905
"type": "object"
@@ -6158,6 +6172,22 @@
61586172
"$ref": "Hl7TypesConfig"
61596173
},
61606174
"type": "array"
6175+
},
6176+
"unexpectedSegmentHandling": {
6177+
"description": "Determines how unexpected segments (segments not matched to the schema) are handled.",
6178+
"enum": [
6179+
"UNEXPECTED_SEGMENT_HANDLING_MODE_UNSPECIFIED",
6180+
"FAIL",
6181+
"SKIP",
6182+
"PARSE"
6183+
],
6184+
"enumDescriptions": [
6185+
"Unspecified handling mode, equivalent to FAIL.",
6186+
"Unexpected segments fail to parse and return an error.",
6187+
"Unexpected segments do not fail, but are omitted from the output.",
6188+
"Unexpected segments do not fail, but are parsed in place and added to the current group. If a segment has a type definition, it is used, otherwise it is parsed as VARIES."
6189+
],
6190+
"type": "string"
61616191
}
61626192
},
61636193
"type": "object"

googleapiclient/discovery_cache/documents/healthcare.v1beta1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4865,7 +4865,7 @@
48654865
}
48664866
}
48674867
},
4868-
"revision": "20210830",
4868+
"revision": "20210909",
48694869
"rootUrl": "https://healthcare.googleapis.com/",
48704870
"schemas": {
48714871
"ActivateConsentRequest": {

0 commit comments

Comments
 (0)