File Explorer

/proc/self/root/var/runtime/node_modules/@aws-sdk/client-comprehendmedical/dist-cjs

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

index.js26.1 KB · 719 lines
'use strict'; var client$1 = require('@aws-sdk/core/client');var core = require('@smithy/core');var client = require('@smithy/core/client');var config = require('@smithy/core/config');var endpoints = require('@smithy/core/endpoints');var protocols = require('@smithy/core/protocols');var retry = require('@smithy/core/retry');var schema = require('@smithy/core/schema');var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');var runtimeConfig = require('./runtimeConfig');var schemas_0 = require('./schemas/schemas_0');var errors = require('./models/errors');var ComprehendMedicalServiceException = require('./models/ComprehendMedicalServiceException'); const resolveClientEndpointParameters = (options) => {    return Object.assign(options, {        useDualstackEndpoint: options.useDualstackEndpoint ?? false,        useFipsEndpoint: options.useFipsEndpoint ?? false,        defaultSigningName: "comprehendmedical",    });};const commonParams = {    UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },    Endpoint: { type: "builtInParams", name: "endpoint" },    Region: { type: "builtInParams", name: "region" },    UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },}; const getHttpAuthExtensionConfiguration = (runtimeConfig) => {    const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;    let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;    let _credentials = runtimeConfig.credentials;    return {        setHttpAuthScheme(httpAuthScheme) {            const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);            if (index === -1) {                _httpAuthSchemes.push(httpAuthScheme);            }            else {                _httpAuthSchemes.splice(index, 1, httpAuthScheme);            }        },        httpAuthSchemes() {            return _httpAuthSchemes;        },        setHttpAuthSchemeProvider(httpAuthSchemeProvider) {            _httpAuthSchemeProvider = httpAuthSchemeProvider;        },        httpAuthSchemeProvider() {            return _httpAuthSchemeProvider;        },        setCredentials(credentials) {            _credentials = credentials;        },        credentials() {            return _credentials;        },    };};const resolveHttpAuthRuntimeConfig = (config) => {    return {        httpAuthSchemes: config.httpAuthSchemes(),        httpAuthSchemeProvider: config.httpAuthSchemeProvider(),        credentials: config.credentials(),    };}; const resolveRuntimeExtensions = (runtimeConfig, extensions) => {    const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));    extensions.forEach((extension) => extension.configure(extensionConfiguration));    return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));}; class ComprehendMedicalClient extends client.Client {    config;    constructor(...[configuration]) {        const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});        super(_config_0);        this.initConfig = _config_0;        const _config_1 = resolveClientEndpointParameters(_config_0);        const _config_2 = client$1.resolveUserAgentConfig(_config_1);        const _config_3 = retry.resolveRetryConfig(_config_2);        const _config_4 = config.resolveRegionConfig(_config_3);        const _config_5 = client$1.resolveHostHeaderConfig(_config_4);        const _config_6 = endpoints.resolveEndpointConfig(_config_5);        const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);        const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);        this.config = _config_8;        this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));        this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));        this.middlewareStack.use(retry.getRetryPlugin(this.config));        this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));        this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));        this.middlewareStack.use(client$1.getLoggerPlugin(this.config));        this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));        this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {            httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultComprehendMedicalHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(core.getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} class DescribeEntitiesDetectionV2JobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ComprehendMedical_20181030", "DescribeEntitiesDetectionV2Job", {})    .n("ComprehendMedicalClient", "DescribeEntitiesDetectionV2JobCommand")    .sc(schemas_0.DescribeEntitiesDetectionV2Job$)    .build() {} class DescribeICD10CMInferenceJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ComprehendMedical_20181030", "DescribeICD10CMInferenceJob", {})    .n("ComprehendMedicalClient", "DescribeICD10CMInferenceJobCommand")    .sc(schemas_0.DescribeICD10CMInferenceJob$)    .build() {} class DescribePHIDetectionJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ComprehendMedical_20181030", "DescribePHIDetectionJob", {})    .n("ComprehendMedicalClient", "DescribePHIDetectionJobCommand")    .sc(schemas_0.DescribePHIDetectionJob$)    .build() {} class DescribeRxNormInferenceJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ComprehendMedical_20181030", "DescribeRxNormInferenceJob", {})    .n("ComprehendMedicalClient", "DescribeRxNormInferenceJobCommand")    .sc(schemas_0.DescribeRxNormInferenceJob$)    .build() {} class DescribeSNOMEDCTInferenceJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ComprehendMedical_20181030", "DescribeSNOMEDCTInferenceJob", {})    .n("ComprehendMedicalClient", "DescribeSNOMEDCTInferenceJobCommand")    .sc(schemas_0.DescribeSNOMEDCTInferenceJob$)    .build() {} class DetectEntitiesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ComprehendMedical_20181030", "DetectEntities", {})    .n("ComprehendMedicalClient", "DetectEntitiesCommand")    .sc(schemas_0.DetectEntities$)    .build() {} class DetectEntitiesV2Command extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ComprehendMedical_20181030", "DetectEntitiesV2", {})    .n("ComprehendMedicalClient", "DetectEntitiesV2Command")    .sc(schemas_0.DetectEntitiesV2$)    .build() {} class DetectPHICommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ComprehendMedical_20181030", "DetectPHI", {})    .n("ComprehendMedicalClient", "DetectPHICommand")    .sc(schemas_0.DetectPHI$)    .build() {} class InferICD10CMCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ComprehendMedical_20181030", "InferICD10CM", {})    .n("ComprehendMedicalClient", "InferICD10CMCommand")    .sc(schemas_0.InferICD10CM$)    .build() {} class InferRxNormCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ComprehendMedical_20181030", "InferRxNorm", {})    .n("ComprehendMedicalClient", "InferRxNormCommand")    .sc(schemas_0.InferRxNorm$)    .build() {} class InferSNOMEDCTCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ComprehendMedical_20181030", "InferSNOMEDCT", {})    .n("ComprehendMedicalClient", "InferSNOMEDCTCommand")    .sc(schemas_0.InferSNOMEDCT$)    .build() {} class ListEntitiesDetectionV2JobsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ComprehendMedical_20181030", "ListEntitiesDetectionV2Jobs", {})    .n("ComprehendMedicalClient", "ListEntitiesDetectionV2JobsCommand")    .sc(schemas_0.ListEntitiesDetectionV2Jobs$)    .build() {} class ListICD10CMInferenceJobsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ComprehendMedical_20181030", "ListICD10CMInferenceJobs", {})    .n("ComprehendMedicalClient", "ListICD10CMInferenceJobsCommand")    .sc(schemas_0.ListICD10CMInferenceJobs$)    .build() {} class ListPHIDetectionJobsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ComprehendMedical_20181030", "ListPHIDetectionJobs", {})    .n("ComprehendMedicalClient", "ListPHIDetectionJobsCommand")    .sc(schemas_0.ListPHIDetectionJobs$)    .build() {} class ListRxNormInferenceJobsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ComprehendMedical_20181030", "ListRxNormInferenceJobs", {})    .n("ComprehendMedicalClient", "ListRxNormInferenceJobsCommand")    .sc(schemas_0.ListRxNormInferenceJobs$)    .build() {} class ListSNOMEDCTInferenceJobsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ComprehendMedical_20181030", "ListSNOMEDCTInferenceJobs", {})    .n("ComprehendMedicalClient", "ListSNOMEDCTInferenceJobsCommand")    .sc(schemas_0.ListSNOMEDCTInferenceJobs$)    .build() {} class StartEntitiesDetectionV2JobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ComprehendMedical_20181030", "StartEntitiesDetectionV2Job", {})    .n("ComprehendMedicalClient", "StartEntitiesDetectionV2JobCommand")    .sc(schemas_0.StartEntitiesDetectionV2Job$)    .build() {} class StartICD10CMInferenceJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ComprehendMedical_20181030", "StartICD10CMInferenceJob", {})    .n("ComprehendMedicalClient", "StartICD10CMInferenceJobCommand")    .sc(schemas_0.StartICD10CMInferenceJob$)    .build() {} class StartPHIDetectionJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ComprehendMedical_20181030", "StartPHIDetectionJob", {})    .n("ComprehendMedicalClient", "StartPHIDetectionJobCommand")    .sc(schemas_0.StartPHIDetectionJob$)    .build() {} class StartRxNormInferenceJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ComprehendMedical_20181030", "StartRxNormInferenceJob", {})    .n("ComprehendMedicalClient", "StartRxNormInferenceJobCommand")    .sc(schemas_0.StartRxNormInferenceJob$)    .build() {} class StartSNOMEDCTInferenceJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ComprehendMedical_20181030", "StartSNOMEDCTInferenceJob", {})    .n("ComprehendMedicalClient", "StartSNOMEDCTInferenceJobCommand")    .sc(schemas_0.StartSNOMEDCTInferenceJob$)    .build() {} class StopEntitiesDetectionV2JobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ComprehendMedical_20181030", "StopEntitiesDetectionV2Job", {})    .n("ComprehendMedicalClient", "StopEntitiesDetectionV2JobCommand")    .sc(schemas_0.StopEntitiesDetectionV2Job$)    .build() {} class StopICD10CMInferenceJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ComprehendMedical_20181030", "StopICD10CMInferenceJob", {})    .n("ComprehendMedicalClient", "StopICD10CMInferenceJobCommand")    .sc(schemas_0.StopICD10CMInferenceJob$)    .build() {} class StopPHIDetectionJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ComprehendMedical_20181030", "StopPHIDetectionJob", {})    .n("ComprehendMedicalClient", "StopPHIDetectionJobCommand")    .sc(schemas_0.StopPHIDetectionJob$)    .build() {} class StopRxNormInferenceJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ComprehendMedical_20181030", "StopRxNormInferenceJob", {})    .n("ComprehendMedicalClient", "StopRxNormInferenceJobCommand")    .sc(schemas_0.StopRxNormInferenceJob$)    .build() {} class StopSNOMEDCTInferenceJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ComprehendMedical_20181030", "StopSNOMEDCTInferenceJob", {})    .n("ComprehendMedicalClient", "StopSNOMEDCTInferenceJobCommand")    .sc(schemas_0.StopSNOMEDCTInferenceJob$)    .build() {} const commands = {    DescribeEntitiesDetectionV2JobCommand,    DescribeICD10CMInferenceJobCommand,    DescribePHIDetectionJobCommand,    DescribeRxNormInferenceJobCommand,    DescribeSNOMEDCTInferenceJobCommand,    DetectEntitiesCommand,    DetectEntitiesV2Command,    DetectPHICommand,    InferICD10CMCommand,    InferRxNormCommand,    InferSNOMEDCTCommand,    ListEntitiesDetectionV2JobsCommand,    ListICD10CMInferenceJobsCommand,    ListPHIDetectionJobsCommand,    ListRxNormInferenceJobsCommand,    ListSNOMEDCTInferenceJobsCommand,    StartEntitiesDetectionV2JobCommand,    StartICD10CMInferenceJobCommand,    StartPHIDetectionJobCommand,    StartRxNormInferenceJobCommand,    StartSNOMEDCTInferenceJobCommand,    StopEntitiesDetectionV2JobCommand,    StopICD10CMInferenceJobCommand,    StopPHIDetectionJobCommand,    StopRxNormInferenceJobCommand,    StopSNOMEDCTInferenceJobCommand,};class ComprehendMedical extends ComprehendMedicalClient {}client.createAggregatedClient(commands, ComprehendMedical); const EntityType = {    ANATOMY: "ANATOMY",    BEHAVIORAL_ENVIRONMENTAL_SOCIAL: "BEHAVIORAL_ENVIRONMENTAL_SOCIAL",    MEDICAL_CONDITION: "MEDICAL_CONDITION",    MEDICATION: "MEDICATION",    PROTECTED_HEALTH_INFORMATION: "PROTECTED_HEALTH_INFORMATION",    TEST_TREATMENT_PROCEDURE: "TEST_TREATMENT_PROCEDURE",    TIME_EXPRESSION: "TIME_EXPRESSION",};const RelationshipType = {    ACUITY: "ACUITY",    ADMINISTERED_VIA: "ADMINISTERED_VIA",    AMOUNT: "AMOUNT",    DIRECTION: "DIRECTION",    DOSAGE: "DOSAGE",    DURATION: "DURATION",    EVERY: "EVERY",    FOR: "FOR",    FORM: "FORM",    FREQUENCY: "FREQUENCY",    NEGATIVE: "NEGATIVE",    OVERLAP: "OVERLAP",    QUALITY: "QUALITY",    RATE: "RATE",    ROUTE_OR_MODE: "ROUTE_OR_MODE",    STRENGTH: "STRENGTH",    SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE",    TEST_UNIT: "TEST_UNIT",    TEST_UNITS: "TEST_UNITS",    TEST_VALUE: "TEST_VALUE",    USAGE: "USAGE",    WITH_DOSAGE: "WITH_DOSAGE",};const AttributeName = {    DIAGNOSIS: "DIAGNOSIS",    FUTURE: "FUTURE",    HYPOTHETICAL: "HYPOTHETICAL",    LOW_CONFIDENCE: "LOW_CONFIDENCE",    NEGATION: "NEGATION",    PAST_HISTORY: "PAST_HISTORY",    PERTAINS_TO_FAMILY: "PERTAINS_TO_FAMILY",    SIGN: "SIGN",    SYMPTOM: "SYMPTOM",};const EntitySubType = {    ACUITY: "ACUITY",    ADDRESS: "ADDRESS",    AGE: "AGE",    ALCOHOL_CONSUMPTION: "ALCOHOL_CONSUMPTION",    ALLERGIES: "ALLERGIES",    AMOUNT: "AMOUNT",    BRAND_NAME: "BRAND_NAME",    CONTACT_POINT: "CONTACT_POINT",    DATE: "DATE",    DIRECTION: "DIRECTION",    DOSAGE: "DOSAGE",    DURATION: "DURATION",    DX_NAME: "DX_NAME",    EMAIL: "EMAIL",    FORM: "FORM",    FREQUENCY: "FREQUENCY",    GENDER: "GENDER",    GENERIC_NAME: "GENERIC_NAME",    ID: "ID",    IDENTIFIER: "IDENTIFIER",    NAME: "NAME",    PHONE_OR_FAX: "PHONE_OR_FAX",    PROCEDURE_NAME: "PROCEDURE_NAME",    PROFESSION: "PROFESSION",    QUALITY: "QUALITY",    QUANTITY: "QUANTITY",    RACE_ETHNICITY: "RACE_ETHNICITY",    RATE: "RATE",    REC_DRUG_USE: "REC_DRUG_USE",    ROUTE_OR_MODE: "ROUTE_OR_MODE",    STRENGTH: "STRENGTH",    SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE",    TEST_NAME: "TEST_NAME",    TEST_UNIT: "TEST_UNIT",    TEST_UNITS: "TEST_UNITS",    TEST_VALUE: "TEST_VALUE",    TIME_EXPRESSION: "TIME_EXPRESSION",    TIME_TO_DX_NAME: "TIME_TO_DX_NAME",    TIME_TO_MEDICATION_NAME: "TIME_TO_MEDICATION_NAME",    TIME_TO_PROCEDURE_NAME: "TIME_TO_PROCEDURE_NAME",    TIME_TO_TEST_NAME: "TIME_TO_TEST_NAME",    TIME_TO_TREATMENT_NAME: "TIME_TO_TREATMENT_NAME",    TOBACCO_USE: "TOBACCO_USE",    TREATMENT_NAME: "TREATMENT_NAME",    URL: "URL",};const JobStatus = {    COMPLETED: "COMPLETED",    FAILED: "FAILED",    IN_PROGRESS: "IN_PROGRESS",    PARTIAL_SUCCESS: "PARTIAL_SUCCESS",    STOPPED: "STOPPED",    STOP_REQUESTED: "STOP_REQUESTED",    SUBMITTED: "SUBMITTED",};const LanguageCode = {    EN: "en",};const ICD10CMEntityType = {    DX_NAME: "DX_NAME",    TIME_EXPRESSION: "TIME_EXPRESSION",};const ICD10CMRelationshipType = {    OVERLAP: "OVERLAP",    QUALITY: "QUALITY",    SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE",};const ICD10CMTraitName = {    DIAGNOSIS: "DIAGNOSIS",    HYPOTHETICAL: "HYPOTHETICAL",    LOW_CONFIDENCE: "LOW_CONFIDENCE",    NEGATION: "NEGATION",    PERTAINS_TO_FAMILY: "PERTAINS_TO_FAMILY",    SIGN: "SIGN",    SYMPTOM: "SYMPTOM",};const ICD10CMAttributeType = {    ACUITY: "ACUITY",    DIRECTION: "DIRECTION",    QUALITY: "QUALITY",    QUANTITY: "QUANTITY",    SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE",    TIME_EXPRESSION: "TIME_EXPRESSION",    TIME_TO_DX_NAME: "TIME_TO_DX_NAME",};const ICD10CMEntityCategory = {    MEDICAL_CONDITION: "MEDICAL_CONDITION",};const RxNormTraitName = {    NEGATION: "NEGATION",    PAST_HISTORY: "PAST_HISTORY",};const RxNormAttributeType = {    DOSAGE: "DOSAGE",    DURATION: "DURATION",    FORM: "FORM",    FREQUENCY: "FREQUENCY",    RATE: "RATE",    ROUTE_OR_MODE: "ROUTE_OR_MODE",    STRENGTH: "STRENGTH",};const RxNormEntityCategory = {    MEDICATION: "MEDICATION",};const RxNormEntityType = {    BRAND_NAME: "BRAND_NAME",    GENERIC_NAME: "GENERIC_NAME",};const SNOMEDCTEntityCategory = {    ANATOMY: "ANATOMY",    MEDICAL_CONDITION: "MEDICAL_CONDITION",    TEST_TREATMENT_PROCEDURE: "TEST_TREATMENT_PROCEDURE",};const SNOMEDCTRelationshipType = {    ACUITY: "ACUITY",    DIRECTION: "DIRECTION",    QUALITY: "QUALITY",    SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE",    TEST_UNIT: "TEST_UNIT",    TEST_UNITS: "TEST_UNITS",    TEST_VALUE: "TEST_VALUE",};const SNOMEDCTTraitName = {    DIAGNOSIS: "DIAGNOSIS",    FUTURE: "FUTURE",    HYPOTHETICAL: "HYPOTHETICAL",    LOW_CONFIDENCE: "LOW_CONFIDENCE",    NEGATION: "NEGATION",    PAST_HISTORY: "PAST_HISTORY",    PERTAINS_TO_FAMILY: "PERTAINS_TO_FAMILY",    SIGN: "SIGN",    SYMPTOM: "SYMPTOM",};const SNOMEDCTAttributeType = {    ACUITY: "ACUITY",    DIRECTION: "DIRECTION",    QUALITY: "QUALITY",    SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE",    TEST_UNIT: "TEST_UNIT",    TEST_VALUE: "TEST_VALUE",};const SNOMEDCTEntityType = {    DX_NAME: "DX_NAME",    PROCEDURE_NAME: "PROCEDURE_NAME",    TEST_NAME: "TEST_NAME",    TREATMENT_NAME: "TREATMENT_NAME",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.ComprehendMedicalServiceException = ComprehendMedicalServiceException.ComprehendMedicalServiceException;exports.AttributeName = AttributeName;exports.ComprehendMedical = ComprehendMedical;exports.ComprehendMedicalClient = ComprehendMedicalClient;exports.DescribeEntitiesDetectionV2JobCommand = DescribeEntitiesDetectionV2JobCommand;exports.DescribeICD10CMInferenceJobCommand = DescribeICD10CMInferenceJobCommand;exports.DescribePHIDetectionJobCommand = DescribePHIDetectionJobCommand;exports.DescribeRxNormInferenceJobCommand = DescribeRxNormInferenceJobCommand;exports.DescribeSNOMEDCTInferenceJobCommand = DescribeSNOMEDCTInferenceJobCommand;exports.DetectEntitiesCommand = DetectEntitiesCommand;exports.DetectEntitiesV2Command = DetectEntitiesV2Command;exports.DetectPHICommand = DetectPHICommand;exports.EntitySubType = EntitySubType;exports.EntityType = EntityType;exports.ICD10CMAttributeType = ICD10CMAttributeType;exports.ICD10CMEntityCategory = ICD10CMEntityCategory;exports.ICD10CMEntityType = ICD10CMEntityType;exports.ICD10CMRelationshipType = ICD10CMRelationshipType;exports.ICD10CMTraitName = ICD10CMTraitName;exports.InferICD10CMCommand = InferICD10CMCommand;exports.InferRxNormCommand = InferRxNormCommand;exports.InferSNOMEDCTCommand = InferSNOMEDCTCommand;exports.JobStatus = JobStatus;exports.LanguageCode = LanguageCode;exports.ListEntitiesDetectionV2JobsCommand = ListEntitiesDetectionV2JobsCommand;exports.ListICD10CMInferenceJobsCommand = ListICD10CMInferenceJobsCommand;exports.ListPHIDetectionJobsCommand = ListPHIDetectionJobsCommand;exports.ListRxNormInferenceJobsCommand = ListRxNormInferenceJobsCommand;exports.ListSNOMEDCTInferenceJobsCommand = ListSNOMEDCTInferenceJobsCommand;exports.RelationshipType = RelationshipType;exports.RxNormAttributeType = RxNormAttributeType;exports.RxNormEntityCategory = RxNormEntityCategory;exports.RxNormEntityType = RxNormEntityType;exports.RxNormTraitName = RxNormTraitName;exports.SNOMEDCTAttributeType = SNOMEDCTAttributeType;exports.SNOMEDCTEntityCategory = SNOMEDCTEntityCategory;exports.SNOMEDCTEntityType = SNOMEDCTEntityType;exports.SNOMEDCTRelationshipType = SNOMEDCTRelationshipType;exports.SNOMEDCTTraitName = SNOMEDCTTraitName;exports.StartEntitiesDetectionV2JobCommand = StartEntitiesDetectionV2JobCommand;exports.StartICD10CMInferenceJobCommand = StartICD10CMInferenceJobCommand;exports.StartPHIDetectionJobCommand = StartPHIDetectionJobCommand;exports.StartRxNormInferenceJobCommand = StartRxNormInferenceJobCommand;exports.StartSNOMEDCTInferenceJobCommand = StartSNOMEDCTInferenceJobCommand;exports.StopEntitiesDetectionV2JobCommand = StopEntitiesDetectionV2JobCommand;exports.StopICD10CMInferenceJobCommand = StopICD10CMInferenceJobCommand;exports.StopPHIDetectionJobCommand = StopPHIDetectionJobCommand;exports.StopRxNormInferenceJobCommand = StopRxNormInferenceJobCommand;exports.StopSNOMEDCTInferenceJobCommand = StopSNOMEDCTInferenceJobCommand;Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&    !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&    Object.defineProperty(exports, '__proto__', {        enumerable: true,        value: schemas_0['__proto__']    }); Object.keys(schemas_0).forEach(function (k) {    if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];});Object.prototype.hasOwnProperty.call(errors, '__proto__') &&    !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&    Object.defineProperty(exports, '__proto__', {        enumerable: true,        value: errors['__proto__']    }); Object.keys(errors).forEach(function (k) {    if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];});