Stream: committers
Topic: Invariants Across Resources
Igor Sirkovich (May 11 2020 at 00:13):
I'm wondering if FHIR profiles and validator support invariants across different resources, e.g. validating a relationship between Practitioner.elementA value and PractitionerRole.elementB value. I'm also wondering whether it's advisable to use invariants for this purpose or whether these types of constraints need to be validated outside the FHIR profiles & validator (e.g. using a business rules engine).
Grahame Grieve (May 11 2020 at 00:13):
you should look at GraphDefinition
Igor Sirkovich (May 11 2020 at 00:20):
Thank you @Grahame Grieve! I will do. I remember seeing some discussions of using GraphDefinition for validations, but I've never looked at the details.
Last updated: Apr 12 2022 at 19:14 UTC