Stream: IG creation
Topic: Idempotence on operations in IG
Jens Villadsen (Sep 25 2019 at 13:08):
Is it possible to have the optional idempotence variable from the operationdefinition resource present when standing in a jekyll context? I would like to be able to autogenerate the This is an idempotent operation
on my operations.
Grahame Grieve (Sep 25 2019 at 19:28):
hmm. I wonder where. we don't list the operation definitions in the data file do we?
Jens Villadsen (Sep 25 2019 at 20:22):
nop
Jens Villadsen (Sep 25 2019 at 20:22):
(if you mean structuredefinitions.json)
Grahame Grieve (Sep 25 2019 at 20:25):
so we should add an operationdefinitions.json?
Jens Villadsen (Sep 25 2019 at 20:25):
if possible, yes
Jens Villadsen (Sep 25 2019 at 20:26):
Is the This is an idempotent operation
currently manually maintained?
Grahame Grieve (Sep 25 2019 at 20:31):
in the main build... it's generated. But I never generated a fragment like that in the publisher
Jens Villadsen (Sep 25 2019 at 20:32):
main build?
Grahame Grieve (Sep 25 2019 at 20:33):
for FHIR itself. it's generated there
Jens Villadsen (Sep 25 2019 at 20:35):
k - well for the rest of us, we sort of need some state to determine whether that piece of information should be present or not
Grahame Grieve (Sep 25 2019 at 20:41):
ok. so in the next release there will be a fragment with the name OperationDefinition-[id]-idempotence.xhtml which will contain either
<p>This operation may or does change the state of resources on the server (not idempotent</p>
or
<p>This operation does not change the state of resources on the server (idempotent)</p>";
Last updated: Apr 12 2022 at 19:14 UTC