@asymmetrik/fhir-sanitize-param
v1.1.6
Published
Sanitization tool for FHIR parameters
Downloads
31
Keywords
Readme
FHIR-Sanitize-Param
Utility for standard rest API's to sanitize arguments on incoming requests.
Install
yarn add @asymmetrik/fhir-sanitize-param
Usage
This package exports a number of functions meant for sanitizing different data types.
The functions available from this package are:
sanitizeBoolean, sanitizeDate, sanitizeNumber, sanitizeQuantity, sanitizeString, sanitizeToken
See fhir-sanitize-param tests for more usage examples.