Skip to content

Another capabilities change#4066

Merged
lmsurpre merged 1 commit intomainfrom
issue-4061
Nov 10, 2022
Merged

Another capabilities change#4066
lmsurpre merged 1 commit intomainfrom
issue-4061

Conversation

@lmsurpre
Copy link
Copy Markdown
Member

@lmsurpre lmsurpre commented Nov 9, 2022

The HL7 validator issues a warning on our current CapabilityStatement because name is intended for computer processing (so they recommend against whitespace but still allow it).

CapabilityStatement.title is the field intended for human consumption and so I think its cleaner to use that instead.

I also removed the no-longer-needed calls to the static string() factory...because thats what I do.

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

.version(string(buildInfo.getBuildVersion()))
.name(string(FHIR_SERVER_NAME))
.version(buildInfo.getBuildVersion())
.title(FHIR_SERVER_NAME)
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

this is the main change

The HL7 validator issues a warning on our current CapabilityStatement
because `name` is intended for computer processing (so the recommend
against whitespace but still allow it).

`title` is the field intended for human consumption and so I think its
cleaner to use that instead.

I also removed the no-longer-needed calls to the static `string()`
factory...because thats what I do.

Signed-off-by: Lee Surprenant <lmsurpre@merative.com>
Copy link
Copy Markdown
Collaborator

@PrasannaHegde1 PrasannaHegde1 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 a05494d into main Nov 10, 2022
@lmsurpre lmsurpre deleted the issue-4061 branch November 10, 2022 14:07
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