Skip to content

Commit c6e0a09

Browse files
fix(healthcare): specify V3 parser version when creating HL7v2 store (#3475)
* fix(healthcare): specify V3 parser version when creating HL7v2 store * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent ea2995a commit c6e0a09

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

healthcare/hl7v2/createHl7v2Store.js

+9-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,15 @@ const main = (
3636
// const datasetId = 'my-dataset';
3737
// const hl7v2StoreId = 'my-hl7v2-store';
3838
const parent = `projects/${projectId}/locations/${cloudRegion}/datasets/${datasetId}`;
39-
const request = {parent, hl7V2StoreId: hl7v2StoreId};
39+
const request = {
40+
parent,
41+
hl7V2StoreId: hl7v2StoreId,
42+
resource: {
43+
parserConfig: {
44+
version: 'V3',
45+
},
46+
},
47+
};
4048

4149
await healthcare.projects.locations.datasets.hl7V2Stores.create(request);
4250
console.log(`Created HL7v2 store: ${hl7v2StoreId}`);

0 commit comments

Comments
 (0)