Fix doGetQueryParameterQualifier on Mdm Expansion
@@ -92,8 +92,8 @@ public class ReferenceParam extends BaseParam /*implements IQueryParameterType*/
}
}
- @Override
- String doGetQueryParameterQualifier() {
+
+ private String defaultGetQueryParameterQualifier() {
StringBuilder b = new StringBuilder();
if (isNotBlank(myChain)) {
if (isNotBlank(getResourceType())) {
@@ -108,6 +108,10 @@ public class ReferenceParam extends BaseParam /*implements IQueryParameterType*/
}
return null;
}
+ @Override
+ String doGetQueryParameterQualifier() {
+ return this.myMdmExpand != null ? ":mdm" : defaultGetQueryParameterQualifier();
+ }
@Override
String doGetValueAsQueryToken(FhirContext theContext) {
