InferSNOMEDCT
Source:
src/AWS/ComprehendMedical/InferSNOMEDCT.ts
Runtime binding for comprehendmedical:InferSNOMEDCT — detect medical concepts in clinical text and link them to codes in the Systematized Nomenclature of Medicine, Clinical Terms (SNOMED CT) ontology.
Comprehend Medical has no resource-level IAM, so the binding takes no
arguments and grants comprehendmedical:InferSNOMEDCT on *. Provide the
implementation with Effect.provide(AWS.ComprehendMedical.InferSNOMEDCTHttp).
Linking Concepts to SNOMED CT
Section titled “Linking Concepts to SNOMED CT”// initconst inferSNOMEDCT = yield* AWS.ComprehendMedical.InferSNOMEDCT();
// runtimeconst result = yield* inferSNOMEDCT({ Text: "Patient presents with type 2 diabetes.",});const concepts = (result.Entities ?? []).flatMap((e) => e.SNOMEDCTConcepts ?? []);