FHIR / sushi

SUSHI (aka "SUSHI Unshortens Short Hand Inputs") is a reference implementation command-line interpreter/compiler for FHIR Shorthand (FSH).
Apache License 2.0
145 stars 44 forks source link

Use or remove primitive validation functions #1482

Open mint-thompson opened 3 months ago

mint-thompson commented 3 months ago

Transferred from internal JIRA issue originally created 2023-09-19.

Several types defined in fhirtypes/primitiveTypes.ts have validation functions. However, these functions are only used in test cases. They should be used during export validation. If using these functions is, for some reason, not a good idea, then they should be removed instead.