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 {
|
||||
if (name == null) {
|
||||
x.b().tx("Unnamed Patient"); // todo: is this appropriate?
|
||||
x.b().tx("Anonymous Patient"); // todo: is this appropriate?
|
||||
} else {
|
||||
render(x.b(), name);
|
||||
}
|
||||
x.tx(" ");
|
||||
if (gender == null) {
|
||||
x.tx("??");
|
||||
x.tx("(no stated gender)");
|
||||
} else {
|
||||
x.tx(gender);
|
||||
}
|
||||
|
@ -221,7 +221,9 @@ public class PatientRenderer extends ResourceRenderer {
|
|||
}
|
||||
}
|
||||
|
||||
// @Override
|
||||
//// public boolean render(XhtmlNode x, ResourceWrapper r) throws FHIRFormatError, DefinitionException, IOException {
|
||||
// }
|
||||
@Override
|
||||
public boolean render(XhtmlNode x, ResourceWrapper r) throws FHIRFormatError, DefinitionException, IOException {
|
||||
describe(x, r);
|
||||
return false;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue