rxnorm

package
v0.1.33 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New() *Client

func (*Client) CheckInteractions

func (c *Client) CheckInteractions(rxcuis []string) ([]string, error)

CheckInteractions checks for drug-drug interactions between a list of RxCUIs. Returns a list of warning messages.

func (*Client) SearchRxNorm

func (c *Client) SearchRxNorm(name string) (string, string, error)

SearchRxNorm searches for a medication by name and returns the RxCUI and normalized name. It returns empty strings if not found or if the API fails, behaving gracefully.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL