@azure/ai-text-analytics 6.0.0-alpha.20220526.1 → 6.0.0-alpha.20220627.1

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.
package/dist/index.js CHANGED
@@ -3384,6 +3384,14 @@ function transformError(errorResponse) {
3384
3384
  statusCode: strongErrorResponse.statusCode,
3385
3385
  });
3386
3386
  }
3387
+ async function throwError(p) {
3388
+ try {
3389
+ return await p;
3390
+ }
3391
+ catch (e) {
3392
+ throw transformError(e);
3393
+ }
3394
+ }
3387
3395
  function toHealthcareResult(documents, results) {
3388
3396
  function makeHealthcareEntity(entity) {
3389
3397
  const { dataSources } = entity, rest = tslib.__rest(entity, ["dataSources"]);
@@ -3515,16 +3523,8 @@ async function getRawResponse(getResponse, options) {
3515
3523
  }
3516
3524
  async function sendRequest(settings) {
3517
3525
  const { client, opOptions, path, spanStr, spec, tracing, httpMethod = "GET" } = settings;
3518
- return tracing.withSpan(spanStr, opOptions, async (finalOptions) => {
3519
- try {
3520
- const response = getRawResponse((options) => client.sendOperationRequest({ options }, Object.assign(Object.assign({}, spec), { path,
3521
- httpMethod })), finalOptions);
3522
- return response;
3523
- }
3524
- catch (e) {
3525
- throw transformError(e);
3526
- }
3527
- });
3526
+ return tracing.withSpan(spanStr, opOptions, async (finalOptions) => throwError(getRawResponse((options) => client.sendOperationRequest({ options }, Object.assign(Object.assign({}, spec), { path,
3527
+ httpMethod })), finalOptions)));
3528
3528
  }
3529
3529
  /**
3530
3530
  * @internal
@@ -3532,7 +3532,7 @@ async function sendRequest(settings) {
3532
3532
  function createSendPollRequest(settings) {
3533
3533
  const { client, options, tracing, spanStr } = settings;
3534
3534
  return async (path) => {
3535
- return throwTransformErrors(sendRequest({
3535
+ return throwError(sendRequest({
3536
3536
  client,
3537
3537
  opOptions: options,
3538
3538
  path,
@@ -3551,7 +3551,7 @@ function createAnalyzeBatchLro(settings) {
3551
3551
  requestMethod: "POST",
3552
3552
  requestPath: "/analyze-text/jobs",
3553
3553
  async sendInitialRequest() {
3554
- return tracing.withSpan(`${clientName}.beginAnalyzeBatch`, Object.assign(Object.assign({}, commonOptions), initialRequestOptions), async (finalOptions) => throwTransformErrors(getRawResponse((paramOptions) => client.analyzeText.submitJob({
3554
+ return tracing.withSpan(`${clientName}.beginAnalyzeBatch`, Object.assign(Object.assign({}, commonOptions), initialRequestOptions), async (finalOptions) => throwError(getRawResponse((paramOptions) => client.analyzeText.submitJob({
3555
3555
  tasks,
3556
3556
  analysisInput: {
3557
3557
  documents,
@@ -3650,21 +3650,13 @@ function createUpdateAnalyzeState(documents) {
3650
3650
  }
3651
3651
  };
3652
3652
  }
3653
- async function throwTransformErrors(p) {
3654
- try {
3655
- return await p;
3656
- }
3657
- catch (e) {
3658
- throw transformError(e);
3659
- }
3660
- }
3661
3653
  /**
3662
3654
  * @internal
3663
3655
  */
3664
3656
  function createCancelOperation(settings) {
3665
3657
  return async ({ operationId }) => {
3666
3658
  const { client, options, tracing } = settings;
3667
- await tracing.withSpan(`${clientName}.beginAnalyzeBatch`, options, async (finalOptions) => throwTransformErrors(getRawResponse((paramOptions) => client.analyzeText.cancelJob(operationId, paramOptions), finalOptions)));
3659
+ await tracing.withSpan(`${clientName}.beginAnalyzeBatch`, options, async (finalOptions) => throwError(getRawResponse((paramOptions) => client.analyzeText.cancelJob(operationId, paramOptions), finalOptions)));
3668
3660
  };
3669
3661
  }
3670
3662
 
@@ -3992,21 +3984,15 @@ class TextAnalysisClient {
3992
3984
  languageOrCountryHintOrOptions || {};
3993
3985
  }
3994
3986
  const { options: operationOptions, rest: action } = getOperationOptions(realOptions);
3995
- return this._tracing.withSpan("TextAnalysisClient.analyze", operationOptions, async (updatedOptions) => {
3996
- try {
3997
- const result = await this._client.analyze({
3998
- kind: actionName,
3999
- analysisInput: {
4000
- documents: realInputs,
4001
- },
4002
- parameters: action,
4003
- }, updatedOptions);
4004
- return transformActionResult(actionName, realInputs, result);
4005
- }
4006
- catch (e) {
4007
- throw transformError(e);
4008
- }
4009
- });
3987
+ return this._tracing.withSpan("TextAnalysisClient.analyze", operationOptions, async (updatedOptions) => throwError(this._client
3988
+ .analyze({
3989
+ kind: actionName,
3990
+ analysisInput: {
3991
+ documents: realInputs,
3992
+ },
3993
+ parameters: action,
3994
+ }, updatedOptions)
3995
+ .then((result) => transformActionResult(actionName, realInputs, result))));
4010
3996
  }
4011
3997
  // implementation
4012
3998
  async beginAnalyzeBatch(actions, documents, languageOrOptions, options = {}) {
@@ -4100,85 +4086,145 @@ class TextAnalysisClient {
4100
4086
  /** Known values of {@link AnalyzeTextTaskKind} that the service accepts. */
4101
4087
  var KnownAnalyzeTextTaskKind;
4102
4088
  (function (KnownAnalyzeTextTaskKind) {
4089
+ /** SentimentAnalysis */
4103
4090
  KnownAnalyzeTextTaskKind["SentimentAnalysis"] = "SentimentAnalysis";
4091
+ /** EntityRecognition */
4104
4092
  KnownAnalyzeTextTaskKind["EntityRecognition"] = "EntityRecognition";
4093
+ /** PiiEntityRecognition */
4105
4094
  KnownAnalyzeTextTaskKind["PiiEntityRecognition"] = "PiiEntityRecognition";
4095
+ /** KeyPhraseExtraction */
4106
4096
  KnownAnalyzeTextTaskKind["KeyPhraseExtraction"] = "KeyPhraseExtraction";
4097
+ /** LanguageDetection */
4107
4098
  KnownAnalyzeTextTaskKind["LanguageDetection"] = "LanguageDetection";
4099
+ /** EntityLinking */
4108
4100
  KnownAnalyzeTextTaskKind["EntityLinking"] = "EntityLinking";
4109
4101
  })(KnownAnalyzeTextTaskKind || (KnownAnalyzeTextTaskKind = {}));
4110
4102
  /** Known values of {@link AnalyzeTextTaskResultsKind} that the service accepts. */
4111
4103
  var KnownAnalyzeTextTaskResultsKind;
4112
4104
  (function (KnownAnalyzeTextTaskResultsKind) {
4105
+ /** SentimentAnalysisResults */
4113
4106
  KnownAnalyzeTextTaskResultsKind["SentimentAnalysisResults"] = "SentimentAnalysisResults";
4107
+ /** EntityRecognitionResults */
4114
4108
  KnownAnalyzeTextTaskResultsKind["EntityRecognitionResults"] = "EntityRecognitionResults";
4109
+ /** PiiEntityRecognitionResults */
4115
4110
  KnownAnalyzeTextTaskResultsKind["PiiEntityRecognitionResults"] = "PiiEntityRecognitionResults";
4111
+ /** KeyPhraseExtractionResults */
4116
4112
  KnownAnalyzeTextTaskResultsKind["KeyPhraseExtractionResults"] = "KeyPhraseExtractionResults";
4113
+ /** LanguageDetectionResults */
4117
4114
  KnownAnalyzeTextTaskResultsKind["LanguageDetectionResults"] = "LanguageDetectionResults";
4115
+ /** EntityLinkingResults */
4118
4116
  KnownAnalyzeTextTaskResultsKind["EntityLinkingResults"] = "EntityLinkingResults";
4119
4117
  })(KnownAnalyzeTextTaskResultsKind || (KnownAnalyzeTextTaskResultsKind = {}));
4120
4118
  /** Known values of {@link ErrorCode} that the service accepts. */
4121
4119
  exports.KnownErrorCode = void 0;
4122
4120
  (function (KnownErrorCode) {
4121
+ /** InvalidRequest */
4123
4122
  KnownErrorCode["InvalidRequest"] = "InvalidRequest";
4123
+ /** InvalidArgument */
4124
4124
  KnownErrorCode["InvalidArgument"] = "InvalidArgument";
4125
+ /** Unauthorized */
4125
4126
  KnownErrorCode["Unauthorized"] = "Unauthorized";
4127
+ /** Forbidden */
4126
4128
  KnownErrorCode["Forbidden"] = "Forbidden";
4129
+ /** NotFound */
4127
4130
  KnownErrorCode["NotFound"] = "NotFound";
4131
+ /** ProjectNotFound */
4128
4132
  KnownErrorCode["ProjectNotFound"] = "ProjectNotFound";
4133
+ /** OperationNotFound */
4129
4134
  KnownErrorCode["OperationNotFound"] = "OperationNotFound";
4135
+ /** AzureCognitiveSearchNotFound */
4130
4136
  KnownErrorCode["AzureCognitiveSearchNotFound"] = "AzureCognitiveSearchNotFound";
4137
+ /** AzureCognitiveSearchIndexNotFound */
4131
4138
  KnownErrorCode["AzureCognitiveSearchIndexNotFound"] = "AzureCognitiveSearchIndexNotFound";
4139
+ /** TooManyRequests */
4132
4140
  KnownErrorCode["TooManyRequests"] = "TooManyRequests";
4141
+ /** AzureCognitiveSearchThrottling */
4133
4142
  KnownErrorCode["AzureCognitiveSearchThrottling"] = "AzureCognitiveSearchThrottling";
4143
+ /** AzureCognitiveSearchIndexLimitReached */
4134
4144
  KnownErrorCode["AzureCognitiveSearchIndexLimitReached"] = "AzureCognitiveSearchIndexLimitReached";
4145
+ /** InternalServerError */
4135
4146
  KnownErrorCode["InternalServerError"] = "InternalServerError";
4147
+ /** ServiceUnavailable */
4136
4148
  KnownErrorCode["ServiceUnavailable"] = "ServiceUnavailable";
4137
4149
  })(exports.KnownErrorCode || (exports.KnownErrorCode = {}));
4138
4150
  /** Known values of {@link InnerErrorCode} that the service accepts. */
4139
4151
  exports.KnownInnerErrorCode = void 0;
4140
4152
  (function (KnownInnerErrorCode) {
4153
+ /** InvalidRequest */
4141
4154
  KnownInnerErrorCode["InvalidRequest"] = "InvalidRequest";
4155
+ /** InvalidParameterValue */
4142
4156
  KnownInnerErrorCode["InvalidParameterValue"] = "InvalidParameterValue";
4157
+ /** KnowledgeBaseNotFound */
4143
4158
  KnownInnerErrorCode["KnowledgeBaseNotFound"] = "KnowledgeBaseNotFound";
4159
+ /** AzureCognitiveSearchNotFound */
4144
4160
  KnownInnerErrorCode["AzureCognitiveSearchNotFound"] = "AzureCognitiveSearchNotFound";
4161
+ /** AzureCognitiveSearchThrottling */
4145
4162
  KnownInnerErrorCode["AzureCognitiveSearchThrottling"] = "AzureCognitiveSearchThrottling";
4163
+ /** ExtractionFailure */
4146
4164
  KnownInnerErrorCode["ExtractionFailure"] = "ExtractionFailure";
4165
+ /** InvalidRequestBodyFormat */
4147
4166
  KnownInnerErrorCode["InvalidRequestBodyFormat"] = "InvalidRequestBodyFormat";
4167
+ /** EmptyRequest */
4148
4168
  KnownInnerErrorCode["EmptyRequest"] = "EmptyRequest";
4169
+ /** MissingInputDocuments */
4149
4170
  KnownInnerErrorCode["MissingInputDocuments"] = "MissingInputDocuments";
4171
+ /** InvalidDocument */
4150
4172
  KnownInnerErrorCode["InvalidDocument"] = "InvalidDocument";
4173
+ /** ModelVersionIncorrect */
4151
4174
  KnownInnerErrorCode["ModelVersionIncorrect"] = "ModelVersionIncorrect";
4175
+ /** InvalidDocumentBatch */
4152
4176
  KnownInnerErrorCode["InvalidDocumentBatch"] = "InvalidDocumentBatch";
4177
+ /** UnsupportedLanguageCode */
4153
4178
  KnownInnerErrorCode["UnsupportedLanguageCode"] = "UnsupportedLanguageCode";
4179
+ /** InvalidCountryHint */
4154
4180
  KnownInnerErrorCode["InvalidCountryHint"] = "InvalidCountryHint";
4155
4181
  })(exports.KnownInnerErrorCode || (exports.KnownInnerErrorCode = {}));
4156
4182
  /** Known values of {@link AnalyzeTextLROTaskKind} that the service accepts. */
4157
4183
  var KnownAnalyzeTextLROTaskKind;
4158
4184
  (function (KnownAnalyzeTextLROTaskKind) {
4185
+ /** SentimentAnalysis */
4159
4186
  KnownAnalyzeTextLROTaskKind["SentimentAnalysis"] = "SentimentAnalysis";
4187
+ /** EntityRecognition */
4160
4188
  KnownAnalyzeTextLROTaskKind["EntityRecognition"] = "EntityRecognition";
4189
+ /** PiiEntityRecognition */
4161
4190
  KnownAnalyzeTextLROTaskKind["PiiEntityRecognition"] = "PiiEntityRecognition";
4191
+ /** KeyPhraseExtraction */
4162
4192
  KnownAnalyzeTextLROTaskKind["KeyPhraseExtraction"] = "KeyPhraseExtraction";
4193
+ /** EntityLinking */
4163
4194
  KnownAnalyzeTextLROTaskKind["EntityLinking"] = "EntityLinking";
4195
+ /** Healthcare */
4164
4196
  KnownAnalyzeTextLROTaskKind["Healthcare"] = "Healthcare";
4197
+ /** ExtractiveSummarization */
4165
4198
  KnownAnalyzeTextLROTaskKind["ExtractiveSummarization"] = "ExtractiveSummarization";
4199
+ /** CustomEntityRecognition */
4166
4200
  KnownAnalyzeTextLROTaskKind["CustomEntityRecognition"] = "CustomEntityRecognition";
4201
+ /** CustomSingleLabelClassification */
4167
4202
  KnownAnalyzeTextLROTaskKind["CustomSingleLabelClassification"] = "CustomSingleLabelClassification";
4203
+ /** CustomMultiLabelClassification */
4168
4204
  KnownAnalyzeTextLROTaskKind["CustomMultiLabelClassification"] = "CustomMultiLabelClassification";
4169
4205
  })(KnownAnalyzeTextLROTaskKind || (KnownAnalyzeTextLROTaskKind = {}));
4170
4206
  /** Known values of {@link AnalyzeTextLROResultsKind} that the service accepts. */
4171
4207
  var KnownAnalyzeTextLROResultsKind;
4172
4208
  (function (KnownAnalyzeTextLROResultsKind) {
4209
+ /** SentimentAnalysisLROResults */
4173
4210
  KnownAnalyzeTextLROResultsKind["SentimentAnalysisLROResults"] = "SentimentAnalysisLROResults";
4211
+ /** EntityRecognitionLROResults */
4174
4212
  KnownAnalyzeTextLROResultsKind["EntityRecognitionLROResults"] = "EntityRecognitionLROResults";
4213
+ /** PiiEntityRecognitionLROResults */
4175
4214
  KnownAnalyzeTextLROResultsKind["PiiEntityRecognitionLROResults"] = "PiiEntityRecognitionLROResults";
4215
+ /** KeyPhraseExtractionLROResults */
4176
4216
  KnownAnalyzeTextLROResultsKind["KeyPhraseExtractionLROResults"] = "KeyPhraseExtractionLROResults";
4217
+ /** EntityLinkingLROResults */
4177
4218
  KnownAnalyzeTextLROResultsKind["EntityLinkingLROResults"] = "EntityLinkingLROResults";
4219
+ /** HealthcareLROResults */
4178
4220
  KnownAnalyzeTextLROResultsKind["HealthcareLROResults"] = "HealthcareLROResults";
4221
+ /** ExtractiveSummarizationLROResults */
4179
4222
  KnownAnalyzeTextLROResultsKind["ExtractiveSummarizationLROResults"] = "ExtractiveSummarizationLROResults";
4223
+ /** CustomEntityRecognitionLROResults */
4180
4224
  KnownAnalyzeTextLROResultsKind["CustomEntityRecognitionLROResults"] = "CustomEntityRecognitionLROResults";
4225
+ /** CustomSingleLabelClassificationLROResults */
4181
4226
  KnownAnalyzeTextLROResultsKind["CustomSingleLabelClassificationLROResults"] = "CustomSingleLabelClassificationLROResults";
4227
+ /** CustomMultiLabelClassificationLROResults */
4182
4228
  KnownAnalyzeTextLROResultsKind["CustomMultiLabelClassificationLROResults"] = "CustomMultiLabelClassificationLROResults";
4183
4229
  })(KnownAnalyzeTextLROResultsKind || (KnownAnalyzeTextLROResultsKind = {}));
4184
4230
  /** Known values of {@link StringIndexType} that the service accepts. */
@@ -4202,244 +4248,467 @@ exports.KnownPiiEntityDomain = void 0;
4202
4248
  /** Known values of {@link PiiEntityCategory} that the service accepts. */
4203
4249
  exports.KnownPiiEntityCategory = void 0;
4204
4250
  (function (KnownPiiEntityCategory) {
4251
+ /** ABARoutingNumber */
4205
4252
  KnownPiiEntityCategory["ABARoutingNumber"] = "ABARoutingNumber";
4253
+ /** ARNationalIdentityNumber */
4206
4254
  KnownPiiEntityCategory["ARNationalIdentityNumber"] = "ARNationalIdentityNumber";
4255
+ /** AUBankAccountNumber */
4207
4256
  KnownPiiEntityCategory["AUBankAccountNumber"] = "AUBankAccountNumber";
4257
+ /** AUDriversLicenseNumber */
4208
4258
  KnownPiiEntityCategory["AUDriversLicenseNumber"] = "AUDriversLicenseNumber";
4259
+ /** AUMedicalAccountNumber */
4209
4260
  KnownPiiEntityCategory["AUMedicalAccountNumber"] = "AUMedicalAccountNumber";
4261
+ /** AUPassportNumber */
4210
4262
  KnownPiiEntityCategory["AUPassportNumber"] = "AUPassportNumber";
4263
+ /** AUTaxFileNumber */
4211
4264
  KnownPiiEntityCategory["AUTaxFileNumber"] = "AUTaxFileNumber";
4265
+ /** AUBusinessNumber */
4212
4266
  KnownPiiEntityCategory["AUBusinessNumber"] = "AUBusinessNumber";
4267
+ /** AUCompanyNumber */
4213
4268
  KnownPiiEntityCategory["AUCompanyNumber"] = "AUCompanyNumber";
4269
+ /** ATIdentityCard */
4214
4270
  KnownPiiEntityCategory["ATIdentityCard"] = "ATIdentityCard";
4271
+ /** ATTaxIdentificationNumber */
4215
4272
  KnownPiiEntityCategory["ATTaxIdentificationNumber"] = "ATTaxIdentificationNumber";
4273
+ /** ATValueAddedTaxNumber */
4216
4274
  KnownPiiEntityCategory["ATValueAddedTaxNumber"] = "ATValueAddedTaxNumber";
4275
+ /** AzureDocumentDBAuthKey */
4217
4276
  KnownPiiEntityCategory["AzureDocumentDBAuthKey"] = "AzureDocumentDBAuthKey";
4277
+ /** AzureIaasDatabaseConnectionAndSQLString */
4218
4278
  KnownPiiEntityCategory["AzureIaasDatabaseConnectionAndSQLString"] = "AzureIAASDatabaseConnectionAndSQLString";
4279
+ /** AzureIoTConnectionString */
4219
4280
  KnownPiiEntityCategory["AzureIoTConnectionString"] = "AzureIoTConnectionString";
4281
+ /** AzurePublishSettingPassword */
4220
4282
  KnownPiiEntityCategory["AzurePublishSettingPassword"] = "AzurePublishSettingPassword";
4283
+ /** AzureRedisCacheString */
4221
4284
  KnownPiiEntityCategory["AzureRedisCacheString"] = "AzureRedisCacheString";
4285
+ /** AzureSAS */
4222
4286
  KnownPiiEntityCategory["AzureSAS"] = "AzureSAS";
4287
+ /** AzureServiceBusString */
4223
4288
  KnownPiiEntityCategory["AzureServiceBusString"] = "AzureServiceBusString";
4289
+ /** AzureStorageAccountKey */
4224
4290
  KnownPiiEntityCategory["AzureStorageAccountKey"] = "AzureStorageAccountKey";
4291
+ /** AzureStorageAccountGeneric */
4225
4292
  KnownPiiEntityCategory["AzureStorageAccountGeneric"] = "AzureStorageAccountGeneric";
4293
+ /** BENationalNumber */
4226
4294
  KnownPiiEntityCategory["BENationalNumber"] = "BENationalNumber";
4295
+ /** BENationalNumberV2 */
4227
4296
  KnownPiiEntityCategory["BENationalNumberV2"] = "BENationalNumberV2";
4297
+ /** BEValueAddedTaxNumber */
4228
4298
  KnownPiiEntityCategory["BEValueAddedTaxNumber"] = "BEValueAddedTaxNumber";
4299
+ /** BrcpfNumber */
4229
4300
  KnownPiiEntityCategory["BrcpfNumber"] = "BRCPFNumber";
4301
+ /** BRLegalEntityNumber */
4230
4302
  KnownPiiEntityCategory["BRLegalEntityNumber"] = "BRLegalEntityNumber";
4303
+ /** BRNationalIdrg */
4231
4304
  KnownPiiEntityCategory["BRNationalIdrg"] = "BRNationalIDRG";
4305
+ /** BGUniformCivilNumber */
4232
4306
  KnownPiiEntityCategory["BGUniformCivilNumber"] = "BGUniformCivilNumber";
4307
+ /** CABankAccountNumber */
4233
4308
  KnownPiiEntityCategory["CABankAccountNumber"] = "CABankAccountNumber";
4309
+ /** CADriversLicenseNumber */
4234
4310
  KnownPiiEntityCategory["CADriversLicenseNumber"] = "CADriversLicenseNumber";
4311
+ /** CAHealthServiceNumber */
4235
4312
  KnownPiiEntityCategory["CAHealthServiceNumber"] = "CAHealthServiceNumber";
4313
+ /** CAPassportNumber */
4236
4314
  KnownPiiEntityCategory["CAPassportNumber"] = "CAPassportNumber";
4315
+ /** CAPersonalHealthIdentification */
4237
4316
  KnownPiiEntityCategory["CAPersonalHealthIdentification"] = "CAPersonalHealthIdentification";
4317
+ /** CASocialInsuranceNumber */
4238
4318
  KnownPiiEntityCategory["CASocialInsuranceNumber"] = "CASocialInsuranceNumber";
4319
+ /** CLIdentityCardNumber */
4239
4320
  KnownPiiEntityCategory["CLIdentityCardNumber"] = "CLIdentityCardNumber";
4321
+ /** CNResidentIdentityCardNumber */
4240
4322
  KnownPiiEntityCategory["CNResidentIdentityCardNumber"] = "CNResidentIdentityCardNumber";
4323
+ /** CreditCardNumber */
4241
4324
  KnownPiiEntityCategory["CreditCardNumber"] = "CreditCardNumber";
4325
+ /** HRIdentityCardNumber */
4242
4326
  KnownPiiEntityCategory["HRIdentityCardNumber"] = "HRIdentityCardNumber";
4327
+ /** HRNationalIDNumber */
4243
4328
  KnownPiiEntityCategory["HRNationalIDNumber"] = "HRNationalIDNumber";
4329
+ /** HRPersonalIdentificationNumber */
4244
4330
  KnownPiiEntityCategory["HRPersonalIdentificationNumber"] = "HRPersonalIdentificationNumber";
4331
+ /** HRPersonalIdentificationOIBNumberV2 */
4245
4332
  KnownPiiEntityCategory["HRPersonalIdentificationOIBNumberV2"] = "HRPersonalIdentificationOIBNumberV2";
4333
+ /** CYIdentityCard */
4246
4334
  KnownPiiEntityCategory["CYIdentityCard"] = "CYIdentityCard";
4335
+ /** CYTaxIdentificationNumber */
4247
4336
  KnownPiiEntityCategory["CYTaxIdentificationNumber"] = "CYTaxIdentificationNumber";
4337
+ /** CZPersonalIdentityNumber */
4248
4338
  KnownPiiEntityCategory["CZPersonalIdentityNumber"] = "CZPersonalIdentityNumber";
4339
+ /** CZPersonalIdentityV2 */
4249
4340
  KnownPiiEntityCategory["CZPersonalIdentityV2"] = "CZPersonalIdentityV2";
4341
+ /** DKPersonalIdentificationNumber */
4250
4342
  KnownPiiEntityCategory["DKPersonalIdentificationNumber"] = "DKPersonalIdentificationNumber";
4343
+ /** DKPersonalIdentificationV2 */
4251
4344
  KnownPiiEntityCategory["DKPersonalIdentificationV2"] = "DKPersonalIdentificationV2";
4345
+ /** DrugEnforcementAgencyNumber */
4252
4346
  KnownPiiEntityCategory["DrugEnforcementAgencyNumber"] = "DrugEnforcementAgencyNumber";
4347
+ /** EEPersonalIdentificationCode */
4253
4348
  KnownPiiEntityCategory["EEPersonalIdentificationCode"] = "EEPersonalIdentificationCode";
4349
+ /** EUDebitCardNumber */
4254
4350
  KnownPiiEntityCategory["EUDebitCardNumber"] = "EUDebitCardNumber";
4351
+ /** EUDriversLicenseNumber */
4255
4352
  KnownPiiEntityCategory["EUDriversLicenseNumber"] = "EUDriversLicenseNumber";
4353
+ /** EugpsCoordinates */
4256
4354
  KnownPiiEntityCategory["EugpsCoordinates"] = "EUGPSCoordinates";
4355
+ /** EUNationalIdentificationNumber */
4257
4356
  KnownPiiEntityCategory["EUNationalIdentificationNumber"] = "EUNationalIdentificationNumber";
4357
+ /** EUPassportNumber */
4258
4358
  KnownPiiEntityCategory["EUPassportNumber"] = "EUPassportNumber";
4359
+ /** EUSocialSecurityNumber */
4259
4360
  KnownPiiEntityCategory["EUSocialSecurityNumber"] = "EUSocialSecurityNumber";
4361
+ /** EUTaxIdentificationNumber */
4260
4362
  KnownPiiEntityCategory["EUTaxIdentificationNumber"] = "EUTaxIdentificationNumber";
4363
+ /** FIEuropeanHealthNumber */
4261
4364
  KnownPiiEntityCategory["FIEuropeanHealthNumber"] = "FIEuropeanHealthNumber";
4365
+ /** FINationalID */
4262
4366
  KnownPiiEntityCategory["FINationalID"] = "FINationalID";
4367
+ /** FINationalIDV2 */
4263
4368
  KnownPiiEntityCategory["FINationalIDV2"] = "FINationalIDV2";
4369
+ /** FIPassportNumber */
4264
4370
  KnownPiiEntityCategory["FIPassportNumber"] = "FIPassportNumber";
4371
+ /** FRDriversLicenseNumber */
4265
4372
  KnownPiiEntityCategory["FRDriversLicenseNumber"] = "FRDriversLicenseNumber";
4373
+ /** FRHealthInsuranceNumber */
4266
4374
  KnownPiiEntityCategory["FRHealthInsuranceNumber"] = "FRHealthInsuranceNumber";
4375
+ /** FRNationalID */
4267
4376
  KnownPiiEntityCategory["FRNationalID"] = "FRNationalID";
4377
+ /** FRPassportNumber */
4268
4378
  KnownPiiEntityCategory["FRPassportNumber"] = "FRPassportNumber";
4379
+ /** FRSocialSecurityNumber */
4269
4380
  KnownPiiEntityCategory["FRSocialSecurityNumber"] = "FRSocialSecurityNumber";
4381
+ /** FRTaxIdentificationNumber */
4270
4382
  KnownPiiEntityCategory["FRTaxIdentificationNumber"] = "FRTaxIdentificationNumber";
4383
+ /** FRValueAddedTaxNumber */
4271
4384
  KnownPiiEntityCategory["FRValueAddedTaxNumber"] = "FRValueAddedTaxNumber";
4385
+ /** DEDriversLicenseNumber */
4272
4386
  KnownPiiEntityCategory["DEDriversLicenseNumber"] = "DEDriversLicenseNumber";
4387
+ /** DEPassportNumber */
4273
4388
  KnownPiiEntityCategory["DEPassportNumber"] = "DEPassportNumber";
4389
+ /** DEIdentityCardNumber */
4274
4390
  KnownPiiEntityCategory["DEIdentityCardNumber"] = "DEIdentityCardNumber";
4391
+ /** DETaxIdentificationNumber */
4275
4392
  KnownPiiEntityCategory["DETaxIdentificationNumber"] = "DETaxIdentificationNumber";
4393
+ /** DEValueAddedNumber */
4276
4394
  KnownPiiEntityCategory["DEValueAddedNumber"] = "DEValueAddedNumber";
4395
+ /** GRNationalIDCard */
4277
4396
  KnownPiiEntityCategory["GRNationalIDCard"] = "GRNationalIDCard";
4397
+ /** GRNationalIDV2 */
4278
4398
  KnownPiiEntityCategory["GRNationalIDV2"] = "GRNationalIDV2";
4399
+ /** GRTaxIdentificationNumber */
4279
4400
  KnownPiiEntityCategory["GRTaxIdentificationNumber"] = "GRTaxIdentificationNumber";
4401
+ /** HKIdentityCardNumber */
4280
4402
  KnownPiiEntityCategory["HKIdentityCardNumber"] = "HKIdentityCardNumber";
4403
+ /** HUValueAddedNumber */
4281
4404
  KnownPiiEntityCategory["HUValueAddedNumber"] = "HUValueAddedNumber";
4405
+ /** HUPersonalIdentificationNumber */
4282
4406
  KnownPiiEntityCategory["HUPersonalIdentificationNumber"] = "HUPersonalIdentificationNumber";
4407
+ /** HUTaxIdentificationNumber */
4283
4408
  KnownPiiEntityCategory["HUTaxIdentificationNumber"] = "HUTaxIdentificationNumber";
4409
+ /** INPermanentAccount */
4284
4410
  KnownPiiEntityCategory["INPermanentAccount"] = "INPermanentAccount";
4411
+ /** INUniqueIdentificationNumber */
4285
4412
  KnownPiiEntityCategory["INUniqueIdentificationNumber"] = "INUniqueIdentificationNumber";
4413
+ /** IDIdentityCardNumber */
4286
4414
  KnownPiiEntityCategory["IDIdentityCardNumber"] = "IDIdentityCardNumber";
4415
+ /** InternationalBankingAccountNumber */
4287
4416
  KnownPiiEntityCategory["InternationalBankingAccountNumber"] = "InternationalBankingAccountNumber";
4417
+ /** IEPersonalPublicServiceNumber */
4288
4418
  KnownPiiEntityCategory["IEPersonalPublicServiceNumber"] = "IEPersonalPublicServiceNumber";
4419
+ /** IEPersonalPublicServiceNumberV2 */
4289
4420
  KnownPiiEntityCategory["IEPersonalPublicServiceNumberV2"] = "IEPersonalPublicServiceNumberV2";
4421
+ /** ILBankAccountNumber */
4290
4422
  KnownPiiEntityCategory["ILBankAccountNumber"] = "ILBankAccountNumber";
4423
+ /** ILNationalID */
4291
4424
  KnownPiiEntityCategory["ILNationalID"] = "ILNationalID";
4425
+ /** ITDriversLicenseNumber */
4292
4426
  KnownPiiEntityCategory["ITDriversLicenseNumber"] = "ITDriversLicenseNumber";
4427
+ /** ITFiscalCode */
4293
4428
  KnownPiiEntityCategory["ITFiscalCode"] = "ITFiscalCode";
4429
+ /** ITValueAddedTaxNumber */
4294
4430
  KnownPiiEntityCategory["ITValueAddedTaxNumber"] = "ITValueAddedTaxNumber";
4431
+ /** JPBankAccountNumber */
4295
4432
  KnownPiiEntityCategory["JPBankAccountNumber"] = "JPBankAccountNumber";
4433
+ /** JPDriversLicenseNumber */
4296
4434
  KnownPiiEntityCategory["JPDriversLicenseNumber"] = "JPDriversLicenseNumber";
4435
+ /** JPPassportNumber */
4297
4436
  KnownPiiEntityCategory["JPPassportNumber"] = "JPPassportNumber";
4437
+ /** JPResidentRegistrationNumber */
4298
4438
  KnownPiiEntityCategory["JPResidentRegistrationNumber"] = "JPResidentRegistrationNumber";
4439
+ /** JPSocialInsuranceNumber */
4299
4440
  KnownPiiEntityCategory["JPSocialInsuranceNumber"] = "JPSocialInsuranceNumber";
4441
+ /** JPMyNumberCorporate */
4300
4442
  KnownPiiEntityCategory["JPMyNumberCorporate"] = "JPMyNumberCorporate";
4443
+ /** JPMyNumberPersonal */
4301
4444
  KnownPiiEntityCategory["JPMyNumberPersonal"] = "JPMyNumberPersonal";
4445
+ /** JPResidenceCardNumber */
4302
4446
  KnownPiiEntityCategory["JPResidenceCardNumber"] = "JPResidenceCardNumber";
4447
+ /** LVPersonalCode */
4303
4448
  KnownPiiEntityCategory["LVPersonalCode"] = "LVPersonalCode";
4449
+ /** LTPersonalCode */
4304
4450
  KnownPiiEntityCategory["LTPersonalCode"] = "LTPersonalCode";
4451
+ /** LUNationalIdentificationNumberNatural */
4305
4452
  KnownPiiEntityCategory["LUNationalIdentificationNumberNatural"] = "LUNationalIdentificationNumberNatural";
4453
+ /** LUNationalIdentificationNumberNonNatural */
4306
4454
  KnownPiiEntityCategory["LUNationalIdentificationNumberNonNatural"] = "LUNationalIdentificationNumberNonNatural";
4455
+ /** MYIdentityCardNumber */
4307
4456
  KnownPiiEntityCategory["MYIdentityCardNumber"] = "MYIdentityCardNumber";
4457
+ /** MTIdentityCardNumber */
4308
4458
  KnownPiiEntityCategory["MTIdentityCardNumber"] = "MTIdentityCardNumber";
4459
+ /** MTTaxIDNumber */
4309
4460
  KnownPiiEntityCategory["MTTaxIDNumber"] = "MTTaxIDNumber";
4461
+ /** NLCitizensServiceNumber */
4310
4462
  KnownPiiEntityCategory["NLCitizensServiceNumber"] = "NLCitizensServiceNumber";
4463
+ /** NLCitizensServiceNumberV2 */
4311
4464
  KnownPiiEntityCategory["NLCitizensServiceNumberV2"] = "NLCitizensServiceNumberV2";
4465
+ /** NLTaxIdentificationNumber */
4312
4466
  KnownPiiEntityCategory["NLTaxIdentificationNumber"] = "NLTaxIdentificationNumber";
4467
+ /** NLValueAddedTaxNumber */
4313
4468
  KnownPiiEntityCategory["NLValueAddedTaxNumber"] = "NLValueAddedTaxNumber";
4469
+ /** NZBankAccountNumber */
4314
4470
  KnownPiiEntityCategory["NZBankAccountNumber"] = "NZBankAccountNumber";
4471
+ /** NZDriversLicenseNumber */
4315
4472
  KnownPiiEntityCategory["NZDriversLicenseNumber"] = "NZDriversLicenseNumber";
4473
+ /** NZInlandRevenueNumber */
4316
4474
  KnownPiiEntityCategory["NZInlandRevenueNumber"] = "NZInlandRevenueNumber";
4475
+ /** NZMinistryOfHealthNumber */
4317
4476
  KnownPiiEntityCategory["NZMinistryOfHealthNumber"] = "NZMinistryOfHealthNumber";
4477
+ /** NZSocialWelfareNumber */
4318
4478
  KnownPiiEntityCategory["NZSocialWelfareNumber"] = "NZSocialWelfareNumber";
4479
+ /** NOIdentityNumber */
4319
4480
  KnownPiiEntityCategory["NOIdentityNumber"] = "NOIdentityNumber";
4481
+ /** PHUnifiedMultiPurposeIDNumber */
4320
4482
  KnownPiiEntityCategory["PHUnifiedMultiPurposeIDNumber"] = "PHUnifiedMultiPurposeIDNumber";
4483
+ /** PLIdentityCard */
4321
4484
  KnownPiiEntityCategory["PLIdentityCard"] = "PLIdentityCard";
4485
+ /** PLNationalID */
4322
4486
  KnownPiiEntityCategory["PLNationalID"] = "PLNationalID";
4487
+ /** PLNationalIDV2 */
4323
4488
  KnownPiiEntityCategory["PLNationalIDV2"] = "PLNationalIDV2";
4489
+ /** PLPassportNumber */
4324
4490
  KnownPiiEntityCategory["PLPassportNumber"] = "PLPassportNumber";
4491
+ /** PLTaxIdentificationNumber */
4325
4492
  KnownPiiEntityCategory["PLTaxIdentificationNumber"] = "PLTaxIdentificationNumber";
4493
+ /** PlregonNumber */
4326
4494
  KnownPiiEntityCategory["PlregonNumber"] = "PLREGONNumber";
4495
+ /** PTCitizenCardNumber */
4327
4496
  KnownPiiEntityCategory["PTCitizenCardNumber"] = "PTCitizenCardNumber";
4497
+ /** PTCitizenCardNumberV2 */
4328
4498
  KnownPiiEntityCategory["PTCitizenCardNumberV2"] = "PTCitizenCardNumberV2";
4499
+ /** PTTaxIdentificationNumber */
4329
4500
  KnownPiiEntityCategory["PTTaxIdentificationNumber"] = "PTTaxIdentificationNumber";
4501
+ /** ROPersonalNumericalCode */
4330
4502
  KnownPiiEntityCategory["ROPersonalNumericalCode"] = "ROPersonalNumericalCode";
4503
+ /** RUPassportNumberDomestic */
4331
4504
  KnownPiiEntityCategory["RUPassportNumberDomestic"] = "RUPassportNumberDomestic";
4505
+ /** RUPassportNumberInternational */
4332
4506
  KnownPiiEntityCategory["RUPassportNumberInternational"] = "RUPassportNumberInternational";
4507
+ /** SANationalID */
4333
4508
  KnownPiiEntityCategory["SANationalID"] = "SANationalID";
4509
+ /** SGNationalRegistrationIdentityCardNumber */
4334
4510
  KnownPiiEntityCategory["SGNationalRegistrationIdentityCardNumber"] = "SGNationalRegistrationIdentityCardNumber";
4511
+ /** SKPersonalNumber */
4335
4512
  KnownPiiEntityCategory["SKPersonalNumber"] = "SKPersonalNumber";
4513
+ /** SITaxIdentificationNumber */
4336
4514
  KnownPiiEntityCategory["SITaxIdentificationNumber"] = "SITaxIdentificationNumber";
4515
+ /** SIUniqueMasterCitizenNumber */
4337
4516
  KnownPiiEntityCategory["SIUniqueMasterCitizenNumber"] = "SIUniqueMasterCitizenNumber";
4517
+ /** ZAIdentificationNumber */
4338
4518
  KnownPiiEntityCategory["ZAIdentificationNumber"] = "ZAIdentificationNumber";
4519
+ /** KRResidentRegistrationNumber */
4339
4520
  KnownPiiEntityCategory["KRResidentRegistrationNumber"] = "KRResidentRegistrationNumber";
4521
+ /** Esdni */
4340
4522
  KnownPiiEntityCategory["Esdni"] = "ESDNI";
4523
+ /** ESSocialSecurityNumber */
4341
4524
  KnownPiiEntityCategory["ESSocialSecurityNumber"] = "ESSocialSecurityNumber";
4525
+ /** ESTaxIdentificationNumber */
4342
4526
  KnownPiiEntityCategory["ESTaxIdentificationNumber"] = "ESTaxIdentificationNumber";
4527
+ /** SQLServerConnectionString */
4343
4528
  KnownPiiEntityCategory["SQLServerConnectionString"] = "SQLServerConnectionString";
4529
+ /** SENationalID */
4344
4530
  KnownPiiEntityCategory["SENationalID"] = "SENationalID";
4531
+ /** SENationalIDV2 */
4345
4532
  KnownPiiEntityCategory["SENationalIDV2"] = "SENationalIDV2";
4533
+ /** SEPassportNumber */
4346
4534
  KnownPiiEntityCategory["SEPassportNumber"] = "SEPassportNumber";
4535
+ /** SETaxIdentificationNumber */
4347
4536
  KnownPiiEntityCategory["SETaxIdentificationNumber"] = "SETaxIdentificationNumber";
4537
+ /** SwiftCode */
4348
4538
  KnownPiiEntityCategory["SwiftCode"] = "SWIFTCode";
4539
+ /** CHSocialSecurityNumber */
4349
4540
  KnownPiiEntityCategory["CHSocialSecurityNumber"] = "CHSocialSecurityNumber";
4541
+ /** TWNationalID */
4350
4542
  KnownPiiEntityCategory["TWNationalID"] = "TWNationalID";
4543
+ /** TWPassportNumber */
4351
4544
  KnownPiiEntityCategory["TWPassportNumber"] = "TWPassportNumber";
4545
+ /** TWResidentCertificate */
4352
4546
  KnownPiiEntityCategory["TWResidentCertificate"] = "TWResidentCertificate";
4547
+ /** THPopulationIdentificationCode */
4353
4548
  KnownPiiEntityCategory["THPopulationIdentificationCode"] = "THPopulationIdentificationCode";
4549
+ /** TRNationalIdentificationNumber */
4354
4550
  KnownPiiEntityCategory["TRNationalIdentificationNumber"] = "TRNationalIdentificationNumber";
4551
+ /** UKDriversLicenseNumber */
4355
4552
  KnownPiiEntityCategory["UKDriversLicenseNumber"] = "UKDriversLicenseNumber";
4553
+ /** UKElectoralRollNumber */
4356
4554
  KnownPiiEntityCategory["UKElectoralRollNumber"] = "UKElectoralRollNumber";
4555
+ /** UKNationalHealthNumber */
4357
4556
  KnownPiiEntityCategory["UKNationalHealthNumber"] = "UKNationalHealthNumber";
4557
+ /** UKNationalInsuranceNumber */
4358
4558
  KnownPiiEntityCategory["UKNationalInsuranceNumber"] = "UKNationalInsuranceNumber";
4559
+ /** UKUniqueTaxpayerNumber */
4359
4560
  KnownPiiEntityCategory["UKUniqueTaxpayerNumber"] = "UKUniqueTaxpayerNumber";
4561
+ /** UsukPassportNumber */
4360
4562
  KnownPiiEntityCategory["UsukPassportNumber"] = "USUKPassportNumber";
4563
+ /** USBankAccountNumber */
4361
4564
  KnownPiiEntityCategory["USBankAccountNumber"] = "USBankAccountNumber";
4565
+ /** USDriversLicenseNumber */
4362
4566
  KnownPiiEntityCategory["USDriversLicenseNumber"] = "USDriversLicenseNumber";
4567
+ /** USIndividualTaxpayerIdentification */
4363
4568
  KnownPiiEntityCategory["USIndividualTaxpayerIdentification"] = "USIndividualTaxpayerIdentification";
4569
+ /** USSocialSecurityNumber */
4364
4570
  KnownPiiEntityCategory["USSocialSecurityNumber"] = "USSocialSecurityNumber";
4571
+ /** UAPassportNumberDomestic */
4365
4572
  KnownPiiEntityCategory["UAPassportNumberDomestic"] = "UAPassportNumberDomestic";
4573
+ /** UAPassportNumberInternational */
4366
4574
  KnownPiiEntityCategory["UAPassportNumberInternational"] = "UAPassportNumberInternational";
4575
+ /** Organization */
4367
4576
  KnownPiiEntityCategory["Organization"] = "Organization";
4577
+ /** Email */
4368
4578
  KnownPiiEntityCategory["Email"] = "Email";
4579
+ /** URL */
4369
4580
  KnownPiiEntityCategory["URL"] = "URL";
4581
+ /** Age */
4370
4582
  KnownPiiEntityCategory["Age"] = "Age";
4583
+ /** PhoneNumber */
4371
4584
  KnownPiiEntityCategory["PhoneNumber"] = "PhoneNumber";
4585
+ /** IPAddress */
4372
4586
  KnownPiiEntityCategory["IPAddress"] = "IPAddress";
4587
+ /** Date */
4373
4588
  KnownPiiEntityCategory["Date"] = "Date";
4589
+ /** Person */
4374
4590
  KnownPiiEntityCategory["Person"] = "Person";
4591
+ /** Address */
4375
4592
  KnownPiiEntityCategory["Address"] = "Address";
4593
+ /** All */
4376
4594
  KnownPiiEntityCategory["All"] = "All";
4595
+ /** Default */
4377
4596
  KnownPiiEntityCategory["Default"] = "Default";
4378
4597
  })(exports.KnownPiiEntityCategory || (exports.KnownPiiEntityCategory = {}));
4379
4598
  /** Known values of {@link WarningCode} that the service accepts. */
4380
4599
  var KnownWarningCode;
4381
4600
  (function (KnownWarningCode) {
4601
+ /** LongWordsInDocument */
4382
4602
  KnownWarningCode["LongWordsInDocument"] = "LongWordsInDocument";
4603
+ /** DocumentTruncated */
4383
4604
  KnownWarningCode["DocumentTruncated"] = "DocumentTruncated";
4384
4605
  })(KnownWarningCode || (KnownWarningCode = {}));
4385
4606
  /** Known values of {@link FhirVersion} that the service accepts. */
4386
4607
  var KnownFhirVersion;
4387
4608
  (function (KnownFhirVersion) {
4609
+ /** Four01 */
4388
4610
  KnownFhirVersion["Four01"] = "4.0.1";
4389
4611
  })(KnownFhirVersion || (KnownFhirVersion = {}));
4390
4612
  /** Known values of {@link HealthcareEntityCategory} that the service accepts. */
4391
4613
  var KnownHealthcareEntityCategory;
4392
4614
  (function (KnownHealthcareEntityCategory) {
4615
+ /** BodyStructure */
4393
4616
  KnownHealthcareEntityCategory["BodyStructure"] = "BODY_STRUCTURE";
4617
+ /** AGE */
4394
4618
  KnownHealthcareEntityCategory["AGE"] = "AGE";
4619
+ /** Gender */
4395
4620
  KnownHealthcareEntityCategory["Gender"] = "GENDER";
4621
+ /** ExaminationName */
4396
4622
  KnownHealthcareEntityCategory["ExaminationName"] = "EXAMINATION_NAME";
4623
+ /** Date */
4397
4624
  KnownHealthcareEntityCategory["Date"] = "DATE";
4625
+ /** Direction */
4398
4626
  KnownHealthcareEntityCategory["Direction"] = "DIRECTION";
4627
+ /** Frequency */
4399
4628
  KnownHealthcareEntityCategory["Frequency"] = "FREQUENCY";
4629
+ /** MeasurementValue */
4400
4630
  KnownHealthcareEntityCategory["MeasurementValue"] = "MEASUREMENT_VALUE";
4631
+ /** MeasurementUnit */
4401
4632
  KnownHealthcareEntityCategory["MeasurementUnit"] = "MEASUREMENT_UNIT";
4633
+ /** RelationalOperator */
4402
4634
  KnownHealthcareEntityCategory["RelationalOperator"] = "RELATIONAL_OPERATOR";
4635
+ /** Time */
4403
4636
  KnownHealthcareEntityCategory["Time"] = "TIME";
4637
+ /** GeneORProtein */
4404
4638
  KnownHealthcareEntityCategory["GeneORProtein"] = "GENE_OR_PROTEIN";
4639
+ /** Variant */
4405
4640
  KnownHealthcareEntityCategory["Variant"] = "VARIANT";
4641
+ /** AdministrativeEvent */
4406
4642
  KnownHealthcareEntityCategory["AdministrativeEvent"] = "ADMINISTRATIVE_EVENT";
4643
+ /** CareEnvironment */
4407
4644
  KnownHealthcareEntityCategory["CareEnvironment"] = "CARE_ENVIRONMENT";
4645
+ /** HealthcareProfession */
4408
4646
  KnownHealthcareEntityCategory["HealthcareProfession"] = "HEALTHCARE_PROFESSION";
4647
+ /** Diagnosis */
4409
4648
  KnownHealthcareEntityCategory["Diagnosis"] = "DIAGNOSIS";
4649
+ /** SymptomORSign */
4410
4650
  KnownHealthcareEntityCategory["SymptomORSign"] = "SYMPTOM_OR_SIGN";
4651
+ /** ConditionQualifier */
4411
4652
  KnownHealthcareEntityCategory["ConditionQualifier"] = "CONDITION_QUALIFIER";
4653
+ /** MedicationClass */
4412
4654
  KnownHealthcareEntityCategory["MedicationClass"] = "MEDICATION_CLASS";
4655
+ /** MedicationName */
4413
4656
  KnownHealthcareEntityCategory["MedicationName"] = "MEDICATION_NAME";
4657
+ /** Dosage */
4414
4658
  KnownHealthcareEntityCategory["Dosage"] = "DOSAGE";
4659
+ /** MedicationForm */
4415
4660
  KnownHealthcareEntityCategory["MedicationForm"] = "MEDICATION_FORM";
4661
+ /** MedicationRoute */
4416
4662
  KnownHealthcareEntityCategory["MedicationRoute"] = "MEDICATION_ROUTE";
4663
+ /** FamilyRelation */
4417
4664
  KnownHealthcareEntityCategory["FamilyRelation"] = "FAMILY_RELATION";
4665
+ /** TreatmentName */
4418
4666
  KnownHealthcareEntityCategory["TreatmentName"] = "TREATMENT_NAME";
4419
4667
  })(KnownHealthcareEntityCategory || (KnownHealthcareEntityCategory = {}));
4420
4668
  /** Known values of {@link RelationType} that the service accepts. */
4421
4669
  var KnownRelationType;
4422
4670
  (function (KnownRelationType) {
4671
+ /** Abbreviation */
4423
4672
  KnownRelationType["Abbreviation"] = "Abbreviation";
4673
+ /** DirectionOfBodyStructure */
4424
4674
  KnownRelationType["DirectionOfBodyStructure"] = "DirectionOfBodyStructure";
4675
+ /** DirectionOfCondition */
4425
4676
  KnownRelationType["DirectionOfCondition"] = "DirectionOfCondition";
4677
+ /** DirectionOfExamination */
4426
4678
  KnownRelationType["DirectionOfExamination"] = "DirectionOfExamination";
4679
+ /** DirectionOfTreatment */
4427
4680
  KnownRelationType["DirectionOfTreatment"] = "DirectionOfTreatment";
4681
+ /** DosageOfMedication */
4428
4682
  KnownRelationType["DosageOfMedication"] = "DosageOfMedication";
4683
+ /** FormOfMedication */
4429
4684
  KnownRelationType["FormOfMedication"] = "FormOfMedication";
4685
+ /** FrequencyOfMedication */
4430
4686
  KnownRelationType["FrequencyOfMedication"] = "FrequencyOfMedication";
4687
+ /** FrequencyOfTreatment */
4431
4688
  KnownRelationType["FrequencyOfTreatment"] = "FrequencyOfTreatment";
4689
+ /** QualifierOfCondition */
4432
4690
  KnownRelationType["QualifierOfCondition"] = "QualifierOfCondition";
4691
+ /** RelationOfExamination */
4433
4692
  KnownRelationType["RelationOfExamination"] = "RelationOfExamination";
4693
+ /** RouteOfMedication */
4434
4694
  KnownRelationType["RouteOfMedication"] = "RouteOfMedication";
4695
+ /** TimeOfCondition */
4435
4696
  KnownRelationType["TimeOfCondition"] = "TimeOfCondition";
4697
+ /** TimeOfEvent */
4436
4698
  KnownRelationType["TimeOfEvent"] = "TimeOfEvent";
4699
+ /** TimeOfExamination */
4437
4700
  KnownRelationType["TimeOfExamination"] = "TimeOfExamination";
4701
+ /** TimeOfMedication */
4438
4702
  KnownRelationType["TimeOfMedication"] = "TimeOfMedication";
4703
+ /** TimeOfTreatment */
4439
4704
  KnownRelationType["TimeOfTreatment"] = "TimeOfTreatment";
4705
+ /** UnitOfCondition */
4440
4706
  KnownRelationType["UnitOfCondition"] = "UnitOfCondition";
4707
+ /** UnitOfExamination */
4441
4708
  KnownRelationType["UnitOfExamination"] = "UnitOfExamination";
4709
+ /** ValueOfCondition */
4442
4710
  KnownRelationType["ValueOfCondition"] = "ValueOfCondition";
4711
+ /** ValueOfExamination */
4443
4712
  KnownRelationType["ValueOfExamination"] = "ValueOfExamination";
4444
4713
  })(KnownRelationType || (KnownRelationType = {}));
4445
4714
  /** Known values of {@link ExtractiveSummarizationOrderingCriteria} that the service accepts. */