FHIR Chat · Quick question on correct way to use extension-bodysite · implementers

Stream: implementers

Topic: Quick question on correct way to use extension-bodysite


view this post on Zulip Nath (Nov 09 2020 at 20:29):

in conditions we have extension bodysite to store bodystructure references.
https://www.hl7.org/fhir/condition-definitions.html#Condition.bodySite

condition {
extension : [{
url: <>
valueReference: <body structure ref>
}
]
}
should this be like above or should this be like below
condition {
bodysite: [
extension : [ {
url: <>
valueReference: <body structure ref>
}
]
]
}
which one is correct way to use this extension ?. I searched but unfortunately could not find an example. Could you please kindly clarify?.
thanks

view this post on Zulip Lloyd McKenzie (Nov 09 2020 at 20:44):

It depends how your body structure extension is defined - does it specify a context of Condition or of Condition.bodySite? (Regardless, you should submit a change request for us to define a 'standard' extension, as there will be lots of systems that will need it.)

view this post on Zulip Eric Haas (Nov 09 2020 at 20:57):

we already have: http://build.fhir.org/extension-bodysite.html?

view this post on Zulip Lloyd McKenzie (Nov 09 2020 at 21:08):

So we do. That one's defined super-generically though - it can appear anywhere (which doesn't really help with standardization...)

view this post on Zulip Lloyd McKenzie (Nov 09 2020 at 21:08):

Is there a reason it wasn't defined with specific contexts?

view this post on Zulip Nath (Nov 09 2020 at 21:57):

thanks @Lloyd McKenzie @Eric Haas yes, I am referring to extension-bodysite as well. I am not sure the correct usage of this. would this extension appear inside condition.bodysite or at root level of condition ?. that's the confusion. Looking for an example json with this extension.
@Lloyd McKenzie to answer your question, it's used in the context of condition to refer bodystructure resource.


Last updated: Apr 12 2022 at 19:14 UTC