-
Notifications
You must be signed in to change notification settings - Fork 89
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
Incompatibility with DURATION field for YEAR and MONTHS #1220
Comments
The following Flat json can be saved
Here is what I changed:
Somehow "video/mp4" is not in our list of approved media types. If you look at the web template generated by ehrbase
It just bone_age. Something like /duration_value is used when a element offers a choice of different data types. but that not the case here. For sex_assigned_at_birth this can either be a Text or a code from https://fhir.hl7.org.uk/ValueSet/UKCore-BirthSex.
So we have to add |other here to tell ehrbase that we want a DV_TEXT You find the implementation details for flat in ehrbase in https://ehrbase.readthedocs.io/en/latest/08_flat/index.html |
Thanks for the feedback - the payload itself is working fine with Better CDR but I am hitting the differences here. I really appreciate your input! |
Hello @johnmeredith, |
Before reporting an issue
Environment information
Steps to reproduce
Commit:
"rcpch_growth_chart_calculation/child_data/skeletal_age_rcpch/any_event:0/bone_age/duration_value": "P2Y2M",
Expected behavior
Successful commit.
Actual result
{
"error": "Bad Request",
"message": "Could not consume Parts [rcpch_growth_chart_calculation/child_data/skeletal_age_rcpch/any_event:0/bone_age/duration_value]"
}
Further information
Template is configured with a duration field to capture years and months only. There seems to be an incompatibility here. Successfully commits with Better CDR.
rcpch-growth-chart.v0.opt.zip
Example composition:
The text was updated successfully, but these errors were encountered: