Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

comprehendmedical_infer_rx_norm

InferRxNorm detects medications as entities listed in a patient record and links to the normalized concept identifiers in the RxNorm database from the National Library of Medicine


Description

InferRxNorm detects medications as entities listed in a patient record and links to the normalized concept identifiers in the RxNorm database from the National Library of Medicine. Amazon Comprehend Medical only detects medical entities in English language texts.

Usage

comprehendmedical_infer_rx_norm(Text)

Arguments

Text

[required] The input text used for analysis. The input for InferRxNorm is a string from 1 to 10000 characters.

Value

A list with the following syntax:

list(
  Entities = list(
    list(
      Id = 123,
      Text = "string",
      Category = "MEDICATION",
      Type = "BRAND_NAME"|"GENERIC_NAME",
      Score = 123.0,
      BeginOffset = 123,
      EndOffset = 123,
      Attributes = list(
        list(
          Type = "DOSAGE"|"DURATION"|"FORM"|"FREQUENCY"|"RATE"|"ROUTE_OR_MODE"|"STRENGTH",
          Score = 123.0,
          RelationshipScore = 123.0,
          Id = 123,
          BeginOffset = 123,
          EndOffset = 123,
          Text = "string",
          Traits = list(
            list(
              Name = "NEGATION",
              Score = 123.0
            )
          )
        )
      ),
      Traits = list(
        list(
          Name = "NEGATION",
          Score = 123.0
        )
      ),
      RxNormConcepts = list(
        list(
          Description = "string",
          Code = "string",
          Score = 123.0
        )
      )
    )
  ),
  PaginationToken = "string",
  ModelVersion = "string"
)

Request syntax

svc$infer_rx_norm(
  Text = "string"
)

paws.machine.learning

Amazon Web Services Machine Learning Services

v0.1.11
Apache License (>= 2.0)
Authors
David Kretch [aut, cre], Adam Banker [aut], Amazon.com, Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.