Stream: implementers
Topic: Profiling
Chidamber Kumar (Mar 21 2022 at 22:37):
Hello Community
A question: if a request(resource) has multiple profile tags(meta.profile), but couldn't get validated successfully to all the profiles mentioned in meta.profile. What is the expected response for FHIR server , 400 bad request or success(200 or 201)?
Chidamber Kumar (Mar 21 2022 at 22:53):
Here is another question if anyone can answer:
Does a Patient profile to hold only SSN as a valid identifier qualifies for slicing ?
If yes, is it correct to conclude that fixing a value for any element that may occur more than once is called slicing?
Lloyd McKenzie (Mar 21 2022 at 23:13):
It depends. If you can't access some of the profiles, that shouldn't be a problem. If you can access them and the instance isn't valid against them, it's your choice whether to reject the instance as invalid or accept it anyhow. (Be aware that you'd need to strip the invalid profile declarations if you subsequently made the instance available to other systems if you wanted your system to be conformant.)
Chidamber Kumar (Mar 21 2022 at 23:25):
Thanks @Lloyd McKenzie for replying.
Anything on the 2nd part of the question?
Lloyd McKenzie (Mar 22 2022 at 01:42):
If you were to say that the only identifier allowed had to be an SSN, you wouldn't need to slice. But that would also be a 'bad practice' profile. In most cases, you shouldn't prohibit a system from sharing whatever data they have. It's fine to make SSN mandatory and mustSupport, but you shouldn't stop them from sharing other identifiers they have - so that they can easily use the same interface to share data with you as they use to share data with everyone else. Best practice would be to slice Patient.identifier and impose the constraints you wish on the slice(s) for the identifier systems/types that you care about, while leaving the slicing open to allow other information that exists to be shared too - even if you might ignore it.
Chidamber Kumar (Mar 22 2022 at 18:36):
make sense
Thanks @Lloyd McKenzie
Last updated: Apr 12 2022 at 19:14 UTC