Skip to content
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

Fixed codes don't account for parent elements w/ pattern[x] #84

Closed
cmoesel opened this issue Jan 10, 2020 · 0 comments · Fixed by #219
Closed

Fixed codes don't account for parent elements w/ pattern[x] #84

cmoesel opened this issue Jan 10, 2020 · 0 comments · Fixed by #219
Assignees
Labels
added to backlog Added to the team's Jira backlog bug Something isn't working released Available in an official SUSHI release

Comments

@cmoesel
Copy link
Member

cmoesel commented Jan 10, 2020

Currently, when the user tries to fix a value, we check the Structure Definition to see if that value has already been set on the element by a pattern or fixed field. However, the pattern field can be used to specify which values children of the element must have. We do not account for this. For example, if Patient.maritalStatus has a field like:

"patternCodeableConcept": {
  "coding": [
    { "code": "foo" }
  ]
}

We currently still allow the user to re-fix the value of Patient.maritalStatus.coding[0].code. This behavior is incorrect, and should be fixed to not allow this value to be fixed to something other than "foo"

@cmoesel cmoesel added added to backlog Added to the team's Jira backlog bug Something isn't working labels Jan 17, 2020
@cmoesel cmoesel added released and removed released labels Jan 27, 2020
@ngfreiter ngfreiter self-assigned this Feb 13, 2020
@cmoesel cmoesel added the released Available in an official SUSHI release label Feb 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
added to backlog Added to the team's Jira backlog bug Something isn't working released Available in an official SUSHI release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants