missed rendering fix
This commit is contained in:
parent
e4d886dfec
commit
7700a0cb11
|
@ -198,13 +198,13 @@ public class PatientRenderer extends ResourceRenderer {
|
||||||
|
|
||||||
public void describe(XhtmlNode x, HumanName name, String gender, DateType dob, Identifier id) throws UnsupportedEncodingException, IOException {
|
public void describe(XhtmlNode x, HumanName name, String gender, DateType dob, Identifier id) throws UnsupportedEncodingException, IOException {
|
||||||
if (name == null) {
|
if (name == null) {
|
||||||
x.b().tx("Unnamed Patient"); // todo: is this appropriate?
|
x.b().tx("Anonymous Patient"); // todo: is this appropriate?
|
||||||
} else {
|
} else {
|
||||||
render(x.b(), name);
|
render(x.b(), name);
|
||||||
}
|
}
|
||||||
x.tx(" ");
|
x.tx(" ");
|
||||||
if (gender == null) {
|
if (gender == null) {
|
||||||
x.tx("??");
|
x.tx("(no stated gender)");
|
||||||
} else {
|
} else {
|
||||||
x.tx(gender);
|
x.tx(gender);
|
||||||
}
|
}
|
||||||
|
@ -221,7 +221,9 @@ public class PatientRenderer extends ResourceRenderer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// @Override
|
@Override
|
||||||
//// public boolean render(XhtmlNode x, ResourceWrapper r) throws FHIRFormatError, DefinitionException, IOException {
|
public boolean render(XhtmlNode x, ResourceWrapper r) throws FHIRFormatError, DefinitionException, IOException {
|
||||||
// }
|
describe(x, r);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue