Skip to content

Commit

Permalink
update FHIRMediaType for R4B and update CapabilityStatement to advert…
Browse files Browse the repository at this point in the history
…ise support

1. add 4.3 and 4.3.0 to the support fhirVersion values in FHIRMediaType
2. update the CapabilityStatement to indicate that we support fhirVersion 4.3.0-CIBUILD

Signed-off-by: Lee Surprenant <[email protected]>
  • Loading branch information
lmsurpre committed Apr 8, 2022
1 parent bf47fb4 commit 8c6b0c2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ public class FHIRMediaType extends MediaType {
// https://www.hl7.org/fhir/http.html#version-parameter
public static final String FHIR_VERSION_PARAMETER = "fhirVersion";
public static final Set<String> SUPPORTED_FHIR_VERSIONS =
Collections.unmodifiableSet(new HashSet<>(Arrays.asList("4.0","4.0.1")));
Collections.unmodifiableSet(new HashSet<>(Arrays.asList("4.0","4.0.1","4.3","4.3.0")));
}
2 changes: 1 addition & 1 deletion fhir-server-webapp/src/main/liberty/config/server.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
Example trace specifications:
<logging traceSpecification="*=info:com.ibm.fhir.*=finer" traceFormat="BASIC"/>
<logging traceSpecification="com.ibm.fhir.persistence.jdbc.dao.impl.*=fine:com.ibm.fhir.database.utils.query.*=FINE" traceFormat="BASIC"/>
<logging traceSpecification="com.ibm.fhir.persistence.jdbc.dao.impl.*=fine:com.ibm.fhir.database.utils.query.*=fine" traceFormat="BASIC"/>
<logging traceSpecification="${TRACE_SPEC}" traceFileName="${TRACE_FILE}" traceFormat="${TRACE_FORMAT}" consoleLogLevel="${WLP_LOGGING_CONSOLE_LOGLEVEL}"/>
To send the trace messages to standard out, set TRACE_FILE to "stdout".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ private CapabilityStatement buildCapabilityStatement() throws Exception {
.status(PublicationStatus.ACTIVE)
.date(DateTime.now(ZoneOffset.UTC))
.kind(CapabilityStatementKind.INSTANCE)
.fhirVersion(FHIRVersion.VERSION_4_1_0)
.fhirVersion(FHIRVersion.VERSION_4_3_0_CIBUILD)
.format(format)
.patchFormat(Code.of(FHIRMediaType.APPLICATION_JSON_PATCH),
Code.of(FHIRMediaType.APPLICATION_FHIR_JSON),
Expand Down

0 comments on commit 8c6b0c2

Please sign in to comment.