fix for non-breaking space usage
This commit is contained in:
parent
8e3833f58a
commit
5cda3573be
|
@ -1129,25 +1129,25 @@ public class DataRenderer extends Renderer {
|
|||
|
||||
if (ii.hasType()) {
|
||||
if (ii.getType().hasText())
|
||||
s = ii.getType().getText()+": "+s;
|
||||
s = ii.getType().getText()+":\u00A0"+s;
|
||||
else if (ii.getType().hasCoding() && ii.getType().getCoding().get(0).hasDisplay())
|
||||
s = ii.getType().getCoding().get(0).getDisplay()+": "+s;
|
||||
else if (ii.getType().hasCoding() && ii.getType().getCoding().get(0).hasCode())
|
||||
s = lookupCode(ii.getType().getCoding().get(0).getSystem(), ii.getType().getCoding().get(0).getVersion(), ii.getType().getCoding().get(0).getCode())+": "+s;
|
||||
} else {
|
||||
s = "id: "+s;
|
||||
s = "id:\u00A0"+s;
|
||||
}
|
||||
|
||||
if (ii.hasUse() || ii.hasPeriod()) {
|
||||
s = s + " (";
|
||||
s = s + "\u00A0(";
|
||||
if (ii.hasUse()) {
|
||||
s = s + "use: "+ii.getUse().toString();
|
||||
s = s + "use:\u00A0"+ii.getUse().toString();
|
||||
}
|
||||
if (ii.hasUse() && ii.hasPeriod()) {
|
||||
s = s + ", ";
|
||||
s = s + ",\u00A0";
|
||||
}
|
||||
if (ii.hasPeriod()) {
|
||||
s = s + "period: "+displayPeriod(ii.getPeriod());
|
||||
s = s + "period:\u00A0"+displayPeriod(ii.getPeriod());
|
||||
}
|
||||
s = s + ")";
|
||||
}
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -19,7 +19,7 @@
|
|||
|
||||
<properties>
|
||||
<hapi_fhir_version>5.4.0</hapi_fhir_version>
|
||||
<validator_test_case_version>1.1.124</validator_test_case_version>
|
||||
<validator_test_case_version>1.1.125-SNAPSHOT</validator_test_case_version>
|
||||
<junit_jupiter_version>5.7.1</junit_jupiter_version>
|
||||
<junit_platform_launcher_version>1.8.2</junit_platform_launcher_version>
|
||||
<maven_surefire_version>3.0.0-M5</maven_surefire_version>
|
||||
|
|
Loading…
Reference in New Issue