observation.setEffective(appliesDate);
}
if (this.person != null)
observation.setSubject(new ResourceReferenceDt(new IdDt(Person.RESOURCE_TYPE, this.person.getId())));
if (this.visitOccurrence != null)
<BUG>observation.getEncounter().setReference(new IdDt(this.visitOccurrence.getId()));
</BUG>
return observation;
}
@Override

observation.setEffective(appliesDate);
}
if (this.person != null)
observation.setSubject(new ResourceReferenceDt(new IdDt(Person.RESOURCE_TYPE, this.person.getId())));
if (this.visitOccurrence != null)
observation.getEncounter().setReference(new IdDt(VisitOccurrence.RESOURCE_TYPE, this.visitOccurrence.getId()));
return observation;
}
@Override
