You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the Questionnaire contains a Valueset that uses the ordinal extension within an expansion, then the SMART forms renderer is able to display it without issues.
However, if the same extension is used within a compose, the valueset causes this error:
_There was an error fetching options from the terminology server_
This is an example that works (using expansion):
{
"resourceType":"ValueSet",
"id":"Mobility",
"name":"Mobility",
"title":"MobilityScore",
"status":"draft",
"description":"Mobility Score",
"expansion":{
"timestamp":"2023-09-01T11:16:50+10:00",
"contains":[
{
"extension":[
{
"url":"http://hl7.org/fhir/StructureDefinition/ordinalValue",
"valueDecimal":0
}
],
"system":"http://fhir.medirecords.com/CodeSystem/Mobility",
"code":"0",
"display":"Complete Independence and Modified Independence - may use any aid, e.g. walking stick"
}
...
This is is an example that causes the error (using compose):
{
"resourceType":"ValueSet",
"id":"Mobility",
"name":"Mobility",
"title":"MobilityScore",
"status":"draft",
"description":"Mobility Score",
"compose":{
"timestamp":"2023-09-01T11:16:50+10:00",
"include":[
{
"system":"http://fhir.medirecords.com/CodeSystem/Mobility",
"concept": [
{
"extension":[
{
"url":"http://hl7.org/fhir/StructureDefinition/ordinalValue",
"valueDecimal":0
}
],
"code":"0",
"display":"Complete Independence and Modified Independence - may use any aid, e.g. walking stick"
}
]
}
...
The text was updated successfully, but these errors were encountered:
AFAIK, the $expand operation typically only looks at Valueset.expansion as the expansion result. Ideally, the ordinalValue extension should be included in Valueset.expansion, not the other way around (renderer looking in ValueSet.compose.include).
I'm still not sure what's the best workaround for this, perhaps we can do as you suggested at the moment. But I might wait for a bit more updates from Brian before proceeding.
If the Questionnaire contains a Valueset that uses the ordinal extension within an expansion, then the SMART forms renderer is able to display it without issues.
However, if the same extension is used within a compose, the valueset causes this error:
Details:
http://hl7.org/fhir/StructureDefinition/ordinalValue
{
"resourceType":"ValueSet",
"id":"Mobility",
"name":"Mobility",
"title":"MobilityScore",
"status":"draft",
"description":"Mobility Score",
"expansion":{
"timestamp":"2023-09-01T11:16:50+10:00",
"contains":[
{
"extension":[
{
"url":"http://hl7.org/fhir/StructureDefinition/ordinalValue",
"valueDecimal":0
}
],
"system":"http://fhir.medirecords.com/CodeSystem/Mobility",
"code":"0",
"display":"Complete Independence and Modified Independence - may use any aid, e.g. walking stick"
}
...
{
"resourceType":"ValueSet",
"id":"Mobility",
"name":"Mobility",
"title":"MobilityScore",
"status":"draft",
"description":"Mobility Score",
"compose":{
"timestamp":"2023-09-01T11:16:50+10:00",
"include":[
{
"system":"http://fhir.medirecords.com/CodeSystem/Mobility",
"concept": [
{
"extension":[
{
"url":"http://hl7.org/fhir/StructureDefinition/ordinalValue",
"valueDecimal":0
}
],
"code":"0",
"display":"Complete Independence and Modified Independence - may use any aid, e.g. walking stick"
}
]
}
...
The text was updated successfully, but these errors were encountered: