@bluehalo/fhir-sanitize-param
v1.2.0
Published
Sanitization tool for FHIR parameters
Downloads
52
Keywords
Readme
FHIR-Sanitize-Param
Utility for standard rest API's to sanitize arguments on incoming requests.
Install
yarn add @bluehalo/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.