@Override public Base setProperty(String name, Base value) throws FHIRException { if (name.equals("url")) { this.url = castToUri(value); // UriType } else if (name.equals("version")) { this.version = castToString(value); // StringType this.kind = (Enumeration) value; // Enumeration<CapabilityStatementKind> } else if (name.equals("instantiates")) { this.getInstantiates().add(castToUri(value)); } else if (name.equals("software")) { this.software = (CapabilityStatementSoftwareComponent) value; // CapabilityStatementSoftwareComponent this.getPatchFormat().add(castToCode(value)); } else if (name.equals("implementationGuide")) { this.getImplementationGuide().add(castToUri(value)); } else if (name.equals("profile")) { this.getProfile().add(castToReference(value));
switch (hash) { case 116079: // url this.url = castToUri(value); // UriType return value; case 351608024: // version return value; case -246883639: // instantiates this.getInstantiates().add(castToUri(value)); // UriType return value; case 1319330215: // software return value; case 156966506: // implementationGuide this.getImplementationGuide().add(castToUri(value)); // UriType return value; case -309425751: // profile