Validation of FHIR data

There are two approaches to validation in the SDK:

  • A validation based on System.ComponentModel.DataAnnotations, that runs the most important validation checks on the POCO FHIR datamodel in memory. This is useful to do validation of the core FHIR resources and datatypes when working with POCO data.

  • A profile validator, which can validate FHIR data against profiles . These profiles contain the full gamut of FHIR validation rules, and are used to validate the data in the FHIR resources.