FHIR Chat · Resource to specific profile · implementers

Stream: implementers

Topic: Resource to specific profile


view this post on Zulip rehan fayyaz (Apr 23 2020 at 21:50):

@here how can I create resource let say patient to use specific profile( my custom profile)

view this post on Zulip Richard Townley-O'Neill (Apr 24 2020 at 07:30):

I'm not sure what you are asking.

A resource just does or does not conform to a given profile. You don;t need to do anything extra.
A system can check instances of, say Patient, to see whether they conform to a specific profile, say MyPatient and respond accordingly, say by accepting or rejecting a CRUD Post.
An instance can assert which profiles it conforms to using meta.profile. But that assertion is just an assertion. An instance can be tested against and conform to a profile without claiming conformance to it.
One way to test whether your instance does conform to your profile is to use the FHIR validator, other options are described here https://confluence.hl7.org/display/FHIR/Public+FHIR+Validation+Services


Last updated: Apr 12 2022 at 19:14 UTC