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

issue #3712 - check all CodeSystem concept designations #3771

Merged
merged 2 commits into from
Jul 13, 2022
Merged

Conversation

lmsurpre
Copy link
Member

  1. Split validateDisplay into two flavors; now
    validateCode(CodeSystem, Coding, ValidationParameters) will use the
    passed CodeSystem to determine case sensitivity (instead of looking it
    up via the registry)

  2. When the Coding.display doesn't match the lookup display, we now look
    for a match within the CodesSystem.concept.designation values before
    calling it invalid.

  3. Added a designation to a couple sample code systems and added
    testValidateDisplay tests for both case-sensitive and case-insensitive
    behavior.

Signed-off-by: Lee Surprenant lmsurpre@merative.com

1. Split `validateDisplay` into two flavors; now
validateCode(CodeSystem, Coding, ValidationParameters) will use the
passed CodeSystem to determine case sensitivity (instead of looking it
up via the registry)

2. When the Coding.display doesn't match the lookup display, we now look
for a match within the CodesSystem.concept.designation values before
calling it invalid.

3. Added a designation to a couple sample code systems and added
testValidateDisplay tests for both case-sensitive and case-insensitive
behavior.

Signed-off-by: Lee Surprenant <lmsurpre@merative.com>
@lmsurpre lmsurpre requested a review from punktilious July 11, 2022 20:25
Signed-off-by: Lee Surprenant <lmsurpre@merative.com>
Copy link
Collaborator

@punktilious punktilious left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lmsurpre lmsurpre merged commit 7a6eb5d into main Jul 13, 2022
@lmsurpre lmsurpre deleted the issue-3712 branch July 13, 2022 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants