diff --git a/fhir-server/src/main/java/com/ibm/fhir/server/resources/Capabilities.java b/fhir-server/src/main/java/com/ibm/fhir/server/resources/Capabilities.java index 68781569b66..d33f4d9d318 100644 --- a/fhir-server/src/main/java/com/ibm/fhir/server/resources/Capabilities.java +++ b/fhir-server/src/main/java/com/ibm/fhir/server/resources/Capabilities.java @@ -85,6 +85,7 @@ import com.ibm.fhir.model.type.code.IssueType; import com.ibm.fhir.model.type.code.PublicationStatus; import com.ibm.fhir.model.type.code.ResourceType; +import com.ibm.fhir.model.type.code.ResourceVersionPolicy; import com.ibm.fhir.model.type.code.RestfulCapabilityMode; import com.ibm.fhir.model.type.code.SystemRestfulInteraction; import com.ibm.fhir.model.type.code.TypeRestfulInteraction; @@ -401,6 +402,7 @@ private CapabilityStatement buildCapabilityStatement() throws Exception { .profile(Canonical.of("http://hl7.org/fhir/profiles/" + resourceTypeName)) .interaction(interactions) .operation(ops) + .versioning(ResourceVersionPolicy.VERSIONED) .conditionalCreate(com.ibm.fhir.model.type.Boolean.TRUE) .conditionalUpdate(com.ibm.fhir.model.type.Boolean.TRUE) .updateCreate(isUpdateCreate)