FHIR Chat · Can I add extension to operation? · terminology

Stream: terminology

Topic: Can I add extension to operation?


view this post on Zulip Yunwei Wang (Oct 03 2016 at 15:25):

I need to add one parameter for CDA document ID to $validate-code operation input parameter. I think I can do that by adding an extension to the OperationDefinition. Is that correct?

view this post on Zulip Lloyd McKenzie (Oct 03 2016 at 17:55):

@Yunwei Wang You're defining a new OperationDefinition with a "base" of official OperationDefinition. So you just add the extra parameter in your new operation definition. No need for extensions.

view this post on Zulip Grahame Grieve (Oct 03 2016 at 19:43):

right. no need for extensions. but.... why do you need to do that?

view this post on Zulip Yunwei Wang (Oct 03 2016 at 19:59):

The client will send a list of Coding from one CDA document for validation. When we send back results, the client need to know which document the result applies to. So we need to include CDA id in both inbound and outbound parameters.

view this post on Zulip Grahame Grieve (Oct 03 2016 at 20:00):

because the client doesn't link request and response? that's not usually how HTTP works?

view this post on Zulip Yunwei Wang (Oct 03 2016 at 20:01):

So I need to create an OperationDefinition resource and add reference of that resource to Server's metadata. Is that correct?

view this post on Zulip Grahame Grieve (Oct 03 2016 at 20:05):

in short hand:
OperationDefinition
url = myurl
base = http://hl7.org/fhir/OperationDefinition/ValueSet-validate-code
parameter
details of my parameter

view this post on Zulip Grahame Grieve (Oct 03 2016 at 20:06):

so that means that 'this is the same operation, with an extra parameter'


Last updated: Apr 12 2022 at 19:14 UTC