Stream: shorthand
Topic: Setting the short on an extension element in a profile
Jean Duteau (Mar 05 2021 at 05:38):
I'm trying to set the short description on an extension element in a profile. I did what I thought would work. Here is what I'm doing:
* error MS
* error.extension contains FollowupAction named followupAction 0..1 MS and ErrorElement named errorElement 1..1 MS
* error.extension[followupAction] ^short = "A code representing what action must occur to resolve this error."
* error.extension[errorElement] ^short = "The specific loop, segment, or element that this error information is about."
But it's not displaying anywhere in the produced guide and when I check the generated JSON, it's not there:
{
"id": "ClaimResponse.error.extension:followupAction",
"path": "ClaimResponse.error.extension",
"sliceName": "followupAction",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-errorFollowupAction"
]
}
],
"mustSupport": true
},
{
"id": "ClaimResponse.error.extension:errorElement",
"path": "ClaimResponse.error.extension",
"sliceName": "errorElement",
"min": 1,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-errorElement"
]
}
],
"mustSupport": true
},
I'm obviously doing something wrong, but I can't see what that would be.
Chris Moesel (Mar 05 2021 at 13:55):
Hi @Jean Duteau -- I've whipped up a simple test case based on your example above, and at least the SUSHI part seems like it is working to me: https://fshschool.org/FSHOnline/#/share/3bfpJQW
Can you check your original SUSHI output to see if maybe it is the IG Publisher that is somehow losing the short?
Jean Duteau (Mar 05 2021 at 16:45):
the problem is this is an "old" guide (i.e from last year) so the SUSHI set up is different. I'll see what I can figure out.
Jean Duteau (Mar 05 2021 at 16:48):
hmm, i'm running sushi 1.1.0 - maybe that is the problem? updates are coming....
Jean Duteau (Mar 05 2021 at 16:50):
nope, that didn't change anything.
Jean Duteau (Mar 05 2021 at 16:51):
okay, nm, PEBCAC, I have two profiles in this FSH file and I'm changing the other one. wipes egg off face
David Pyke (Mar 05 2021 at 16:52):
PEBCAK.... Problem Exists Between Chair And Keyboard
Jean Duteau (Mar 05 2021 at 16:53):
PEBCAC - Problem Exists Between Chair and Computer.
Probably a British vs American thing. :)
David Hay (Mar 06 2021 at 17:37):
I've done that :(
Last updated: Apr 12 2022 at 19:14 UTC