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

HL7 converter: default DiagnosticReport.status=Unknown if not specified #101

Merged
merged 11 commits into from
Jun 14, 2021
Merged

Conversation

jgrant22
Copy link
Contributor

the fix for issue #90

String s = context.getParser().encodeResourceToString(diagnosticReport.get(0));
Class<? extends IBaseResource> klass = DiagnosticReport.class;
DiagnosticReport expectStatusUnknown = (DiagnosticReport) context.getParser().parseResource(klass, s);
assertThat(expectStatusUnknown.hasStatusElement());
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's check that is has the correct 'unknown' value as well

Copy link
Collaborator

@LisaWellman LisaWellman left a comment

Choose a reason for hiding this comment

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

LGTM

@LisaWellman LisaWellman merged commit c6d8bde into LinuxForHealth:master Jun 14, 2021
@cragun47
Copy link
Contributor

Looks good

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.

3 participants