Validation approaches

18 views
Skip to first unread message

Divya Chiniwal

unread,
Feb 18, 2021, 1:33:59 AM2/18/21
to HAPI FHIR
Hi,

I have a requirement to do the resource validation before persisting it into the database

e.g: For an Appointment resource, if the start and end times are not provided then look for Slot reference in it and vice-versa.

To do the similar validations as mentioned above, can you please suggest to me, if it is the best approach to do it in  Validator/Interceptors or resourceProviders.

Kevin Mayfield

unread,
Feb 18, 2021, 2:14:16 AM2/18/21
to Divya Chiniwal, HAPI FHIR

We have separated out validation/testing into separate servers.


Our external service calls a FHIR Validation server and then tests business rules.

If both these pass then the resource/message is forwarded to the EPR / HAPI server.

--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/72d20eba-32d8-4de1-8534-6f65fb4b6445n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages