Stream: social
Topic: Custom FHIR server
Manjunath Davanam (Aug 07 2021 at 16:48):
Hi Everyone - I'm new to FHIR, I'm just curious to know about is it possible to create my own FHIR service Instance by overriding the schema and cardinality values? for example - If the resource "patient" I want to change the cardinality value of the "active" property and run it in my local server with these changes. Is it possible? Could you please suggest me
Lloyd McKenzie (Aug 07 2021 at 17:48):
You can tighten the rules - so, for example, you can make optional elements mandatory. In limited cases, it's ok to make optional elements prohibited, though in general that's bad practice. (If you can ignore an element, it's better to let the instance in and throw certain elements away than it is to reject the instance and force communication partners to customize their interfaces to strip things away.)
Have you read the section profiling? That'll provide more detail about what you can and can't do.
Also, implementation questions is best in the #implementers stream. And be sure to change the topic name to something specific to your question. Welcome to the community! :smile:
Last updated: Apr 12 2022 at 19:14 UTC