We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea2995a commit c6e0a09Copy full SHA for c6e0a09
healthcare/hl7v2/createHl7v2Store.js
@@ -36,7 +36,15 @@ const main = (
36
// const datasetId = 'my-dataset';
37
// const hl7v2StoreId = 'my-hl7v2-store';
38
const parent = `projects/${projectId}/locations/${cloudRegion}/datasets/${datasetId}`;
39
- const request = {parent, hl7V2StoreId: hl7v2StoreId};
+ const request = {
40
+ parent,
41
+ hl7V2StoreId: hl7v2StoreId,
42
+ resource: {
43
+ parserConfig: {
44
+ version: 'V3',
45
+ },
46
47
+ };
48
49
await healthcare.projects.locations.datasets.hl7V2Stores.create(request);
50
console.log(`Created HL7v2 store: ${hl7v2StoreId}`);
0 commit comments