FHIR Chat · Resource with multiple profiles · IPS

Stream: IPS

Topic: Resource with multiple profiles


view this post on Zulip Yunwei Wang (May 18 2021 at 14:28):

Observation has multiple profiles defined in IPS. When processing a received Bundle, how do I know which profile to use for an entry with Observation resource

view this post on Zulip Lloyd McKenzie (May 18 2021 at 16:23):

Why would it matter?

view this post on Zulip Rob Hausam (May 18 2021 at 16:35):

Right. I think that generally shouldn't matter. You can probably know which one(s) to expect depending on which bundle section they are received in. And, of course, for testing you can validate the resource to see if it matches at least one of the expected profiles (in the case of Observation there may be more than one profile which will match, but as long as it matches at least one then that should be fine).

view this post on Zulip Yunwei Wang (May 18 2021 at 17:30):

It matters because as client, I need to know which set of elements I must support. For example, for Observation Result (IPS), Observation.performer is MS. The same element is not MS for Observation Result: radiology (IPS). And the cardinality is different too. One is 0... The other is 1..

view this post on Zulip Rob Hausam (May 18 2021 at 17:44):

For that, the more specific Observation profiles are all based on Observation Result (IPS). So if you validate with the lab, path and radiology and don't get a match, then you can try to validate with the more general profile. Would something like that work?

view this post on Zulip Yunwei Wang (May 18 2021 at 18:53):

@Rob Hausam Both Pathology report and Lab report have the same category code.
http://build.fhir.org/ig/HL7/fhir-ips/branches/connectathon/StructureDefinition-Observation-results-pathology-uv-ips.html
http://build.fhir.org/ig/HL7/fhir-ips/branches/connectathon/StructureDefinition-Observation-results-laboratory-uv-ips.html


Last updated: Apr 12 2022 at 19:14 UTC