public StringBuilder appendFields(
     ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
   super.appendFields(locator, buffer, strategy);
   {
     ResourceReference thePerson;
     thePerson = this.getPerson();
     strategy.appendField(locator, this, "person", buffer, thePerson);
   }
   {
     CodeableConcept theRole;
     theRole = this.getRole();
     strategy.appendField(locator, this, "role", buffer, theRole);
   }
   return buffer;
 }
 public StringBuilder appendFields(
     ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
   super.appendFields(locator, buffer, strategy);
   {
     ResourceReference theOther;
     theOther = this.getOther();
     strategy.appendField(locator, this, "other", buffer, theOther);
   }
   {
     LinkType theType;
     theType = this.getType();
     strategy.appendField(locator, this, "type", buffer, theType);
   }
   return buffer;
 }
 public StringBuilder appendFields(
     ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
   super.appendFields(locator, buffer, strategy);
   {
     ResourceReference theBed;
     theBed = this.getBed();
     strategy.appendField(locator, this, "bed", buffer, theBed);
   }
   {
     Period thePeriod;
     thePeriod = this.getPeriod();
     strategy.appendField(locator, this, "period", buffer, thePeriod);
   }
   return buffer;
 }