-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SDC library, it does not set the answer to the definition field if the field type is choice type. #674
Comments
@santosh-pingle Can you print the error you are getting here? |
@ekigamba Below fix is added by considering expression value of extension which is declared in questionnaire json. Issue 2 https://github.com/google/android-fhir/pull/675/files#diff-4d2985aba5e8203b97cc5dc2eac7dbbd0c7832be34a27036d1ecfb8e4a3a3e50R451 |
Could you please give me more insights on " I think maybe you could update the title to |
@santosh-pingle This seems to be an edge-case that we were not aware of. Is this the standard for properties of |
@ekigamba User input value for temperature is required to be updated as Quantity.value, which is Observation.quantityValue.value as per specification and Observation.value.value as per |
@santosh-pingle For the other errors above, I see that this assumes multiple resource generation for definition-based extraction was implemented. I am not sure of the current state but we had an issue tracking this here #504 |
Sorry, I wasn't really sure so I wanted to research a bit before commenting.
because you'll face the same issue for other choice type fields (like refer http://www.hl7.org/fhir/formats.html#choice In hapi the
|
Sure, I have updated title with choice type. |
Yes, FHIR model data types need to be considered in definition based extraction while fixing this issue with generic approach. |
Working on it. |
I will try to create PR by eod today to unblock #625 |
Describe the bug
Definition url is "definition": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.value.value",
Observation.value is abstract Type, it is declared as value property in Observation resource class.
To update the answer to the definition field(Observation.value.value), it is required to create instances of fields present in the definition url.
Component
SDC library
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Would you like to work on the issue?
Please state if this issue should be assigned to you or who you think could help to solve this issue.
The text was updated successfully, but these errors were encountered: