Esempio n. 1
0
 @Override
 public void setProperty(String name, Base value) throws FHIRException {
   if (name.equals("identifier")) this.getIdentifier().add(castToIdentifier(value));
   else if (name.equals("ruleset")) this.ruleset = castToCoding(value); // Coding
   else if (name.equals("originalRuleset")) this.originalRuleset = castToCoding(value); // Coding
   else if (name.equals("created")) this.created = castToDateTime(value); // DateTimeType
   else if (name.equals("target[x]")) this.target = (Type) value; // Type
   else if (name.equals("provider[x]")) this.provider = (Type) value; // Type
   else if (name.equals("organization[x]")) this.organization = (Type) value; // Type
   else if (name.equals("request[x]")) this.request = (Type) value; // Type
   else if (name.equals("response[x]")) this.response = (Type) value; // Type
   else if (name.equals("paymentStatus")) this.paymentStatus = castToCoding(value); // Coding
   else if (name.equals("statusDate")) this.statusDate = castToDate(value); // DateType
   else super.setProperty(name, value);
 }
Esempio n. 2
0
 @Override
 public void setProperty(int hash, String name, Base value) throws FHIRException {
   switch (hash) {
     case -1618432855: // identifier
       this.getIdentifier().add(castToIdentifier(value)); // Identifier
       break;
     case 1548678118: // ruleset
       this.ruleset = castToCoding(value); // Coding
       break;
     case 1089373397: // originalRuleset
       this.originalRuleset = castToCoding(value); // Coding
       break;
     case 1028554472: // created
       this.created = castToDateTime(value); // DateTimeType
       break;
     case -880905839: // target
       this.target = (Type) value; // Type
       break;
     case -987494927: // provider
       this.provider = (Type) value; // Type
       break;
     case 1178922291: // organization
       this.organization = (Type) value; // Type
       break;
     case 1095692943: // request
       this.request = (Type) value; // Type
       break;
     case -340323263: // response
       this.response = (Type) value; // Type
       break;
     case 1430704536: // paymentStatus
       this.paymentStatus = castToCoding(value); // Coding
       break;
     case 247524032: // statusDate
       this.statusDate = castToDate(value); // DateType
       break;
     default:
       super.setProperty(hash, name, value);
   }
 }