FHIR Validation

75 views
Skip to first unread message

MINI THAMPI

unread,
Jun 20, 2021, 10:55:50 PM6/20/21
to FHIR DOTNET
Hello,

We are using Fhirly classes for parsing the data. If we wanted to validate a resource before parsing can we do it with fhirly? Do we have to install any packages or can we do it with existing?

Thanks & Regards,
Mini

Mirjam Baltus

unread,
Jun 21, 2021, 7:47:43 AM6/21/21
to FHIR DOTNET
Yes, you can do that with the validation methods in the SDK. You will have to add the Hl7.Fhir.Specification.R4 package in addition to the Hl7.Fhir.R4 one you already use (you can substitute R4 for the FHIR version you are using if needed).
See https://github.com/FirelyTeam/LetsBuildNetFall2020/tree/day-3 and the Day3-validating folder for a project that contains example validation code 

Op maandag 21 juni 2021 om 04:55:50 UTC+2 schreef MINI THAMPI:
Reply all
Reply to author
Forward
0 new messages