InferRxNorm
Source:
src/AWS/ComprehendMedical/InferRxNorm.ts
Runtime binding for comprehendmedical:InferRxNorm — detect medication entities in clinical text and link them to concept identifiers in the RxNorm ontology (medication names, dosages, frequencies).
Comprehend Medical has no resource-level IAM, so the binding takes no
arguments and grants comprehendmedical:InferRxNorm on *. Provide the
implementation with Effect.provide(AWS.ComprehendMedical.InferRxNormHttp).
Linking Medications to RxNorm
Section titled “Linking Medications to RxNorm”// initconst inferRxNorm = yield* AWS.ComprehendMedical.InferRxNorm();
// runtimeconst result = yield* inferRxNorm({ Text: "Patient takes 50 mg atenolol daily.",});const concepts = (result.Entities ?? []).flatMap((e) => e.RxNormConcepts ?? []);