Add removeChild to generated model
This commit is contained in:
parent
72a6b50cf2
commit
a159ce7db5
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -356,6 +356,17 @@ A coverage may only be responsible for specific types of charges, and the sequen
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("coverage")) {
|
||||
this.coverage = null;
|
||||
} else if (name.equals("priority")) {
|
||||
this.priority = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -624,6 +635,19 @@ A coverage may only be responsible for specific types of charges, and the sequen
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("party")) {
|
||||
this.party = null;
|
||||
} else if (name.equals("onHold")) {
|
||||
this.onHold = null;
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1123,6 +1147,25 @@ A coverage may only be responsible for specific types of charges, and the sequen
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("sequence")) {
|
||||
this.sequence = null;
|
||||
} else if (name.equals("condition")) {
|
||||
this.condition = null;
|
||||
} else if (name.equals("dateOfDiagnosis")) {
|
||||
this.dateOfDiagnosis = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.getType().remove(value);
|
||||
} else if (name.equals("onAdmission")) {
|
||||
this.onAdmission = null;
|
||||
} else if (name.equals("packageCode")) {
|
||||
this.getPackageCode().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1657,6 +1700,25 @@ A coverage may only be responsible for specific types of charges, and the sequen
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("sequence")) {
|
||||
this.sequence = null;
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("dateOfService")) {
|
||||
this.dateOfService = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.getType().remove(value);
|
||||
} else if (name.equals("packageCode")) {
|
||||
this.getPackageCode().remove(value);
|
||||
} else if (name.equals("device")) {
|
||||
this.getDevice().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1906,6 +1968,17 @@ A coverage may only be responsible for specific types of charges, and the sequen
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("relationship")) {
|
||||
this.relationship = null;
|
||||
} else if (name.equals("account")) {
|
||||
this.account = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2217,6 +2290,21 @@ A coverage may only be responsible for specific types of charges, and the sequen
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("aggregate")) {
|
||||
this.aggregate = null;
|
||||
} else if (name.equals("term")) {
|
||||
this.term = null;
|
||||
} else if (name.equals("estimate")) {
|
||||
this.estimate = null;
|
||||
} else if (name.equals("amount")) {
|
||||
this.amount = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3358,6 +3446,48 @@ A coverage may only be responsible for specific types of charges, and the sequen
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new AccountStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<AccountStatus>
|
||||
} else if (name.equals("billingStatus")) {
|
||||
this.billingStatus = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("subject")) {
|
||||
this.getSubject().remove(value);
|
||||
} else if (name.equals("servicePeriod")) {
|
||||
this.servicePeriod = null;
|
||||
} else if (name.equals("coverage")) {
|
||||
this.getCoverage().add((CoverageComponent) value);
|
||||
} else if (name.equals("owner")) {
|
||||
this.owner = null;
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("guarantor")) {
|
||||
this.getGuarantor().add((GuarantorComponent) value);
|
||||
} else if (name.equals("diagnosis")) {
|
||||
this.getDiagnosis().add((AccountDiagnosisComponent) value);
|
||||
} else if (name.equals("procedure")) {
|
||||
this.getProcedure().add((AccountProcedureComponent) value);
|
||||
} else if (name.equals("relatedAccount")) {
|
||||
this.getRelatedAccount().add((AccountRelatedAccountComponent) value);
|
||||
} else if (name.equals("currency")) {
|
||||
this.currency = null;
|
||||
} else if (name.equals("balance")) {
|
||||
this.getBalance().add((AccountBalanceComponent) value);
|
||||
} else if (name.equals("calculatedAt")) {
|
||||
this.calculatedAt = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -685,6 +685,24 @@ public class ActivityDefinition extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
value = new ActionParticipantTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.type = (Enumeration) value; // Enumeration<ActionParticipantType>
|
||||
} else if (name.equals("typeCanonical")) {
|
||||
this.typeCanonical = null;
|
||||
} else if (name.equals("typeReference")) {
|
||||
this.typeReference = null;
|
||||
} else if (name.equals("role")) {
|
||||
this.role = null;
|
||||
} else if (name.equals("function")) {
|
||||
this.function = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -937,6 +955,17 @@ public class ActivityDefinition extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("path")) {
|
||||
this.path = null;
|
||||
} else if (name.equals("expression")) {
|
||||
this.expression = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -4286,6 +4315,115 @@ public class ActivityDefinition extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("version")) {
|
||||
this.version = null;
|
||||
} else if (name.equals("versionAlgorithm[x]")) {
|
||||
this.versionAlgorithm = null;
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("subtitle")) {
|
||||
this.subtitle = null;
|
||||
} else if (name.equals("status")) {
|
||||
value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<PublicationStatus>
|
||||
} else if (name.equals("experimental")) {
|
||||
this.experimental = null;
|
||||
} else if (name.equals("subject[x]")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("publisher")) {
|
||||
this.publisher = null;
|
||||
} else if (name.equals("contact")) {
|
||||
this.getContact().remove(value);
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("useContext")) {
|
||||
this.getUseContext().remove(value);
|
||||
} else if (name.equals("jurisdiction")) {
|
||||
this.getJurisdiction().remove(value);
|
||||
} else if (name.equals("purpose")) {
|
||||
this.purpose = null;
|
||||
} else if (name.equals("usage")) {
|
||||
this.usage = null;
|
||||
} else if (name.equals("copyright")) {
|
||||
this.copyright = null;
|
||||
} else if (name.equals("copyrightLabel")) {
|
||||
this.copyrightLabel = null;
|
||||
} else if (name.equals("approvalDate")) {
|
||||
this.approvalDate = null;
|
||||
} else if (name.equals("lastReviewDate")) {
|
||||
this.lastReviewDate = null;
|
||||
} else if (name.equals("effectivePeriod")) {
|
||||
this.effectivePeriod = null;
|
||||
} else if (name.equals("topic")) {
|
||||
this.getTopic().remove(value);
|
||||
} else if (name.equals("author")) {
|
||||
this.getAuthor().remove(value);
|
||||
} else if (name.equals("editor")) {
|
||||
this.getEditor().remove(value);
|
||||
} else if (name.equals("reviewer")) {
|
||||
this.getReviewer().remove(value);
|
||||
} else if (name.equals("endorser")) {
|
||||
this.getEndorser().remove(value);
|
||||
} else if (name.equals("relatedArtifact")) {
|
||||
this.getRelatedArtifact().remove(value);
|
||||
} else if (name.equals("library")) {
|
||||
this.getLibrary().remove(value);
|
||||
} else if (name.equals("kind")) {
|
||||
value = new RequestResourceTypesEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.kind = (Enumeration) value; // Enumeration<RequestResourceTypes>
|
||||
} else if (name.equals("profile")) {
|
||||
this.profile = null;
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("intent")) {
|
||||
value = new RequestIntentEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.intent = (Enumeration) value; // Enumeration<RequestIntent>
|
||||
} else if (name.equals("priority")) {
|
||||
value = new RequestPriorityEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.priority = (Enumeration) value; // Enumeration<RequestPriority>
|
||||
} else if (name.equals("doNotPerform")) {
|
||||
this.doNotPerform = null;
|
||||
} else if (name.equals("timing[x]")) {
|
||||
this.timing = null;
|
||||
} else if (name.equals("asNeeded[x]")) {
|
||||
this.asNeeded = null;
|
||||
} else if (name.equals("location")) {
|
||||
this.location = null;
|
||||
} else if (name.equals("participant")) {
|
||||
this.getParticipant().add((ActivityDefinitionParticipantComponent) value);
|
||||
} else if (name.equals("product[x]")) {
|
||||
this.product = null;
|
||||
} else if (name.equals("quantity")) {
|
||||
this.quantity = null;
|
||||
} else if (name.equals("dosage")) {
|
||||
this.getDosage().remove(value);
|
||||
} else if (name.equals("bodySite")) {
|
||||
this.getBodySite().remove(value);
|
||||
} else if (name.equals("specimenRequirement")) {
|
||||
this.getSpecimenRequirement().remove(value);
|
||||
} else if (name.equals("observationRequirement")) {
|
||||
this.getObservationRequirement().remove(value);
|
||||
} else if (name.equals("observationResultRequirement")) {
|
||||
this.getObservationResultRequirement().remove(value);
|
||||
} else if (name.equals("transform")) {
|
||||
this.transform = null;
|
||||
} else if (name.equals("dynamicValue")) {
|
||||
this.getDynamicValue().add((ActivityDefinitionDynamicValueComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -1555,6 +1555,59 @@ public class ActorDefinition extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("version")) {
|
||||
this.version = null;
|
||||
} else if (name.equals("versionAlgorithm[x]")) {
|
||||
this.versionAlgorithm = null;
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("status")) {
|
||||
value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<PublicationStatus>
|
||||
} else if (name.equals("experimental")) {
|
||||
this.experimental = null;
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("publisher")) {
|
||||
this.publisher = null;
|
||||
} else if (name.equals("contact")) {
|
||||
this.getContact().remove(value);
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("useContext")) {
|
||||
this.getUseContext().remove(value);
|
||||
} else if (name.equals("jurisdiction")) {
|
||||
this.getJurisdiction().remove(value);
|
||||
} else if (name.equals("purpose")) {
|
||||
this.purpose = null;
|
||||
} else if (name.equals("copyright")) {
|
||||
this.copyright = null;
|
||||
} else if (name.equals("copyrightLabel")) {
|
||||
this.copyrightLabel = null;
|
||||
} else if (name.equals("type")) {
|
||||
value = new ExampleScenarioActorTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.type = (Enumeration) value; // Enumeration<ExampleScenarioActorType>
|
||||
} else if (name.equals("documentation")) {
|
||||
this.documentation = null;
|
||||
} else if (name.equals("reference")) {
|
||||
this.getReference().remove(value);
|
||||
} else if (name.equals("capabilities")) {
|
||||
this.capabilities = null;
|
||||
} else if (name.equals("derivedFrom")) {
|
||||
this.getDerivedFrom().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -985,6 +985,35 @@ public class Address extends DataType implements ICompositeType {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("use")) {
|
||||
value = new AddressUseEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.use = (Enumeration) value; // Enumeration<AddressUse>
|
||||
} else if (name.equals("type")) {
|
||||
value = new AddressTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.type = (Enumeration) value; // Enumeration<AddressType>
|
||||
} else if (name.equals("text")) {
|
||||
this.text = null;
|
||||
} else if (name.equals("line")) {
|
||||
this.getLine().remove(value);
|
||||
} else if (name.equals("city")) {
|
||||
this.city = null;
|
||||
} else if (name.equals("district")) {
|
||||
this.district = null;
|
||||
} else if (name.equals("state")) {
|
||||
this.state = null;
|
||||
} else if (name.equals("postalCode")) {
|
||||
this.postalCode = null;
|
||||
} else if (name.equals("country")) {
|
||||
this.country = null;
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -336,6 +336,19 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("value[x]")) {
|
||||
this.value = null;
|
||||
} else if (name.equals("status")) {
|
||||
this.status = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -803,6 +816,27 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("firstDose")) {
|
||||
this.firstDose = null;
|
||||
} else if (name.equals("maxSingleDose")) {
|
||||
this.maxSingleDose = null;
|
||||
} else if (name.equals("maxDosePerDay")) {
|
||||
this.maxDosePerDay = null;
|
||||
} else if (name.equals("maxDosePerTreatmentPeriod")) {
|
||||
this.maxDosePerTreatmentPeriod = null;
|
||||
} else if (name.equals("maxTreatmentPeriod")) {
|
||||
this.maxTreatmentPeriod = null;
|
||||
} else if (name.equals("targetSpecies")) {
|
||||
this.getTargetSpecies().add((AdministrableProductDefinitionRouteOfAdministrationTargetSpeciesComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1084,6 +1118,17 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("withdrawalPeriod")) {
|
||||
this.getWithdrawalPeriod().add((AdministrableProductDefinitionRouteOfAdministrationTargetSpeciesWithdrawalPeriodComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1363,6 +1408,19 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("tissue")) {
|
||||
this.tissue = null;
|
||||
} else if (name.equals("value")) {
|
||||
this.value = null;
|
||||
} else if (name.equals("supportingInformation")) {
|
||||
this.supportingInformation = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2156,6 +2214,36 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<PublicationStatus>
|
||||
} else if (name.equals("formOf")) {
|
||||
this.getFormOf().remove(value);
|
||||
} else if (name.equals("administrableDoseForm")) {
|
||||
this.administrableDoseForm = null;
|
||||
} else if (name.equals("unitOfPresentation")) {
|
||||
this.unitOfPresentation = null;
|
||||
} else if (name.equals("producedFrom")) {
|
||||
this.getProducedFrom().remove(value);
|
||||
} else if (name.equals("ingredient")) {
|
||||
this.getIngredient().remove(value);
|
||||
} else if (name.equals("device")) {
|
||||
this.device = null;
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("property")) {
|
||||
this.getProperty().add((AdministrableProductDefinitionPropertyComponent) value);
|
||||
} else if (name.equals("routeOfAdministration")) {
|
||||
this.getRouteOfAdministration().add((AdministrableProductDefinitionRouteOfAdministrationComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -410,6 +410,17 @@ public class AdverseEvent extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("function")) {
|
||||
this.function = null;
|
||||
} else if (name.equals("actor")) {
|
||||
this.actor = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -649,6 +660,17 @@ public class AdverseEvent extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("instance[x]")) {
|
||||
this.instance = null;
|
||||
} else if (name.equals("causality")) {
|
||||
this.causality = (AdverseEventSuspectEntityCausalityComponent) value; // AdverseEventSuspectEntityCausalityComponent
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -896,6 +918,19 @@ public class AdverseEvent extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("assessmentMethod")) {
|
||||
this.assessmentMethod = null;
|
||||
} else if (name.equals("entityRelatedness")) {
|
||||
this.entityRelatedness = null;
|
||||
} else if (name.equals("author")) {
|
||||
this.author = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1106,6 +1141,15 @@ public class AdverseEvent extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("item[x]")) {
|
||||
this.item = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1305,6 +1349,15 @@ public class AdverseEvent extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("item[x]")) {
|
||||
this.item = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1504,6 +1557,15 @@ public class AdverseEvent extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("item[x]")) {
|
||||
this.item = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1703,6 +1765,15 @@ public class AdverseEvent extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("item[x]")) {
|
||||
this.item = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3285,6 +3356,63 @@ public class AdverseEvent extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new AdverseEventStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<AdverseEventStatus>
|
||||
} else if (name.equals("actuality")) {
|
||||
value = new AdverseEventActualityEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.actuality = (Enumeration) value; // Enumeration<AdverseEventActuality>
|
||||
} else if (name.equals("category")) {
|
||||
this.getCategory().remove(value);
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("encounter")) {
|
||||
this.encounter = null;
|
||||
} else if (name.equals("occurrence[x]")) {
|
||||
this.occurrence = null;
|
||||
} else if (name.equals("detected")) {
|
||||
this.detected = null;
|
||||
} else if (name.equals("recordedDate")) {
|
||||
this.recordedDate = null;
|
||||
} else if (name.equals("resultingEffect")) {
|
||||
this.getResultingEffect().remove(value);
|
||||
} else if (name.equals("location")) {
|
||||
this.location = null;
|
||||
} else if (name.equals("seriousness")) {
|
||||
this.seriousness = null;
|
||||
} else if (name.equals("outcome")) {
|
||||
this.getOutcome().remove(value);
|
||||
} else if (name.equals("recorder")) {
|
||||
this.recorder = null;
|
||||
} else if (name.equals("participant")) {
|
||||
this.getParticipant().add((AdverseEventParticipantComponent) value);
|
||||
} else if (name.equals("study")) {
|
||||
this.getStudy().remove(value);
|
||||
} else if (name.equals("expectedInResearchStudy")) {
|
||||
this.expectedInResearchStudy = null;
|
||||
} else if (name.equals("suspectEntity")) {
|
||||
this.getSuspectEntity().add((AdverseEventSuspectEntityComponent) value);
|
||||
} else if (name.equals("contributingFactor")) {
|
||||
this.getContributingFactor().add((AdverseEventContributingFactorComponent) value);
|
||||
} else if (name.equals("preventiveAction")) {
|
||||
this.getPreventiveAction().add((AdverseEventPreventiveActionComponent) value);
|
||||
} else if (name.equals("mitigatingAction")) {
|
||||
this.getMitigatingAction().add((AdverseEventMitigatingActionComponent) value);
|
||||
} else if (name.equals("supportingInfo")) {
|
||||
this.getSupportingInfo().add((AdverseEventSupportingInfoComponent) value);
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -538,6 +538,17 @@ public class AllergyIntolerance extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("function")) {
|
||||
this.function = null;
|
||||
} else if (name.equals("actor")) {
|
||||
this.actor = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1081,6 +1092,28 @@ public class AllergyIntolerance extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("substance")) {
|
||||
this.substance = null;
|
||||
} else if (name.equals("manifestation")) {
|
||||
this.getManifestation().remove(value);
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("onset")) {
|
||||
this.onset = null;
|
||||
} else if (name.equals("severity")) {
|
||||
value = new AllergyIntoleranceSeverityEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.severity = (Enumeration) value; // Enumeration<AllergyIntoleranceSeverity>
|
||||
} else if (name.equals("exposureRoute")) {
|
||||
this.exposureRoute = null;
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2153,6 +2186,45 @@ public class AllergyIntolerance extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("clinicalStatus")) {
|
||||
this.clinicalStatus = null;
|
||||
} else if (name.equals("verificationStatus")) {
|
||||
this.verificationStatus = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("category")) {
|
||||
value = new AllergyIntoleranceCategoryEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.getCategory().add((Enumeration) value);
|
||||
} else if (name.equals("criticality")) {
|
||||
value = new AllergyIntoleranceCriticalityEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.criticality = (Enumeration) value; // Enumeration<AllergyIntoleranceCriticality>
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("patient")) {
|
||||
this.patient = null;
|
||||
} else if (name.equals("encounter")) {
|
||||
this.encounter = null;
|
||||
} else if (name.equals("onset[x]")) {
|
||||
this.onset = null;
|
||||
} else if (name.equals("recordedDate")) {
|
||||
this.recordedDate = null;
|
||||
} else if (name.equals("participant")) {
|
||||
this.getParticipant().add((AllergyIntoleranceParticipantComponent) value);
|
||||
} else if (name.equals("lastOccurrence")) {
|
||||
this.lastOccurrence = null;
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("reaction")) {
|
||||
this.getReaction().add((AllergyIntoleranceReactionComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -295,6 +295,19 @@ public class Annotation extends DataType implements ICompositeType {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("author[x]")) {
|
||||
this.author = null;
|
||||
} else if (name.equals("time")) {
|
||||
this.time = null;
|
||||
} else if (name.equals("text")) {
|
||||
this.text = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -729,6 +729,24 @@ public class Appointment extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.getType().remove(value);
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else if (name.equals("actor")) {
|
||||
this.actor = null;
|
||||
} else if (name.equals("required")) {
|
||||
this.required = null;
|
||||
} else if (name.equals("status")) {
|
||||
value = new ParticipationStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<ParticipationStatus>
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1433,6 +1451,33 @@ public class Appointment extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("timezone")) {
|
||||
this.timezone = null;
|
||||
} else if (name.equals("recurrenceType")) {
|
||||
this.recurrenceType = null;
|
||||
} else if (name.equals("lastOccurrenceDate")) {
|
||||
this.lastOccurrenceDate = null;
|
||||
} else if (name.equals("occurrenceCount")) {
|
||||
this.occurrenceCount = null;
|
||||
} else if (name.equals("occurrenceDate")) {
|
||||
this.getOccurrenceDate().remove(value);
|
||||
} else if (name.equals("weeklyTemplate")) {
|
||||
this.weeklyTemplate = (AppointmentRecurrenceTemplateWeeklyTemplateComponent) value; // AppointmentRecurrenceTemplateWeeklyTemplateComponent
|
||||
} else if (name.equals("monthlyTemplate")) {
|
||||
this.monthlyTemplate = (AppointmentRecurrenceTemplateMonthlyTemplateComponent) value; // AppointmentRecurrenceTemplateMonthlyTemplateComponent
|
||||
} else if (name.equals("yearlyTemplate")) {
|
||||
this.yearlyTemplate = (AppointmentRecurrenceTemplateYearlyTemplateComponent) value; // AppointmentRecurrenceTemplateYearlyTemplateComponent
|
||||
} else if (name.equals("excludingDate")) {
|
||||
this.getExcludingDate().remove(value);
|
||||
} else if (name.equals("excludingRecurrenceId")) {
|
||||
this.getExcludingRecurrenceId().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2108,6 +2153,29 @@ public class Appointment extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("monday")) {
|
||||
this.monday = null;
|
||||
} else if (name.equals("tuesday")) {
|
||||
this.tuesday = null;
|
||||
} else if (name.equals("wednesday")) {
|
||||
this.wednesday = null;
|
||||
} else if (name.equals("thursday")) {
|
||||
this.thursday = null;
|
||||
} else if (name.equals("friday")) {
|
||||
this.friday = null;
|
||||
} else if (name.equals("saturday")) {
|
||||
this.saturday = null;
|
||||
} else if (name.equals("sunday")) {
|
||||
this.sunday = null;
|
||||
} else if (name.equals("weekInterval")) {
|
||||
this.weekInterval = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2478,6 +2546,21 @@ public class Appointment extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("dayOfMonth")) {
|
||||
this.dayOfMonth = null;
|
||||
} else if (name.equals("nthWeekOfMonth")) {
|
||||
this.nthWeekOfMonth = null;
|
||||
} else if (name.equals("dayOfWeek")) {
|
||||
this.dayOfWeek = null;
|
||||
} else if (name.equals("monthInterval")) {
|
||||
this.monthInterval = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2685,6 +2768,15 @@ public class Appointment extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("yearInterval")) {
|
||||
this.yearInterval = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -4772,6 +4864,78 @@ The duration (usually in minutes) could also be provided to indicate the length
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new AppointmentStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<AppointmentStatus>
|
||||
} else if (name.equals("cancellationReason")) {
|
||||
this.cancellationReason = null;
|
||||
} else if (name.equals("class")) {
|
||||
this.getClass_().remove(value);
|
||||
} else if (name.equals("serviceCategory")) {
|
||||
this.getServiceCategory().remove(value);
|
||||
} else if (name.equals("serviceType")) {
|
||||
this.getServiceType().remove(value);
|
||||
} else if (name.equals("specialty")) {
|
||||
this.getSpecialty().remove(value);
|
||||
} else if (name.equals("appointmentType")) {
|
||||
this.appointmentType = null;
|
||||
} else if (name.equals("reason")) {
|
||||
this.getReason().remove(value);
|
||||
} else if (name.equals("priority")) {
|
||||
this.priority = null;
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("replaces")) {
|
||||
this.getReplaces().remove(value);
|
||||
} else if (name.equals("virtualService")) {
|
||||
this.getVirtualService().remove(value);
|
||||
} else if (name.equals("supportingInformation")) {
|
||||
this.getSupportingInformation().remove(value);
|
||||
} else if (name.equals("previousAppointment")) {
|
||||
this.previousAppointment = null;
|
||||
} else if (name.equals("originatingAppointment")) {
|
||||
this.originatingAppointment = null;
|
||||
} else if (name.equals("start")) {
|
||||
this.start = null;
|
||||
} else if (name.equals("end")) {
|
||||
this.end = null;
|
||||
} else if (name.equals("minutesDuration")) {
|
||||
this.minutesDuration = null;
|
||||
} else if (name.equals("requestedPeriod")) {
|
||||
this.getRequestedPeriod().remove(value);
|
||||
} else if (name.equals("slot")) {
|
||||
this.getSlot().remove(value);
|
||||
} else if (name.equals("account")) {
|
||||
this.getAccount().remove(value);
|
||||
} else if (name.equals("created")) {
|
||||
this.created = null;
|
||||
} else if (name.equals("cancellationDate")) {
|
||||
this.cancellationDate = null;
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("patientInstruction")) {
|
||||
this.getPatientInstruction().remove(value);
|
||||
} else if (name.equals("basedOn")) {
|
||||
this.getBasedOn().remove(value);
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("participant")) {
|
||||
this.getParticipant().add((AppointmentParticipantComponent) value);
|
||||
} else if (name.equals("recurrenceId")) {
|
||||
this.recurrenceId = null;
|
||||
} else if (name.equals("occurrenceChanged")) {
|
||||
this.occurrenceChanged = null;
|
||||
} else if (name.equals("recurrenceTemplate")) {
|
||||
this.getRecurrenceTemplate().add((AppointmentRecurrenceTemplateComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -964,6 +964,38 @@ public class AppointmentResponse extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("appointment")) {
|
||||
this.appointment = null;
|
||||
} else if (name.equals("proposedNewTime")) {
|
||||
this.proposedNewTime = null;
|
||||
} else if (name.equals("start")) {
|
||||
this.start = null;
|
||||
} else if (name.equals("end")) {
|
||||
this.end = null;
|
||||
} else if (name.equals("participantType")) {
|
||||
this.getParticipantType().remove(value);
|
||||
} else if (name.equals("actor")) {
|
||||
this.actor = null;
|
||||
} else if (name.equals("participantStatus")) {
|
||||
value = new AppointmentResponseStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.participantStatus = (Enumeration) value; // Enumeration<AppointmentResponseStatus>
|
||||
} else if (name.equals("comment")) {
|
||||
this.comment = null;
|
||||
} else if (name.equals("recurring")) {
|
||||
this.recurring = null;
|
||||
} else if (name.equals("occurrenceDate")) {
|
||||
this.occurrenceDate = null;
|
||||
} else if (name.equals("recurrenceId")) {
|
||||
this.recurrenceId = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -1217,6 +1217,34 @@ public class ArtifactAssessment extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("informationType")) {
|
||||
value = new ArtifactAssessmentInformationTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.informationType = (Enumeration) value; // Enumeration<ArtifactAssessmentInformationType>
|
||||
} else if (name.equals("summary")) {
|
||||
this.summary = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("classifier")) {
|
||||
this.getClassifier().remove(value);
|
||||
} else if (name.equals("quantity")) {
|
||||
this.quantity = null;
|
||||
} else if (name.equals("author")) {
|
||||
this.author = null;
|
||||
} else if (name.equals("path")) {
|
||||
this.getPath().remove(value);
|
||||
} else if (name.equals("relatedArtifact")) {
|
||||
this.getRelatedArtifact().remove(value);
|
||||
} else if (name.equals("freeToShare")) {
|
||||
this.freeToShare = null;
|
||||
} else if (name.equals("component")) {
|
||||
this.getComponent().add((ArtifactAssessmentContentComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2161,6 +2189,37 @@ public class ArtifactAssessment extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("citeAs[x]")) {
|
||||
this.citeAs = null;
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("copyright")) {
|
||||
this.copyright = null;
|
||||
} else if (name.equals("approvalDate")) {
|
||||
this.approvalDate = null;
|
||||
} else if (name.equals("lastReviewDate")) {
|
||||
this.lastReviewDate = null;
|
||||
} else if (name.equals("artifact[x]")) {
|
||||
this.artifact = null;
|
||||
} else if (name.equals("content")) {
|
||||
this.getContent().add((ArtifactAssessmentContentComponent) value);
|
||||
} else if (name.equals("workflowStatus")) {
|
||||
value = new ArtifactAssessmentWorkflowStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.workflowStatus = (Enumeration) value; // Enumeration<ArtifactAssessmentWorkflowStatus>
|
||||
} else if (name.equals("disposition")) {
|
||||
value = new ArtifactAssessmentDispositionEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.disposition = (Enumeration) value; // Enumeration<ArtifactAssessmentDisposition>
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -927,6 +927,39 @@ public class Attachment extends DataType implements ICompositeType {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("contentType")) {
|
||||
this.contentType = null;
|
||||
} else if (name.equals("language")) {
|
||||
this.language = null;
|
||||
} else if (name.equals("data")) {
|
||||
this.data = null;
|
||||
} else if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else if (name.equals("size")) {
|
||||
this.size = null;
|
||||
} else if (name.equals("hash")) {
|
||||
this.hash = null;
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("creation")) {
|
||||
this.creation = null;
|
||||
} else if (name.equals("height")) {
|
||||
this.height = null;
|
||||
} else if (name.equals("width")) {
|
||||
this.width = null;
|
||||
} else if (name.equals("frames")) {
|
||||
this.frames = null;
|
||||
} else if (name.equals("duration")) {
|
||||
this.duration = null;
|
||||
} else if (name.equals("pages")) {
|
||||
this.pages = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -552,6 +552,17 @@ public class AuditEvent extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("detail")) {
|
||||
this.getDetail().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1163,6 +1174,29 @@ public class AuditEvent extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("role")) {
|
||||
this.getRole().remove(value);
|
||||
} else if (name.equals("who")) {
|
||||
this.who = null;
|
||||
} else if (name.equals("requestor")) {
|
||||
this.requestor = null;
|
||||
} else if (name.equals("location")) {
|
||||
this.location = null;
|
||||
} else if (name.equals("policy")) {
|
||||
this.getPolicy().remove(value);
|
||||
} else if (name.equals("network[x]")) {
|
||||
this.network = null;
|
||||
} else if (name.equals("authorization")) {
|
||||
this.getAuthorization().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1503,6 +1537,19 @@ public class AuditEvent extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("site")) {
|
||||
this.site = null;
|
||||
} else if (name.equals("observer")) {
|
||||
this.observer = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.getType().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1985,6 +2032,25 @@ public class AuditEvent extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("what")) {
|
||||
this.what = null;
|
||||
} else if (name.equals("role")) {
|
||||
this.role = null;
|
||||
} else if (name.equals("securityLabel")) {
|
||||
this.getSecurityLabel().remove(value);
|
||||
} else if (name.equals("query")) {
|
||||
this.query = null;
|
||||
} else if (name.equals("detail")) {
|
||||
this.getDetail().add((AuditEventEntityDetailComponent) value);
|
||||
} else if (name.equals("agent")) {
|
||||
this.getAgent().add((AuditEventAgentComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2409,6 +2475,17 @@ public class AuditEvent extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("value[x]")) {
|
||||
this.value = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3383,6 +3460,43 @@ public class AuditEvent extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("category")) {
|
||||
this.getCategory().remove(value);
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("action")) {
|
||||
value = new AuditEventActionEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.action = (Enumeration) value; // Enumeration<AuditEventAction>
|
||||
} else if (name.equals("severity")) {
|
||||
value = new AuditEventSeverityEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.severity = (Enumeration) value; // Enumeration<AuditEventSeverity>
|
||||
} else if (name.equals("occurred[x]")) {
|
||||
this.occurred = null;
|
||||
} else if (name.equals("recorded")) {
|
||||
this.recorded = null;
|
||||
} else if (name.equals("outcome")) {
|
||||
this.outcome = (AuditEventOutcomeComponent) value; // AuditEventOutcomeComponent
|
||||
} else if (name.equals("authorization")) {
|
||||
this.getAuthorization().remove(value);
|
||||
} else if (name.equals("basedOn")) {
|
||||
this.getBasedOn().remove(value);
|
||||
} else if (name.equals("patient")) {
|
||||
this.patient = null;
|
||||
} else if (name.equals("encounter")) {
|
||||
this.encounter = null;
|
||||
} else if (name.equals("agent")) {
|
||||
this.getAgent().add((AuditEventAgentComponent) value);
|
||||
} else if (name.equals("source")) {
|
||||
this.source = (AuditEventSourceComponent) value; // AuditEventSourceComponent
|
||||
} else if (name.equals("entity")) {
|
||||
this.getEntity().add((AuditEventEntityComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -364,6 +364,22 @@ public class Availability extends DataType implements ICompositeType {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("daysOfWeek")) {
|
||||
value = new DaysOfWeekEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.getDaysOfWeek().add((Enumeration) value);
|
||||
} else if (name.equals("allDay")) {
|
||||
this.allDay = null;
|
||||
} else if (name.equals("availableStartTime")) {
|
||||
this.availableStartTime = null;
|
||||
} else if (name.equals("availableEndTime")) {
|
||||
this.availableEndTime = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -607,6 +623,17 @@ public class Availability extends DataType implements ICompositeType {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("during")) {
|
||||
this.during = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -863,6 +890,17 @@ public class Availability extends DataType implements ICompositeType {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("availableTime")) {
|
||||
this.getAvailableTime().add((AvailabilityAvailableTimeComponent) value);
|
||||
} else if (name.equals("notAvailableTime")) {
|
||||
this.getNotAvailableTime().add((AvailabilityNotAvailableTimeComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -168,6 +168,15 @@ Modifier extensions SHALL NOT change the meaning of any elements on Resource or
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("modifierExtension")) {
|
||||
this.getModifierExtension().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -167,6 +167,15 @@ Modifier extensions SHALL NOT change the meaning of any elements on Resource or
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("modifierExtension")) {
|
||||
this.getModifierExtension().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,32 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
/*
|
||||
Copyright (c) 2011+, HL7, Inc.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, \
|
||||
are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this \
|
||||
list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright notice, \
|
||||
this list of conditions and the following disclaimer in the documentation \
|
||||
and/or other materials provided with the distribution.
|
||||
* Neither the name of HL7 nor the names of its contributors may be used to
|
||||
endorse or promote products derived from this software without specific
|
||||
prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND \
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED \
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. \
|
||||
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, \
|
||||
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT \
|
||||
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR \
|
||||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, \
|
||||
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) \
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE \
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
|
@ -274,7 +302,7 @@ public abstract class Base implements Serializable, IBase, IElement {
|
|||
throw new FHIRException("Attempt to add child with unknown name "+name);
|
||||
}
|
||||
|
||||
public boolean removeChild(String name, Base value) {
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
throw new FHIRException("Attempt to remove child with unknown name "+name);
|
||||
}
|
||||
/**
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -354,6 +354,23 @@ public class Basic extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("created")) {
|
||||
this.created = null;
|
||||
} else if (name.equals("author")) {
|
||||
this.author = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -270,6 +270,19 @@ public class Binary extends BaseBinary implements IBaseBinary {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("contentType")) {
|
||||
this.contentType = null;
|
||||
} else if (name.equals("securityContext")) {
|
||||
this.securityContext = null;
|
||||
} else if (name.equals("data")) {
|
||||
this.data = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -246,6 +246,19 @@ public class BiologicallyDerivedProduct extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("collector")) {
|
||||
this.collector = null;
|
||||
} else if (name.equals("source")) {
|
||||
this.source = null;
|
||||
} else if (name.equals("collected[x]")) {
|
||||
this.collected = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -613,6 +626,17 @@ public class BiologicallyDerivedProduct extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("value[x]")) {
|
||||
this.value = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1472,6 +1496,39 @@ public class BiologicallyDerivedProduct extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("productCategory")) {
|
||||
this.productCategory = null;
|
||||
} else if (name.equals("productCode")) {
|
||||
this.productCode = null;
|
||||
} else if (name.equals("parent")) {
|
||||
this.getParent().remove(value);
|
||||
} else if (name.equals("request")) {
|
||||
this.getRequest().remove(value);
|
||||
} else if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("biologicalSourceEvent")) {
|
||||
this.biologicalSourceEvent = null;
|
||||
} else if (name.equals("processingFacility")) {
|
||||
this.getProcessingFacility().remove(value);
|
||||
} else if (name.equals("division")) {
|
||||
this.division = null;
|
||||
} else if (name.equals("productStatus")) {
|
||||
this.productStatus = null;
|
||||
} else if (name.equals("expirationDate")) {
|
||||
this.expirationDate = null;
|
||||
} else if (name.equals("collection")) {
|
||||
this.collection = (BiologicallyDerivedProductCollectionComponent) value; // BiologicallyDerivedProductCollectionComponent
|
||||
} else if (name.equals("storageTempRequirements")) {
|
||||
this.storageTempRequirements = null;
|
||||
} else if (name.equals("property")) {
|
||||
this.getProperty().add((BiologicallyDerivedProductPropertyComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -378,6 +378,17 @@ public class BiologicallyDerivedProductDispense extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("function")) {
|
||||
this.function = null;
|
||||
} else if (name.equals("actor")) {
|
||||
this.actor = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1379,6 +1390,46 @@ public class BiologicallyDerivedProductDispense extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("basedOn")) {
|
||||
this.getBasedOn().remove(value);
|
||||
} else if (name.equals("partOf")) {
|
||||
this.getPartOf().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new BiologicallyDerivedProductDispenseCodesEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<BiologicallyDerivedProductDispenseCodes>
|
||||
} else if (name.equals("originRelationshipType")) {
|
||||
this.originRelationshipType = null;
|
||||
} else if (name.equals("product")) {
|
||||
this.product = null;
|
||||
} else if (name.equals("patient")) {
|
||||
this.patient = null;
|
||||
} else if (name.equals("matchStatus")) {
|
||||
this.matchStatus = null;
|
||||
} else if (name.equals("performer")) {
|
||||
this.getPerformer().add((BiologicallyDerivedProductDispensePerformerComponent) value);
|
||||
} else if (name.equals("location")) {
|
||||
this.location = null;
|
||||
} else if (name.equals("quantity")) {
|
||||
this.quantity = null;
|
||||
} else if (name.equals("preparedDate")) {
|
||||
this.preparedDate = null;
|
||||
} else if (name.equals("whenHandedOver")) {
|
||||
this.whenHandedOver = null;
|
||||
} else if (name.equals("destination")) {
|
||||
this.destination = null;
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("usageInstruction")) {
|
||||
this.usageInstruction = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -392,6 +392,23 @@ public class BodyStructure extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("structure")) {
|
||||
this.structure = null;
|
||||
} else if (name.equals("laterality")) {
|
||||
this.laterality = null;
|
||||
} else if (name.equals("bodyLandmarkOrientation")) {
|
||||
this.getBodyLandmarkOrientation().add((BodyStructureIncludedStructureBodyLandmarkOrientationComponent) value);
|
||||
} else if (name.equals("spatialReference")) {
|
||||
this.getSpatialReference().remove(value);
|
||||
} else if (name.equals("qualifier")) {
|
||||
this.getQualifier().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -823,6 +840,21 @@ public class BodyStructure extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("landmarkDescription")) {
|
||||
this.getLandmarkDescription().remove(value);
|
||||
} else if (name.equals("clockFacePosition")) {
|
||||
this.getClockFacePosition().remove(value);
|
||||
} else if (name.equals("distanceFromLandmark")) {
|
||||
this.getDistanceFromLandmark().add((BodyStructureIncludedStructureBodyLandmarkOrientationDistanceFromLandmarkComponent) value);
|
||||
} else if (name.equals("surfaceOrientation")) {
|
||||
this.getSurfaceOrientation().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1112,6 +1144,17 @@ public class BodyStructure extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("device")) {
|
||||
this.getDevice().remove(value);
|
||||
} else if (name.equals("value")) {
|
||||
this.getValue().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1723,6 +1766,29 @@ public class BodyStructure extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("active")) {
|
||||
this.active = null;
|
||||
} else if (name.equals("morphology")) {
|
||||
this.morphology = null;
|
||||
} else if (name.equals("includedStructure")) {
|
||||
this.getIncludedStructure().add((BodyStructureIncludedStructureComponent) value);
|
||||
} else if (name.equals("excludedStructure")) {
|
||||
this.getExcludedStructure().add((BodyStructureIncludedStructureComponent) value);
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("image")) {
|
||||
this.getImage().remove(value);
|
||||
} else if (name.equals("patient")) {
|
||||
this.patient = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -2713,6 +2713,18 @@ public class Bundle extends Resource implements IBaseBundle {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("relation")) {
|
||||
value = new LinkRelationTypesEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.relation = (Enumeration) value; // Enumeration<LinkRelationTypes>
|
||||
} else if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3132,6 +3144,25 @@ public class Bundle extends Resource implements IBaseBundle {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("link")) {
|
||||
this.getLink().add((BundleLinkComponent) value);
|
||||
} else if (name.equals("fullUrl")) {
|
||||
this.fullUrl = null;
|
||||
} else if (name.equals("resource")) {
|
||||
this.resource = null;
|
||||
} else if (name.equals("search")) {
|
||||
this.search = (BundleEntrySearchComponent) value; // BundleEntrySearchComponent
|
||||
} else if (name.equals("request")) {
|
||||
this.request = (BundleEntryRequestComponent) value; // BundleEntryRequestComponent
|
||||
} else if (name.equals("response")) {
|
||||
this.response = (BundleEntryResponseComponent) value; // BundleEntryResponseComponent
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3485,6 +3516,18 @@ public class Bundle extends Resource implements IBaseBundle {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("mode")) {
|
||||
value = new SearchEntryModeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.mode = (Enumeration) value; // Enumeration<SearchEntryMode>
|
||||
} else if (name.equals("score")) {
|
||||
this.score = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3994,6 +4037,26 @@ public class Bundle extends Resource implements IBaseBundle {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("method")) {
|
||||
value = new HTTPVerbEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.method = (Enumeration) value; // Enumeration<HTTPVerb>
|
||||
} else if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else if (name.equals("ifNoneMatch")) {
|
||||
this.ifNoneMatch = null;
|
||||
} else if (name.equals("ifModifiedSince")) {
|
||||
this.ifModifiedSince = null;
|
||||
} else if (name.equals("ifMatch")) {
|
||||
this.ifMatch = null;
|
||||
} else if (name.equals("ifNoneExist")) {
|
||||
this.ifNoneExist = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -4438,6 +4501,23 @@ public class Bundle extends Resource implements IBaseBundle {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("status")) {
|
||||
this.status = null;
|
||||
} else if (name.equals("location")) {
|
||||
this.location = null;
|
||||
} else if (name.equals("etag")) {
|
||||
this.etag = null;
|
||||
} else if (name.equals("lastModified")) {
|
||||
this.lastModified = null;
|
||||
} else if (name.equals("outcome")) {
|
||||
this.outcome = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -5021,6 +5101,30 @@ public class Bundle extends Resource implements IBaseBundle {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.identifier = null;
|
||||
} else if (name.equals("type")) {
|
||||
value = new BundleTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.type = (Enumeration) value; // Enumeration<BundleType>
|
||||
} else if (name.equals("timestamp")) {
|
||||
this.timestamp = null;
|
||||
} else if (name.equals("total")) {
|
||||
this.total = null;
|
||||
} else if (name.equals("link")) {
|
||||
this.getLink().add((BundleLinkComponent) value);
|
||||
} else if (name.equals("entry")) {
|
||||
this.getEntry().add((BundleEntryComponent) value);
|
||||
} else if (name.equals("signature")) {
|
||||
this.signature = null;
|
||||
} else if (name.equals("issues")) {
|
||||
this.issues = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -528,6 +528,11 @@ public abstract class CanonicalResource extends DomainResource {
|
|||
return super.setProperty(name, value);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
super.removeChild(name, value);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -1416,6 +1416,19 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("version")) {
|
||||
this.version = null;
|
||||
} else if (name.equals("releaseDate")) {
|
||||
this.releaseDate = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1717,6 +1730,19 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else if (name.equals("custodian")) {
|
||||
this.custodian = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2369,6 +2395,30 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("mode")) {
|
||||
value = new RestfulCapabilityModeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.mode = (Enumeration) value; // Enumeration<RestfulCapabilityMode>
|
||||
} else if (name.equals("documentation")) {
|
||||
this.documentation = null;
|
||||
} else if (name.equals("security")) {
|
||||
this.security = (CapabilityStatementRestSecurityComponent) value; // CapabilityStatementRestSecurityComponent
|
||||
} else if (name.equals("resource")) {
|
||||
this.getResource().add((CapabilityStatementRestResourceComponent) value);
|
||||
} else if (name.equals("interaction")) {
|
||||
this.getInteraction().add((SystemInteractionComponent) value);
|
||||
} else if (name.equals("searchParam")) {
|
||||
this.getSearchParam().add((CapabilityStatementRestResourceSearchParamComponent) value);
|
||||
} else if (name.equals("operation")) {
|
||||
this.getOperation().add((CapabilityStatementRestResourceOperationComponent) value);
|
||||
} else if (name.equals("compartment")) {
|
||||
this.getCompartment().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2744,6 +2794,19 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("cors")) {
|
||||
this.cors = null;
|
||||
} else if (name.equals("service")) {
|
||||
this.getService().remove(value);
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -4086,6 +4149,53 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("profile")) {
|
||||
this.profile = null;
|
||||
} else if (name.equals("supportedProfile")) {
|
||||
this.getSupportedProfile().remove(value);
|
||||
} else if (name.equals("documentation")) {
|
||||
this.documentation = null;
|
||||
} else if (name.equals("interaction")) {
|
||||
this.getInteraction().add((ResourceInteractionComponent) value);
|
||||
} else if (name.equals("versioning")) {
|
||||
value = new ResourceVersionPolicyEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.versioning = (Enumeration) value; // Enumeration<ResourceVersionPolicy>
|
||||
} else if (name.equals("readHistory")) {
|
||||
this.readHistory = null;
|
||||
} else if (name.equals("updateCreate")) {
|
||||
this.updateCreate = null;
|
||||
} else if (name.equals("conditionalCreate")) {
|
||||
this.conditionalCreate = null;
|
||||
} else if (name.equals("conditionalRead")) {
|
||||
value = new ConditionalReadStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.conditionalRead = (Enumeration) value; // Enumeration<ConditionalReadStatus>
|
||||
} else if (name.equals("conditionalUpdate")) {
|
||||
this.conditionalUpdate = null;
|
||||
} else if (name.equals("conditionalPatch")) {
|
||||
this.conditionalPatch = null;
|
||||
} else if (name.equals("conditionalDelete")) {
|
||||
value = new ConditionalDeleteStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.conditionalDelete = (Enumeration) value; // Enumeration<ConditionalDeleteStatus>
|
||||
} else if (name.equals("referencePolicy")) {
|
||||
value = new ReferenceHandlingPolicyEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.getReferencePolicy().add((Enumeration) value);
|
||||
} else if (name.equals("searchInclude")) {
|
||||
this.getSearchInclude().remove(value);
|
||||
} else if (name.equals("searchRevInclude")) {
|
||||
this.getSearchRevInclude().remove(value);
|
||||
} else if (name.equals("searchParam")) {
|
||||
this.getSearchParam().add((CapabilityStatementRestResourceSearchParamComponent) value);
|
||||
} else if (name.equals("operation")) {
|
||||
this.getOperation().add((CapabilityStatementRestResourceOperationComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -4484,6 +4594,18 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
value = new TypeRestfulInteractionEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.code = (Enumeration) value; // Enumeration<TypeRestfulInteraction>
|
||||
} else if (name.equals("documentation")) {
|
||||
this.documentation = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -4865,6 +4987,22 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("definition")) {
|
||||
this.definition = null;
|
||||
} else if (name.equals("type")) {
|
||||
value = new SearchParamTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.type = (Enumeration) value; // Enumeration<SearchParamType>
|
||||
} else if (name.equals("documentation")) {
|
||||
this.documentation = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -5194,6 +5332,19 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("definition")) {
|
||||
this.definition = null;
|
||||
} else if (name.equals("documentation")) {
|
||||
this.documentation = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -5459,6 +5610,18 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
value = new SystemRestfulInteractionEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.code = (Enumeration) value; // Enumeration<SystemRestfulInteraction>
|
||||
} else if (name.equals("documentation")) {
|
||||
this.documentation = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -5840,6 +6003,21 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("endpoint")) {
|
||||
this.getEndpoint().add((CapabilityStatementMessagingEndpointComponent) value);
|
||||
} else if (name.equals("reliableCache")) {
|
||||
this.reliableCache = null;
|
||||
} else if (name.equals("documentation")) {
|
||||
this.documentation = null;
|
||||
} else if (name.equals("supportedMessage")) {
|
||||
this.getSupportedMessage().add((CapabilityStatementMessagingSupportedMessageComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -6094,6 +6272,17 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("protocol")) {
|
||||
this.protocol = null;
|
||||
} else if (name.equals("address")) {
|
||||
this.address = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -6348,6 +6537,18 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("mode")) {
|
||||
value = new EventCapabilityModeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.mode = (Enumeration) value; // Enumeration<EventCapabilityMode>
|
||||
} else if (name.equals("definition")) {
|
||||
this.definition = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -6665,6 +6866,20 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("mode")) {
|
||||
value = new DocumentModeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.mode = (Enumeration) value; // Enumeration<DocumentMode>
|
||||
} else if (name.equals("documentation")) {
|
||||
this.documentation = null;
|
||||
} else if (name.equals("profile")) {
|
||||
this.profile = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -8774,6 +8989,76 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("version")) {
|
||||
this.version = null;
|
||||
} else if (name.equals("versionAlgorithm[x]")) {
|
||||
this.versionAlgorithm = null;
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("status")) {
|
||||
value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<PublicationStatus>
|
||||
} else if (name.equals("experimental")) {
|
||||
this.experimental = null;
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("publisher")) {
|
||||
this.publisher = null;
|
||||
} else if (name.equals("contact")) {
|
||||
this.getContact().remove(value);
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("useContext")) {
|
||||
this.getUseContext().remove(value);
|
||||
} else if (name.equals("jurisdiction")) {
|
||||
this.getJurisdiction().remove(value);
|
||||
} else if (name.equals("purpose")) {
|
||||
this.purpose = null;
|
||||
} else if (name.equals("copyright")) {
|
||||
this.copyright = null;
|
||||
} else if (name.equals("copyrightLabel")) {
|
||||
this.copyrightLabel = null;
|
||||
} else if (name.equals("kind")) {
|
||||
value = new CapabilityStatementKindEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.kind = (Enumeration) value; // Enumeration<CapabilityStatementKind>
|
||||
} else if (name.equals("instantiates")) {
|
||||
this.getInstantiates().remove(value);
|
||||
} else if (name.equals("imports")) {
|
||||
this.getImports().remove(value);
|
||||
} else if (name.equals("software")) {
|
||||
this.software = (CapabilityStatementSoftwareComponent) value; // CapabilityStatementSoftwareComponent
|
||||
} else if (name.equals("implementation")) {
|
||||
this.implementation = (CapabilityStatementImplementationComponent) value; // CapabilityStatementImplementationComponent
|
||||
} else if (name.equals("fhirVersion")) {
|
||||
value = new FHIRVersionEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.fhirVersion = (Enumeration) value; // Enumeration<FHIRVersion>
|
||||
} else if (name.equals("format")) {
|
||||
this.getFormat().remove(value);
|
||||
} else if (name.equals("patchFormat")) {
|
||||
this.getPatchFormat().remove(value);
|
||||
} else if (name.equals("acceptLanguage")) {
|
||||
this.getAcceptLanguage().remove(value);
|
||||
} else if (name.equals("implementationGuide")) {
|
||||
this.getImplementationGuide().remove(value);
|
||||
} else if (name.equals("rest")) {
|
||||
this.getRest().add((CapabilityStatementRestComponent) value);
|
||||
} else if (name.equals("messaging")) {
|
||||
this.getMessaging().add((CapabilityStatementMessagingComponent) value);
|
||||
} else if (name.equals("document")) {
|
||||
this.getDocument().add((CapabilityStatementDocumentComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -419,6 +419,19 @@ public class CarePlan extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("performedActivity")) {
|
||||
this.getPerformedActivity().remove(value);
|
||||
} else if (name.equals("progress")) {
|
||||
this.getProgress().remove(value);
|
||||
} else if (name.equals("plannedActivityReference")) {
|
||||
this.plannedActivityReference = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2009,6 +2022,61 @@ public class CarePlan extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("instantiatesCanonical")) {
|
||||
this.getInstantiatesCanonical().remove(value);
|
||||
} else if (name.equals("instantiatesUri")) {
|
||||
this.getInstantiatesUri().remove(value);
|
||||
} else if (name.equals("basedOn")) {
|
||||
this.getBasedOn().remove(value);
|
||||
} else if (name.equals("replaces")) {
|
||||
this.getReplaces().remove(value);
|
||||
} else if (name.equals("partOf")) {
|
||||
this.getPartOf().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new RequestStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<RequestStatus>
|
||||
} else if (name.equals("intent")) {
|
||||
value = new CarePlanIntentEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.intent = (Enumeration) value; // Enumeration<CarePlanIntent>
|
||||
} else if (name.equals("category")) {
|
||||
this.getCategory().remove(value);
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("encounter")) {
|
||||
this.encounter = null;
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else if (name.equals("created")) {
|
||||
this.created = null;
|
||||
} else if (name.equals("custodian")) {
|
||||
this.custodian = null;
|
||||
} else if (name.equals("contributor")) {
|
||||
this.getContributor().remove(value);
|
||||
} else if (name.equals("careTeam")) {
|
||||
this.getCareTeam().remove(value);
|
||||
} else if (name.equals("addresses")) {
|
||||
this.getAddresses().remove(value);
|
||||
} else if (name.equals("supportingInfo")) {
|
||||
this.getSupportingInfo().remove(value);
|
||||
} else if (name.equals("goal")) {
|
||||
this.getGoal().remove(value);
|
||||
} else if (name.equals("activity")) {
|
||||
this.getActivity().add((CarePlanActivityComponent) value);
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -430,6 +430,21 @@ public class CareTeam extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("role")) {
|
||||
this.role = null;
|
||||
} else if (name.equals("member")) {
|
||||
this.member = null;
|
||||
} else if (name.equals("onBehalfOf")) {
|
||||
this.onBehalfOf = null;
|
||||
} else if (name.equals("coverage[x]")) {
|
||||
this.coverage = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1259,6 +1274,36 @@ public class CareTeam extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new CareTeamStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<CareTeamStatus>
|
||||
} else if (name.equals("category")) {
|
||||
this.getCategory().remove(value);
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else if (name.equals("participant")) {
|
||||
this.getParticipant().add((CareTeamParticipantComponent) value);
|
||||
} else if (name.equals("reason")) {
|
||||
this.getReason().remove(value);
|
||||
} else if (name.equals("managingOrganization")) {
|
||||
this.getManagingOrganization().remove(value);
|
||||
} else if (name.equals("telecom")) {
|
||||
this.getTelecom().remove(value);
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -362,6 +362,17 @@ public class ChargeItem extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("function")) {
|
||||
this.function = null;
|
||||
} else if (name.equals("actor")) {
|
||||
this.actor = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1970,6 +1981,66 @@ public class ChargeItem extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("definitionUri")) {
|
||||
this.getDefinitionUri().remove(value);
|
||||
} else if (name.equals("definitionCanonical")) {
|
||||
this.getDefinitionCanonical().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new ChargeItemStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<ChargeItemStatus>
|
||||
} else if (name.equals("partOf")) {
|
||||
this.getPartOf().remove(value);
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("encounter")) {
|
||||
this.encounter = null;
|
||||
} else if (name.equals("occurrence[x]")) {
|
||||
this.occurrence = null;
|
||||
} else if (name.equals("performer")) {
|
||||
this.getPerformer().add((ChargeItemPerformerComponent) value);
|
||||
} else if (name.equals("performingOrganization")) {
|
||||
this.performingOrganization = null;
|
||||
} else if (name.equals("requestingOrganization")) {
|
||||
this.requestingOrganization = null;
|
||||
} else if (name.equals("costCenter")) {
|
||||
this.costCenter = null;
|
||||
} else if (name.equals("quantity")) {
|
||||
this.quantity = null;
|
||||
} else if (name.equals("bodysite")) {
|
||||
this.getBodysite().remove(value);
|
||||
} else if (name.equals("unitPriceComponent")) {
|
||||
this.unitPriceComponent = null;
|
||||
} else if (name.equals("totalPriceComponent")) {
|
||||
this.totalPriceComponent = null;
|
||||
} else if (name.equals("overrideReason")) {
|
||||
this.overrideReason = null;
|
||||
} else if (name.equals("enterer")) {
|
||||
this.enterer = null;
|
||||
} else if (name.equals("enteredDate")) {
|
||||
this.enteredDate = null;
|
||||
} else if (name.equals("reason")) {
|
||||
this.getReason().remove(value);
|
||||
} else if (name.equals("service")) {
|
||||
this.getService().remove(value);
|
||||
} else if (name.equals("product")) {
|
||||
this.getProduct().remove(value);
|
||||
} else if (name.equals("account")) {
|
||||
this.getAccount().remove(value);
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("supportingInformation")) {
|
||||
this.getSupportingInformation().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -216,6 +216,19 @@ public class ChargeItemDefinition extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("condition")) {
|
||||
this.condition = null;
|
||||
} else if (name.equals("effectivePeriod")) {
|
||||
this.effectivePeriod = null;
|
||||
} else if (name.equals("relatedArtifact")) {
|
||||
this.relatedArtifact = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -484,6 +497,17 @@ public class ChargeItemDefinition extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("applicability")) {
|
||||
this.getApplicability().add((ChargeItemDefinitionApplicabilityComponent) value);
|
||||
} else if (name.equals("priceComponent")) {
|
||||
this.getPriceComponent().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2560,6 +2584,66 @@ public class ChargeItemDefinition extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("version")) {
|
||||
this.version = null;
|
||||
} else if (name.equals("versionAlgorithm[x]")) {
|
||||
this.versionAlgorithm = null;
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("derivedFromUri")) {
|
||||
this.getDerivedFromUri().remove(value);
|
||||
} else if (name.equals("partOf")) {
|
||||
this.getPartOf().remove(value);
|
||||
} else if (name.equals("replaces")) {
|
||||
this.getReplaces().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<PublicationStatus>
|
||||
} else if (name.equals("experimental")) {
|
||||
this.experimental = null;
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("publisher")) {
|
||||
this.publisher = null;
|
||||
} else if (name.equals("contact")) {
|
||||
this.getContact().remove(value);
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("useContext")) {
|
||||
this.getUseContext().remove(value);
|
||||
} else if (name.equals("jurisdiction")) {
|
||||
this.getJurisdiction().remove(value);
|
||||
} else if (name.equals("purpose")) {
|
||||
this.purpose = null;
|
||||
} else if (name.equals("copyright")) {
|
||||
this.copyright = null;
|
||||
} else if (name.equals("copyrightLabel")) {
|
||||
this.copyrightLabel = null;
|
||||
} else if (name.equals("approvalDate")) {
|
||||
this.approvalDate = null;
|
||||
} else if (name.equals("lastReviewDate")) {
|
||||
this.lastReviewDate = null;
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("instance")) {
|
||||
this.getInstance().remove(value);
|
||||
} else if (name.equals("applicability")) {
|
||||
this.getApplicability().add((ChargeItemDefinitionApplicabilityComponent) value);
|
||||
} else if (name.equals("propertyGroup")) {
|
||||
this.getPropertyGroup().add((ChargeItemDefinitionPropertyGroupComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -879,6 +879,17 @@ public class Citation extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("style")) {
|
||||
this.style = null;
|
||||
} else if (name.equals("text")) {
|
||||
this.text = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1110,6 +1121,17 @@ public class Citation extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("classifier")) {
|
||||
this.getClassifier().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1384,6 +1406,19 @@ public class Citation extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("activity")) {
|
||||
this.activity = null;
|
||||
} else if (name.equals("actual")) {
|
||||
this.actual = null;
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2445,6 +2480,43 @@ public class Citation extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("relatedIdentifier")) {
|
||||
this.getRelatedIdentifier().remove(value);
|
||||
} else if (name.equals("dateAccessed")) {
|
||||
this.dateAccessed = null;
|
||||
} else if (name.equals("version")) {
|
||||
this.version = (CitationCitedArtifactVersionComponent) value; // CitationCitedArtifactVersionComponent
|
||||
} else if (name.equals("currentState")) {
|
||||
this.getCurrentState().remove(value);
|
||||
} else if (name.equals("statusDate")) {
|
||||
this.getStatusDate().add((CitationCitedArtifactStatusDateComponent) value);
|
||||
} else if (name.equals("title")) {
|
||||
this.getTitle().add((CitationCitedArtifactTitleComponent) value);
|
||||
} else if (name.equals("abstract")) {
|
||||
this.getAbstract().add((CitationCitedArtifactAbstractComponent) value);
|
||||
} else if (name.equals("part")) {
|
||||
this.part = (CitationCitedArtifactPartComponent) value; // CitationCitedArtifactPartComponent
|
||||
} else if (name.equals("relatesTo")) {
|
||||
this.getRelatesTo().add((CitationCitedArtifactRelatesToComponent) value);
|
||||
} else if (name.equals("publicationForm")) {
|
||||
this.getPublicationForm().add((CitationCitedArtifactPublicationFormComponent) value);
|
||||
} else if (name.equals("webLocation")) {
|
||||
this.getWebLocation().add((CitationCitedArtifactWebLocationComponent) value);
|
||||
} else if (name.equals("classification")) {
|
||||
this.getClassification().add((CitationCitedArtifactClassificationComponent) value);
|
||||
} else if (name.equals("contributorship")) {
|
||||
this.contributorship = (CitationCitedArtifactContributorshipComponent) value; // CitationCitedArtifactContributorshipComponent
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2805,6 +2877,17 @@ public class Citation extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("value")) {
|
||||
this.value = null;
|
||||
} else if (name.equals("baseCitation")) {
|
||||
this.baseCitation = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3075,6 +3158,19 @@ public class Citation extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("activity")) {
|
||||
this.activity = null;
|
||||
} else if (name.equals("actual")) {
|
||||
this.actual = null;
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3383,6 +3479,19 @@ public class Citation extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.getType().remove(value);
|
||||
} else if (name.equals("language")) {
|
||||
this.language = null;
|
||||
} else if (name.equals("text")) {
|
||||
this.text = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3728,6 +3837,21 @@ public class Citation extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("language")) {
|
||||
this.language = null;
|
||||
} else if (name.equals("text")) {
|
||||
this.text = null;
|
||||
} else if (name.equals("copyright")) {
|
||||
this.copyright = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -4008,6 +4132,19 @@ public class Citation extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("value")) {
|
||||
this.value = null;
|
||||
} else if (name.equals("baseCitation")) {
|
||||
this.baseCitation = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -4613,6 +4750,30 @@ public class Citation extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
value = new RelatedArtifactTypeExpandedEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.type = (Enumeration) value; // Enumeration<RelatedArtifactTypeExpanded>
|
||||
} else if (name.equals("classifier")) {
|
||||
this.getClassifier().remove(value);
|
||||
} else if (name.equals("label")) {
|
||||
this.label = null;
|
||||
} else if (name.equals("display")) {
|
||||
this.display = null;
|
||||
} else if (name.equals("citation")) {
|
||||
this.citation = null;
|
||||
} else if (name.equals("document")) {
|
||||
this.document = null;
|
||||
} else if (name.equals("resource")) {
|
||||
this.resource = null;
|
||||
} else if (name.equals("resourceReference")) {
|
||||
this.resourceReference = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -5697,6 +5858,43 @@ public class Citation extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("publishedIn")) {
|
||||
this.publishedIn = (CitationCitedArtifactPublicationFormPublishedInComponent) value; // CitationCitedArtifactPublicationFormPublishedInComponent
|
||||
} else if (name.equals("citedMedium")) {
|
||||
this.citedMedium = null;
|
||||
} else if (name.equals("volume")) {
|
||||
this.volume = null;
|
||||
} else if (name.equals("issue")) {
|
||||
this.issue = null;
|
||||
} else if (name.equals("articleDate")) {
|
||||
this.articleDate = null;
|
||||
} else if (name.equals("publicationDateText")) {
|
||||
this.publicationDateText = null;
|
||||
} else if (name.equals("publicationDateSeason")) {
|
||||
this.publicationDateSeason = null;
|
||||
} else if (name.equals("lastRevisionDate")) {
|
||||
this.lastRevisionDate = null;
|
||||
} else if (name.equals("language")) {
|
||||
this.getLanguage().remove(value);
|
||||
} else if (name.equals("accessionNumber")) {
|
||||
this.accessionNumber = null;
|
||||
} else if (name.equals("pageString")) {
|
||||
this.pageString = null;
|
||||
} else if (name.equals("firstPage")) {
|
||||
this.firstPage = null;
|
||||
} else if (name.equals("lastPage")) {
|
||||
this.lastPage = null;
|
||||
} else if (name.equals("pageCount")) {
|
||||
this.pageCount = null;
|
||||
} else if (name.equals("copyright")) {
|
||||
this.copyright = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -6190,6 +6388,23 @@ public class Citation extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("publisher")) {
|
||||
this.publisher = null;
|
||||
} else if (name.equals("publisherLocation")) {
|
||||
this.publisherLocation = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -6472,6 +6687,17 @@ public class Citation extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("classifier")) {
|
||||
this.getClassifier().remove(value);
|
||||
} else if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -6774,6 +7000,19 @@ public class Citation extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("classifier")) {
|
||||
this.getClassifier().remove(value);
|
||||
} else if (name.equals("artifactAssessment")) {
|
||||
this.getArtifactAssessment().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -7108,6 +7347,19 @@ public class Citation extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("complete")) {
|
||||
this.complete = null;
|
||||
} else if (name.equals("entry")) {
|
||||
this.getEntry().add((CitationCitedArtifactContributorshipEntryComponent) value);
|
||||
} else if (name.equals("summary")) {
|
||||
this.getSummary().add((ContributorshipSummaryComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -7721,6 +7973,29 @@ public class Citation extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("contributor")) {
|
||||
this.contributor = null;
|
||||
} else if (name.equals("forenameInitials")) {
|
||||
this.forenameInitials = null;
|
||||
} else if (name.equals("affiliation")) {
|
||||
this.getAffiliation().remove(value);
|
||||
} else if (name.equals("contributionType")) {
|
||||
this.getContributionType().remove(value);
|
||||
} else if (name.equals("role")) {
|
||||
this.role = null;
|
||||
} else if (name.equals("contributionInstance")) {
|
||||
this.getContributionInstance().add((CitationCitedArtifactContributorshipEntryContributionInstanceComponent) value);
|
||||
} else if (name.equals("correspondingContact")) {
|
||||
this.correspondingContact = null;
|
||||
} else if (name.equals("rankingOrder")) {
|
||||
this.rankingOrder = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -8011,6 +8286,17 @@ public class Citation extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("time")) {
|
||||
this.time = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -8321,6 +8607,21 @@ public class Citation extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("style")) {
|
||||
this.style = null;
|
||||
} else if (name.equals("source")) {
|
||||
this.source = null;
|
||||
} else if (name.equals("value")) {
|
||||
this.value = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -10493,6 +10794,76 @@ public class Citation extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("version")) {
|
||||
this.version = null;
|
||||
} else if (name.equals("versionAlgorithm[x]")) {
|
||||
this.versionAlgorithm = null;
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("status")) {
|
||||
value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<PublicationStatus>
|
||||
} else if (name.equals("experimental")) {
|
||||
this.experimental = null;
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("publisher")) {
|
||||
this.publisher = null;
|
||||
} else if (name.equals("contact")) {
|
||||
this.getContact().remove(value);
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("useContext")) {
|
||||
this.getUseContext().remove(value);
|
||||
} else if (name.equals("jurisdiction")) {
|
||||
this.getJurisdiction().remove(value);
|
||||
} else if (name.equals("purpose")) {
|
||||
this.purpose = null;
|
||||
} else if (name.equals("copyright")) {
|
||||
this.copyright = null;
|
||||
} else if (name.equals("copyrightLabel")) {
|
||||
this.copyrightLabel = null;
|
||||
} else if (name.equals("approvalDate")) {
|
||||
this.approvalDate = null;
|
||||
} else if (name.equals("lastReviewDate")) {
|
||||
this.lastReviewDate = null;
|
||||
} else if (name.equals("effectivePeriod")) {
|
||||
this.effectivePeriod = null;
|
||||
} else if (name.equals("author")) {
|
||||
this.getAuthor().remove(value);
|
||||
} else if (name.equals("editor")) {
|
||||
this.getEditor().remove(value);
|
||||
} else if (name.equals("reviewer")) {
|
||||
this.getReviewer().remove(value);
|
||||
} else if (name.equals("endorser")) {
|
||||
this.getEndorser().remove(value);
|
||||
} else if (name.equals("summary")) {
|
||||
this.getSummary().add((CitationSummaryComponent) value);
|
||||
} else if (name.equals("classification")) {
|
||||
this.getClassification().add((CitationClassificationComponent) value);
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("currentState")) {
|
||||
this.getCurrentState().remove(value);
|
||||
} else if (name.equals("statusDate")) {
|
||||
this.getStatusDate().add((CitationStatusDateComponent) value);
|
||||
} else if (name.equals("relatedArtifact")) {
|
||||
this.getRelatedArtifact().remove(value);
|
||||
} else if (name.equals("citedArtifact")) {
|
||||
this.citedArtifact = (CitationCitedArtifactComponent) value; // CitationCitedArtifactComponent
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -218,6 +218,19 @@ public class Claim extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("claim")) {
|
||||
this.claim = null;
|
||||
} else if (name.equals("relationship")) {
|
||||
this.relationship = null;
|
||||
} else if (name.equals("reference")) {
|
||||
this.reference = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -437,6 +450,17 @@ public class Claim extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("party")) {
|
||||
this.party = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -678,6 +702,17 @@ public class Claim extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("when[x]")) {
|
||||
this.when = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1054,6 +1089,23 @@ public class Claim extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("sequence")) {
|
||||
this.sequence = null;
|
||||
} else if (name.equals("provider")) {
|
||||
this.provider = null;
|
||||
} else if (name.equals("responsible")) {
|
||||
this.responsible = null;
|
||||
} else if (name.equals("role")) {
|
||||
this.role = null;
|
||||
} else if (name.equals("specialty")) {
|
||||
this.specialty = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1590,6 +1642,25 @@ public class Claim extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("sequence")) {
|
||||
this.sequence = null;
|
||||
} else if (name.equals("category")) {
|
||||
this.category = null;
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("timing[x]")) {
|
||||
this.timing = null;
|
||||
} else if (name.equals("value[x]")) {
|
||||
this.value = null;
|
||||
} else if (name.equals("reason")) {
|
||||
this.reason = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2017,6 +2088,21 @@ public class Claim extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("sequence")) {
|
||||
this.sequence = null;
|
||||
} else if (name.equals("diagnosis[x]")) {
|
||||
this.diagnosis = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.getType().remove(value);
|
||||
} else if (name.equals("onAdmission")) {
|
||||
this.onAdmission = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2503,6 +2589,23 @@ public class Claim extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("sequence")) {
|
||||
this.sequence = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.getType().remove(value);
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("procedure[x]")) {
|
||||
this.procedure = null;
|
||||
} else if (name.equals("udi")) {
|
||||
this.getUdi().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3045,6 +3148,27 @@ public class Claim extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("sequence")) {
|
||||
this.sequence = null;
|
||||
} else if (name.equals("focal")) {
|
||||
this.focal = null;
|
||||
} else if (name.equals("identifier")) {
|
||||
this.identifier = null;
|
||||
} else if (name.equals("coverage")) {
|
||||
this.coverage = null;
|
||||
} else if (name.equals("businessArrangement")) {
|
||||
this.businessArrangement = null;
|
||||
} else if (name.equals("preAuthRef")) {
|
||||
this.getPreAuthRef().remove(value);
|
||||
} else if (name.equals("claimResponse")) {
|
||||
this.claimResponse = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3385,6 +3509,19 @@ public class Claim extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("location[x]")) {
|
||||
this.location = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -5030,6 +5167,63 @@ public class Claim extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("sequence")) {
|
||||
this.sequence = null;
|
||||
} else if (name.equals("traceNumber")) {
|
||||
this.getTraceNumber().remove(value);
|
||||
} else if (name.equals("careTeamSequence")) {
|
||||
this.getCareTeamSequence().remove(value);
|
||||
} else if (name.equals("diagnosisSequence")) {
|
||||
this.getDiagnosisSequence().remove(value);
|
||||
} else if (name.equals("procedureSequence")) {
|
||||
this.getProcedureSequence().remove(value);
|
||||
} else if (name.equals("informationSequence")) {
|
||||
this.getInformationSequence().remove(value);
|
||||
} else if (name.equals("revenue")) {
|
||||
this.revenue = null;
|
||||
} else if (name.equals("category")) {
|
||||
this.category = null;
|
||||
} else if (name.equals("productOrService")) {
|
||||
this.productOrService = null;
|
||||
} else if (name.equals("productOrServiceEnd")) {
|
||||
this.productOrServiceEnd = null;
|
||||
} else if (name.equals("request")) {
|
||||
this.getRequest().remove(value);
|
||||
} else if (name.equals("modifier")) {
|
||||
this.getModifier().remove(value);
|
||||
} else if (name.equals("programCode")) {
|
||||
this.getProgramCode().remove(value);
|
||||
} else if (name.equals("serviced[x]")) {
|
||||
this.serviced = null;
|
||||
} else if (name.equals("location[x]")) {
|
||||
this.location = null;
|
||||
} else if (name.equals("patientPaid")) {
|
||||
this.patientPaid = null;
|
||||
} else if (name.equals("quantity")) {
|
||||
this.quantity = null;
|
||||
} else if (name.equals("unitPrice")) {
|
||||
this.unitPrice = null;
|
||||
} else if (name.equals("factor")) {
|
||||
this.factor = null;
|
||||
} else if (name.equals("tax")) {
|
||||
this.tax = null;
|
||||
} else if (name.equals("net")) {
|
||||
this.net = null;
|
||||
} else if (name.equals("udi")) {
|
||||
this.getUdi().remove(value);
|
||||
} else if (name.equals("bodySite")) {
|
||||
this.getBodySite().add((BodySiteComponent) value);
|
||||
} else if (name.equals("encounter")) {
|
||||
this.getEncounter().remove(value);
|
||||
} else if (name.equals("detail")) {
|
||||
this.getDetail().add((DetailComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -5524,6 +5718,17 @@ public class Claim extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("site")) {
|
||||
this.getSite().remove(value);
|
||||
} else if (name.equals("subSite")) {
|
||||
this.getSubSite().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -6500,6 +6705,45 @@ public class Claim extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("sequence")) {
|
||||
this.sequence = null;
|
||||
} else if (name.equals("traceNumber")) {
|
||||
this.getTraceNumber().remove(value);
|
||||
} else if (name.equals("revenue")) {
|
||||
this.revenue = null;
|
||||
} else if (name.equals("category")) {
|
||||
this.category = null;
|
||||
} else if (name.equals("productOrService")) {
|
||||
this.productOrService = null;
|
||||
} else if (name.equals("productOrServiceEnd")) {
|
||||
this.productOrServiceEnd = null;
|
||||
} else if (name.equals("modifier")) {
|
||||
this.getModifier().remove(value);
|
||||
} else if (name.equals("programCode")) {
|
||||
this.getProgramCode().remove(value);
|
||||
} else if (name.equals("patientPaid")) {
|
||||
this.patientPaid = null;
|
||||
} else if (name.equals("quantity")) {
|
||||
this.quantity = null;
|
||||
} else if (name.equals("unitPrice")) {
|
||||
this.unitPrice = null;
|
||||
} else if (name.equals("factor")) {
|
||||
this.factor = null;
|
||||
} else if (name.equals("tax")) {
|
||||
this.tax = null;
|
||||
} else if (name.equals("net")) {
|
||||
this.net = null;
|
||||
} else if (name.equals("udi")) {
|
||||
this.getUdi().remove(value);
|
||||
} else if (name.equals("subDetail")) {
|
||||
this.getSubDetail().add((SubDetailComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -7521,6 +7765,43 @@ public class Claim extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("sequence")) {
|
||||
this.sequence = null;
|
||||
} else if (name.equals("traceNumber")) {
|
||||
this.getTraceNumber().remove(value);
|
||||
} else if (name.equals("revenue")) {
|
||||
this.revenue = null;
|
||||
} else if (name.equals("category")) {
|
||||
this.category = null;
|
||||
} else if (name.equals("productOrService")) {
|
||||
this.productOrService = null;
|
||||
} else if (name.equals("productOrServiceEnd")) {
|
||||
this.productOrServiceEnd = null;
|
||||
} else if (name.equals("modifier")) {
|
||||
this.getModifier().remove(value);
|
||||
} else if (name.equals("programCode")) {
|
||||
this.getProgramCode().remove(value);
|
||||
} else if (name.equals("patientPaid")) {
|
||||
this.patientPaid = null;
|
||||
} else if (name.equals("quantity")) {
|
||||
this.quantity = null;
|
||||
} else if (name.equals("unitPrice")) {
|
||||
this.unitPrice = null;
|
||||
} else if (name.equals("factor")) {
|
||||
this.factor = null;
|
||||
} else if (name.equals("tax")) {
|
||||
this.tax = null;
|
||||
} else if (name.equals("net")) {
|
||||
this.net = null;
|
||||
} else if (name.equals("udi")) {
|
||||
this.getUdi().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -9404,6 +9685,79 @@ public class Claim extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("traceNumber")) {
|
||||
this.getTraceNumber().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new FinancialResourceStatusCodesEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<FinancialResourceStatusCodes>
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("subType")) {
|
||||
this.subType = null;
|
||||
} else if (name.equals("use")) {
|
||||
value = new UseEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.use = (Enumeration) value; // Enumeration<Use>
|
||||
} else if (name.equals("patient")) {
|
||||
this.patient = null;
|
||||
} else if (name.equals("billablePeriod")) {
|
||||
this.billablePeriod = null;
|
||||
} else if (name.equals("created")) {
|
||||
this.created = null;
|
||||
} else if (name.equals("enterer")) {
|
||||
this.enterer = null;
|
||||
} else if (name.equals("insurer")) {
|
||||
this.insurer = null;
|
||||
} else if (name.equals("provider")) {
|
||||
this.provider = null;
|
||||
} else if (name.equals("priority")) {
|
||||
this.priority = null;
|
||||
} else if (name.equals("fundsReserve")) {
|
||||
this.fundsReserve = null;
|
||||
} else if (name.equals("related")) {
|
||||
this.getRelated().add((RelatedClaimComponent) value);
|
||||
} else if (name.equals("prescription")) {
|
||||
this.prescription = null;
|
||||
} else if (name.equals("originalPrescription")) {
|
||||
this.originalPrescription = null;
|
||||
} else if (name.equals("payee")) {
|
||||
this.payee = (PayeeComponent) value; // PayeeComponent
|
||||
} else if (name.equals("referral")) {
|
||||
this.referral = null;
|
||||
} else if (name.equals("encounter")) {
|
||||
this.getEncounter().remove(value);
|
||||
} else if (name.equals("facility")) {
|
||||
this.facility = null;
|
||||
} else if (name.equals("diagnosisRelatedGroup")) {
|
||||
this.diagnosisRelatedGroup = null;
|
||||
} else if (name.equals("event")) {
|
||||
this.getEvent().add((ClaimEventComponent) value);
|
||||
} else if (name.equals("careTeam")) {
|
||||
this.getCareTeam().add((CareTeamComponent) value);
|
||||
} else if (name.equals("supportingInfo")) {
|
||||
this.getSupportingInfo().add((SupportingInformationComponent) value);
|
||||
} else if (name.equals("diagnosis")) {
|
||||
this.getDiagnosis().add((DiagnosisComponent) value);
|
||||
} else if (name.equals("procedure")) {
|
||||
this.getProcedure().add((ProcedureComponent) value);
|
||||
} else if (name.equals("insurance")) {
|
||||
this.getInsurance().add((InsuranceComponent) value);
|
||||
} else if (name.equals("accident")) {
|
||||
this.accident = (AccidentComponent) value; // AccidentComponent
|
||||
} else if (name.equals("patientPaid")) {
|
||||
this.patientPaid = null;
|
||||
} else if (name.equals("item")) {
|
||||
this.getItem().add((ItemComponent) value);
|
||||
} else if (name.equals("total")) {
|
||||
this.total = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -218,6 +218,17 @@ public class ClaimResponse extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("when[x]")) {
|
||||
this.when = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -733,6 +744,25 @@ public class ClaimResponse extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("itemSequence")) {
|
||||
this.itemSequence = null;
|
||||
} else if (name.equals("traceNumber")) {
|
||||
this.getTraceNumber().remove(value);
|
||||
} else if (name.equals("noteNumber")) {
|
||||
this.getNoteNumber().remove(value);
|
||||
} else if (name.equals("reviewOutcome")) {
|
||||
this.reviewOutcome = (ReviewOutcomeComponent) value; // ReviewOutcomeComponent
|
||||
} else if (name.equals("adjudication")) {
|
||||
this.getAdjudication().add((AdjudicationComponent) value);
|
||||
} else if (name.equals("detail")) {
|
||||
this.getDetail().add((ItemDetailComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1111,6 +1141,21 @@ public class ClaimResponse extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("decision")) {
|
||||
this.decision = null;
|
||||
} else if (name.equals("reason")) {
|
||||
this.getReason().remove(value);
|
||||
} else if (name.equals("preAuthRef")) {
|
||||
this.preAuthRef = null;
|
||||
} else if (name.equals("preAuthPeriod")) {
|
||||
this.preAuthPeriod = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1418,6 +1463,21 @@ public class ClaimResponse extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("category")) {
|
||||
this.category = null;
|
||||
} else if (name.equals("reason")) {
|
||||
this.reason = null;
|
||||
} else if (name.equals("amount")) {
|
||||
this.amount = null;
|
||||
} else if (name.equals("quantity")) {
|
||||
this.quantity = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1944,6 +2004,25 @@ public class ClaimResponse extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("detailSequence")) {
|
||||
this.detailSequence = null;
|
||||
} else if (name.equals("traceNumber")) {
|
||||
this.getTraceNumber().remove(value);
|
||||
} else if (name.equals("noteNumber")) {
|
||||
this.getNoteNumber().remove(value);
|
||||
} else if (name.equals("reviewOutcome")) {
|
||||
this.reviewOutcome = (ReviewOutcomeComponent) value; // ReviewOutcomeComponent
|
||||
} else if (name.equals("adjudication")) {
|
||||
this.getAdjudication().add((AdjudicationComponent) value);
|
||||
} else if (name.equals("subDetail")) {
|
||||
this.getSubDetail().add((SubDetailComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2430,6 +2509,23 @@ public class ClaimResponse extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("subDetailSequence")) {
|
||||
this.subDetailSequence = null;
|
||||
} else if (name.equals("traceNumber")) {
|
||||
this.getTraceNumber().remove(value);
|
||||
} else if (name.equals("noteNumber")) {
|
||||
this.getNoteNumber().remove(value);
|
||||
} else if (name.equals("reviewOutcome")) {
|
||||
this.reviewOutcome = (ReviewOutcomeComponent) value; // ReviewOutcomeComponent
|
||||
} else if (name.equals("adjudication")) {
|
||||
this.getAdjudication().add((AdjudicationComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3988,6 +4084,59 @@ public class ClaimResponse extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("itemSequence")) {
|
||||
this.getItemSequence().remove(value);
|
||||
} else if (name.equals("detailSequence")) {
|
||||
this.getDetailSequence().remove(value);
|
||||
} else if (name.equals("subdetailSequence")) {
|
||||
this.getSubdetailSequence().remove(value);
|
||||
} else if (name.equals("traceNumber")) {
|
||||
this.getTraceNumber().remove(value);
|
||||
} else if (name.equals("provider")) {
|
||||
this.getProvider().remove(value);
|
||||
} else if (name.equals("revenue")) {
|
||||
this.revenue = null;
|
||||
} else if (name.equals("productOrService")) {
|
||||
this.productOrService = null;
|
||||
} else if (name.equals("productOrServiceEnd")) {
|
||||
this.productOrServiceEnd = null;
|
||||
} else if (name.equals("request")) {
|
||||
this.getRequest().remove(value);
|
||||
} else if (name.equals("modifier")) {
|
||||
this.getModifier().remove(value);
|
||||
} else if (name.equals("programCode")) {
|
||||
this.getProgramCode().remove(value);
|
||||
} else if (name.equals("serviced[x]")) {
|
||||
this.serviced = null;
|
||||
} else if (name.equals("location[x]")) {
|
||||
this.location = null;
|
||||
} else if (name.equals("quantity")) {
|
||||
this.quantity = null;
|
||||
} else if (name.equals("unitPrice")) {
|
||||
this.unitPrice = null;
|
||||
} else if (name.equals("factor")) {
|
||||
this.factor = null;
|
||||
} else if (name.equals("tax")) {
|
||||
this.tax = null;
|
||||
} else if (name.equals("net")) {
|
||||
this.net = null;
|
||||
} else if (name.equals("bodySite")) {
|
||||
this.getBodySite().add((BodySiteComponent) value);
|
||||
} else if (name.equals("noteNumber")) {
|
||||
this.getNoteNumber().remove(value);
|
||||
} else if (name.equals("reviewOutcome")) {
|
||||
this.reviewOutcome = (ReviewOutcomeComponent) value; // ReviewOutcomeComponent
|
||||
} else if (name.equals("adjudication")) {
|
||||
this.getAdjudication().add((AdjudicationComponent) value);
|
||||
} else if (name.equals("detail")) {
|
||||
this.getDetail().add((AddedItemDetailComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -4466,6 +4615,17 @@ public class ClaimResponse extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("site")) {
|
||||
this.getSite().remove(value);
|
||||
} else if (name.equals("subSite")) {
|
||||
this.getSubSite().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -5341,6 +5501,41 @@ public class ClaimResponse extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("traceNumber")) {
|
||||
this.getTraceNumber().remove(value);
|
||||
} else if (name.equals("revenue")) {
|
||||
this.revenue = null;
|
||||
} else if (name.equals("productOrService")) {
|
||||
this.productOrService = null;
|
||||
} else if (name.equals("productOrServiceEnd")) {
|
||||
this.productOrServiceEnd = null;
|
||||
} else if (name.equals("modifier")) {
|
||||
this.getModifier().remove(value);
|
||||
} else if (name.equals("quantity")) {
|
||||
this.quantity = null;
|
||||
} else if (name.equals("unitPrice")) {
|
||||
this.unitPrice = null;
|
||||
} else if (name.equals("factor")) {
|
||||
this.factor = null;
|
||||
} else if (name.equals("tax")) {
|
||||
this.tax = null;
|
||||
} else if (name.equals("net")) {
|
||||
this.net = null;
|
||||
} else if (name.equals("noteNumber")) {
|
||||
this.getNoteNumber().remove(value);
|
||||
} else if (name.equals("reviewOutcome")) {
|
||||
this.reviewOutcome = (ReviewOutcomeComponent) value; // ReviewOutcomeComponent
|
||||
} else if (name.equals("adjudication")) {
|
||||
this.getAdjudication().add((AdjudicationComponent) value);
|
||||
} else if (name.equals("subDetail")) {
|
||||
this.getSubDetail().add((AddedItemSubDetailComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -6247,6 +6442,39 @@ public class ClaimResponse extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("traceNumber")) {
|
||||
this.getTraceNumber().remove(value);
|
||||
} else if (name.equals("revenue")) {
|
||||
this.revenue = null;
|
||||
} else if (name.equals("productOrService")) {
|
||||
this.productOrService = null;
|
||||
} else if (name.equals("productOrServiceEnd")) {
|
||||
this.productOrServiceEnd = null;
|
||||
} else if (name.equals("modifier")) {
|
||||
this.getModifier().remove(value);
|
||||
} else if (name.equals("quantity")) {
|
||||
this.quantity = null;
|
||||
} else if (name.equals("unitPrice")) {
|
||||
this.unitPrice = null;
|
||||
} else if (name.equals("factor")) {
|
||||
this.factor = null;
|
||||
} else if (name.equals("tax")) {
|
||||
this.tax = null;
|
||||
} else if (name.equals("net")) {
|
||||
this.net = null;
|
||||
} else if (name.equals("noteNumber")) {
|
||||
this.getNoteNumber().remove(value);
|
||||
} else if (name.equals("reviewOutcome")) {
|
||||
this.reviewOutcome = (ReviewOutcomeComponent) value; // ReviewOutcomeComponent
|
||||
} else if (name.equals("adjudication")) {
|
||||
this.getAdjudication().add((AdjudicationComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -6553,6 +6781,17 @@ public class ClaimResponse extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("category")) {
|
||||
this.category = null;
|
||||
} else if (name.equals("amount")) {
|
||||
this.amount = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -6946,6 +7185,25 @@ public class ClaimResponse extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("adjustment")) {
|
||||
this.adjustment = null;
|
||||
} else if (name.equals("adjustmentReason")) {
|
||||
this.adjustmentReason = null;
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("amount")) {
|
||||
this.amount = null;
|
||||
} else if (name.equals("identifier")) {
|
||||
this.identifier = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -7307,6 +7565,21 @@ public class ClaimResponse extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("number")) {
|
||||
this.number = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("text")) {
|
||||
this.text = null;
|
||||
} else if (name.equals("language")) {
|
||||
this.language = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -7716,6 +7989,23 @@ public class ClaimResponse extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("sequence")) {
|
||||
this.sequence = null;
|
||||
} else if (name.equals("focal")) {
|
||||
this.focal = null;
|
||||
} else if (name.equals("coverage")) {
|
||||
this.coverage = null;
|
||||
} else if (name.equals("businessArrangement")) {
|
||||
this.businessArrangement = null;
|
||||
} else if (name.equals("claimResponse")) {
|
||||
this.claimResponse = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -8165,6 +8455,23 @@ public class ClaimResponse extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("itemSequence")) {
|
||||
this.itemSequence = null;
|
||||
} else if (name.equals("detailSequence")) {
|
||||
this.detailSequence = null;
|
||||
} else if (name.equals("subDetailSequence")) {
|
||||
this.subDetailSequence = null;
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("expression")) {
|
||||
this.getExpression().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -10071,6 +10378,80 @@ public class ClaimResponse extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("traceNumber")) {
|
||||
this.getTraceNumber().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new FinancialResourceStatusCodesEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<FinancialResourceStatusCodes>
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("subType")) {
|
||||
this.subType = null;
|
||||
} else if (name.equals("use")) {
|
||||
value = new UseEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.use = (Enumeration) value; // Enumeration<Use>
|
||||
} else if (name.equals("patient")) {
|
||||
this.patient = null;
|
||||
} else if (name.equals("created")) {
|
||||
this.created = null;
|
||||
} else if (name.equals("insurer")) {
|
||||
this.insurer = null;
|
||||
} else if (name.equals("requestor")) {
|
||||
this.requestor = null;
|
||||
} else if (name.equals("request")) {
|
||||
this.request = null;
|
||||
} else if (name.equals("outcome")) {
|
||||
value = new ClaimProcessingCodesEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.outcome = (Enumeration) value; // Enumeration<ClaimProcessingCodes>
|
||||
} else if (name.equals("decision")) {
|
||||
this.decision = null;
|
||||
} else if (name.equals("disposition")) {
|
||||
this.disposition = null;
|
||||
} else if (name.equals("preAuthRef")) {
|
||||
this.preAuthRef = null;
|
||||
} else if (name.equals("preAuthPeriod")) {
|
||||
this.preAuthPeriod = null;
|
||||
} else if (name.equals("event")) {
|
||||
this.getEvent().add((ClaimResponseEventComponent) value);
|
||||
} else if (name.equals("payeeType")) {
|
||||
this.payeeType = null;
|
||||
} else if (name.equals("encounter")) {
|
||||
this.getEncounter().remove(value);
|
||||
} else if (name.equals("diagnosisRelatedGroup")) {
|
||||
this.diagnosisRelatedGroup = null;
|
||||
} else if (name.equals("item")) {
|
||||
this.getItem().add((ItemComponent) value);
|
||||
} else if (name.equals("addItem")) {
|
||||
this.getAddItem().add((AddedItemComponent) value);
|
||||
} else if (name.equals("adjudication")) {
|
||||
this.getAdjudication().add((AdjudicationComponent) value);
|
||||
} else if (name.equals("total")) {
|
||||
this.getTotal().add((TotalComponent) value);
|
||||
} else if (name.equals("payment")) {
|
||||
this.payment = (PaymentComponent) value; // PaymentComponent
|
||||
} else if (name.equals("fundsReserve")) {
|
||||
this.fundsReserve = null;
|
||||
} else if (name.equals("formCode")) {
|
||||
this.formCode = null;
|
||||
} else if (name.equals("form")) {
|
||||
this.form = null;
|
||||
} else if (name.equals("processNote")) {
|
||||
this.getProcessNote().add((NoteComponent) value);
|
||||
} else if (name.equals("communicationRequest")) {
|
||||
this.getCommunicationRequest().remove(value);
|
||||
} else if (name.equals("insurance")) {
|
||||
this.getInsurance().add((InsuranceComponent) value);
|
||||
} else if (name.equals("error")) {
|
||||
this.getError().add((ErrorComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -203,6 +203,17 @@ public class ClinicalImpression extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("item")) {
|
||||
this.item = null;
|
||||
} else if (name.equals("basis")) {
|
||||
this.basis = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1445,6 +1456,52 @@ public class ClinicalImpression extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new EventStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<EventStatus>
|
||||
} else if (name.equals("statusReason")) {
|
||||
this.statusReason = null;
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("encounter")) {
|
||||
this.encounter = null;
|
||||
} else if (name.equals("effective[x]")) {
|
||||
this.effective = null;
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("performer")) {
|
||||
this.performer = null;
|
||||
} else if (name.equals("previous")) {
|
||||
this.previous = null;
|
||||
} else if (name.equals("problem")) {
|
||||
this.getProblem().remove(value);
|
||||
} else if (name.equals("changePattern")) {
|
||||
this.changePattern = null;
|
||||
} else if (name.equals("protocol")) {
|
||||
this.getProtocol().remove(value);
|
||||
} else if (name.equals("summary")) {
|
||||
this.summary = null;
|
||||
} else if (name.equals("finding")) {
|
||||
this.getFinding().add((ClinicalImpressionFindingComponent) value);
|
||||
} else if (name.equals("prognosisCodeableConcept")) {
|
||||
this.getPrognosisCodeableConcept().remove(value);
|
||||
} else if (name.equals("prognosisReference")) {
|
||||
this.getPrognosisReference().remove(value);
|
||||
} else if (name.equals("supportingInfo")) {
|
||||
this.getSupportingInfo().remove(value);
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -567,6 +567,25 @@ public class ClinicalUseDefinition extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("diseaseSymptomProcedure")) {
|
||||
this.diseaseSymptomProcedure = null;
|
||||
} else if (name.equals("diseaseStatus")) {
|
||||
this.diseaseStatus = null;
|
||||
} else if (name.equals("comorbidity")) {
|
||||
this.getComorbidity().remove(value);
|
||||
} else if (name.equals("indication")) {
|
||||
this.getIndication().remove(value);
|
||||
} else if (name.equals("applicability")) {
|
||||
this.applicability = null;
|
||||
} else if (name.equals("otherTherapy")) {
|
||||
this.getOtherTherapy().add((ClinicalUseDefinitionContraindicationOtherTherapyComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -820,6 +839,17 @@ public class ClinicalUseDefinition extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("relationshipType")) {
|
||||
this.relationshipType = null;
|
||||
} else if (name.equals("treatment")) {
|
||||
this.treatment = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1378,6 +1408,29 @@ public class ClinicalUseDefinition extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("diseaseSymptomProcedure")) {
|
||||
this.diseaseSymptomProcedure = null;
|
||||
} else if (name.equals("diseaseStatus")) {
|
||||
this.diseaseStatus = null;
|
||||
} else if (name.equals("comorbidity")) {
|
||||
this.getComorbidity().remove(value);
|
||||
} else if (name.equals("intendedEffect")) {
|
||||
this.intendedEffect = null;
|
||||
} else if (name.equals("duration[x]")) {
|
||||
this.duration = null;
|
||||
} else if (name.equals("undesirableEffect")) {
|
||||
this.getUndesirableEffect().remove(value);
|
||||
} else if (name.equals("applicability")) {
|
||||
this.applicability = null;
|
||||
} else if (name.equals("otherTherapy")) {
|
||||
this.getOtherTherapy().add((ClinicalUseDefinitionContraindicationOtherTherapyComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1820,6 +1873,23 @@ public class ClinicalUseDefinition extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("interactant")) {
|
||||
this.getInteractant().add((ClinicalUseDefinitionInteractionInteractantComponent) value);
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("effect")) {
|
||||
this.effect = null;
|
||||
} else if (name.equals("incidence")) {
|
||||
this.incidence = null;
|
||||
} else if (name.equals("management")) {
|
||||
this.getManagement().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2050,6 +2120,15 @@ public class ClinicalUseDefinition extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("item[x]")) {
|
||||
this.item = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2291,6 +2370,19 @@ public class ClinicalUseDefinition extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("symptomConditionEffect")) {
|
||||
this.symptomConditionEffect = null;
|
||||
} else if (name.equals("classification")) {
|
||||
this.classification = null;
|
||||
} else if (name.equals("frequencyOfOccurrence")) {
|
||||
this.frequencyOfOccurrence = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2527,6 +2619,17 @@ public class ClinicalUseDefinition extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3302,6 +3405,38 @@ public class ClinicalUseDefinition extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("type")) {
|
||||
value = new ClinicalUseDefinitionTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.type = (Enumeration) value; // Enumeration<ClinicalUseDefinitionType>
|
||||
} else if (name.equals("category")) {
|
||||
this.getCategory().remove(value);
|
||||
} else if (name.equals("subject")) {
|
||||
this.getSubject().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
this.status = null;
|
||||
} else if (name.equals("contraindication")) {
|
||||
this.contraindication = (ClinicalUseDefinitionContraindicationComponent) value; // ClinicalUseDefinitionContraindicationComponent
|
||||
} else if (name.equals("indication")) {
|
||||
this.indication = (ClinicalUseDefinitionIndicationComponent) value; // ClinicalUseDefinitionIndicationComponent
|
||||
} else if (name.equals("interaction")) {
|
||||
this.interaction = (ClinicalUseDefinitionInteractionComponent) value; // ClinicalUseDefinitionInteractionComponent
|
||||
} else if (name.equals("population")) {
|
||||
this.getPopulation().remove(value);
|
||||
} else if (name.equals("library")) {
|
||||
this.getLibrary().remove(value);
|
||||
} else if (name.equals("undesirableEffect")) {
|
||||
this.undesirableEffect = (ClinicalUseDefinitionUndesirableEffectComponent) value; // ClinicalUseDefinitionUndesirableEffectComponent
|
||||
} else if (name.equals("warning")) {
|
||||
this.warning = (ClinicalUseDefinitionWarningComponent) value; // ClinicalUseDefinitionWarningComponent
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -676,6 +676,22 @@ public class CodeSystem extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("operator")) {
|
||||
value = new FilterOperatorEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.getOperator().add((Enumeration) value);
|
||||
} else if (name.equals("value")) {
|
||||
this.value = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1076,6 +1092,22 @@ public class CodeSystem extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("uri")) {
|
||||
this.uri = null;
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("type")) {
|
||||
value = new PropertyTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.type = (Enumeration) value; // Enumeration<PropertyType>
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1612,6 +1644,25 @@ public class CodeSystem extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("display")) {
|
||||
this.display = null;
|
||||
} else if (name.equals("definition")) {
|
||||
this.definition = null;
|
||||
} else if (name.equals("designation")) {
|
||||
this.getDesignation().add((ConceptDefinitionDesignationComponent) value);
|
||||
} else if (name.equals("property")) {
|
||||
this.getProperty().add((ConceptPropertyComponent) value);
|
||||
} else if (name.equals("concept")) {
|
||||
this.getConcept().add((ConceptDefinitionComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2021,6 +2072,21 @@ public class CodeSystem extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("language")) {
|
||||
this.language = null;
|
||||
} else if (name.equals("use")) {
|
||||
this.use = null;
|
||||
} else if (name.equals("additionalUse")) {
|
||||
this.getAdditionalUse().remove(value);
|
||||
} else if (name.equals("value")) {
|
||||
this.value = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2379,6 +2445,17 @@ public class CodeSystem extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("value[x]")) {
|
||||
this.value = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -4917,6 +4994,90 @@ public class CodeSystem extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("version")) {
|
||||
this.version = null;
|
||||
} else if (name.equals("versionAlgorithm[x]")) {
|
||||
this.versionAlgorithm = null;
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("status")) {
|
||||
value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<PublicationStatus>
|
||||
} else if (name.equals("experimental")) {
|
||||
this.experimental = null;
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("publisher")) {
|
||||
this.publisher = null;
|
||||
} else if (name.equals("contact")) {
|
||||
this.getContact().remove(value);
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("useContext")) {
|
||||
this.getUseContext().remove(value);
|
||||
} else if (name.equals("jurisdiction")) {
|
||||
this.getJurisdiction().remove(value);
|
||||
} else if (name.equals("purpose")) {
|
||||
this.purpose = null;
|
||||
} else if (name.equals("copyright")) {
|
||||
this.copyright = null;
|
||||
} else if (name.equals("copyrightLabel")) {
|
||||
this.copyrightLabel = null;
|
||||
} else if (name.equals("approvalDate")) {
|
||||
this.approvalDate = null;
|
||||
} else if (name.equals("lastReviewDate")) {
|
||||
this.lastReviewDate = null;
|
||||
} else if (name.equals("effectivePeriod")) {
|
||||
this.effectivePeriod = null;
|
||||
} else if (name.equals("topic")) {
|
||||
this.getTopic().remove(value);
|
||||
} else if (name.equals("author")) {
|
||||
this.getAuthor().remove(value);
|
||||
} else if (name.equals("editor")) {
|
||||
this.getEditor().remove(value);
|
||||
} else if (name.equals("reviewer")) {
|
||||
this.getReviewer().remove(value);
|
||||
} else if (name.equals("endorser")) {
|
||||
this.getEndorser().remove(value);
|
||||
} else if (name.equals("relatedArtifact")) {
|
||||
this.getRelatedArtifact().remove(value);
|
||||
} else if (name.equals("caseSensitive")) {
|
||||
this.caseSensitive = null;
|
||||
} else if (name.equals("valueSet")) {
|
||||
this.valueSet = null;
|
||||
} else if (name.equals("hierarchyMeaning")) {
|
||||
value = new CodeSystemHierarchyMeaningEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.hierarchyMeaning = (Enumeration) value; // Enumeration<CodeSystemHierarchyMeaning>
|
||||
} else if (name.equals("compositional")) {
|
||||
this.compositional = null;
|
||||
} else if (name.equals("versionNeeded")) {
|
||||
this.versionNeeded = null;
|
||||
} else if (name.equals("content")) {
|
||||
value = new CodeSystemContentModeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.content = (Enumeration) value; // Enumeration<CodeSystemContentMode>
|
||||
} else if (name.equals("supplements")) {
|
||||
this.supplements = null;
|
||||
} else if (name.equals("count")) {
|
||||
this.count = null;
|
||||
} else if (name.equals("filter")) {
|
||||
this.getFilter().add((CodeSystemFilterComponent) value);
|
||||
} else if (name.equals("property")) {
|
||||
this.getProperty().add((PropertyComponent) value);
|
||||
} else if (name.equals("concept")) {
|
||||
this.getConcept().add((ConceptDefinitionComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -227,6 +227,17 @@ public class CodeableConcept extends DataType implements ICompositeType {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("coding")) {
|
||||
this.getCoding().remove(value);
|
||||
} else if (name.equals("text")) {
|
||||
this.text = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -172,6 +172,17 @@ public class CodeableReference extends DataType implements ICompositeType {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("concept")) {
|
||||
this.concept = null;
|
||||
} else if (name.equals("reference")) {
|
||||
this.reference = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -424,6 +424,23 @@ public class Coding extends DataType implements IBaseCoding, ICompositeType, ICo
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("system")) {
|
||||
this.system = null;
|
||||
} else if (name.equals("version")) {
|
||||
this.version = null;
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("display")) {
|
||||
this.display = null;
|
||||
} else if (name.equals("userSelected")) {
|
||||
this.userSelected = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -192,6 +192,15 @@ public class Communication extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("content[x]")) {
|
||||
this.content = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1681,6 +1690,59 @@ public class Communication extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("instantiatesCanonical")) {
|
||||
this.getInstantiatesCanonical().remove(value);
|
||||
} else if (name.equals("instantiatesUri")) {
|
||||
this.getInstantiatesUri().remove(value);
|
||||
} else if (name.equals("basedOn")) {
|
||||
this.getBasedOn().remove(value);
|
||||
} else if (name.equals("partOf")) {
|
||||
this.getPartOf().remove(value);
|
||||
} else if (name.equals("inResponseTo")) {
|
||||
this.getInResponseTo().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new EventStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<EventStatus>
|
||||
} else if (name.equals("statusReason")) {
|
||||
this.statusReason = null;
|
||||
} else if (name.equals("category")) {
|
||||
this.getCategory().remove(value);
|
||||
} else if (name.equals("priority")) {
|
||||
value = new RequestPriorityEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.priority = (Enumeration) value; // Enumeration<RequestPriority>
|
||||
} else if (name.equals("medium")) {
|
||||
this.getMedium().remove(value);
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("topic")) {
|
||||
this.topic = null;
|
||||
} else if (name.equals("about")) {
|
||||
this.getAbout().remove(value);
|
||||
} else if (name.equals("encounter")) {
|
||||
this.encounter = null;
|
||||
} else if (name.equals("sent")) {
|
||||
this.sent = null;
|
||||
} else if (name.equals("received")) {
|
||||
this.received = null;
|
||||
} else if (name.equals("recipient")) {
|
||||
this.getRecipient().remove(value);
|
||||
} else if (name.equals("sender")) {
|
||||
this.sender = null;
|
||||
} else if (name.equals("reason")) {
|
||||
this.getReason().remove(value);
|
||||
} else if (name.equals("payload")) {
|
||||
this.getPayload().add((CommunicationPayloadComponent) value);
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -192,6 +192,15 @@ public class CommunicationRequest extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("content[x]")) {
|
||||
this.content = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1657,6 +1666,60 @@ public class CommunicationRequest extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("basedOn")) {
|
||||
this.getBasedOn().remove(value);
|
||||
} else if (name.equals("replaces")) {
|
||||
this.getReplaces().remove(value);
|
||||
} else if (name.equals("groupIdentifier")) {
|
||||
this.groupIdentifier = null;
|
||||
} else if (name.equals("status")) {
|
||||
value = new RequestStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<RequestStatus>
|
||||
} else if (name.equals("statusReason")) {
|
||||
this.statusReason = null;
|
||||
} else if (name.equals("intent")) {
|
||||
value = new RequestIntentEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.intent = (Enumeration) value; // Enumeration<RequestIntent>
|
||||
} else if (name.equals("category")) {
|
||||
this.getCategory().remove(value);
|
||||
} else if (name.equals("priority")) {
|
||||
value = new RequestPriorityEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.priority = (Enumeration) value; // Enumeration<RequestPriority>
|
||||
} else if (name.equals("doNotPerform")) {
|
||||
this.doNotPerform = null;
|
||||
} else if (name.equals("medium")) {
|
||||
this.getMedium().remove(value);
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("about")) {
|
||||
this.getAbout().remove(value);
|
||||
} else if (name.equals("encounter")) {
|
||||
this.encounter = null;
|
||||
} else if (name.equals("payload")) {
|
||||
this.getPayload().add((CommunicationRequestPayloadComponent) value);
|
||||
} else if (name.equals("occurrence[x]")) {
|
||||
this.occurrence = null;
|
||||
} else if (name.equals("authoredOn")) {
|
||||
this.authoredOn = null;
|
||||
} else if (name.equals("requester")) {
|
||||
this.requester = null;
|
||||
} else if (name.equals("recipient")) {
|
||||
this.getRecipient().remove(value);
|
||||
} else if (name.equals("informationProvider")) {
|
||||
this.getInformationProvider().remove(value);
|
||||
} else if (name.equals("reason")) {
|
||||
this.getReason().remove(value);
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -436,6 +436,23 @@ public class CompartmentDefinition extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("param")) {
|
||||
this.getParam().remove(value);
|
||||
} else if (name.equals("documentation")) {
|
||||
this.documentation = null;
|
||||
} else if (name.equals("startParam")) {
|
||||
this.startParam = null;
|
||||
} else if (name.equals("endParam")) {
|
||||
this.endParam = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1758,6 +1775,47 @@ public class CompartmentDefinition extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else if (name.equals("version")) {
|
||||
this.version = null;
|
||||
} else if (name.equals("versionAlgorithm[x]")) {
|
||||
this.versionAlgorithm = null;
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("status")) {
|
||||
value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<PublicationStatus>
|
||||
} else if (name.equals("experimental")) {
|
||||
this.experimental = null;
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("publisher")) {
|
||||
this.publisher = null;
|
||||
} else if (name.equals("contact")) {
|
||||
this.getContact().remove(value);
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("useContext")) {
|
||||
this.getUseContext().remove(value);
|
||||
} else if (name.equals("purpose")) {
|
||||
this.purpose = null;
|
||||
} else if (name.equals("code")) {
|
||||
value = new CompartmentTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.code = (Enumeration) value; // Enumeration<CompartmentType>
|
||||
} else if (name.equals("search")) {
|
||||
this.search = null;
|
||||
} else if (name.equals("resource")) {
|
||||
this.getResource().add((CompartmentDefinitionResourceComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -250,6 +250,19 @@ public class Composition extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("mode")) {
|
||||
this.mode = null;
|
||||
} else if (name.equals("time")) {
|
||||
this.time = null;
|
||||
} else if (name.equals("party")) {
|
||||
this.party = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -488,6 +501,17 @@ public class Composition extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else if (name.equals("detail")) {
|
||||
this.getDetail().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1080,6 +1104,31 @@ public class Composition extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("author")) {
|
||||
this.getAuthor().remove(value);
|
||||
} else if (name.equals("focus")) {
|
||||
this.focus = null;
|
||||
} else if (name.equals("text")) {
|
||||
this.text = null;
|
||||
} else if (name.equals("orderedBy")) {
|
||||
this.orderedBy = null;
|
||||
} else if (name.equals("entry")) {
|
||||
this.getEntry().remove(value);
|
||||
} else if (name.equals("emptyReason")) {
|
||||
this.emptyReason = null;
|
||||
} else if (name.equals("section")) {
|
||||
this.getSection().add((SectionComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2448,6 +2497,52 @@ public class Composition extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("version")) {
|
||||
this.version = null;
|
||||
} else if (name.equals("status")) {
|
||||
value = new CompositionStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<CompositionStatus>
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("category")) {
|
||||
this.getCategory().remove(value);
|
||||
} else if (name.equals("subject")) {
|
||||
this.getSubject().remove(value);
|
||||
} else if (name.equals("encounter")) {
|
||||
this.encounter = null;
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("useContext")) {
|
||||
this.getUseContext().remove(value);
|
||||
} else if (name.equals("author")) {
|
||||
this.getAuthor().remove(value);
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("attester")) {
|
||||
this.getAttester().add((CompositionAttesterComponent) value);
|
||||
} else if (name.equals("custodian")) {
|
||||
this.custodian = null;
|
||||
} else if (name.equals("relatesTo")) {
|
||||
this.getRelatesTo().remove(value);
|
||||
} else if (name.equals("event")) {
|
||||
this.getEvent().add((CompositionEventComponent) value);
|
||||
} else if (name.equals("section")) {
|
||||
this.getSection().add((SectionComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -855,6 +855,24 @@ public class ConceptMap extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("uri")) {
|
||||
this.uri = null;
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("type")) {
|
||||
value = new ConceptMapPropertyTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.type = (Enumeration) value; // Enumeration<ConceptMapPropertyType>
|
||||
} else if (name.equals("system")) {
|
||||
this.system = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1257,6 +1275,22 @@ public class ConceptMap extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("uri")) {
|
||||
this.uri = null;
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("type")) {
|
||||
value = new ConceptMapAttributeTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.type = (Enumeration) value; // Enumeration<ConceptMapAttributeType>
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1636,6 +1670,21 @@ public class ConceptMap extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("source")) {
|
||||
this.source = null;
|
||||
} else if (name.equals("target")) {
|
||||
this.target = null;
|
||||
} else if (name.equals("element")) {
|
||||
this.getElement().add((SourceElementComponent) value);
|
||||
} else if (name.equals("unmapped")) {
|
||||
this.unmapped = (ConceptMapGroupUnmappedComponent) value; // ConceptMapGroupUnmappedComponent
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2096,6 +2145,23 @@ public class ConceptMap extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("display")) {
|
||||
this.display = null;
|
||||
} else if (name.equals("valueSet")) {
|
||||
this.valueSet = null;
|
||||
} else if (name.equals("noMap")) {
|
||||
this.noMap = null;
|
||||
} else if (name.equals("target")) {
|
||||
this.getTarget().add((TargetElementComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2773,6 +2839,30 @@ public class ConceptMap extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("display")) {
|
||||
this.display = null;
|
||||
} else if (name.equals("valueSet")) {
|
||||
this.valueSet = null;
|
||||
} else if (name.equals("relationship")) {
|
||||
value = new ConceptMapRelationshipEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.relationship = (Enumeration) value; // Enumeration<ConceptMapRelationship>
|
||||
} else if (name.equals("comment")) {
|
||||
this.comment = null;
|
||||
} else if (name.equals("property")) {
|
||||
this.getProperty().add((MappingPropertyComponent) value);
|
||||
} else if (name.equals("dependsOn")) {
|
||||
this.getDependsOn().add((OtherElementComponent) value);
|
||||
} else if (name.equals("product")) {
|
||||
this.getProduct().add((OtherElementComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3164,6 +3254,17 @@ public class ConceptMap extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("value[x]")) {
|
||||
this.value = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3560,6 +3661,19 @@ public class ConceptMap extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("attribute")) {
|
||||
this.attribute = null;
|
||||
} else if (name.equals("value[x]")) {
|
||||
this.value = null;
|
||||
} else if (name.equals("valueSet")) {
|
||||
this.valueSet = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -4101,6 +4215,27 @@ public class ConceptMap extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("mode")) {
|
||||
value = new ConceptMapGroupUnmappedModeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.mode = (Enumeration) value; // Enumeration<ConceptMapGroupUnmappedMode>
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("display")) {
|
||||
this.display = null;
|
||||
} else if (name.equals("valueSet")) {
|
||||
this.valueSet = null;
|
||||
} else if (name.equals("relationship")) {
|
||||
value = new ConceptMapRelationshipEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.relationship = (Enumeration) value; // Enumeration<ConceptMapRelationship>
|
||||
} else if (name.equals("otherMap")) {
|
||||
this.otherMap = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -6281,6 +6416,76 @@ public class ConceptMap extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("version")) {
|
||||
this.version = null;
|
||||
} else if (name.equals("versionAlgorithm[x]")) {
|
||||
this.versionAlgorithm = null;
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("status")) {
|
||||
value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<PublicationStatus>
|
||||
} else if (name.equals("experimental")) {
|
||||
this.experimental = null;
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("publisher")) {
|
||||
this.publisher = null;
|
||||
} else if (name.equals("contact")) {
|
||||
this.getContact().remove(value);
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("useContext")) {
|
||||
this.getUseContext().remove(value);
|
||||
} else if (name.equals("jurisdiction")) {
|
||||
this.getJurisdiction().remove(value);
|
||||
} else if (name.equals("purpose")) {
|
||||
this.purpose = null;
|
||||
} else if (name.equals("copyright")) {
|
||||
this.copyright = null;
|
||||
} else if (name.equals("copyrightLabel")) {
|
||||
this.copyrightLabel = null;
|
||||
} else if (name.equals("approvalDate")) {
|
||||
this.approvalDate = null;
|
||||
} else if (name.equals("lastReviewDate")) {
|
||||
this.lastReviewDate = null;
|
||||
} else if (name.equals("effectivePeriod")) {
|
||||
this.effectivePeriod = null;
|
||||
} else if (name.equals("topic")) {
|
||||
this.getTopic().remove(value);
|
||||
} else if (name.equals("author")) {
|
||||
this.getAuthor().remove(value);
|
||||
} else if (name.equals("editor")) {
|
||||
this.getEditor().remove(value);
|
||||
} else if (name.equals("reviewer")) {
|
||||
this.getReviewer().remove(value);
|
||||
} else if (name.equals("endorser")) {
|
||||
this.getEndorser().remove(value);
|
||||
} else if (name.equals("relatedArtifact")) {
|
||||
this.getRelatedArtifact().remove(value);
|
||||
} else if (name.equals("property")) {
|
||||
this.getProperty().add((PropertyComponent) value);
|
||||
} else if (name.equals("additionalAttribute")) {
|
||||
this.getAdditionalAttribute().add((AdditionalAttributeComponent) value);
|
||||
} else if (name.equals("sourceScope[x]")) {
|
||||
this.sourceScope = null;
|
||||
} else if (name.equals("targetScope[x]")) {
|
||||
this.targetScope = null;
|
||||
} else if (name.equals("group")) {
|
||||
this.getGroup().add((ConceptMapGroupComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -185,6 +185,17 @@ public class Condition extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("function")) {
|
||||
this.function = null;
|
||||
} else if (name.equals("actor")) {
|
||||
this.actor = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -456,6 +467,19 @@ public class Condition extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("summary")) {
|
||||
this.summary = null;
|
||||
} else if (name.equals("assessment")) {
|
||||
this.getAssessment().remove(value);
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1613,6 +1637,45 @@ public class Condition extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("clinicalStatus")) {
|
||||
this.clinicalStatus = null;
|
||||
} else if (name.equals("verificationStatus")) {
|
||||
this.verificationStatus = null;
|
||||
} else if (name.equals("category")) {
|
||||
this.getCategory().remove(value);
|
||||
} else if (name.equals("severity")) {
|
||||
this.severity = null;
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("bodySite")) {
|
||||
this.getBodySite().remove(value);
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("encounter")) {
|
||||
this.encounter = null;
|
||||
} else if (name.equals("onset[x]")) {
|
||||
this.onset = null;
|
||||
} else if (name.equals("abatement[x]")) {
|
||||
this.abatement = null;
|
||||
} else if (name.equals("recordedDate")) {
|
||||
this.recordedDate = null;
|
||||
} else if (name.equals("participant")) {
|
||||
this.getParticipant().add((ConditionParticipantComponent) value);
|
||||
} else if (name.equals("stage")) {
|
||||
this.getStage().add((ConditionStageComponent) value);
|
||||
} else if (name.equals("evidence")) {
|
||||
this.getEvidence().remove(value);
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -387,6 +387,17 @@ public class ConditionDefinition extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("category")) {
|
||||
this.category = null;
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -590,6 +601,17 @@ public class ConditionDefinition extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("category")) {
|
||||
this.category = null;
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -894,6 +916,20 @@ public class ConditionDefinition extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
value = new ConditionPreconditionTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.type = (Enumeration) value; // Enumeration<ConditionPreconditionType>
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("value[x]")) {
|
||||
this.value = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1140,6 +1176,18 @@ public class ConditionDefinition extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("purpose")) {
|
||||
value = new ConditionQuestionnairePurposeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.purpose = (Enumeration) value; // Enumeration<ConditionQuestionnairePurpose>
|
||||
} else if (name.equals("reference")) {
|
||||
this.reference = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1348,6 +1396,17 @@ public class ConditionDefinition extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("role")) {
|
||||
this.role = null;
|
||||
} else if (name.equals("reference")) {
|
||||
this.reference = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3693,6 +3752,72 @@ public class ConditionDefinition extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("version")) {
|
||||
this.version = null;
|
||||
} else if (name.equals("versionAlgorithm[x]")) {
|
||||
this.versionAlgorithm = null;
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("subtitle")) {
|
||||
this.subtitle = null;
|
||||
} else if (name.equals("status")) {
|
||||
value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<PublicationStatus>
|
||||
} else if (name.equals("experimental")) {
|
||||
this.experimental = null;
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("publisher")) {
|
||||
this.publisher = null;
|
||||
} else if (name.equals("contact")) {
|
||||
this.getContact().remove(value);
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("useContext")) {
|
||||
this.getUseContext().remove(value);
|
||||
} else if (name.equals("jurisdiction")) {
|
||||
this.getJurisdiction().remove(value);
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("severity")) {
|
||||
this.severity = null;
|
||||
} else if (name.equals("bodySite")) {
|
||||
this.bodySite = null;
|
||||
} else if (name.equals("stage")) {
|
||||
this.stage = null;
|
||||
} else if (name.equals("hasSeverity")) {
|
||||
this.hasSeverity = null;
|
||||
} else if (name.equals("hasBodySite")) {
|
||||
this.hasBodySite = null;
|
||||
} else if (name.equals("hasStage")) {
|
||||
this.hasStage = null;
|
||||
} else if (name.equals("definition")) {
|
||||
this.getDefinition().remove(value);
|
||||
} else if (name.equals("observation")) {
|
||||
this.getObservation().add((ConditionDefinitionObservationComponent) value);
|
||||
} else if (name.equals("medication")) {
|
||||
this.getMedication().add((ConditionDefinitionMedicationComponent) value);
|
||||
} else if (name.equals("precondition")) {
|
||||
this.getPrecondition().add((ConditionDefinitionPreconditionComponent) value);
|
||||
} else if (name.equals("team")) {
|
||||
this.getTeam().remove(value);
|
||||
} else if (name.equals("questionnaire")) {
|
||||
this.getQuestionnaire().add((ConditionDefinitionQuestionnaireComponent) value);
|
||||
} else if (name.equals("plan")) {
|
||||
this.getPlan().add((ConditionDefinitionPlanComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -362,6 +362,17 @@ public class Consent extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("reference")) {
|
||||
this.reference = null;
|
||||
} else if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -746,6 +757,23 @@ public class Consent extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("verified")) {
|
||||
this.verified = null;
|
||||
} else if (name.equals("verificationType")) {
|
||||
this.verificationType = null;
|
||||
} else if (name.equals("verifiedBy")) {
|
||||
this.verifiedBy = null;
|
||||
} else if (name.equals("verifiedWith")) {
|
||||
this.verifiedWith = null;
|
||||
} else if (name.equals("verificationDate")) {
|
||||
this.getVerificationDate().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1631,6 +1659,37 @@ public class Consent extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else if (name.equals("actor")) {
|
||||
this.getActor().add((ProvisionActorComponent) value);
|
||||
} else if (name.equals("action")) {
|
||||
this.getAction().remove(value);
|
||||
} else if (name.equals("securityLabel")) {
|
||||
this.getSecurityLabel().remove(value);
|
||||
} else if (name.equals("purpose")) {
|
||||
this.getPurpose().remove(value);
|
||||
} else if (name.equals("documentType")) {
|
||||
this.getDocumentType().remove(value);
|
||||
} else if (name.equals("resourceType")) {
|
||||
this.getResourceType().remove(value);
|
||||
} else if (name.equals("code")) {
|
||||
this.getCode().remove(value);
|
||||
} else if (name.equals("dataPeriod")) {
|
||||
this.dataPeriod = null;
|
||||
} else if (name.equals("data")) {
|
||||
this.getData().add((ProvisionDataComponent) value);
|
||||
} else if (name.equals("expression")) {
|
||||
this.expression = null;
|
||||
} else if (name.equals("provision")) {
|
||||
this.getProvision().add((ProvisionComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1936,6 +1995,17 @@ public class Consent extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("role")) {
|
||||
this.role = null;
|
||||
} else if (name.equals("reference")) {
|
||||
this.reference = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2170,6 +2240,18 @@ public class Consent extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("meaning")) {
|
||||
value = new ConsentDataMeaningEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.meaning = (Enumeration) value; // Enumeration<ConsentDataMeaning>
|
||||
} else if (name.equals("reference")) {
|
||||
this.reference = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3427,6 +3509,51 @@ public class Consent extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new ConsentStateEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<ConsentState>
|
||||
} else if (name.equals("category")) {
|
||||
this.getCategory().remove(value);
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else if (name.equals("grantor")) {
|
||||
this.getGrantor().remove(value);
|
||||
} else if (name.equals("grantee")) {
|
||||
this.getGrantee().remove(value);
|
||||
} else if (name.equals("manager")) {
|
||||
this.getManager().remove(value);
|
||||
} else if (name.equals("controller")) {
|
||||
this.getController().remove(value);
|
||||
} else if (name.equals("sourceAttachment")) {
|
||||
this.getSourceAttachment().remove(value);
|
||||
} else if (name.equals("sourceReference")) {
|
||||
this.getSourceReference().remove(value);
|
||||
} else if (name.equals("regulatoryBasis")) {
|
||||
this.getRegulatoryBasis().remove(value);
|
||||
} else if (name.equals("policyBasis")) {
|
||||
this.policyBasis = (ConsentPolicyBasisComponent) value; // ConsentPolicyBasisComponent
|
||||
} else if (name.equals("policyText")) {
|
||||
this.getPolicyText().remove(value);
|
||||
} else if (name.equals("verification")) {
|
||||
this.getVerification().add((ConsentVerificationComponent) value);
|
||||
} else if (name.equals("decision")) {
|
||||
value = new ConsentProvisionTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.decision = (Enumeration) value; // Enumeration<ConsentProvisionType>
|
||||
} else if (name.equals("provision")) {
|
||||
this.getProvision().add((ProvisionComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -228,6 +228,17 @@ public class ContactDetail extends DataType implements ICompositeType {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("telecom")) {
|
||||
this.getTelecom().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -712,6 +712,25 @@ public class ContactPoint extends DataType implements ICompositeType {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("system")) {
|
||||
value = new ContactPointSystemEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.system = (Enumeration) value; // Enumeration<ContactPointSystem>
|
||||
} else if (name.equals("value")) {
|
||||
this.value = null;
|
||||
} else if (name.equals("use")) {
|
||||
value = new ContactPointUseEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.use = (Enumeration) value; // Enumeration<ContactPointUse>
|
||||
} else if (name.equals("rank")) {
|
||||
this.rank = null;
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -1027,6 +1027,26 @@ public class Contract extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("subType")) {
|
||||
this.subType = null;
|
||||
} else if (name.equals("publisher")) {
|
||||
this.publisher = null;
|
||||
} else if (name.equals("publicationDate")) {
|
||||
this.publicationDate = null;
|
||||
} else if (name.equals("publicationStatus")) {
|
||||
value = new ContractResourcePublicationStatusCodesEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.publicationStatus = (Enumeration) value; // Enumeration<ContractResourcePublicationStatusCodes>
|
||||
} else if (name.equals("copyright")) {
|
||||
this.copyright = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1853,6 +1873,37 @@ public class Contract extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.identifier = null;
|
||||
} else if (name.equals("issued")) {
|
||||
this.issued = null;
|
||||
} else if (name.equals("applies")) {
|
||||
this.applies = null;
|
||||
} else if (name.equals("topic[x]")) {
|
||||
this.topic = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("subType")) {
|
||||
this.subType = null;
|
||||
} else if (name.equals("text")) {
|
||||
this.text = null;
|
||||
} else if (name.equals("securityLabel")) {
|
||||
this.getSecurityLabel().add((SecurityLabelComponent) value);
|
||||
} else if (name.equals("offer")) {
|
||||
this.offer = (ContractOfferComponent) value; // ContractOfferComponent
|
||||
} else if (name.equals("asset")) {
|
||||
this.getAsset().add((ContractAssetComponent) value);
|
||||
} else if (name.equals("action")) {
|
||||
this.getAction().add((ActionComponent) value);
|
||||
} else if (name.equals("group")) {
|
||||
this.getGroup().add((TermComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2328,6 +2379,21 @@ public class Contract extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("number")) {
|
||||
this.getNumber().remove(value);
|
||||
} else if (name.equals("classification")) {
|
||||
this.classification = null;
|
||||
} else if (name.equals("category")) {
|
||||
this.getCategory().remove(value);
|
||||
} else if (name.equals("control")) {
|
||||
this.getControl().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3084,6 +3150,33 @@ public class Contract extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("party")) {
|
||||
this.getParty().add((ContractPartyComponent) value);
|
||||
} else if (name.equals("topic")) {
|
||||
this.topic = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("decision")) {
|
||||
this.decision = null;
|
||||
} else if (name.equals("decisionMode")) {
|
||||
this.getDecisionMode().remove(value);
|
||||
} else if (name.equals("answer")) {
|
||||
this.getAnswer().add((AnswerComponent) value);
|
||||
} else if (name.equals("text")) {
|
||||
this.text = null;
|
||||
} else if (name.equals("linkId")) {
|
||||
this.getLinkId().remove(value);
|
||||
} else if (name.equals("securityLabelNumber")) {
|
||||
this.getSecurityLabelNumber().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3402,6 +3495,17 @@ public class Contract extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("reference")) {
|
||||
this.getReference().remove(value);
|
||||
} else if (name.equals("role")) {
|
||||
this.role = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3765,6 +3869,15 @@ public class Contract extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("value[x]")) {
|
||||
this.value = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -4901,6 +5014,43 @@ public class Contract extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("scope")) {
|
||||
this.scope = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.getType().remove(value);
|
||||
} else if (name.equals("typeReference")) {
|
||||
this.getTypeReference().remove(value);
|
||||
} else if (name.equals("subtype")) {
|
||||
this.getSubtype().remove(value);
|
||||
} else if (name.equals("relationship")) {
|
||||
this.relationship = null;
|
||||
} else if (name.equals("context")) {
|
||||
this.getContext().add((AssetContextComponent) value);
|
||||
} else if (name.equals("condition")) {
|
||||
this.condition = null;
|
||||
} else if (name.equals("periodType")) {
|
||||
this.getPeriodType().remove(value);
|
||||
} else if (name.equals("period")) {
|
||||
this.getPeriod().remove(value);
|
||||
} else if (name.equals("usePeriod")) {
|
||||
this.getUsePeriod().remove(value);
|
||||
} else if (name.equals("text")) {
|
||||
this.text = null;
|
||||
} else if (name.equals("linkId")) {
|
||||
this.getLinkId().remove(value);
|
||||
} else if (name.equals("answer")) {
|
||||
this.getAnswer().add((AnswerComponent) value);
|
||||
} else if (name.equals("securityLabelNumber")) {
|
||||
this.getSecurityLabelNumber().remove(value);
|
||||
} else if (name.equals("valuedItem")) {
|
||||
this.getValuedItem().add((ValuedItemComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -5326,6 +5476,19 @@ public class Contract extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("reference")) {
|
||||
this.reference = null;
|
||||
} else if (name.equals("code")) {
|
||||
this.getCode().remove(value);
|
||||
} else if (name.equals("text")) {
|
||||
this.text = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -6270,6 +6433,41 @@ public class Contract extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("entity[x]")) {
|
||||
this.entity = null;
|
||||
} else if (name.equals("identifier")) {
|
||||
this.identifier = null;
|
||||
} else if (name.equals("effectiveTime")) {
|
||||
this.effectiveTime = null;
|
||||
} else if (name.equals("quantity")) {
|
||||
this.quantity = null;
|
||||
} else if (name.equals("unitPrice")) {
|
||||
this.unitPrice = null;
|
||||
} else if (name.equals("factor")) {
|
||||
this.factor = null;
|
||||
} else if (name.equals("points")) {
|
||||
this.points = null;
|
||||
} else if (name.equals("net")) {
|
||||
this.net = null;
|
||||
} else if (name.equals("payment")) {
|
||||
this.payment = null;
|
||||
} else if (name.equals("paymentDate")) {
|
||||
this.paymentDate = null;
|
||||
} else if (name.equals("responsible")) {
|
||||
this.responsible = null;
|
||||
} else if (name.equals("recipient")) {
|
||||
this.recipient = null;
|
||||
} else if (name.equals("linkId")) {
|
||||
this.getLinkId().remove(value);
|
||||
} else if (name.equals("securityLabelNumber")) {
|
||||
this.getSecurityLabelNumber().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -7684,6 +7882,51 @@ public class Contract extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("doNotPerform")) {
|
||||
this.doNotPerform = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("subject")) {
|
||||
this.getSubject().add((ActionSubjectComponent) value);
|
||||
} else if (name.equals("intent")) {
|
||||
this.intent = null;
|
||||
} else if (name.equals("linkId")) {
|
||||
this.getLinkId().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
this.status = null;
|
||||
} else if (name.equals("context")) {
|
||||
this.context = null;
|
||||
} else if (name.equals("contextLinkId")) {
|
||||
this.getContextLinkId().remove(value);
|
||||
} else if (name.equals("occurrence[x]")) {
|
||||
this.occurrence = null;
|
||||
} else if (name.equals("requester")) {
|
||||
this.getRequester().remove(value);
|
||||
} else if (name.equals("requesterLinkId")) {
|
||||
this.getRequesterLinkId().remove(value);
|
||||
} else if (name.equals("performerType")) {
|
||||
this.getPerformerType().remove(value);
|
||||
} else if (name.equals("performerRole")) {
|
||||
this.performerRole = null;
|
||||
} else if (name.equals("performer")) {
|
||||
this.performer = null;
|
||||
} else if (name.equals("performerLinkId")) {
|
||||
this.getPerformerLinkId().remove(value);
|
||||
} else if (name.equals("reason")) {
|
||||
this.getReason().remove(value);
|
||||
} else if (name.equals("reasonLinkId")) {
|
||||
this.getReasonLinkId().remove(value);
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("securityLabelNumber")) {
|
||||
this.getSecurityLabelNumber().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -8096,6 +8339,17 @@ public class Contract extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("reference")) {
|
||||
this.getReference().remove(value);
|
||||
} else if (name.equals("role")) {
|
||||
this.role = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -8379,6 +8633,19 @@ public class Contract extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("party")) {
|
||||
this.party = null;
|
||||
} else if (name.equals("signature")) {
|
||||
this.getSignature().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -8590,6 +8857,15 @@ public class Contract extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("content[x]")) {
|
||||
this.content = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -8788,6 +9064,15 @@ public class Contract extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("content[x]")) {
|
||||
this.content = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -8986,6 +9271,15 @@ public class Contract extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("content[x]")) {
|
||||
this.content = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -11075,6 +11369,80 @@ public class Contract extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else if (name.equals("version")) {
|
||||
this.version = null;
|
||||
} else if (name.equals("status")) {
|
||||
value = new ContractResourceStatusCodesEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<ContractResourceStatusCodes>
|
||||
} else if (name.equals("legalState")) {
|
||||
this.legalState = null;
|
||||
} else if (name.equals("instantiatesCanonical")) {
|
||||
this.instantiatesCanonical = null;
|
||||
} else if (name.equals("instantiatesUri")) {
|
||||
this.instantiatesUri = null;
|
||||
} else if (name.equals("contentDerivative")) {
|
||||
this.contentDerivative = null;
|
||||
} else if (name.equals("issued")) {
|
||||
this.issued = null;
|
||||
} else if (name.equals("applies")) {
|
||||
this.applies = null;
|
||||
} else if (name.equals("expirationType")) {
|
||||
this.expirationType = null;
|
||||
} else if (name.equals("subject")) {
|
||||
this.getSubject().remove(value);
|
||||
} else if (name.equals("authority")) {
|
||||
this.getAuthority().remove(value);
|
||||
} else if (name.equals("domain")) {
|
||||
this.getDomain().remove(value);
|
||||
} else if (name.equals("site")) {
|
||||
this.getSite().remove(value);
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("subtitle")) {
|
||||
this.subtitle = null;
|
||||
} else if (name.equals("alias")) {
|
||||
this.getAlias().remove(value);
|
||||
} else if (name.equals("author")) {
|
||||
this.author = null;
|
||||
} else if (name.equals("scope")) {
|
||||
this.scope = null;
|
||||
} else if (name.equals("topic[x]")) {
|
||||
this.topic = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("subType")) {
|
||||
this.getSubType().remove(value);
|
||||
} else if (name.equals("contentDefinition")) {
|
||||
this.contentDefinition = (ContentDefinitionComponent) value; // ContentDefinitionComponent
|
||||
} else if (name.equals("term")) {
|
||||
this.getTerm().add((TermComponent) value);
|
||||
} else if (name.equals("supportingInfo")) {
|
||||
this.getSupportingInfo().remove(value);
|
||||
} else if (name.equals("relevantHistory")) {
|
||||
this.getRelevantHistory().remove(value);
|
||||
} else if (name.equals("signer")) {
|
||||
this.getSigner().add((SignatoryComponent) value);
|
||||
} else if (name.equals("friendly")) {
|
||||
this.getFriendly().add((FriendlyLanguageComponent) value);
|
||||
} else if (name.equals("legal")) {
|
||||
this.getLegal().add((LegalLanguageComponent) value);
|
||||
} else if (name.equals("rule")) {
|
||||
this.getRule().add((ComputableLanguageComponent) value);
|
||||
} else if (name.equals("legallyBinding[x]")) {
|
||||
this.legallyBinding = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -423,6 +423,20 @@ public class Contributor extends DataType implements ICompositeType {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
value = new ContributorTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.type = (Enumeration) value; // Enumeration<ContributorType>
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("contact")) {
|
||||
this.getContact().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -322,6 +322,17 @@ public class Coverage extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("party")) {
|
||||
this.party = null;
|
||||
} else if (name.equals("responsibility")) {
|
||||
this.responsibility = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -597,6 +608,19 @@ public class Coverage extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("value")) {
|
||||
this.value = null;
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1064,6 +1088,27 @@ public class Coverage extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("category")) {
|
||||
this.category = null;
|
||||
} else if (name.equals("network")) {
|
||||
this.network = null;
|
||||
} else if (name.equals("unit")) {
|
||||
this.unit = null;
|
||||
} else if (name.equals("term")) {
|
||||
this.term = null;
|
||||
} else if (name.equals("value[x]")) {
|
||||
this.value = null;
|
||||
} else if (name.equals("exception")) {
|
||||
this.getException().add((ExemptionComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1320,6 +1365,17 @@ public class Coverage extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2547,6 +2603,55 @@ public class Coverage extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new FinancialResourceStatusCodesEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<FinancialResourceStatusCodes>
|
||||
} else if (name.equals("kind")) {
|
||||
value = new KindEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.kind = (Enumeration) value; // Enumeration<Kind>
|
||||
} else if (name.equals("paymentBy")) {
|
||||
this.getPaymentBy().add((CoveragePaymentByComponent) value);
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("policyHolder")) {
|
||||
this.policyHolder = null;
|
||||
} else if (name.equals("subscriber")) {
|
||||
this.subscriber = null;
|
||||
} else if (name.equals("subscriberId")) {
|
||||
this.getSubscriberId().remove(value);
|
||||
} else if (name.equals("beneficiary")) {
|
||||
this.beneficiary = null;
|
||||
} else if (name.equals("dependent")) {
|
||||
this.dependent = null;
|
||||
} else if (name.equals("relationship")) {
|
||||
this.relationship = null;
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else if (name.equals("insurer")) {
|
||||
this.insurer = null;
|
||||
} else if (name.equals("class")) {
|
||||
this.getClass_().add((ClassComponent) value);
|
||||
} else if (name.equals("order")) {
|
||||
this.order = null;
|
||||
} else if (name.equals("network")) {
|
||||
this.network = null;
|
||||
} else if (name.equals("costToBeneficiary")) {
|
||||
this.getCostToBeneficiary().add((CostToBeneficiaryComponent) value);
|
||||
} else if (name.equals("subrogation")) {
|
||||
this.subrogation = null;
|
||||
} else if (name.equals("contract")) {
|
||||
this.getContract().remove(value);
|
||||
} else if (name.equals("insurancePlan")) {
|
||||
this.insurancePlan = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -345,6 +345,17 @@ public class CoverageEligibilityRequest extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("when[x]")) {
|
||||
this.when = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -641,6 +652,19 @@ public class CoverageEligibilityRequest extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("sequence")) {
|
||||
this.sequence = null;
|
||||
} else if (name.equals("information")) {
|
||||
this.information = null;
|
||||
} else if (name.equals("appliesToAll")) {
|
||||
this.appliesToAll = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -943,6 +967,19 @@ public class CoverageEligibilityRequest extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("focal")) {
|
||||
this.focal = null;
|
||||
} else if (name.equals("coverage")) {
|
||||
this.coverage = null;
|
||||
} else if (name.equals("businessArrangement")) {
|
||||
this.businessArrangement = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1591,6 +1628,33 @@ public class CoverageEligibilityRequest extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("supportingInfoSequence")) {
|
||||
this.getSupportingInfoSequence().remove(value);
|
||||
} else if (name.equals("category")) {
|
||||
this.category = null;
|
||||
} else if (name.equals("productOrService")) {
|
||||
this.productOrService = null;
|
||||
} else if (name.equals("modifier")) {
|
||||
this.getModifier().remove(value);
|
||||
} else if (name.equals("provider")) {
|
||||
this.provider = null;
|
||||
} else if (name.equals("quantity")) {
|
||||
this.quantity = null;
|
||||
} else if (name.equals("unitPrice")) {
|
||||
this.unitPrice = null;
|
||||
} else if (name.equals("facility")) {
|
||||
this.facility = null;
|
||||
} else if (name.equals("diagnosis")) {
|
||||
this.getDiagnosis().add((DiagnosisComponent) value);
|
||||
} else if (name.equals("detail")) {
|
||||
this.getDetail().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1858,6 +1922,15 @@ public class CoverageEligibilityRequest extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("diagnosis[x]")) {
|
||||
this.diagnosis = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2835,6 +2908,45 @@ public class CoverageEligibilityRequest extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new FinancialResourceStatusCodesEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<FinancialResourceStatusCodes>
|
||||
} else if (name.equals("priority")) {
|
||||
this.priority = null;
|
||||
} else if (name.equals("purpose")) {
|
||||
value = new EligibilityRequestPurposeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.getPurpose().add((Enumeration) value);
|
||||
} else if (name.equals("patient")) {
|
||||
this.patient = null;
|
||||
} else if (name.equals("event")) {
|
||||
this.getEvent().add((CoverageEligibilityRequestEventComponent) value);
|
||||
} else if (name.equals("serviced[x]")) {
|
||||
this.serviced = null;
|
||||
} else if (name.equals("created")) {
|
||||
this.created = null;
|
||||
} else if (name.equals("enterer")) {
|
||||
this.enterer = null;
|
||||
} else if (name.equals("provider")) {
|
||||
this.provider = null;
|
||||
} else if (name.equals("insurer")) {
|
||||
this.insurer = null;
|
||||
} else if (name.equals("facility")) {
|
||||
this.facility = null;
|
||||
} else if (name.equals("supportingInfo")) {
|
||||
this.getSupportingInfo().add((SupportingInformationComponent) value);
|
||||
} else if (name.equals("insurance")) {
|
||||
this.getInsurance().add((InsuranceComponent) value);
|
||||
} else if (name.equals("item")) {
|
||||
this.getItem().add((DetailsComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -473,6 +473,17 @@ public class CoverageEligibilityResponse extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("when[x]")) {
|
||||
this.when = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -815,6 +826,21 @@ public class CoverageEligibilityResponse extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("coverage")) {
|
||||
this.coverage = null;
|
||||
} else if (name.equals("inforce")) {
|
||||
this.inforce = null;
|
||||
} else if (name.equals("benefitPeriod")) {
|
||||
this.benefitPeriod = null;
|
||||
} else if (name.equals("item")) {
|
||||
this.getItem().add((ItemsComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1713,6 +1739,41 @@ public class CoverageEligibilityResponse extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("category")) {
|
||||
this.category = null;
|
||||
} else if (name.equals("productOrService")) {
|
||||
this.productOrService = null;
|
||||
} else if (name.equals("modifier")) {
|
||||
this.getModifier().remove(value);
|
||||
} else if (name.equals("provider")) {
|
||||
this.provider = null;
|
||||
} else if (name.equals("excluded")) {
|
||||
this.excluded = null;
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("network")) {
|
||||
this.network = null;
|
||||
} else if (name.equals("unit")) {
|
||||
this.unit = null;
|
||||
} else if (name.equals("term")) {
|
||||
this.term = null;
|
||||
} else if (name.equals("benefit")) {
|
||||
this.getBenefit().add((BenefitComponent) value);
|
||||
} else if (name.equals("authorizationRequired")) {
|
||||
this.authorizationRequired = null;
|
||||
} else if (name.equals("authorizationSupporting")) {
|
||||
this.getAuthorizationSupporting().remove(value);
|
||||
} else if (name.equals("authorizationUrl")) {
|
||||
this.authorizationUrl = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2151,6 +2212,19 @@ public class CoverageEligibilityResponse extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("allowed[x]")) {
|
||||
this.allowed = null;
|
||||
} else if (name.equals("used[x]")) {
|
||||
this.used = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2424,6 +2498,17 @@ public class CoverageEligibilityResponse extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("expression")) {
|
||||
this.getExpression().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3492,6 +3577,48 @@ public class CoverageEligibilityResponse extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new FinancialResourceStatusCodesEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<FinancialResourceStatusCodes>
|
||||
} else if (name.equals("purpose")) {
|
||||
value = new EligibilityResponsePurposeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.getPurpose().add((Enumeration) value);
|
||||
} else if (name.equals("patient")) {
|
||||
this.patient = null;
|
||||
} else if (name.equals("event")) {
|
||||
this.getEvent().add((CoverageEligibilityResponseEventComponent) value);
|
||||
} else if (name.equals("serviced[x]")) {
|
||||
this.serviced = null;
|
||||
} else if (name.equals("created")) {
|
||||
this.created = null;
|
||||
} else if (name.equals("requestor")) {
|
||||
this.requestor = null;
|
||||
} else if (name.equals("request")) {
|
||||
this.request = null;
|
||||
} else if (name.equals("outcome")) {
|
||||
value = new EligibilityOutcomeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.outcome = (Enumeration) value; // Enumeration<EligibilityOutcome>
|
||||
} else if (name.equals("disposition")) {
|
||||
this.disposition = null;
|
||||
} else if (name.equals("insurer")) {
|
||||
this.insurer = null;
|
||||
} else if (name.equals("insurance")) {
|
||||
this.getInsurance().add((InsuranceComponent) value);
|
||||
} else if (name.equals("preAuthRef")) {
|
||||
this.preAuthRef = null;
|
||||
} else if (name.equals("form")) {
|
||||
this.form = null;
|
||||
} else if (name.equals("error")) {
|
||||
this.getError().add((ErrorsComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -629,6 +629,21 @@ public class DataRequirement extends DataType implements ICompositeType {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("path")) {
|
||||
this.path = null;
|
||||
} else if (name.equals("searchParam")) {
|
||||
this.searchParam = null;
|
||||
} else if (name.equals("valueSet")) {
|
||||
this.valueSet = null;
|
||||
} else if (name.equals("code")) {
|
||||
this.getCode().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -982,6 +997,19 @@ public class DataRequirement extends DataType implements ICompositeType {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("path")) {
|
||||
this.path = null;
|
||||
} else if (name.equals("searchParam")) {
|
||||
this.searchParam = null;
|
||||
} else if (name.equals("value[x]")) {
|
||||
this.value = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1401,6 +1429,22 @@ public class DataRequirement extends DataType implements ICompositeType {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("path")) {
|
||||
this.path = null;
|
||||
} else if (name.equals("searchParam")) {
|
||||
this.searchParam = null;
|
||||
} else if (name.equals("comparator")) {
|
||||
value = new ValueFilterComparatorEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.comparator = (Enumeration) value; // Enumeration<ValueFilterComparator>
|
||||
} else if (name.equals("value[x]")) {
|
||||
this.value = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1679,6 +1723,18 @@ public class DataRequirement extends DataType implements ICompositeType {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("path")) {
|
||||
this.path = null;
|
||||
} else if (name.equals("direction")) {
|
||||
value = new SortDirectionEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.direction = (Enumeration) value; // Enumeration<SortDirection>
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2433,6 +2489,32 @@ The value of mustSupport SHALL be a FHIRPath resolvable on the type of the DataR
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
value = new FHIRTypesEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.type = (Enumeration) value; // Enumeration<FHIRTypes>
|
||||
} else if (name.equals("profile")) {
|
||||
this.getProfile().remove(value);
|
||||
} else if (name.equals("subject[x]")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("mustSupport")) {
|
||||
this.getMustSupport().remove(value);
|
||||
} else if (name.equals("codeFilter")) {
|
||||
this.getCodeFilter().add((DataRequirementCodeFilterComponent) value);
|
||||
} else if (name.equals("dateFilter")) {
|
||||
this.getDateFilter().add((DataRequirementDateFilterComponent) value);
|
||||
} else if (name.equals("valueFilter")) {
|
||||
this.getValueFilter().add((DataRequirementValueFilterComponent) value);
|
||||
} else if (name.equals("limit")) {
|
||||
this.limit = null;
|
||||
} else if (name.equals("sort")) {
|
||||
this.getSort().add((DataRequirementSortComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -476,6 +476,17 @@ public class DetectedIssue extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.getCode().remove(value);
|
||||
} else if (name.equals("detail")) {
|
||||
this.getDetail().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -824,6 +835,21 @@ public class DetectedIssue extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("action")) {
|
||||
this.action = null;
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("author")) {
|
||||
this.author = null;
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1796,6 +1822,43 @@ public class DetectedIssue extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new DetectedIssueStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<DetectedIssueStatus>
|
||||
} else if (name.equals("category")) {
|
||||
this.getCategory().remove(value);
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("severity")) {
|
||||
value = new DetectedIssueSeverityEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.severity = (Enumeration) value; // Enumeration<DetectedIssueSeverity>
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("encounter")) {
|
||||
this.encounter = null;
|
||||
} else if (name.equals("identified[x]")) {
|
||||
this.identified = null;
|
||||
} else if (name.equals("author")) {
|
||||
this.author = null;
|
||||
} else if (name.equals("implicated")) {
|
||||
this.getImplicated().remove(value);
|
||||
} else if (name.equals("evidence")) {
|
||||
this.getEvidence().add((DetectedIssueEvidenceComponent) value);
|
||||
} else if (name.equals("detail")) {
|
||||
this.detail = null;
|
||||
} else if (name.equals("reference")) {
|
||||
this.reference = null;
|
||||
} else if (name.equals("mitigation")) {
|
||||
this.getMitigation().add((DetectedIssueMitigationComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -795,6 +795,26 @@ public class Device extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("deviceIdentifier")) {
|
||||
this.deviceIdentifier = null;
|
||||
} else if (name.equals("issuer")) {
|
||||
this.issuer = null;
|
||||
} else if (name.equals("jurisdiction")) {
|
||||
this.jurisdiction = null;
|
||||
} else if (name.equals("carrierAIDC")) {
|
||||
this.carrierAIDC = null;
|
||||
} else if (name.equals("carrierHRF")) {
|
||||
this.carrierHRF = null;
|
||||
} else if (name.equals("entryType")) {
|
||||
value = new UDIEntryTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.entryType = (Enumeration) value; // Enumeration<UDIEntryType>
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1137,6 +1157,20 @@ public class Device extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("value")) {
|
||||
this.value = null;
|
||||
} else if (name.equals("type")) {
|
||||
value = new DeviceNameTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.type = (Enumeration) value; // Enumeration<DeviceNameType>
|
||||
} else if (name.equals("display")) {
|
||||
this.display = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1477,6 +1511,21 @@ public class Device extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("component")) {
|
||||
this.component = null;
|
||||
} else if (name.equals("installDate")) {
|
||||
this.installDate = null;
|
||||
} else if (name.equals("value")) {
|
||||
this.value = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1766,6 +1815,19 @@ public class Device extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("category")) {
|
||||
this.category = null;
|
||||
} else if (name.equals("specification")) {
|
||||
this.specification = null;
|
||||
} else if (name.equals("version")) {
|
||||
this.version = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2095,6 +2157,17 @@ public class Device extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("value[x]")) {
|
||||
this.value = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -4124,6 +4197,78 @@ public class Device extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("displayName")) {
|
||||
this.displayName = null;
|
||||
} else if (name.equals("definition")) {
|
||||
this.definition = null;
|
||||
} else if (name.equals("udiCarrier")) {
|
||||
this.getUdiCarrier().add((DeviceUdiCarrierComponent) value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new FHIRDeviceStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<FHIRDeviceStatus>
|
||||
} else if (name.equals("availabilityStatus")) {
|
||||
this.availabilityStatus = null;
|
||||
} else if (name.equals("biologicalSourceEvent")) {
|
||||
this.biologicalSourceEvent = null;
|
||||
} else if (name.equals("manufacturer")) {
|
||||
this.manufacturer = null;
|
||||
} else if (name.equals("manufactureDate")) {
|
||||
this.manufactureDate = null;
|
||||
} else if (name.equals("expirationDate")) {
|
||||
this.expirationDate = null;
|
||||
} else if (name.equals("lotNumber")) {
|
||||
this.lotNumber = null;
|
||||
} else if (name.equals("serialNumber")) {
|
||||
this.serialNumber = null;
|
||||
} else if (name.equals("name")) {
|
||||
this.getName().add((DeviceNameComponent) value);
|
||||
} else if (name.equals("modelNumber")) {
|
||||
this.modelNumber = null;
|
||||
} else if (name.equals("partNumber")) {
|
||||
this.partNumber = null;
|
||||
} else if (name.equals("category")) {
|
||||
this.getCategory().remove(value);
|
||||
} else if (name.equals("type")) {
|
||||
this.getType().remove(value);
|
||||
} else if (name.equals("version")) {
|
||||
this.getVersion().add((DeviceVersionComponent) value);
|
||||
} else if (name.equals("conformsTo")) {
|
||||
this.getConformsTo().add((DeviceConformsToComponent) value);
|
||||
} else if (name.equals("property")) {
|
||||
this.getProperty().add((DevicePropertyComponent) value);
|
||||
} else if (name.equals("mode")) {
|
||||
this.mode = null;
|
||||
} else if (name.equals("cycle")) {
|
||||
this.cycle = null;
|
||||
} else if (name.equals("duration")) {
|
||||
this.duration = null;
|
||||
} else if (name.equals("owner")) {
|
||||
this.owner = null;
|
||||
} else if (name.equals("contact")) {
|
||||
this.getContact().remove(value);
|
||||
} else if (name.equals("location")) {
|
||||
this.location = null;
|
||||
} else if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else if (name.equals("endpoint")) {
|
||||
this.getEndpoint().remove(value);
|
||||
} else if (name.equals("gateway")) {
|
||||
this.getGateway().remove(value);
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("safety")) {
|
||||
this.getSafety().remove(value);
|
||||
} else if (name.equals("parent")) {
|
||||
this.parent = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -253,6 +253,19 @@ public class DeviceAssociation extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("status")) {
|
||||
this.status = null;
|
||||
} else if (name.equals("operator")) {
|
||||
this.getOperator().remove(value);
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -864,6 +877,31 @@ public class DeviceAssociation extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("device")) {
|
||||
this.device = null;
|
||||
} else if (name.equals("category")) {
|
||||
this.getCategory().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
this.status = null;
|
||||
} else if (name.equals("statusReason")) {
|
||||
this.getStatusReason().remove(value);
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("bodyStructure")) {
|
||||
this.bodyStructure = null;
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else if (name.equals("operation")) {
|
||||
this.getOperation().add((DeviceAssociationOperationComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -741,6 +741,21 @@ public class DeviceDefinition extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("deviceIdentifier")) {
|
||||
this.deviceIdentifier = null;
|
||||
} else if (name.equals("issuer")) {
|
||||
this.issuer = null;
|
||||
} else if (name.equals("jurisdiction")) {
|
||||
this.jurisdiction = null;
|
||||
} else if (name.equals("marketDistribution")) {
|
||||
this.getMarketDistribution().add((UdiDeviceIdentifierMarketDistributionComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -990,6 +1005,17 @@ public class DeviceDefinition extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("marketPeriod")) {
|
||||
this.marketPeriod = null;
|
||||
} else if (name.equals("subJurisdiction")) {
|
||||
this.subJurisdiction = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1368,6 +1394,22 @@ public class DeviceDefinition extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
value = new DeviceDefinitionRegulatoryIdentifierTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.type = (Enumeration) value; // Enumeration<DeviceDefinitionRegulatoryIdentifierType>
|
||||
} else if (name.equals("deviceIdentifier")) {
|
||||
this.deviceIdentifier = null;
|
||||
} else if (name.equals("issuer")) {
|
||||
this.issuer = null;
|
||||
} else if (name.equals("jurisdiction")) {
|
||||
this.jurisdiction = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1641,6 +1683,18 @@ RegisteredName | UserFriendlyName | PatientReportedName.
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("type")) {
|
||||
value = new DeviceNameTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.type = (Enumeration) value; // Enumeration<DeviceNameType>
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1878,6 +1932,17 @@ RegisteredName | UserFriendlyName | PatientReportedName.
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("justification")) {
|
||||
this.getJustification().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2236,6 +2301,21 @@ RegisteredName | UserFriendlyName | PatientReportedName.
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("category")) {
|
||||
this.category = null;
|
||||
} else if (name.equals("specification")) {
|
||||
this.specification = null;
|
||||
} else if (name.equals("version")) {
|
||||
this.getVersion().remove(value);
|
||||
} else if (name.equals("source")) {
|
||||
this.getSource().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2488,6 +2568,17 @@ RegisteredName | UserFriendlyName | PatientReportedName.
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("reference")) {
|
||||
this.reference = null;
|
||||
} else if (name.equals("count")) {
|
||||
this.count = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2952,6 +3043,25 @@ RegisteredName | UserFriendlyName | PatientReportedName.
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.identifier = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("count")) {
|
||||
this.count = null;
|
||||
} else if (name.equals("distributor")) {
|
||||
this.getDistributor().add((PackagingDistributorComponent) value);
|
||||
} else if (name.equals("udiDeviceIdentifier")) {
|
||||
this.getUdiDeviceIdentifier().add((DeviceDefinitionUdiDeviceIdentifierComponent) value);
|
||||
} else if (name.equals("packaging")) {
|
||||
this.getPackaging().add((DeviceDefinitionPackagingComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3246,6 +3356,17 @@ RegisteredName | UserFriendlyName | PatientReportedName.
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("organizationReference")) {
|
||||
this.getOrganizationReference().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3519,6 +3640,19 @@ RegisteredName | UserFriendlyName | PatientReportedName.
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("component")) {
|
||||
this.component = null;
|
||||
} else if (name.equals("value")) {
|
||||
this.value = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3847,6 +3981,17 @@ RegisteredName | UserFriendlyName | PatientReportedName.
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("value[x]")) {
|
||||
this.value = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -4083,6 +4228,17 @@ RegisteredName | UserFriendlyName | PatientReportedName.
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("relation")) {
|
||||
this.relation = null;
|
||||
} else if (name.equals("relatedDevice")) {
|
||||
this.relatedDevice = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -4374,6 +4530,19 @@ RegisteredName | UserFriendlyName | PatientReportedName.
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("substance")) {
|
||||
this.substance = null;
|
||||
} else if (name.equals("alternate")) {
|
||||
this.alternate = null;
|
||||
} else if (name.equals("allergenicIndicator")) {
|
||||
this.allergenicIndicator = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -4973,6 +5142,27 @@ RegisteredName | UserFriendlyName | PatientReportedName.
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("useContext")) {
|
||||
this.getUseContext().remove(value);
|
||||
} else if (name.equals("usageInstruction")) {
|
||||
this.usageInstruction = null;
|
||||
} else if (name.equals("relatedArtifact")) {
|
||||
this.getRelatedArtifact().remove(value);
|
||||
} else if (name.equals("indication")) {
|
||||
this.getIndication().remove(value);
|
||||
} else if (name.equals("contraindication")) {
|
||||
this.getContraindication().remove(value);
|
||||
} else if (name.equals("warning")) {
|
||||
this.getWarning().remove(value);
|
||||
} else if (name.equals("intendedUse")) {
|
||||
this.intendedUse = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -5324,6 +5514,20 @@ RegisteredName | UserFriendlyName | PatientReportedName.
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("recall")) {
|
||||
this.recall = null;
|
||||
} else if (name.equals("scope")) {
|
||||
value = new DeviceCorrectiveActionScopeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.scope = (Enumeration) value; // Enumeration<DeviceCorrectiveActionScope>
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -5647,6 +5851,21 @@ RegisteredName | UserFriendlyName | PatientReportedName.
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("chargeItemCode")) {
|
||||
this.chargeItemCode = null;
|
||||
} else if (name.equals("count")) {
|
||||
this.count = null;
|
||||
} else if (name.equals("effectivePeriod")) {
|
||||
this.effectivePeriod = null;
|
||||
} else if (name.equals("useContext")) {
|
||||
this.getUseContext().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -7440,6 +7659,66 @@ RegisteredName | UserFriendlyName | PatientReportedName.
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("udiDeviceIdentifier")) {
|
||||
this.getUdiDeviceIdentifier().add((DeviceDefinitionUdiDeviceIdentifierComponent) value);
|
||||
} else if (name.equals("regulatoryIdentifier")) {
|
||||
this.getRegulatoryIdentifier().add((DeviceDefinitionRegulatoryIdentifierComponent) value);
|
||||
} else if (name.equals("partNumber")) {
|
||||
this.partNumber = null;
|
||||
} else if (name.equals("manufacturer")) {
|
||||
this.manufacturer = null;
|
||||
} else if (name.equals("deviceName")) {
|
||||
this.getDeviceName().add((DeviceDefinitionDeviceNameComponent) value);
|
||||
} else if (name.equals("modelNumber")) {
|
||||
this.modelNumber = null;
|
||||
} else if (name.equals("classification")) {
|
||||
this.getClassification().add((DeviceDefinitionClassificationComponent) value);
|
||||
} else if (name.equals("conformsTo")) {
|
||||
this.getConformsTo().add((DeviceDefinitionConformsToComponent) value);
|
||||
} else if (name.equals("hasPart")) {
|
||||
this.getHasPart().add((DeviceDefinitionHasPartComponent) value);
|
||||
} else if (name.equals("packaging")) {
|
||||
this.getPackaging().add((DeviceDefinitionPackagingComponent) value);
|
||||
} else if (name.equals("version")) {
|
||||
this.getVersion().add((DeviceDefinitionVersionComponent) value);
|
||||
} else if (name.equals("safety")) {
|
||||
this.getSafety().remove(value);
|
||||
} else if (name.equals("shelfLifeStorage")) {
|
||||
this.getShelfLifeStorage().remove(value);
|
||||
} else if (name.equals("languageCode")) {
|
||||
this.getLanguageCode().remove(value);
|
||||
} else if (name.equals("property")) {
|
||||
this.getProperty().add((DeviceDefinitionPropertyComponent) value);
|
||||
} else if (name.equals("owner")) {
|
||||
this.owner = null;
|
||||
} else if (name.equals("contact")) {
|
||||
this.getContact().remove(value);
|
||||
} else if (name.equals("link")) {
|
||||
this.getLink().add((DeviceDefinitionLinkComponent) value);
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("material")) {
|
||||
this.getMaterial().add((DeviceDefinitionMaterialComponent) value);
|
||||
} else if (name.equals("productionIdentifierInUDI")) {
|
||||
value = new DeviceProductionIdentifierInUDIEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.getProductionIdentifierInUDI().add((Enumeration) value);
|
||||
} else if (name.equals("guideline")) {
|
||||
this.guideline = (DeviceDefinitionGuidelineComponent) value; // DeviceDefinitionGuidelineComponent
|
||||
} else if (name.equals("correctiveAction")) {
|
||||
this.correctiveAction = (DeviceDefinitionCorrectiveActionComponent) value; // DeviceDefinitionCorrectiveActionComponent
|
||||
} else if (name.equals("chargeItem")) {
|
||||
this.getChargeItem().add((DeviceDefinitionChargeItemComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -393,6 +393,17 @@ public class DeviceDispense extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("function")) {
|
||||
this.function = null;
|
||||
} else if (name.equals("actor")) {
|
||||
this.actor = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1675,6 +1686,56 @@ public class DeviceDispense extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("basedOn")) {
|
||||
this.getBasedOn().remove(value);
|
||||
} else if (name.equals("partOf")) {
|
||||
this.getPartOf().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new DeviceDispenseStatusCodesEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<DeviceDispenseStatusCodes>
|
||||
} else if (name.equals("statusReason")) {
|
||||
this.statusReason = null;
|
||||
} else if (name.equals("category")) {
|
||||
this.getCategory().remove(value);
|
||||
} else if (name.equals("device")) {
|
||||
this.device = null;
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("receiver")) {
|
||||
this.receiver = null;
|
||||
} else if (name.equals("encounter")) {
|
||||
this.encounter = null;
|
||||
} else if (name.equals("supportingInformation")) {
|
||||
this.getSupportingInformation().remove(value);
|
||||
} else if (name.equals("performer")) {
|
||||
this.getPerformer().add((DeviceDispensePerformerComponent) value);
|
||||
} else if (name.equals("location")) {
|
||||
this.location = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("quantity")) {
|
||||
this.quantity = null;
|
||||
} else if (name.equals("preparedDate")) {
|
||||
this.preparedDate = null;
|
||||
} else if (name.equals("whenHandedOver")) {
|
||||
this.whenHandedOver = null;
|
||||
} else if (name.equals("destination")) {
|
||||
this.destination = null;
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("usageInstruction")) {
|
||||
this.usageInstruction = null;
|
||||
} else if (name.equals("eventHistory")) {
|
||||
this.getEventHistory().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -809,6 +809,21 @@ public class DeviceMetric extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
value = new DeviceMetricCalibrationTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.type = (Enumeration) value; // Enumeration<DeviceMetricCalibrationType>
|
||||
} else if (name.equals("state")) {
|
||||
value = new DeviceMetricCalibrationStateEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.state = (Enumeration) value; // Enumeration<DeviceMetricCalibrationState>
|
||||
} else if (name.equals("time")) {
|
||||
this.time = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1435,6 +1450,33 @@ public class DeviceMetric extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("unit")) {
|
||||
this.unit = null;
|
||||
} else if (name.equals("device")) {
|
||||
this.device = null;
|
||||
} else if (name.equals("operationalStatus")) {
|
||||
value = new DeviceMetricOperationalStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.operationalStatus = (Enumeration) value; // Enumeration<DeviceMetricOperationalStatus>
|
||||
} else if (name.equals("color")) {
|
||||
this.color = null;
|
||||
} else if (name.equals("category")) {
|
||||
value = new DeviceMetricCategoryEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.category = (Enumeration) value; // Enumeration<DeviceMetricCategory>
|
||||
} else if (name.equals("measurementFrequency")) {
|
||||
this.measurementFrequency = null;
|
||||
} else if (name.equals("calibration")) {
|
||||
this.getCalibration().add((DeviceMetricCalibrationComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -239,6 +239,17 @@ public class DeviceRequest extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("value[x]")) {
|
||||
this.value = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1948,6 +1959,68 @@ public class DeviceRequest extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("instantiatesCanonical")) {
|
||||
this.getInstantiatesCanonical().remove(value);
|
||||
} else if (name.equals("instantiatesUri")) {
|
||||
this.getInstantiatesUri().remove(value);
|
||||
} else if (name.equals("basedOn")) {
|
||||
this.getBasedOn().remove(value);
|
||||
} else if (name.equals("replaces")) {
|
||||
this.getReplaces().remove(value);
|
||||
} else if (name.equals("groupIdentifier")) {
|
||||
this.groupIdentifier = null;
|
||||
} else if (name.equals("status")) {
|
||||
value = new RequestStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<RequestStatus>
|
||||
} else if (name.equals("intent")) {
|
||||
value = new RequestIntentEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.intent = (Enumeration) value; // Enumeration<RequestIntent>
|
||||
} else if (name.equals("priority")) {
|
||||
value = new RequestPriorityEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.priority = (Enumeration) value; // Enumeration<RequestPriority>
|
||||
} else if (name.equals("doNotPerform")) {
|
||||
this.doNotPerform = null;
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("quantity")) {
|
||||
this.quantity = null;
|
||||
} else if (name.equals("parameter")) {
|
||||
this.getParameter().add((DeviceRequestParameterComponent) value);
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("encounter")) {
|
||||
this.encounter = null;
|
||||
} else if (name.equals("occurrence[x]")) {
|
||||
this.occurrence = null;
|
||||
} else if (name.equals("authoredOn")) {
|
||||
this.authoredOn = null;
|
||||
} else if (name.equals("requester")) {
|
||||
this.requester = null;
|
||||
} else if (name.equals("performer")) {
|
||||
this.performer = null;
|
||||
} else if (name.equals("reason")) {
|
||||
this.getReason().remove(value);
|
||||
} else if (name.equals("asNeeded")) {
|
||||
this.asNeeded = null;
|
||||
} else if (name.equals("asNeededFor")) {
|
||||
this.asNeededFor = null;
|
||||
} else if (name.equals("insurance")) {
|
||||
this.getInsurance().remove(value);
|
||||
} else if (name.equals("supportingInfo")) {
|
||||
this.getSupportingInfo().remove(value);
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("relevantHistory")) {
|
||||
this.getRelevantHistory().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -393,6 +393,17 @@ public class DeviceUsage extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("reason")) {
|
||||
this.getReason().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1490,6 +1501,48 @@ public class DeviceUsage extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("basedOn")) {
|
||||
this.getBasedOn().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new DeviceUsageStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<DeviceUsageStatus>
|
||||
} else if (name.equals("category")) {
|
||||
this.getCategory().remove(value);
|
||||
} else if (name.equals("patient")) {
|
||||
this.patient = null;
|
||||
} else if (name.equals("derivedFrom")) {
|
||||
this.getDerivedFrom().remove(value);
|
||||
} else if (name.equals("context")) {
|
||||
this.context = null;
|
||||
} else if (name.equals("timing[x]")) {
|
||||
this.timing = null;
|
||||
} else if (name.equals("dateAsserted")) {
|
||||
this.dateAsserted = null;
|
||||
} else if (name.equals("usageStatus")) {
|
||||
this.usageStatus = null;
|
||||
} else if (name.equals("usageReason")) {
|
||||
this.getUsageReason().remove(value);
|
||||
} else if (name.equals("adherence")) {
|
||||
this.adherence = (DeviceUsageAdherenceComponent) value; // DeviceUsageAdherenceComponent
|
||||
} else if (name.equals("informationSource")) {
|
||||
this.informationSource = null;
|
||||
} else if (name.equals("device")) {
|
||||
this.device = null;
|
||||
} else if (name.equals("reason")) {
|
||||
this.getReason().remove(value);
|
||||
} else if (name.equals("bodySite")) {
|
||||
this.bodySite = null;
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -427,6 +427,17 @@ public class DiagnosticReport extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("reference")) {
|
||||
this.reference = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -661,6 +672,17 @@ public class DiagnosticReport extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("comment")) {
|
||||
this.comment = null;
|
||||
} else if (name.equals("link")) {
|
||||
this.link = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2093,6 +2115,56 @@ public class DiagnosticReport extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("basedOn")) {
|
||||
this.getBasedOn().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new DiagnosticReportStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<DiagnosticReportStatus>
|
||||
} else if (name.equals("category")) {
|
||||
this.getCategory().remove(value);
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("encounter")) {
|
||||
this.encounter = null;
|
||||
} else if (name.equals("effective[x]")) {
|
||||
this.effective = null;
|
||||
} else if (name.equals("issued")) {
|
||||
this.issued = null;
|
||||
} else if (name.equals("performer")) {
|
||||
this.getPerformer().remove(value);
|
||||
} else if (name.equals("resultsInterpreter")) {
|
||||
this.getResultsInterpreter().remove(value);
|
||||
} else if (name.equals("specimen")) {
|
||||
this.getSpecimen().remove(value);
|
||||
} else if (name.equals("result")) {
|
||||
this.getResult().remove(value);
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("study")) {
|
||||
this.getStudy().remove(value);
|
||||
} else if (name.equals("supportingInfo")) {
|
||||
this.getSupportingInfo().add((DiagnosticReportSupportingInfoComponent) value);
|
||||
} else if (name.equals("media")) {
|
||||
this.getMedia().add((DiagnosticReportMediaComponent) value);
|
||||
} else if (name.equals("composition")) {
|
||||
this.composition = null;
|
||||
} else if (name.equals("conclusion")) {
|
||||
this.conclusion = null;
|
||||
} else if (name.equals("conclusionCode")) {
|
||||
this.getConclusionCode().remove(value);
|
||||
} else if (name.equals("presentedForm")) {
|
||||
this.getPresentedForm().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -362,6 +362,19 @@ public class DocumentReference extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("mode")) {
|
||||
this.mode = null;
|
||||
} else if (name.equals("time")) {
|
||||
this.time = null;
|
||||
} else if (name.equals("party")) {
|
||||
this.party = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -580,6 +593,17 @@ public class DocumentReference extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("target")) {
|
||||
this.target = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -818,6 +842,17 @@ public class DocumentReference extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("attachment")) {
|
||||
this.attachment = null;
|
||||
} else if (name.equals("profile")) {
|
||||
this.getProfile().add((DocumentReferenceContentProfileComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1038,6 +1073,15 @@ public class DocumentReference extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("value[x]")) {
|
||||
this.value = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2550,6 +2594,61 @@ public class DocumentReference extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("version")) {
|
||||
this.version = null;
|
||||
} else if (name.equals("basedOn")) {
|
||||
this.getBasedOn().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new DocumentReferenceStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<DocumentReferenceStatus>
|
||||
} else if (name.equals("docStatus")) {
|
||||
value = new CompositionStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.docStatus = (Enumeration) value; // Enumeration<CompositionStatus>
|
||||
} else if (name.equals("modality")) {
|
||||
this.getModality().remove(value);
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("category")) {
|
||||
this.getCategory().remove(value);
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("context")) {
|
||||
this.getContext().remove(value);
|
||||
} else if (name.equals("event")) {
|
||||
this.getEvent().remove(value);
|
||||
} else if (name.equals("bodySite")) {
|
||||
this.getBodySite().remove(value);
|
||||
} else if (name.equals("facilityType")) {
|
||||
this.facilityType = null;
|
||||
} else if (name.equals("practiceSetting")) {
|
||||
this.practiceSetting = null;
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("author")) {
|
||||
this.getAuthor().remove(value);
|
||||
} else if (name.equals("attester")) {
|
||||
this.getAttester().add((DocumentReferenceAttesterComponent) value);
|
||||
} else if (name.equals("custodian")) {
|
||||
this.custodian = null;
|
||||
} else if (name.equals("relatesTo")) {
|
||||
this.getRelatesTo().add((DocumentReferenceRelatesToComponent) value);
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("securityLabel")) {
|
||||
this.getSecurityLabel().remove(value);
|
||||
} else if (name.equals("content")) {
|
||||
this.getContent().add((DocumentReferenceContentComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -304,6 +304,21 @@ Modifier extensions SHALL NOT change the meaning of any elements on Resource or
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("text")) {
|
||||
this.text = null;
|
||||
} else if (name.equals("contained")) {
|
||||
this.getContained().remove(value);
|
||||
} else if (name.equals("extension")) {
|
||||
this.getExtension().remove(value);
|
||||
} else if (name.equals("modifierExtension")) {
|
||||
this.getModifierExtension().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -291,6 +291,19 @@ public class Dosage extends BackboneType implements ICompositeType {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("dose[x]")) {
|
||||
this.dose = null;
|
||||
} else if (name.equals("rate[x]")) {
|
||||
this.rate = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1193,6 +1206,41 @@ public class Dosage extends BackboneType implements ICompositeType {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("sequence")) {
|
||||
this.sequence = null;
|
||||
} else if (name.equals("text")) {
|
||||
this.text = null;
|
||||
} else if (name.equals("additionalInstruction")) {
|
||||
this.getAdditionalInstruction().remove(value);
|
||||
} else if (name.equals("patientInstruction")) {
|
||||
this.patientInstruction = null;
|
||||
} else if (name.equals("timing")) {
|
||||
this.timing = null;
|
||||
} else if (name.equals("asNeeded")) {
|
||||
this.asNeeded = null;
|
||||
} else if (name.equals("asNeededFor")) {
|
||||
this.getAsNeededFor().remove(value);
|
||||
} else if (name.equals("site")) {
|
||||
this.site = null;
|
||||
} else if (name.equals("route")) {
|
||||
this.route = null;
|
||||
} else if (name.equals("method")) {
|
||||
this.method = null;
|
||||
} else if (name.equals("doseAndRate")) {
|
||||
this.getDoseAndRate().add((DosageDoseAndRateComponent) value);
|
||||
} else if (name.equals("maxDosePerPeriod")) {
|
||||
this.getMaxDosePerPeriod().remove(value);
|
||||
} else if (name.equals("maxDosePerAdministration")) {
|
||||
this.maxDosePerAdministration = null;
|
||||
} else if (name.equals("maxDosePerLifetime")) {
|
||||
this.maxDosePerLifetime = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -231,6 +231,17 @@ public abstract class Element extends Base implements IBaseHasExtensions, IBaseE
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("id")) {
|
||||
this.id = null;
|
||||
} else if (name.equals("extension")) {
|
||||
this.getExtension().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -1326,6 +1326,22 @@ public class ElementDefinition extends BackboneType implements ICompositeType {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("discriminator")) {
|
||||
this.getDiscriminator().add((ElementDefinitionSlicingDiscriminatorComponent) value);
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("ordered")) {
|
||||
this.ordered = null;
|
||||
} else if (name.equals("rules")) {
|
||||
value = new SlicingRulesEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.rules = (Enumeration) value; // Enumeration<SlicingRules>
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1603,6 +1619,18 @@ public class ElementDefinition extends BackboneType implements ICompositeType {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
value = new DiscriminatorTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.type = (Enumeration) value; // Enumeration<DiscriminatorType>
|
||||
} else if (name.equals("path")) {
|
||||
this.path = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1919,6 +1947,19 @@ public class ElementDefinition extends BackboneType implements ICompositeType {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("path")) {
|
||||
this.path = null;
|
||||
} else if (name.equals("min")) {
|
||||
this.min = null;
|
||||
} else if (name.equals("max")) {
|
||||
this.max = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2415,6 +2456,25 @@ public class ElementDefinition extends BackboneType implements ICompositeType {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("profile")) {
|
||||
this.getProfile().remove(value);
|
||||
} else if (name.equals("targetProfile")) {
|
||||
this.getTargetProfile().remove(value);
|
||||
} else if (name.equals("aggregation")) {
|
||||
value = new AggregationModeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.getAggregation().add((Enumeration) value);
|
||||
} else if (name.equals("versioning")) {
|
||||
value = new ReferenceVersionRulesEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.versioning = (Enumeration) value; // Enumeration<ReferenceVersionRules>
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3624,6 +3684,17 @@ public boolean hasTarget() {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("label")) {
|
||||
this.label = null;
|
||||
} else if (name.equals("value[x]")) {
|
||||
this.value = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -4404,6 +4475,28 @@ public boolean hasTarget() {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("key")) {
|
||||
this.key = null;
|
||||
} else if (name.equals("requirements")) {
|
||||
this.requirements = null;
|
||||
} else if (name.equals("severity")) {
|
||||
value = new ConstraintSeverityEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.severity = (Enumeration) value; // Enumeration<ConstraintSeverity>
|
||||
} else if (name.equals("suppress")) {
|
||||
this.suppress = null;
|
||||
} else if (name.equals("human")) {
|
||||
this.human = null;
|
||||
} else if (name.equals("expression")) {
|
||||
this.expression = null;
|
||||
} else if (name.equals("source")) {
|
||||
this.source = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -4827,6 +4920,22 @@ public boolean hasTarget() {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("strength")) {
|
||||
value = new BindingStrengthEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.strength = (Enumeration) value; // Enumeration<BindingStrength>
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("valueSet")) {
|
||||
this.valueSet = null;
|
||||
} else if (name.equals("additional")) {
|
||||
this.getAdditional().add((ElementDefinitionBindingAdditionalComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -5366,6 +5475,26 @@ public boolean hasTarget() {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("purpose")) {
|
||||
value = new AdditionalBindingPurposeVSEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.purpose = (Enumeration) value; // Enumeration<AdditionalBindingPurposeVS>
|
||||
} else if (name.equals("valueSet")) {
|
||||
this.valueSet = null;
|
||||
} else if (name.equals("documentation")) {
|
||||
this.documentation = null;
|
||||
} else if (name.equals("shortDoco")) {
|
||||
this.shortDoco = null;
|
||||
} else if (name.equals("usage")) {
|
||||
this.getUsage().remove(value);
|
||||
} else if (name.equals("any")) {
|
||||
this.any = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -5777,6 +5906,21 @@ public boolean hasTarget() {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identity")) {
|
||||
this.identity = null;
|
||||
} else if (name.equals("language")) {
|
||||
this.language = null;
|
||||
} else if (name.equals("map")) {
|
||||
this.map = null;
|
||||
} else if (name.equals("comment")) {
|
||||
this.comment = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -11649,6 +11793,86 @@ If a pattern[x] is declared on a repeating element, the pattern applies to all r
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("path")) {
|
||||
this.path = null;
|
||||
} else if (name.equals("representation")) {
|
||||
value = new PropertyRepresentationEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.getRepresentation().add((Enumeration) value);
|
||||
} else if (name.equals("sliceName")) {
|
||||
this.sliceName = null;
|
||||
} else if (name.equals("sliceIsConstraining")) {
|
||||
this.sliceIsConstraining = null;
|
||||
} else if (name.equals("label")) {
|
||||
this.label = null;
|
||||
} else if (name.equals("code")) {
|
||||
this.getCode().remove(value);
|
||||
} else if (name.equals("slicing")) {
|
||||
this.slicing = (ElementDefinitionSlicingComponent) value; // ElementDefinitionSlicingComponent
|
||||
} else if (name.equals("short")) {
|
||||
this.short_ = null;
|
||||
} else if (name.equals("definition")) {
|
||||
this.definition = null;
|
||||
} else if (name.equals("comment")) {
|
||||
this.comment = null;
|
||||
} else if (name.equals("requirements")) {
|
||||
this.requirements = null;
|
||||
} else if (name.equals("alias")) {
|
||||
this.getAlias().remove(value);
|
||||
} else if (name.equals("min")) {
|
||||
this.min = null;
|
||||
} else if (name.equals("max")) {
|
||||
this.max = null;
|
||||
} else if (name.equals("base")) {
|
||||
this.base = (ElementDefinitionBaseComponent) value; // ElementDefinitionBaseComponent
|
||||
} else if (name.equals("contentReference")) {
|
||||
this.contentReference = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.getType().add((TypeRefComponent) value);
|
||||
} else if (name.equals("defaultValue[x]")) {
|
||||
this.defaultValue = null;
|
||||
} else if (name.equals("meaningWhenMissing")) {
|
||||
this.meaningWhenMissing = null;
|
||||
} else if (name.equals("orderMeaning")) {
|
||||
this.orderMeaning = null;
|
||||
} else if (name.equals("fixed[x]")) {
|
||||
this.fixed = null;
|
||||
} else if (name.equals("pattern[x]")) {
|
||||
this.pattern = null;
|
||||
} else if (name.equals("example")) {
|
||||
this.getExample().add((ElementDefinitionExampleComponent) value);
|
||||
} else if (name.equals("minValue[x]")) {
|
||||
this.minValue = null;
|
||||
} else if (name.equals("maxValue[x]")) {
|
||||
this.maxValue = null;
|
||||
} else if (name.equals("maxLength")) {
|
||||
this.maxLength = null;
|
||||
} else if (name.equals("condition")) {
|
||||
this.getCondition().remove(value);
|
||||
} else if (name.equals("constraint")) {
|
||||
this.getConstraint().add((ElementDefinitionConstraintComponent) value);
|
||||
} else if (name.equals("mustHaveValue")) {
|
||||
this.mustHaveValue = null;
|
||||
} else if (name.equals("valueAlternatives")) {
|
||||
this.getValueAlternatives().remove(value);
|
||||
} else if (name.equals("mustSupport")) {
|
||||
this.mustSupport = null;
|
||||
} else if (name.equals("isModifier")) {
|
||||
this.isModifier = null;
|
||||
} else if (name.equals("isModifierReason")) {
|
||||
this.isModifierReason = null;
|
||||
} else if (name.equals("isSummary")) {
|
||||
this.isSummary = null;
|
||||
} else if (name.equals("binding")) {
|
||||
this.binding = (ElementDefinitionBindingComponent) value; // ElementDefinitionBindingComponent
|
||||
} else if (name.equals("mapping")) {
|
||||
this.getMapping().add((ElementDefinitionMappingComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -374,6 +374,19 @@ public class Encounter extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.getType().remove(value);
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else if (name.equals("actor")) {
|
||||
this.actor = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -646,6 +659,17 @@ public class Encounter extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("use")) {
|
||||
this.getUse().remove(value);
|
||||
} else if (name.equals("value")) {
|
||||
this.getValue().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -913,6 +937,17 @@ public class Encounter extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("condition")) {
|
||||
this.getCondition().remove(value);
|
||||
} else if (name.equals("use")) {
|
||||
this.getUse().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1279,6 +1314,25 @@ public class Encounter extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("preAdmissionIdentifier")) {
|
||||
this.preAdmissionIdentifier = null;
|
||||
} else if (name.equals("origin")) {
|
||||
this.origin = null;
|
||||
} else if (name.equals("admitSource")) {
|
||||
this.admitSource = null;
|
||||
} else if (name.equals("reAdmission")) {
|
||||
this.reAdmission = null;
|
||||
} else if (name.equals("destination")) {
|
||||
this.destination = null;
|
||||
} else if (name.equals("dischargeDisposition")) {
|
||||
this.dischargeDisposition = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1627,6 +1681,22 @@ public class Encounter extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("location")) {
|
||||
this.location = null;
|
||||
} else if (name.equals("status")) {
|
||||
value = new EncounterLocationStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<EncounterLocationStatus>
|
||||
} else if (name.equals("form")) {
|
||||
this.form = null;
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3438,6 +3508,70 @@ public class Encounter extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new EncounterStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<EncounterStatus>
|
||||
} else if (name.equals("class")) {
|
||||
this.getClass_().remove(value);
|
||||
} else if (name.equals("priority")) {
|
||||
this.priority = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.getType().remove(value);
|
||||
} else if (name.equals("serviceType")) {
|
||||
this.getServiceType().remove(value);
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("subjectStatus")) {
|
||||
this.subjectStatus = null;
|
||||
} else if (name.equals("episodeOfCare")) {
|
||||
this.getEpisodeOfCare().remove(value);
|
||||
} else if (name.equals("basedOn")) {
|
||||
this.getBasedOn().remove(value);
|
||||
} else if (name.equals("careTeam")) {
|
||||
this.getCareTeam().remove(value);
|
||||
} else if (name.equals("partOf")) {
|
||||
this.partOf = null;
|
||||
} else if (name.equals("serviceProvider")) {
|
||||
this.serviceProvider = null;
|
||||
} else if (name.equals("participant")) {
|
||||
this.getParticipant().add((EncounterParticipantComponent) value);
|
||||
} else if (name.equals("appointment")) {
|
||||
this.getAppointment().remove(value);
|
||||
} else if (name.equals("virtualService")) {
|
||||
this.getVirtualService().remove(value);
|
||||
} else if (name.equals("actualPeriod")) {
|
||||
this.actualPeriod = null;
|
||||
} else if (name.equals("plannedStartDate")) {
|
||||
this.plannedStartDate = null;
|
||||
} else if (name.equals("plannedEndDate")) {
|
||||
this.plannedEndDate = null;
|
||||
} else if (name.equals("length")) {
|
||||
this.length = null;
|
||||
} else if (name.equals("reason")) {
|
||||
this.getReason().add((ReasonComponent) value);
|
||||
} else if (name.equals("diagnosis")) {
|
||||
this.getDiagnosis().add((DiagnosisComponent) value);
|
||||
} else if (name.equals("account")) {
|
||||
this.getAccount().remove(value);
|
||||
} else if (name.equals("dietPreference")) {
|
||||
this.getDietPreference().remove(value);
|
||||
} else if (name.equals("specialArrangement")) {
|
||||
this.getSpecialArrangement().remove(value);
|
||||
} else if (name.equals("specialCourtesy")) {
|
||||
this.getSpecialCourtesy().remove(value);
|
||||
} else if (name.equals("admission")) {
|
||||
this.admission = (EncounterAdmissionComponent) value; // EncounterAdmissionComponent
|
||||
} else if (name.equals("location")) {
|
||||
this.getLocation().add((EncounterLocationComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -186,6 +186,17 @@ public class EncounterHistory extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("location")) {
|
||||
this.location = null;
|
||||
} else if (name.equals("form")) {
|
||||
this.form = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1017,6 +1028,40 @@ public class EncounterHistory extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("encounter")) {
|
||||
this.encounter = null;
|
||||
} else if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new EncounterStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<EncounterStatus>
|
||||
} else if (name.equals("class")) {
|
||||
this.class_ = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.getType().remove(value);
|
||||
} else if (name.equals("serviceType")) {
|
||||
this.getServiceType().remove(value);
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("subjectStatus")) {
|
||||
this.subjectStatus = null;
|
||||
} else if (name.equals("actualPeriod")) {
|
||||
this.actualPeriod = null;
|
||||
} else if (name.equals("plannedStartDate")) {
|
||||
this.plannedStartDate = null;
|
||||
} else if (name.equals("plannedEndDate")) {
|
||||
this.plannedEndDate = null;
|
||||
} else if (name.equals("length")) {
|
||||
this.length = null;
|
||||
} else if (name.equals("location")) {
|
||||
this.getLocation().add((EncounterHistoryLocationComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -389,6 +389,17 @@ public class Endpoint extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.getType().remove(value);
|
||||
} else if (name.equals("mimeType")) {
|
||||
this.getMimeType().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1273,6 +1284,38 @@ public class Endpoint extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new EndpointStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<EndpointStatus>
|
||||
} else if (name.equals("connectionType")) {
|
||||
this.getConnectionType().remove(value);
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("environmentType")) {
|
||||
this.getEnvironmentType().remove(value);
|
||||
} else if (name.equals("managingOrganization")) {
|
||||
this.managingOrganization = null;
|
||||
} else if (name.equals("contact")) {
|
||||
this.getContact().remove(value);
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else if (name.equals("payload")) {
|
||||
this.getPayload().add((EndpointPayloadComponent) value);
|
||||
} else if (name.equals("address")) {
|
||||
this.address = null;
|
||||
} else if (name.equals("header")) {
|
||||
this.getHeader().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -452,6 +452,28 @@ public class EnrollmentRequest extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new FinancialResourceStatusCodesEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<FinancialResourceStatusCodes>
|
||||
} else if (name.equals("created")) {
|
||||
this.created = null;
|
||||
} else if (name.equals("insurer")) {
|
||||
this.insurer = null;
|
||||
} else if (name.equals("provider")) {
|
||||
this.provider = null;
|
||||
} else if (name.equals("candidate")) {
|
||||
this.candidate = null;
|
||||
} else if (name.equals("coverage")) {
|
||||
this.coverage = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -672,6 +672,31 @@ public class EnrollmentResponse extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new FinancialResourceStatusCodesEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<FinancialResourceStatusCodes>
|
||||
} else if (name.equals("request")) {
|
||||
this.request = null;
|
||||
} else if (name.equals("outcome")) {
|
||||
value = new EnrollmentOutcomeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.outcome = (Enumeration) value; // Enumeration<EnrollmentOutcome>
|
||||
} else if (name.equals("disposition")) {
|
||||
this.disposition = null;
|
||||
} else if (name.equals("created")) {
|
||||
this.created = null;
|
||||
} else if (name.equals("organization")) {
|
||||
this.organization = null;
|
||||
} else if (name.equals("requestProvider")) {
|
||||
this.requestProvider = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -386,6 +386,18 @@ public class EpisodeOfCare extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("status")) {
|
||||
value = new EpisodeOfCareStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<EpisodeOfCareStatus>
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -617,6 +629,17 @@ public class EpisodeOfCare extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("use")) {
|
||||
this.use = null;
|
||||
} else if (name.equals("value")) {
|
||||
this.getValue().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -852,6 +875,17 @@ public class EpisodeOfCare extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("condition")) {
|
||||
this.getCondition().remove(value);
|
||||
} else if (name.equals("use")) {
|
||||
this.use = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1749,6 +1783,40 @@ public class EpisodeOfCare extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new EpisodeOfCareStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<EpisodeOfCareStatus>
|
||||
} else if (name.equals("statusHistory")) {
|
||||
this.getStatusHistory().add((EpisodeOfCareStatusHistoryComponent) value);
|
||||
} else if (name.equals("type")) {
|
||||
this.getType().remove(value);
|
||||
} else if (name.equals("reason")) {
|
||||
this.getReason().add((ReasonComponent) value);
|
||||
} else if (name.equals("diagnosis")) {
|
||||
this.getDiagnosis().add((DiagnosisComponent) value);
|
||||
} else if (name.equals("patient")) {
|
||||
this.patient = null;
|
||||
} else if (name.equals("managingOrganization")) {
|
||||
this.managingOrganization = null;
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else if (name.equals("referralRequest")) {
|
||||
this.getReferralRequest().remove(value);
|
||||
} else if (name.equals("careManager")) {
|
||||
this.careManager = null;
|
||||
} else if (name.equals("careTeam")) {
|
||||
this.getCareTeam().remove(value);
|
||||
} else if (name.equals("account")) {
|
||||
this.getAccount().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -2054,6 +2054,74 @@ public class EventDefinition extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("version")) {
|
||||
this.version = null;
|
||||
} else if (name.equals("versionAlgorithm[x]")) {
|
||||
this.versionAlgorithm = null;
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("subtitle")) {
|
||||
this.subtitle = null;
|
||||
} else if (name.equals("status")) {
|
||||
value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<PublicationStatus>
|
||||
} else if (name.equals("experimental")) {
|
||||
this.experimental = null;
|
||||
} else if (name.equals("subject[x]")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("publisher")) {
|
||||
this.publisher = null;
|
||||
} else if (name.equals("contact")) {
|
||||
this.getContact().remove(value);
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("useContext")) {
|
||||
this.getUseContext().remove(value);
|
||||
} else if (name.equals("jurisdiction")) {
|
||||
this.getJurisdiction().remove(value);
|
||||
} else if (name.equals("purpose")) {
|
||||
this.purpose = null;
|
||||
} else if (name.equals("usage")) {
|
||||
this.usage = null;
|
||||
} else if (name.equals("copyright")) {
|
||||
this.copyright = null;
|
||||
} else if (name.equals("copyrightLabel")) {
|
||||
this.copyrightLabel = null;
|
||||
} else if (name.equals("approvalDate")) {
|
||||
this.approvalDate = null;
|
||||
} else if (name.equals("lastReviewDate")) {
|
||||
this.lastReviewDate = null;
|
||||
} else if (name.equals("effectivePeriod")) {
|
||||
this.effectivePeriod = null;
|
||||
} else if (name.equals("topic")) {
|
||||
this.getTopic().remove(value);
|
||||
} else if (name.equals("author")) {
|
||||
this.getAuthor().remove(value);
|
||||
} else if (name.equals("editor")) {
|
||||
this.getEditor().remove(value);
|
||||
} else if (name.equals("reviewer")) {
|
||||
this.getReviewer().remove(value);
|
||||
} else if (name.equals("endorser")) {
|
||||
this.getEndorser().remove(value);
|
||||
} else if (name.equals("relatedArtifact")) {
|
||||
this.getRelatedArtifact().remove(value);
|
||||
} else if (name.equals("trigger")) {
|
||||
this.getTrigger().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -398,6 +398,25 @@ public class Evidence extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("variableRole")) {
|
||||
this.variableRole = null;
|
||||
} else if (name.equals("observed")) {
|
||||
this.observed = null;
|
||||
} else if (name.equals("intended")) {
|
||||
this.intended = null;
|
||||
} else if (name.equals("directnessMatch")) {
|
||||
this.directnessMatch = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1099,6 +1118,33 @@ public class Evidence extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("statisticType")) {
|
||||
this.statisticType = null;
|
||||
} else if (name.equals("category")) {
|
||||
this.category = null;
|
||||
} else if (name.equals("quantity")) {
|
||||
this.quantity = null;
|
||||
} else if (name.equals("numberOfEvents")) {
|
||||
this.numberOfEvents = null;
|
||||
} else if (name.equals("numberAffected")) {
|
||||
this.numberAffected = null;
|
||||
} else if (name.equals("sampleSize")) {
|
||||
this.sampleSize = (EvidenceStatisticSampleSizeComponent) value; // EvidenceStatisticSampleSizeComponent
|
||||
} else if (name.equals("attributeEstimate")) {
|
||||
this.getAttributeEstimate().add((EvidenceStatisticAttributeEstimateComponent) value);
|
||||
} else if (name.equals("modelCharacteristic")) {
|
||||
this.getModelCharacteristic().add((EvidenceStatisticModelCharacteristicComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1603,6 +1649,23 @@ public class Evidence extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("numberOfStudies")) {
|
||||
this.numberOfStudies = null;
|
||||
} else if (name.equals("numberOfParticipants")) {
|
||||
this.numberOfParticipants = null;
|
||||
} else if (name.equals("knownDataCount")) {
|
||||
this.knownDataCount = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2151,6 +2214,27 @@ public class Evidence extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("quantity")) {
|
||||
this.quantity = null;
|
||||
} else if (name.equals("level")) {
|
||||
this.level = null;
|
||||
} else if (name.equals("range")) {
|
||||
this.range = null;
|
||||
} else if (name.equals("attributeEstimate")) {
|
||||
this.getAttributeEstimate().add((EvidenceStatisticAttributeEstimateComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2539,6 +2623,21 @@ public class Evidence extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("value")) {
|
||||
this.value = null;
|
||||
} else if (name.equals("variable")) {
|
||||
this.getVariable().add((EvidenceStatisticModelCharacteristicVariableComponent) value);
|
||||
} else if (name.equals("attributeEstimate")) {
|
||||
this.getAttributeEstimate().add((EvidenceStatisticAttributeEstimateComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3002,6 +3101,24 @@ public class Evidence extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("variableDefinition")) {
|
||||
this.variableDefinition = null;
|
||||
} else if (name.equals("handling")) {
|
||||
value = new EvidenceVariableHandlingEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.handling = (Enumeration) value; // Enumeration<EvidenceVariableHandling>
|
||||
} else if (name.equals("valueCategory")) {
|
||||
this.getValueCategory().remove(value);
|
||||
} else if (name.equals("valueQuantity")) {
|
||||
this.getValueQuantity().remove(value);
|
||||
} else if (name.equals("valueRange")) {
|
||||
this.getValueRange().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3501,6 +3618,25 @@ public class Evidence extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("rating")) {
|
||||
this.rating = null;
|
||||
} else if (name.equals("rater")) {
|
||||
this.rater = null;
|
||||
} else if (name.equals("subcomponent")) {
|
||||
this.getSubcomponent().add((EvidenceCertaintyComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -5778,6 +5914,76 @@ public class Evidence extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("version")) {
|
||||
this.version = null;
|
||||
} else if (name.equals("versionAlgorithm[x]")) {
|
||||
this.versionAlgorithm = null;
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("citeAs[x]")) {
|
||||
this.citeAs = null;
|
||||
} else if (name.equals("status")) {
|
||||
value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<PublicationStatus>
|
||||
} else if (name.equals("experimental")) {
|
||||
this.experimental = null;
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("approvalDate")) {
|
||||
this.approvalDate = null;
|
||||
} else if (name.equals("lastReviewDate")) {
|
||||
this.lastReviewDate = null;
|
||||
} else if (name.equals("publisher")) {
|
||||
this.publisher = null;
|
||||
} else if (name.equals("contact")) {
|
||||
this.getContact().remove(value);
|
||||
} else if (name.equals("author")) {
|
||||
this.getAuthor().remove(value);
|
||||
} else if (name.equals("editor")) {
|
||||
this.getEditor().remove(value);
|
||||
} else if (name.equals("reviewer")) {
|
||||
this.getReviewer().remove(value);
|
||||
} else if (name.equals("endorser")) {
|
||||
this.getEndorser().remove(value);
|
||||
} else if (name.equals("useContext")) {
|
||||
this.getUseContext().remove(value);
|
||||
} else if (name.equals("purpose")) {
|
||||
this.purpose = null;
|
||||
} else if (name.equals("copyright")) {
|
||||
this.copyright = null;
|
||||
} else if (name.equals("copyrightLabel")) {
|
||||
this.copyrightLabel = null;
|
||||
} else if (name.equals("relatedArtifact")) {
|
||||
this.getRelatedArtifact().remove(value);
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("assertion")) {
|
||||
this.assertion = null;
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("variableDefinition")) {
|
||||
this.getVariableDefinition().add((EvidenceVariableDefinitionComponent) value);
|
||||
} else if (name.equals("synthesisType")) {
|
||||
this.synthesisType = null;
|
||||
} else if (name.equals("studyDesign")) {
|
||||
this.getStudyDesign().remove(value);
|
||||
} else if (name.equals("statistic")) {
|
||||
this.getStatistic().add((EvidenceStatisticComponent) value);
|
||||
} else if (name.equals("certainty")) {
|
||||
this.getCertainty().add((EvidenceCertaintyComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -427,6 +427,17 @@ public class EvidenceReport extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("characteristic")) {
|
||||
this.getCharacteristic().add((EvidenceReportSubjectCharacteristicComponent) value);
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -821,6 +832,21 @@ public class EvidenceReport extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("value[x]")) {
|
||||
this.value = null;
|
||||
} else if (name.equals("exclude")) {
|
||||
this.exclude = null;
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1087,6 +1113,18 @@ public class EvidenceReport extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
value = new ReportRelationshipTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.code = (Enumeration) value; // Enumeration<ReportRelationshipType>
|
||||
} else if (name.equals("target")) {
|
||||
this.target = (EvidenceReportRelatesToTargetComponent) value; // EvidenceReportRelatesToTargetComponent
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1415,6 +1453,21 @@ public class EvidenceReport extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else if (name.equals("identifier")) {
|
||||
this.identifier = null;
|
||||
} else if (name.equals("display")) {
|
||||
this.display = null;
|
||||
} else if (name.equals("resource")) {
|
||||
this.resource = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2222,6 +2275,38 @@ public class EvidenceReport extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("focus")) {
|
||||
this.focus = null;
|
||||
} else if (name.equals("focusReference")) {
|
||||
this.focusReference = null;
|
||||
} else if (name.equals("author")) {
|
||||
this.getAuthor().remove(value);
|
||||
} else if (name.equals("text")) {
|
||||
this.text = null;
|
||||
} else if (name.equals("mode")) {
|
||||
value = new ListModeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.mode = (Enumeration) value; // Enumeration<ListMode>
|
||||
} else if (name.equals("orderedBy")) {
|
||||
this.orderedBy = null;
|
||||
} else if (name.equals("entryClassifier")) {
|
||||
this.getEntryClassifier().remove(value);
|
||||
} else if (name.equals("entryReference")) {
|
||||
this.getEntryReference().remove(value);
|
||||
} else if (name.equals("entryQuantity")) {
|
||||
this.getEntryQuantity().remove(value);
|
||||
} else if (name.equals("emptyReason")) {
|
||||
this.emptyReason = null;
|
||||
} else if (name.equals("section")) {
|
||||
this.getSection().add((SectionComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -4126,6 +4211,50 @@ public class EvidenceReport extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else if (name.equals("status")) {
|
||||
value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<PublicationStatus>
|
||||
} else if (name.equals("useContext")) {
|
||||
this.getUseContext().remove(value);
|
||||
} else if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("relatedIdentifier")) {
|
||||
this.getRelatedIdentifier().remove(value);
|
||||
} else if (name.equals("citeAs[x]")) {
|
||||
this.citeAs = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("relatedArtifact")) {
|
||||
this.getRelatedArtifact().remove(value);
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = (EvidenceReportSubjectComponent) value; // EvidenceReportSubjectComponent
|
||||
} else if (name.equals("publisher")) {
|
||||
this.publisher = null;
|
||||
} else if (name.equals("contact")) {
|
||||
this.getContact().remove(value);
|
||||
} else if (name.equals("author")) {
|
||||
this.getAuthor().remove(value);
|
||||
} else if (name.equals("editor")) {
|
||||
this.getEditor().remove(value);
|
||||
} else if (name.equals("reviewer")) {
|
||||
this.getReviewer().remove(value);
|
||||
} else if (name.equals("endorser")) {
|
||||
this.getEndorser().remove(value);
|
||||
} else if (name.equals("relatesTo")) {
|
||||
this.getRelatesTo().add((EvidenceReportRelatesToComponent) value);
|
||||
} else if (name.equals("section")) {
|
||||
this.getSection().add((SectionComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -1060,6 +1060,41 @@ public class EvidenceVariable extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("linkId")) {
|
||||
this.linkId = null;
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("exclude")) {
|
||||
this.exclude = null;
|
||||
} else if (name.equals("definitionReference")) {
|
||||
this.definitionReference = null;
|
||||
} else if (name.equals("definitionCanonical")) {
|
||||
this.definitionCanonical = null;
|
||||
} else if (name.equals("definitionCodeableConcept")) {
|
||||
this.definitionCodeableConcept = null;
|
||||
} else if (name.equals("definitionExpression")) {
|
||||
this.definitionExpression = null;
|
||||
} else if (name.equals("definitionId")) {
|
||||
this.definitionId = null;
|
||||
} else if (name.equals("definitionByTypeAndValue")) {
|
||||
this.definitionByTypeAndValue = (EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent) value; // EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent
|
||||
} else if (name.equals("definitionByCombination")) {
|
||||
this.definitionByCombination = (EvidenceVariableCharacteristicDefinitionByCombinationComponent) value; // EvidenceVariableCharacteristicDefinitionByCombinationComponent
|
||||
} else if (name.equals("instances[x]")) {
|
||||
this.instances = null;
|
||||
} else if (name.equals("duration[x]")) {
|
||||
this.duration = null;
|
||||
} else if (name.equals("timeFromEvent")) {
|
||||
this.getTimeFromEvent().add((EvidenceVariableCharacteristicTimeFromEventComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1619,6 +1654,23 @@ public class EvidenceVariable extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("method")) {
|
||||
this.getMethod().remove(value);
|
||||
} else if (name.equals("device")) {
|
||||
this.device = null;
|
||||
} else if (name.equals("value[x]")) {
|
||||
this.value = null;
|
||||
} else if (name.equals("offset")) {
|
||||
this.offset = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1989,6 +2041,20 @@ public class EvidenceVariable extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
value = new CharacteristicCombinationEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.code = (Enumeration) value; // Enumeration<CharacteristicCombination>
|
||||
} else if (name.equals("threshold")) {
|
||||
this.threshold = null;
|
||||
} else if (name.equals("characteristic")) {
|
||||
this.getCharacteristic().add((EvidenceVariableCharacteristicComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2434,6 +2500,23 @@ public class EvidenceVariable extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("event[x]")) {
|
||||
this.event = null;
|
||||
} else if (name.equals("quantity")) {
|
||||
this.quantity = null;
|
||||
} else if (name.equals("range")) {
|
||||
this.range = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2744,6 +2827,17 @@ public class EvidenceVariable extends MetadataResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("value[x]")) {
|
||||
this.value = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -4900,6 +4994,75 @@ See guidance around (not) making local changes to elements [here](canonicalresou
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("version")) {
|
||||
this.version = null;
|
||||
} else if (name.equals("versionAlgorithm[x]")) {
|
||||
this.versionAlgorithm = null;
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("shortTitle")) {
|
||||
this.shortTitle = null;
|
||||
} else if (name.equals("status")) {
|
||||
value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<PublicationStatus>
|
||||
} else if (name.equals("experimental")) {
|
||||
this.experimental = null;
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("publisher")) {
|
||||
this.publisher = null;
|
||||
} else if (name.equals("contact")) {
|
||||
this.getContact().remove(value);
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("useContext")) {
|
||||
this.getUseContext().remove(value);
|
||||
} else if (name.equals("purpose")) {
|
||||
this.purpose = null;
|
||||
} else if (name.equals("copyright")) {
|
||||
this.copyright = null;
|
||||
} else if (name.equals("copyrightLabel")) {
|
||||
this.copyrightLabel = null;
|
||||
} else if (name.equals("approvalDate")) {
|
||||
this.approvalDate = null;
|
||||
} else if (name.equals("lastReviewDate")) {
|
||||
this.lastReviewDate = null;
|
||||
} else if (name.equals("effectivePeriod")) {
|
||||
this.effectivePeriod = null;
|
||||
} else if (name.equals("author")) {
|
||||
this.getAuthor().remove(value);
|
||||
} else if (name.equals("editor")) {
|
||||
this.getEditor().remove(value);
|
||||
} else if (name.equals("reviewer")) {
|
||||
this.getReviewer().remove(value);
|
||||
} else if (name.equals("endorser")) {
|
||||
this.getEndorser().remove(value);
|
||||
} else if (name.equals("relatedArtifact")) {
|
||||
this.getRelatedArtifact().remove(value);
|
||||
} else if (name.equals("actual")) {
|
||||
this.actual = null;
|
||||
} else if (name.equals("characteristic")) {
|
||||
this.getCharacteristic().add((EvidenceVariableCharacteristicComponent) value);
|
||||
} else if (name.equals("handling")) {
|
||||
value = new EvidenceVariableHandlingEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.handling = (Enumeration) value; // Enumeration<EvidenceVariableHandling>
|
||||
} else if (name.equals("category")) {
|
||||
this.getCategory().add((EvidenceVariableCategoryComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -356,6 +356,22 @@ public class ExampleScenario extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("key")) {
|
||||
this.key = null;
|
||||
} else if (name.equals("type")) {
|
||||
value = new ExampleScenarioActorTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.type = (Enumeration) value; // Enumeration<ExampleScenarioActorType>
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1034,6 +1050,31 @@ public class ExampleScenario extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("key")) {
|
||||
this.key = null;
|
||||
} else if (name.equals("structureType")) {
|
||||
this.structureType = null;
|
||||
} else if (name.equals("structureVersion")) {
|
||||
this.structureVersion = null;
|
||||
} else if (name.equals("structureProfile[x]")) {
|
||||
this.structureProfile = null;
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("content")) {
|
||||
this.content = null;
|
||||
} else if (name.equals("version")) {
|
||||
this.getVersion().add((ExampleScenarioInstanceVersionComponent) value);
|
||||
} else if (name.equals("containedInstance")) {
|
||||
this.getContainedInstance().add((ExampleScenarioInstanceContainedInstanceComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1450,6 +1491,21 @@ public class ExampleScenario extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("key")) {
|
||||
this.key = null;
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("content")) {
|
||||
this.content = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1719,6 +1775,17 @@ public class ExampleScenario extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("instanceReference")) {
|
||||
this.instanceReference = null;
|
||||
} else if (name.equals("versionReference")) {
|
||||
this.versionReference = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2171,6 +2238,23 @@ public class ExampleScenario extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("preConditions")) {
|
||||
this.preConditions = null;
|
||||
} else if (name.equals("postConditions")) {
|
||||
this.postConditions = null;
|
||||
} else if (name.equals("step")) {
|
||||
this.getStep().add((ExampleScenarioProcessStepComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2651,6 +2735,25 @@ public class ExampleScenario extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("number")) {
|
||||
this.number = null;
|
||||
} else if (name.equals("process")) {
|
||||
this.process = (ExampleScenarioProcessComponent) value; // ExampleScenarioProcessComponent
|
||||
} else if (name.equals("workflow")) {
|
||||
this.workflow = null;
|
||||
} else if (name.equals("operation")) {
|
||||
this.operation = (ExampleScenarioProcessStepOperationComponent) value; // ExampleScenarioProcessStepOperationComponent
|
||||
} else if (name.equals("alternative")) {
|
||||
this.getAlternative().add((ExampleScenarioProcessStepAlternativeComponent) value);
|
||||
} else if (name.equals("pause")) {
|
||||
this.pause = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3304,6 +3407,31 @@ public class ExampleScenario extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("initiator")) {
|
||||
this.initiator = null;
|
||||
} else if (name.equals("receiver")) {
|
||||
this.receiver = null;
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("initiatorActive")) {
|
||||
this.initiatorActive = null;
|
||||
} else if (name.equals("receiverActive")) {
|
||||
this.receiverActive = null;
|
||||
} else if (name.equals("request")) {
|
||||
this.request = (ExampleScenarioInstanceContainedInstanceComponent) value; // ExampleScenarioInstanceContainedInstanceComponent
|
||||
} else if (name.equals("response")) {
|
||||
this.response = (ExampleScenarioInstanceContainedInstanceComponent) value; // ExampleScenarioInstanceContainedInstanceComponent
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3676,6 +3804,19 @@ public class ExampleScenario extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("step")) {
|
||||
this.getStep().add((ExampleScenarioProcessStepComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -5125,6 +5266,54 @@ public class ExampleScenario extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("version")) {
|
||||
this.version = null;
|
||||
} else if (name.equals("versionAlgorithm[x]")) {
|
||||
this.versionAlgorithm = null;
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("status")) {
|
||||
value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<PublicationStatus>
|
||||
} else if (name.equals("experimental")) {
|
||||
this.experimental = null;
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("publisher")) {
|
||||
this.publisher = null;
|
||||
} else if (name.equals("contact")) {
|
||||
this.getContact().remove(value);
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("useContext")) {
|
||||
this.getUseContext().remove(value);
|
||||
} else if (name.equals("jurisdiction")) {
|
||||
this.getJurisdiction().remove(value);
|
||||
} else if (name.equals("purpose")) {
|
||||
this.purpose = null;
|
||||
} else if (name.equals("copyright")) {
|
||||
this.copyright = null;
|
||||
} else if (name.equals("copyrightLabel")) {
|
||||
this.copyrightLabel = null;
|
||||
} else if (name.equals("actor")) {
|
||||
this.getActor().add((ExampleScenarioActorComponent) value);
|
||||
} else if (name.equals("instance")) {
|
||||
this.getInstance().add((ExampleScenarioInstanceComponent) value);
|
||||
} else if (name.equals("process")) {
|
||||
this.getProcess().add((ExampleScenarioProcessComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -346,6 +346,19 @@ public class ExplanationOfBenefit extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("claim")) {
|
||||
this.claim = null;
|
||||
} else if (name.equals("relationship")) {
|
||||
this.relationship = null;
|
||||
} else if (name.equals("reference")) {
|
||||
this.reference = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -596,6 +609,17 @@ public class ExplanationOfBenefit extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("when[x]")) {
|
||||
this.when = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -803,6 +827,17 @@ public class ExplanationOfBenefit extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("party")) {
|
||||
this.party = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1174,6 +1209,23 @@ public class ExplanationOfBenefit extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("sequence")) {
|
||||
this.sequence = null;
|
||||
} else if (name.equals("provider")) {
|
||||
this.provider = null;
|
||||
} else if (name.equals("responsible")) {
|
||||
this.responsible = null;
|
||||
} else if (name.equals("role")) {
|
||||
this.role = null;
|
||||
} else if (name.equals("specialty")) {
|
||||
this.specialty = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1710,6 +1762,25 @@ public class ExplanationOfBenefit extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("sequence")) {
|
||||
this.sequence = null;
|
||||
} else if (name.equals("category")) {
|
||||
this.category = null;
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("timing[x]")) {
|
||||
this.timing = null;
|
||||
} else if (name.equals("value[x]")) {
|
||||
this.value = null;
|
||||
} else if (name.equals("reason")) {
|
||||
this.reason = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2137,6 +2208,21 @@ public class ExplanationOfBenefit extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("sequence")) {
|
||||
this.sequence = null;
|
||||
} else if (name.equals("diagnosis[x]")) {
|
||||
this.diagnosis = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.getType().remove(value);
|
||||
} else if (name.equals("onAdmission")) {
|
||||
this.onAdmission = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2623,6 +2709,23 @@ public class ExplanationOfBenefit extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("sequence")) {
|
||||
this.sequence = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.getType().remove(value);
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("procedure[x]")) {
|
||||
this.procedure = null;
|
||||
} else if (name.equals("udi")) {
|
||||
this.getUdi().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2962,6 +3065,19 @@ public class ExplanationOfBenefit extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("focal")) {
|
||||
this.focal = null;
|
||||
} else if (name.equals("coverage")) {
|
||||
this.coverage = null;
|
||||
} else if (name.equals("preAuthRef")) {
|
||||
this.getPreAuthRef().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3269,6 +3385,19 @@ public class ExplanationOfBenefit extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("location[x]")) {
|
||||
this.location = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -5097,6 +5226,69 @@ public class ExplanationOfBenefit extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("sequence")) {
|
||||
this.sequence = null;
|
||||
} else if (name.equals("careTeamSequence")) {
|
||||
this.getCareTeamSequence().remove(value);
|
||||
} else if (name.equals("diagnosisSequence")) {
|
||||
this.getDiagnosisSequence().remove(value);
|
||||
} else if (name.equals("procedureSequence")) {
|
||||
this.getProcedureSequence().remove(value);
|
||||
} else if (name.equals("informationSequence")) {
|
||||
this.getInformationSequence().remove(value);
|
||||
} else if (name.equals("traceNumber")) {
|
||||
this.getTraceNumber().remove(value);
|
||||
} else if (name.equals("revenue")) {
|
||||
this.revenue = null;
|
||||
} else if (name.equals("category")) {
|
||||
this.category = null;
|
||||
} else if (name.equals("productOrService")) {
|
||||
this.productOrService = null;
|
||||
} else if (name.equals("productOrServiceEnd")) {
|
||||
this.productOrServiceEnd = null;
|
||||
} else if (name.equals("request")) {
|
||||
this.getRequest().remove(value);
|
||||
} else if (name.equals("modifier")) {
|
||||
this.getModifier().remove(value);
|
||||
} else if (name.equals("programCode")) {
|
||||
this.getProgramCode().remove(value);
|
||||
} else if (name.equals("serviced[x]")) {
|
||||
this.serviced = null;
|
||||
} else if (name.equals("location[x]")) {
|
||||
this.location = null;
|
||||
} else if (name.equals("patientPaid")) {
|
||||
this.patientPaid = null;
|
||||
} else if (name.equals("quantity")) {
|
||||
this.quantity = null;
|
||||
} else if (name.equals("unitPrice")) {
|
||||
this.unitPrice = null;
|
||||
} else if (name.equals("factor")) {
|
||||
this.factor = null;
|
||||
} else if (name.equals("tax")) {
|
||||
this.tax = null;
|
||||
} else if (name.equals("net")) {
|
||||
this.net = null;
|
||||
} else if (name.equals("udi")) {
|
||||
this.getUdi().remove(value);
|
||||
} else if (name.equals("bodySite")) {
|
||||
this.getBodySite().add((ItemBodySiteComponent) value);
|
||||
} else if (name.equals("encounter")) {
|
||||
this.getEncounter().remove(value);
|
||||
} else if (name.equals("noteNumber")) {
|
||||
this.getNoteNumber().remove(value);
|
||||
} else if (name.equals("reviewOutcome")) {
|
||||
this.reviewOutcome = (ItemReviewOutcomeComponent) value; // ItemReviewOutcomeComponent
|
||||
} else if (name.equals("adjudication")) {
|
||||
this.getAdjudication().add((AdjudicationComponent) value);
|
||||
} else if (name.equals("detail")) {
|
||||
this.getDetail().add((DetailComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -5619,6 +5811,17 @@ public class ExplanationOfBenefit extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("site")) {
|
||||
this.getSite().remove(value);
|
||||
} else if (name.equals("subSite")) {
|
||||
this.getSubSite().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -5960,6 +6163,21 @@ public class ExplanationOfBenefit extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("decision")) {
|
||||
this.decision = null;
|
||||
} else if (name.equals("reason")) {
|
||||
this.getReason().remove(value);
|
||||
} else if (name.equals("preAuthRef")) {
|
||||
this.preAuthRef = null;
|
||||
} else if (name.equals("preAuthPeriod")) {
|
||||
this.preAuthPeriod = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -6267,6 +6485,21 @@ public class ExplanationOfBenefit extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("category")) {
|
||||
this.category = null;
|
||||
} else if (name.equals("reason")) {
|
||||
this.reason = null;
|
||||
} else if (name.equals("amount")) {
|
||||
this.amount = null;
|
||||
} else if (name.equals("quantity")) {
|
||||
this.quantity = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -7436,6 +7669,51 @@ public class ExplanationOfBenefit extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("sequence")) {
|
||||
this.sequence = null;
|
||||
} else if (name.equals("traceNumber")) {
|
||||
this.getTraceNumber().remove(value);
|
||||
} else if (name.equals("revenue")) {
|
||||
this.revenue = null;
|
||||
} else if (name.equals("category")) {
|
||||
this.category = null;
|
||||
} else if (name.equals("productOrService")) {
|
||||
this.productOrService = null;
|
||||
} else if (name.equals("productOrServiceEnd")) {
|
||||
this.productOrServiceEnd = null;
|
||||
} else if (name.equals("modifier")) {
|
||||
this.getModifier().remove(value);
|
||||
} else if (name.equals("programCode")) {
|
||||
this.getProgramCode().remove(value);
|
||||
} else if (name.equals("patientPaid")) {
|
||||
this.patientPaid = null;
|
||||
} else if (name.equals("quantity")) {
|
||||
this.quantity = null;
|
||||
} else if (name.equals("unitPrice")) {
|
||||
this.unitPrice = null;
|
||||
} else if (name.equals("factor")) {
|
||||
this.factor = null;
|
||||
} else if (name.equals("tax")) {
|
||||
this.tax = null;
|
||||
} else if (name.equals("net")) {
|
||||
this.net = null;
|
||||
} else if (name.equals("udi")) {
|
||||
this.getUdi().remove(value);
|
||||
} else if (name.equals("noteNumber")) {
|
||||
this.getNoteNumber().remove(value);
|
||||
} else if (name.equals("reviewOutcome")) {
|
||||
this.reviewOutcome = (ItemReviewOutcomeComponent) value; // ItemReviewOutcomeComponent
|
||||
} else if (name.equals("adjudication")) {
|
||||
this.getAdjudication().add((AdjudicationComponent) value);
|
||||
} else if (name.equals("subDetail")) {
|
||||
this.getSubDetail().add((SubDetailComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -8671,6 +8949,49 @@ public class ExplanationOfBenefit extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("sequence")) {
|
||||
this.sequence = null;
|
||||
} else if (name.equals("traceNumber")) {
|
||||
this.getTraceNumber().remove(value);
|
||||
} else if (name.equals("revenue")) {
|
||||
this.revenue = null;
|
||||
} else if (name.equals("category")) {
|
||||
this.category = null;
|
||||
} else if (name.equals("productOrService")) {
|
||||
this.productOrService = null;
|
||||
} else if (name.equals("productOrServiceEnd")) {
|
||||
this.productOrServiceEnd = null;
|
||||
} else if (name.equals("modifier")) {
|
||||
this.getModifier().remove(value);
|
||||
} else if (name.equals("programCode")) {
|
||||
this.getProgramCode().remove(value);
|
||||
} else if (name.equals("patientPaid")) {
|
||||
this.patientPaid = null;
|
||||
} else if (name.equals("quantity")) {
|
||||
this.quantity = null;
|
||||
} else if (name.equals("unitPrice")) {
|
||||
this.unitPrice = null;
|
||||
} else if (name.equals("factor")) {
|
||||
this.factor = null;
|
||||
} else if (name.equals("tax")) {
|
||||
this.tax = null;
|
||||
} else if (name.equals("net")) {
|
||||
this.net = null;
|
||||
} else if (name.equals("udi")) {
|
||||
this.getUdi().remove(value);
|
||||
} else if (name.equals("noteNumber")) {
|
||||
this.getNoteNumber().remove(value);
|
||||
} else if (name.equals("reviewOutcome")) {
|
||||
this.reviewOutcome = (ItemReviewOutcomeComponent) value; // ItemReviewOutcomeComponent
|
||||
} else if (name.equals("adjudication")) {
|
||||
this.getAdjudication().add((AdjudicationComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -10374,6 +10695,61 @@ public class ExplanationOfBenefit extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("itemSequence")) {
|
||||
this.getItemSequence().remove(value);
|
||||
} else if (name.equals("detailSequence")) {
|
||||
this.getDetailSequence().remove(value);
|
||||
} else if (name.equals("subDetailSequence")) {
|
||||
this.getSubDetailSequence().remove(value);
|
||||
} else if (name.equals("traceNumber")) {
|
||||
this.getTraceNumber().remove(value);
|
||||
} else if (name.equals("provider")) {
|
||||
this.getProvider().remove(value);
|
||||
} else if (name.equals("revenue")) {
|
||||
this.revenue = null;
|
||||
} else if (name.equals("productOrService")) {
|
||||
this.productOrService = null;
|
||||
} else if (name.equals("productOrServiceEnd")) {
|
||||
this.productOrServiceEnd = null;
|
||||
} else if (name.equals("request")) {
|
||||
this.getRequest().remove(value);
|
||||
} else if (name.equals("modifier")) {
|
||||
this.getModifier().remove(value);
|
||||
} else if (name.equals("programCode")) {
|
||||
this.getProgramCode().remove(value);
|
||||
} else if (name.equals("serviced[x]")) {
|
||||
this.serviced = null;
|
||||
} else if (name.equals("location[x]")) {
|
||||
this.location = null;
|
||||
} else if (name.equals("patientPaid")) {
|
||||
this.patientPaid = null;
|
||||
} else if (name.equals("quantity")) {
|
||||
this.quantity = null;
|
||||
} else if (name.equals("unitPrice")) {
|
||||
this.unitPrice = null;
|
||||
} else if (name.equals("factor")) {
|
||||
this.factor = null;
|
||||
} else if (name.equals("tax")) {
|
||||
this.tax = null;
|
||||
} else if (name.equals("net")) {
|
||||
this.net = null;
|
||||
} else if (name.equals("bodySite")) {
|
||||
this.getBodySite().add((AddedItemBodySiteComponent) value);
|
||||
} else if (name.equals("noteNumber")) {
|
||||
this.getNoteNumber().remove(value);
|
||||
} else if (name.equals("reviewOutcome")) {
|
||||
this.reviewOutcome = (ItemReviewOutcomeComponent) value; // ItemReviewOutcomeComponent
|
||||
} else if (name.equals("adjudication")) {
|
||||
this.getAdjudication().add((AdjudicationComponent) value);
|
||||
} else if (name.equals("detail")) {
|
||||
this.getDetail().add((AddedItemDetailComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -10861,6 +11237,17 @@ public class ExplanationOfBenefit extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("site")) {
|
||||
this.getSite().remove(value);
|
||||
} else if (name.equals("subSite")) {
|
||||
this.getSubSite().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -11775,6 +12162,43 @@ public class ExplanationOfBenefit extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("traceNumber")) {
|
||||
this.getTraceNumber().remove(value);
|
||||
} else if (name.equals("revenue")) {
|
||||
this.revenue = null;
|
||||
} else if (name.equals("productOrService")) {
|
||||
this.productOrService = null;
|
||||
} else if (name.equals("productOrServiceEnd")) {
|
||||
this.productOrServiceEnd = null;
|
||||
} else if (name.equals("modifier")) {
|
||||
this.getModifier().remove(value);
|
||||
} else if (name.equals("patientPaid")) {
|
||||
this.patientPaid = null;
|
||||
} else if (name.equals("quantity")) {
|
||||
this.quantity = null;
|
||||
} else if (name.equals("unitPrice")) {
|
||||
this.unitPrice = null;
|
||||
} else if (name.equals("factor")) {
|
||||
this.factor = null;
|
||||
} else if (name.equals("tax")) {
|
||||
this.tax = null;
|
||||
} else if (name.equals("net")) {
|
||||
this.net = null;
|
||||
} else if (name.equals("noteNumber")) {
|
||||
this.getNoteNumber().remove(value);
|
||||
} else if (name.equals("reviewOutcome")) {
|
||||
this.reviewOutcome = (ItemReviewOutcomeComponent) value; // ItemReviewOutcomeComponent
|
||||
} else if (name.equals("adjudication")) {
|
||||
this.getAdjudication().add((AdjudicationComponent) value);
|
||||
} else if (name.equals("subDetail")) {
|
||||
this.getSubDetail().add((AddedItemDetailSubDetailComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -12728,6 +13152,41 @@ public class ExplanationOfBenefit extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("traceNumber")) {
|
||||
this.getTraceNumber().remove(value);
|
||||
} else if (name.equals("revenue")) {
|
||||
this.revenue = null;
|
||||
} else if (name.equals("productOrService")) {
|
||||
this.productOrService = null;
|
||||
} else if (name.equals("productOrServiceEnd")) {
|
||||
this.productOrServiceEnd = null;
|
||||
} else if (name.equals("modifier")) {
|
||||
this.getModifier().remove(value);
|
||||
} else if (name.equals("patientPaid")) {
|
||||
this.patientPaid = null;
|
||||
} else if (name.equals("quantity")) {
|
||||
this.quantity = null;
|
||||
} else if (name.equals("unitPrice")) {
|
||||
this.unitPrice = null;
|
||||
} else if (name.equals("factor")) {
|
||||
this.factor = null;
|
||||
} else if (name.equals("tax")) {
|
||||
this.tax = null;
|
||||
} else if (name.equals("net")) {
|
||||
this.net = null;
|
||||
} else if (name.equals("noteNumber")) {
|
||||
this.getNoteNumber().remove(value);
|
||||
} else if (name.equals("reviewOutcome")) {
|
||||
this.reviewOutcome = (ItemReviewOutcomeComponent) value; // ItemReviewOutcomeComponent
|
||||
} else if (name.equals("adjudication")) {
|
||||
this.getAdjudication().add((AdjudicationComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -13041,6 +13500,17 @@ public class ExplanationOfBenefit extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("category")) {
|
||||
this.category = null;
|
||||
} else if (name.equals("amount")) {
|
||||
this.amount = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -13425,6 +13895,25 @@ public class ExplanationOfBenefit extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("adjustment")) {
|
||||
this.adjustment = null;
|
||||
} else if (name.equals("adjustmentReason")) {
|
||||
this.adjustmentReason = null;
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("amount")) {
|
||||
this.amount = null;
|
||||
} else if (name.equals("identifier")) {
|
||||
this.identifier = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -13782,6 +14271,21 @@ public class ExplanationOfBenefit extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("number")) {
|
||||
this.number = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("text")) {
|
||||
this.text = null;
|
||||
} else if (name.equals("language")) {
|
||||
this.language = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -14343,6 +14847,29 @@ public class ExplanationOfBenefit extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("category")) {
|
||||
this.category = null;
|
||||
} else if (name.equals("excluded")) {
|
||||
this.excluded = null;
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("network")) {
|
||||
this.network = null;
|
||||
} else if (name.equals("unit")) {
|
||||
this.unit = null;
|
||||
} else if (name.equals("term")) {
|
||||
this.term = null;
|
||||
} else if (name.equals("financial")) {
|
||||
this.getFinancial().add((BenefitComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -14714,6 +15241,19 @@ public class ExplanationOfBenefit extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("allowed[x]")) {
|
||||
this.allowed = null;
|
||||
} else if (name.equals("used[x]")) {
|
||||
this.used = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -17458,6 +17998,114 @@ public class ExplanationOfBenefit extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("traceNumber")) {
|
||||
this.getTraceNumber().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new ExplanationOfBenefitStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<ExplanationOfBenefitStatus>
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("subType")) {
|
||||
this.subType = null;
|
||||
} else if (name.equals("use")) {
|
||||
value = new UseEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.use = (Enumeration) value; // Enumeration<Use>
|
||||
} else if (name.equals("patient")) {
|
||||
this.patient = null;
|
||||
} else if (name.equals("billablePeriod")) {
|
||||
this.billablePeriod = null;
|
||||
} else if (name.equals("created")) {
|
||||
this.created = null;
|
||||
} else if (name.equals("enterer")) {
|
||||
this.enterer = null;
|
||||
} else if (name.equals("insurer")) {
|
||||
this.insurer = null;
|
||||
} else if (name.equals("provider")) {
|
||||
this.provider = null;
|
||||
} else if (name.equals("priority")) {
|
||||
this.priority = null;
|
||||
} else if (name.equals("fundsReserveRequested")) {
|
||||
this.fundsReserveRequested = null;
|
||||
} else if (name.equals("fundsReserve")) {
|
||||
this.fundsReserve = null;
|
||||
} else if (name.equals("related")) {
|
||||
this.getRelated().add((RelatedClaimComponent) value);
|
||||
} else if (name.equals("prescription")) {
|
||||
this.prescription = null;
|
||||
} else if (name.equals("originalPrescription")) {
|
||||
this.originalPrescription = null;
|
||||
} else if (name.equals("event")) {
|
||||
this.getEvent().add((ExplanationOfBenefitEventComponent) value);
|
||||
} else if (name.equals("payee")) {
|
||||
this.payee = (PayeeComponent) value; // PayeeComponent
|
||||
} else if (name.equals("referral")) {
|
||||
this.referral = null;
|
||||
} else if (name.equals("encounter")) {
|
||||
this.getEncounter().remove(value);
|
||||
} else if (name.equals("facility")) {
|
||||
this.facility = null;
|
||||
} else if (name.equals("claim")) {
|
||||
this.claim = null;
|
||||
} else if (name.equals("claimResponse")) {
|
||||
this.claimResponse = null;
|
||||
} else if (name.equals("outcome")) {
|
||||
value = new ClaimProcessingCodesEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.outcome = (Enumeration) value; // Enumeration<ClaimProcessingCodes>
|
||||
} else if (name.equals("decision")) {
|
||||
this.decision = null;
|
||||
} else if (name.equals("disposition")) {
|
||||
this.disposition = null;
|
||||
} else if (name.equals("preAuthRef")) {
|
||||
this.getPreAuthRef().remove(value);
|
||||
} else if (name.equals("preAuthRefPeriod")) {
|
||||
this.getPreAuthRefPeriod().remove(value);
|
||||
} else if (name.equals("diagnosisRelatedGroup")) {
|
||||
this.diagnosisRelatedGroup = null;
|
||||
} else if (name.equals("careTeam")) {
|
||||
this.getCareTeam().add((CareTeamComponent) value);
|
||||
} else if (name.equals("supportingInfo")) {
|
||||
this.getSupportingInfo().add((SupportingInformationComponent) value);
|
||||
} else if (name.equals("diagnosis")) {
|
||||
this.getDiagnosis().add((DiagnosisComponent) value);
|
||||
} else if (name.equals("procedure")) {
|
||||
this.getProcedure().add((ProcedureComponent) value);
|
||||
} else if (name.equals("precedence")) {
|
||||
this.precedence = null;
|
||||
} else if (name.equals("insurance")) {
|
||||
this.getInsurance().add((InsuranceComponent) value);
|
||||
} else if (name.equals("accident")) {
|
||||
this.accident = (AccidentComponent) value; // AccidentComponent
|
||||
} else if (name.equals("patientPaid")) {
|
||||
this.patientPaid = null;
|
||||
} else if (name.equals("item")) {
|
||||
this.getItem().add((ItemComponent) value);
|
||||
} else if (name.equals("addItem")) {
|
||||
this.getAddItem().add((AddedItemComponent) value);
|
||||
} else if (name.equals("adjudication")) {
|
||||
this.getAdjudication().add((AdjudicationComponent) value);
|
||||
} else if (name.equals("total")) {
|
||||
this.getTotal().add((TotalComponent) value);
|
||||
} else if (name.equals("payment")) {
|
||||
this.payment = (PaymentComponent) value; // PaymentComponent
|
||||
} else if (name.equals("formCode")) {
|
||||
this.formCode = null;
|
||||
} else if (name.equals("form")) {
|
||||
this.form = null;
|
||||
} else if (name.equals("processNote")) {
|
||||
this.getProcessNote().add((NoteComponent) value);
|
||||
} else if (name.equals("benefitPeriod")) {
|
||||
this.benefitPeriod = null;
|
||||
} else if (name.equals("benefitBalance")) {
|
||||
this.getBenefitBalance().add((BenefitBalanceComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -416,6 +416,23 @@ public class Expression extends DataType implements ICompositeType {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("language")) {
|
||||
this.language = null;
|
||||
} else if (name.equals("expression")) {
|
||||
this.expression = null;
|
||||
} else if (name.equals("reference")) {
|
||||
this.reference = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -387,6 +387,25 @@ public class ExtendedContactDetail extends DataType implements ICompositeType {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("purpose")) {
|
||||
this.purpose = null;
|
||||
} else if (name.equals("name")) {
|
||||
this.getName().remove(value);
|
||||
} else if (name.equals("telecom")) {
|
||||
this.getTelecom().remove(value);
|
||||
} else if (name.equals("address")) {
|
||||
this.address = null;
|
||||
} else if (name.equals("organization")) {
|
||||
this.organization = null;
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -1080,6 +1080,17 @@ public class Extension extends BaseExtension implements IBaseExtension<Extension
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else if (name.equals("value[x]")) {
|
||||
this.value = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -314,6 +314,17 @@ public class FamilyMemberHistory extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("function")) {
|
||||
this.function = null;
|
||||
} else if (name.equals("actor")) {
|
||||
this.actor = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -754,6 +765,23 @@ public class FamilyMemberHistory extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("outcome")) {
|
||||
this.outcome = null;
|
||||
} else if (name.equals("contributedToDeath")) {
|
||||
this.contributedToDeath = null;
|
||||
} else if (name.equals("onset[x]")) {
|
||||
this.onset = null;
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1248,6 +1276,23 @@ public class FamilyMemberHistory extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("outcome")) {
|
||||
this.outcome = null;
|
||||
} else if (name.equals("contributedToDeath")) {
|
||||
this.contributedToDeath = null;
|
||||
} else if (name.equals("performed[x]")) {
|
||||
this.performed = null;
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2679,6 +2724,52 @@ public class FamilyMemberHistory extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("instantiatesCanonical")) {
|
||||
this.getInstantiatesCanonical().remove(value);
|
||||
} else if (name.equals("instantiatesUri")) {
|
||||
this.getInstantiatesUri().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new FamilyHistoryStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<FamilyHistoryStatus>
|
||||
} else if (name.equals("dataAbsentReason")) {
|
||||
this.dataAbsentReason = null;
|
||||
} else if (name.equals("patient")) {
|
||||
this.patient = null;
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("participant")) {
|
||||
this.getParticipant().add((FamilyMemberHistoryParticipantComponent) value);
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("relationship")) {
|
||||
this.relationship = null;
|
||||
} else if (name.equals("sex")) {
|
||||
this.sex = null;
|
||||
} else if (name.equals("born[x]")) {
|
||||
this.born = null;
|
||||
} else if (name.equals("age[x]")) {
|
||||
this.age = null;
|
||||
} else if (name.equals("estimatedAge")) {
|
||||
this.estimatedAge = null;
|
||||
} else if (name.equals("deceased[x]")) {
|
||||
this.deceased = null;
|
||||
} else if (name.equals("reason")) {
|
||||
this.getReason().remove(value);
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("condition")) {
|
||||
this.getCondition().add((FamilyMemberHistoryConditionComponent) value);
|
||||
} else if (name.equals("procedure")) {
|
||||
this.getProcedure().add((FamilyMemberHistoryProcedureComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -615,6 +615,30 @@ public class Flag extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new FlagStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<FlagStatus>
|
||||
} else if (name.equals("category")) {
|
||||
this.getCategory().remove(value);
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else if (name.equals("encounter")) {
|
||||
this.encounter = null;
|
||||
} else if (name.equals("author")) {
|
||||
this.author = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -384,6 +384,20 @@ public class FormularyItem extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("status")) {
|
||||
value = new FormularyItemStatusCodesEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<FormularyItemStatusCodes>
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -1396,6 +1396,49 @@ public class GenomicStudy extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("methodType")) {
|
||||
this.getMethodType().remove(value);
|
||||
} else if (name.equals("changeType")) {
|
||||
this.getChangeType().remove(value);
|
||||
} else if (name.equals("genomeBuild")) {
|
||||
this.genomeBuild = null;
|
||||
} else if (name.equals("instantiatesCanonical")) {
|
||||
this.instantiatesCanonical = null;
|
||||
} else if (name.equals("instantiatesUri")) {
|
||||
this.instantiatesUri = null;
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("focus")) {
|
||||
this.getFocus().remove(value);
|
||||
} else if (name.equals("specimen")) {
|
||||
this.getSpecimen().remove(value);
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("protocolPerformed")) {
|
||||
this.protocolPerformed = null;
|
||||
} else if (name.equals("regionsStudied")) {
|
||||
this.getRegionsStudied().remove(value);
|
||||
} else if (name.equals("regionsCalled")) {
|
||||
this.getRegionsCalled().remove(value);
|
||||
} else if (name.equals("input")) {
|
||||
this.getInput().add((GenomicStudyAnalysisInputComponent) value);
|
||||
} else if (name.equals("output")) {
|
||||
this.getOutput().add((GenomicStudyAnalysisOutputComponent) value);
|
||||
} else if (name.equals("performer")) {
|
||||
this.getPerformer().add((GenomicStudyAnalysisPerformerComponent) value);
|
||||
} else if (name.equals("device")) {
|
||||
this.getDevice().add((GenomicStudyAnalysisDeviceComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1822,6 +1865,19 @@ public class GenomicStudy extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("file")) {
|
||||
this.file = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("generatedBy[x]")) {
|
||||
this.generatedBy = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2038,6 +2094,17 @@ public class GenomicStudy extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("file")) {
|
||||
this.file = null;
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2239,6 +2306,17 @@ public class GenomicStudy extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("actor")) {
|
||||
this.actor = null;
|
||||
} else if (name.equals("role")) {
|
||||
this.role = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2440,6 +2518,17 @@ public class GenomicStudy extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("device")) {
|
||||
this.device = null;
|
||||
} else if (name.equals("function")) {
|
||||
this.function = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3483,6 +3572,44 @@ public class GenomicStudy extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new GenomicStudyStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<GenomicStudyStatus>
|
||||
} else if (name.equals("type")) {
|
||||
this.getType().remove(value);
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("encounter")) {
|
||||
this.encounter = null;
|
||||
} else if (name.equals("startDate")) {
|
||||
this.startDate = null;
|
||||
} else if (name.equals("basedOn")) {
|
||||
this.getBasedOn().remove(value);
|
||||
} else if (name.equals("referrer")) {
|
||||
this.referrer = null;
|
||||
} else if (name.equals("interpreter")) {
|
||||
this.getInterpreter().remove(value);
|
||||
} else if (name.equals("reason")) {
|
||||
this.getReason().remove(value);
|
||||
} else if (name.equals("instantiatesCanonical")) {
|
||||
this.instantiatesCanonical = null;
|
||||
} else if (name.equals("instantiatesUri")) {
|
||||
this.instantiatesUri = null;
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("analysis")) {
|
||||
this.getAnalysis().add((GenomicStudyAnalysisComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -565,6 +565,19 @@ public class Goal extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("measure")) {
|
||||
this.measure = null;
|
||||
} else if (name.equals("detail[x]")) {
|
||||
this.detail = null;
|
||||
} else if (name.equals("due[x]")) {
|
||||
this.due = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1663,6 +1676,46 @@ public class Goal extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("lifecycleStatus")) {
|
||||
value = new GoalLifecycleStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.lifecycleStatus = (Enumeration) value; // Enumeration<GoalLifecycleStatus>
|
||||
} else if (name.equals("achievementStatus")) {
|
||||
this.achievementStatus = null;
|
||||
} else if (name.equals("category")) {
|
||||
this.getCategory().remove(value);
|
||||
} else if (name.equals("continuous")) {
|
||||
this.continuous = null;
|
||||
} else if (name.equals("priority")) {
|
||||
this.priority = null;
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("start[x]")) {
|
||||
this.start = null;
|
||||
} else if (name.equals("target")) {
|
||||
this.getTarget().add((GoalTargetComponent) value);
|
||||
} else if (name.equals("statusDate")) {
|
||||
this.statusDate = null;
|
||||
} else if (name.equals("statusReason")) {
|
||||
this.statusReason = null;
|
||||
} else if (name.equals("source")) {
|
||||
this.source = null;
|
||||
} else if (name.equals("addresses")) {
|
||||
this.getAddresses().remove(value);
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("outcome")) {
|
||||
this.getOutcome().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -583,6 +583,22 @@ public class GraphDefinition extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("nodeId")) {
|
||||
this.nodeId = null;
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("type")) {
|
||||
value = new VersionIndependentResourceTypesAllEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.type = (Enumeration) value; // Enumeration<VersionIndependentResourceTypesAll>
|
||||
} else if (name.equals("profile")) {
|
||||
this.profile = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1296,6 +1312,31 @@ public class GraphDefinition extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("min")) {
|
||||
this.min = null;
|
||||
} else if (name.equals("max")) {
|
||||
this.max = null;
|
||||
} else if (name.equals("sourceId")) {
|
||||
this.sourceId = null;
|
||||
} else if (name.equals("path")) {
|
||||
this.path = null;
|
||||
} else if (name.equals("sliceName")) {
|
||||
this.sliceName = null;
|
||||
} else if (name.equals("targetId")) {
|
||||
this.targetId = null;
|
||||
} else if (name.equals("params")) {
|
||||
this.params = null;
|
||||
} else if (name.equals("compartment")) {
|
||||
this.getCompartment().add((GraphDefinitionLinkCompartmentComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1796,6 +1837,26 @@ public class GraphDefinition extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("use")) {
|
||||
value = new GraphCompartmentUseEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.use = (Enumeration) value; // Enumeration<GraphCompartmentUse>
|
||||
} else if (name.equals("rule")) {
|
||||
value = new GraphCompartmentRuleEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.rule = (Enumeration) value; // Enumeration<GraphCompartmentRule>
|
||||
} else if (name.equals("code")) {
|
||||
value = new CompartmentTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.code = (Enumeration) value; // Enumeration<CompartmentType>
|
||||
} else if (name.equals("expression")) {
|
||||
this.expression = null;
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -3249,6 +3310,54 @@ public class GraphDefinition extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("version")) {
|
||||
this.version = null;
|
||||
} else if (name.equals("versionAlgorithm[x]")) {
|
||||
this.versionAlgorithm = null;
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("status")) {
|
||||
value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<PublicationStatus>
|
||||
} else if (name.equals("experimental")) {
|
||||
this.experimental = null;
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("publisher")) {
|
||||
this.publisher = null;
|
||||
} else if (name.equals("contact")) {
|
||||
this.getContact().remove(value);
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("useContext")) {
|
||||
this.getUseContext().remove(value);
|
||||
} else if (name.equals("jurisdiction")) {
|
||||
this.getJurisdiction().remove(value);
|
||||
} else if (name.equals("purpose")) {
|
||||
this.purpose = null;
|
||||
} else if (name.equals("copyright")) {
|
||||
this.copyright = null;
|
||||
} else if (name.equals("copyrightLabel")) {
|
||||
this.copyrightLabel = null;
|
||||
} else if (name.equals("start")) {
|
||||
this.start = null;
|
||||
} else if (name.equals("node")) {
|
||||
this.getNode().add((GraphDefinitionNodeComponent) value);
|
||||
} else if (name.equals("link")) {
|
||||
this.getLink().add((GraphDefinitionLinkComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -684,6 +684,21 @@ public class Group extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("value[x]")) {
|
||||
this.value = null;
|
||||
} else if (name.equals("exclude")) {
|
||||
this.exclude = null;
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -985,6 +1000,19 @@ public class Group extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("entity")) {
|
||||
this.entity = null;
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else if (name.equals("inactive")) {
|
||||
this.inactive = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1794,6 +1822,37 @@ public class Group extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("active")) {
|
||||
this.active = null;
|
||||
} else if (name.equals("type")) {
|
||||
value = new GroupTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.type = (Enumeration) value; // Enumeration<GroupType>
|
||||
} else if (name.equals("membership")) {
|
||||
value = new GroupMembershipBasisEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.membership = (Enumeration) value; // Enumeration<GroupMembershipBasis>
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("quantity")) {
|
||||
this.quantity = null;
|
||||
} else if (name.equals("managingEntity")) {
|
||||
this.managingEntity = null;
|
||||
} else if (name.equals("characteristic")) {
|
||||
this.getCharacteristic().add((GroupCharacteristicComponent) value);
|
||||
} else if (name.equals("member")) {
|
||||
this.getMember().add((GroupMemberComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -1053,6 +1053,42 @@ public class GuidanceResponse extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("requestIdentifier")) {
|
||||
this.requestIdentifier = null;
|
||||
} else if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("module[x]")) {
|
||||
this.module = null;
|
||||
} else if (name.equals("status")) {
|
||||
value = new GuidanceResponseStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<GuidanceResponseStatus>
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("encounter")) {
|
||||
this.encounter = null;
|
||||
} else if (name.equals("occurrenceDateTime")) {
|
||||
this.occurrenceDateTime = null;
|
||||
} else if (name.equals("performer")) {
|
||||
this.performer = null;
|
||||
} else if (name.equals("reason")) {
|
||||
this.getReason().remove(value);
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("evaluationMessage")) {
|
||||
this.evaluationMessage = null;
|
||||
} else if (name.equals("outputParameters")) {
|
||||
this.outputParameters = null;
|
||||
} else if (name.equals("result")) {
|
||||
this.getResult().remove(value);
|
||||
} else if (name.equals("dataRequirement")) {
|
||||
this.getDataRequirement().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -202,6 +202,17 @@ public class HealthcareService extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("comment")) {
|
||||
this.comment = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1808,6 +1819,59 @@ public class HealthcareService extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("active")) {
|
||||
this.active = null;
|
||||
} else if (name.equals("providedBy")) {
|
||||
this.providedBy = null;
|
||||
} else if (name.equals("offeredIn")) {
|
||||
this.getOfferedIn().remove(value);
|
||||
} else if (name.equals("category")) {
|
||||
this.getCategory().remove(value);
|
||||
} else if (name.equals("type")) {
|
||||
this.getType().remove(value);
|
||||
} else if (name.equals("specialty")) {
|
||||
this.getSpecialty().remove(value);
|
||||
} else if (name.equals("location")) {
|
||||
this.getLocation().remove(value);
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("comment")) {
|
||||
this.comment = null;
|
||||
} else if (name.equals("extraDetails")) {
|
||||
this.extraDetails = null;
|
||||
} else if (name.equals("photo")) {
|
||||
this.photo = null;
|
||||
} else if (name.equals("contact")) {
|
||||
this.getContact().remove(value);
|
||||
} else if (name.equals("coverageArea")) {
|
||||
this.getCoverageArea().remove(value);
|
||||
} else if (name.equals("serviceProvisionCode")) {
|
||||
this.getServiceProvisionCode().remove(value);
|
||||
} else if (name.equals("eligibility")) {
|
||||
this.getEligibility().add((HealthcareServiceEligibilityComponent) value);
|
||||
} else if (name.equals("program")) {
|
||||
this.getProgram().remove(value);
|
||||
} else if (name.equals("characteristic")) {
|
||||
this.getCharacteristic().remove(value);
|
||||
} else if (name.equals("communication")) {
|
||||
this.getCommunication().remove(value);
|
||||
} else if (name.equals("referralMethod")) {
|
||||
this.getReferralMethod().remove(value);
|
||||
} else if (name.equals("appointmentRequired")) {
|
||||
this.appointmentRequired = null;
|
||||
} else if (name.equals("availability")) {
|
||||
this.getAvailability().remove(value);
|
||||
} else if (name.equals("endpoint")) {
|
||||
this.getEndpoint().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -735,6 +735,28 @@ public class HumanName extends DataType implements ICompositeType {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("use")) {
|
||||
value = new NameUseEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.use = (Enumeration) value; // Enumeration<NameUse>
|
||||
} else if (name.equals("text")) {
|
||||
this.text = null;
|
||||
} else if (name.equals("family")) {
|
||||
this.family = null;
|
||||
} else if (name.equals("given")) {
|
||||
this.getGiven().remove(value);
|
||||
} else if (name.equals("prefix")) {
|
||||
this.getPrefix().remove(value);
|
||||
} else if (name.equals("suffix")) {
|
||||
this.getSuffix().remove(value);
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -552,6 +552,26 @@ public class Identifier extends DataType implements ICompositeType {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("use")) {
|
||||
value = new IdentifierUseEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.use = (Enumeration) value; // Enumeration<IdentifierUse>
|
||||
} else if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("system")) {
|
||||
this.system = null;
|
||||
} else if (name.equals("value")) {
|
||||
this.value = null;
|
||||
} else if (name.equals("period")) {
|
||||
this.period = null;
|
||||
} else if (name.equals("assigner")) {
|
||||
this.assigner = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -595,6 +595,17 @@ public class ImagingSelection extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("function")) {
|
||||
this.function = null;
|
||||
} else if (name.equals("actor")) {
|
||||
this.actor = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1125,6 +1136,25 @@ public class ImagingSelection extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("uid")) {
|
||||
this.uid = null;
|
||||
} else if (name.equals("number")) {
|
||||
this.number = null;
|
||||
} else if (name.equals("sopClass")) {
|
||||
this.sopClass = null;
|
||||
} else if (name.equals("subset")) {
|
||||
this.getSubset().remove(value);
|
||||
} else if (name.equals("imageRegion2D")) {
|
||||
this.getImageRegion2D().add((ImageRegion2DComponent) value);
|
||||
} else if (name.equals("imageRegion3D")) {
|
||||
this.getImageRegion3D().add((ImageRegion3DComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1440,6 +1470,18 @@ public class ImagingSelection extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("regionType")) {
|
||||
value = new ImagingSelection2DGraphicTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.regionType = (Enumeration) value; // Enumeration<ImagingSelection2DGraphicType>
|
||||
} else if (name.equals("coordinate")) {
|
||||
this.getCoordinate().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1715,6 +1757,18 @@ public class ImagingSelection extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("regionType")) {
|
||||
value = new ImagingSelection3DGraphicTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.regionType = (Enumeration) value; // Enumeration<ImagingSelection3DGraphicType>
|
||||
} else if (name.equals("coordinate")) {
|
||||
this.getCoordinate().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2892,6 +2946,48 @@ public class ImagingSelection extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new ImagingSelectionStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<ImagingSelectionStatus>
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("issued")) {
|
||||
this.issued = null;
|
||||
} else if (name.equals("performer")) {
|
||||
this.getPerformer().add((ImagingSelectionPerformerComponent) value);
|
||||
} else if (name.equals("basedOn")) {
|
||||
this.getBasedOn().remove(value);
|
||||
} else if (name.equals("category")) {
|
||||
this.getCategory().remove(value);
|
||||
} else if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("studyUid")) {
|
||||
this.studyUid = null;
|
||||
} else if (name.equals("derivedFrom")) {
|
||||
this.getDerivedFrom().remove(value);
|
||||
} else if (name.equals("endpoint")) {
|
||||
this.getEndpoint().remove(value);
|
||||
} else if (name.equals("seriesUid")) {
|
||||
this.seriesUid = null;
|
||||
} else if (name.equals("seriesNumber")) {
|
||||
this.seriesNumber = null;
|
||||
} else if (name.equals("frameOfReferenceUid")) {
|
||||
this.frameOfReferenceUid = null;
|
||||
} else if (name.equals("bodySite")) {
|
||||
this.bodySite = null;
|
||||
} else if (name.equals("focus")) {
|
||||
this.getFocus().remove(value);
|
||||
} else if (name.equals("instance")) {
|
||||
this.getInstance().add((ImagingSelectionInstanceComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -952,6 +952,37 @@ public class ImagingStudy extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("uid")) {
|
||||
this.uid = null;
|
||||
} else if (name.equals("number")) {
|
||||
this.number = null;
|
||||
} else if (name.equals("modality")) {
|
||||
this.modality = null;
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("numberOfInstances")) {
|
||||
this.numberOfInstances = null;
|
||||
} else if (name.equals("endpoint")) {
|
||||
this.getEndpoint().remove(value);
|
||||
} else if (name.equals("bodySite")) {
|
||||
this.bodySite = null;
|
||||
} else if (name.equals("laterality")) {
|
||||
this.laterality = null;
|
||||
} else if (name.equals("specimen")) {
|
||||
this.getSpecimen().remove(value);
|
||||
} else if (name.equals("started")) {
|
||||
this.started = null;
|
||||
} else if (name.equals("performer")) {
|
||||
this.getPerformer().add((ImagingStudySeriesPerformerComponent) value);
|
||||
} else if (name.equals("instance")) {
|
||||
this.getInstance().add((ImagingStudySeriesInstanceComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1247,6 +1278,17 @@ public class ImagingStudy extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("function")) {
|
||||
this.function = null;
|
||||
} else if (name.equals("actor")) {
|
||||
this.actor = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1603,6 +1645,21 @@ public class ImagingStudy extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("uid")) {
|
||||
this.uid = null;
|
||||
} else if (name.equals("sopClass")) {
|
||||
this.sopClass = null;
|
||||
} else if (name.equals("number")) {
|
||||
this.number = null;
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2829,6 +2886,50 @@ public class ImagingStudy extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new ImagingStudyStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<ImagingStudyStatus>
|
||||
} else if (name.equals("modality")) {
|
||||
this.getModality().remove(value);
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = null;
|
||||
} else if (name.equals("encounter")) {
|
||||
this.encounter = null;
|
||||
} else if (name.equals("started")) {
|
||||
this.started = null;
|
||||
} else if (name.equals("basedOn")) {
|
||||
this.getBasedOn().remove(value);
|
||||
} else if (name.equals("partOf")) {
|
||||
this.getPartOf().remove(value);
|
||||
} else if (name.equals("referrer")) {
|
||||
this.referrer = null;
|
||||
} else if (name.equals("endpoint")) {
|
||||
this.getEndpoint().remove(value);
|
||||
} else if (name.equals("numberOfSeries")) {
|
||||
this.numberOfSeries = null;
|
||||
} else if (name.equals("numberOfInstances")) {
|
||||
this.numberOfInstances = null;
|
||||
} else if (name.equals("procedure")) {
|
||||
this.getProcedure().remove(value);
|
||||
} else if (name.equals("location")) {
|
||||
this.location = null;
|
||||
} else if (name.equals("reason")) {
|
||||
this.getReason().remove(value);
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("series")) {
|
||||
this.getSeries().add((ImagingStudySeriesComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -298,6 +298,17 @@ public class Immunization extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("function")) {
|
||||
this.function = null;
|
||||
} else if (name.equals("actor")) {
|
||||
this.actor = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -510,6 +521,17 @@ public class Immunization extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("program")) {
|
||||
this.program = null;
|
||||
} else if (name.equals("programStatus")) {
|
||||
this.programStatus = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -797,6 +819,19 @@ public class Immunization extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("manifestation")) {
|
||||
this.manifestation = null;
|
||||
} else if (name.equals("reported")) {
|
||||
this.reported = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1231,6 +1266,23 @@ public class Immunization extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("series")) {
|
||||
this.series = null;
|
||||
} else if (name.equals("authority")) {
|
||||
this.authority = null;
|
||||
} else if (name.equals("targetDisease")) {
|
||||
this.getTargetDisease().remove(value);
|
||||
} else if (name.equals("doseNumber")) {
|
||||
this.doseNumber = null;
|
||||
} else if (name.equals("seriesDoses")) {
|
||||
this.seriesDoses = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -2924,6 +2976,70 @@ public class Immunization extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("basedOn")) {
|
||||
this.getBasedOn().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new ImmunizationStatusCodesEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<ImmunizationStatusCodes>
|
||||
} else if (name.equals("statusReason")) {
|
||||
this.statusReason = null;
|
||||
} else if (name.equals("vaccineCode")) {
|
||||
this.vaccineCode = null;
|
||||
} else if (name.equals("administeredProduct")) {
|
||||
this.administeredProduct = null;
|
||||
} else if (name.equals("manufacturer")) {
|
||||
this.manufacturer = null;
|
||||
} else if (name.equals("lotNumber")) {
|
||||
this.lotNumber = null;
|
||||
} else if (name.equals("expirationDate")) {
|
||||
this.expirationDate = null;
|
||||
} else if (name.equals("patient")) {
|
||||
this.patient = null;
|
||||
} else if (name.equals("encounter")) {
|
||||
this.encounter = null;
|
||||
} else if (name.equals("supportingInformation")) {
|
||||
this.getSupportingInformation().remove(value);
|
||||
} else if (name.equals("occurrence[x]")) {
|
||||
this.occurrence = null;
|
||||
} else if (name.equals("primarySource")) {
|
||||
this.primarySource = null;
|
||||
} else if (name.equals("informationSource")) {
|
||||
this.informationSource = null;
|
||||
} else if (name.equals("location")) {
|
||||
this.location = null;
|
||||
} else if (name.equals("site")) {
|
||||
this.site = null;
|
||||
} else if (name.equals("route")) {
|
||||
this.route = null;
|
||||
} else if (name.equals("doseQuantity")) {
|
||||
this.doseQuantity = null;
|
||||
} else if (name.equals("performer")) {
|
||||
this.getPerformer().add((ImmunizationPerformerComponent) value);
|
||||
} else if (name.equals("note")) {
|
||||
this.getNote().remove(value);
|
||||
} else if (name.equals("reason")) {
|
||||
this.getReason().remove(value);
|
||||
} else if (name.equals("isSubpotent")) {
|
||||
this.isSubpotent = null;
|
||||
} else if (name.equals("subpotentReason")) {
|
||||
this.getSubpotentReason().remove(value);
|
||||
} else if (name.equals("programEligibility")) {
|
||||
this.getProgramEligibility().add((ImmunizationProgramEligibilityComponent) value);
|
||||
} else if (name.equals("fundingSource")) {
|
||||
this.fundingSource = null;
|
||||
} else if (name.equals("reaction")) {
|
||||
this.getReaction().add((ImmunizationReactionComponent) value);
|
||||
} else if (name.equals("protocolApplied")) {
|
||||
this.getProtocolApplied().add((ImmunizationProtocolAppliedComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -922,6 +922,40 @@ public class ImmunizationEvaluation extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("status")) {
|
||||
value = new ImmunizationEvaluationStatusCodesEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<ImmunizationEvaluationStatusCodes>
|
||||
} else if (name.equals("patient")) {
|
||||
this.patient = null;
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("authority")) {
|
||||
this.authority = null;
|
||||
} else if (name.equals("targetDisease")) {
|
||||
this.targetDisease = null;
|
||||
} else if (name.equals("immunizationEvent")) {
|
||||
this.immunizationEvent = null;
|
||||
} else if (name.equals("doseStatus")) {
|
||||
this.doseStatus = null;
|
||||
} else if (name.equals("doseStatusReason")) {
|
||||
this.getDoseStatusReason().remove(value);
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("series")) {
|
||||
this.series = null;
|
||||
} else if (name.equals("doseNumber")) {
|
||||
this.doseNumber = null;
|
||||
} else if (name.equals("seriesDoses")) {
|
||||
this.seriesDoses = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -883,6 +883,37 @@ public class ImmunizationRecommendation extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("vaccineCode")) {
|
||||
this.getVaccineCode().remove(value);
|
||||
} else if (name.equals("targetDisease")) {
|
||||
this.getTargetDisease().remove(value);
|
||||
} else if (name.equals("contraindicatedVaccineCode")) {
|
||||
this.getContraindicatedVaccineCode().remove(value);
|
||||
} else if (name.equals("forecastStatus")) {
|
||||
this.forecastStatus = null;
|
||||
} else if (name.equals("forecastReason")) {
|
||||
this.getForecastReason().remove(value);
|
||||
} else if (name.equals("dateCriterion")) {
|
||||
this.getDateCriterion().add((ImmunizationRecommendationRecommendationDateCriterionComponent) value);
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("series")) {
|
||||
this.series = null;
|
||||
} else if (name.equals("doseNumber")) {
|
||||
this.doseNumber = null;
|
||||
} else if (name.equals("seriesDoses")) {
|
||||
this.seriesDoses = null;
|
||||
} else if (name.equals("supportingImmunization")) {
|
||||
this.getSupportingImmunization().remove(value);
|
||||
} else if (name.equals("supportingPatientInformation")) {
|
||||
this.getSupportingPatientInformation().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1211,6 +1242,17 @@ public class ImmunizationRecommendation extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("value")) {
|
||||
this.value = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -1615,6 +1657,23 @@ public class ImmunizationRecommendation extends DomainResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("patient")) {
|
||||
this.patient = null;
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("authority")) {
|
||||
this.authority = null;
|
||||
} else if (name.equals("recommendation")) {
|
||||
this.getRecommendation().add((ImmunizationRecommendationRecommendationComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
package org.hl7.fhir.r5.model;
|
||||
|
||||
|
||||
/*
|
||||
|
@ -9484,6 +9484,21 @@ public class ImplementationGuide extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("uri")) {
|
||||
this.uri = null;
|
||||
} else if (name.equals("packageId")) {
|
||||
this.packageId = null;
|
||||
} else if (name.equals("version")) {
|
||||
this.version = null;
|
||||
} else if (name.equals("reason")) {
|
||||
this.reason = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -9750,6 +9765,17 @@ public class ImplementationGuide extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("type")) {
|
||||
this.type = null;
|
||||
} else if (name.equals("profile")) {
|
||||
this.profile = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -10182,6 +10208,23 @@ public class ImplementationGuide extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("grouping")) {
|
||||
this.getGrouping().add((ImplementationGuideDefinitionGroupingComponent) value);
|
||||
} else if (name.equals("resource")) {
|
||||
this.getResource().add((ImplementationGuideDefinitionResourceComponent) value);
|
||||
} else if (name.equals("page")) {
|
||||
this.page = (ImplementationGuideDefinitionPageComponent) value; // ImplementationGuideDefinitionPageComponent
|
||||
} else if (name.equals("parameter")) {
|
||||
this.getParameter().add((ImplementationGuideDefinitionParameterComponent) value);
|
||||
} else if (name.equals("template")) {
|
||||
this.getTemplate().add((ImplementationGuideDefinitionTemplateComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -10472,6 +10515,17 @@ public class ImplementationGuide extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -11053,6 +11107,28 @@ public class ImplementationGuide extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("reference")) {
|
||||
this.reference = null;
|
||||
} else if (name.equals("fhirVersion")) {
|
||||
value = new FHIRVersionEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.getFhirVersion().add((Enumeration) value);
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("isExample")) {
|
||||
this.isExample = null;
|
||||
} else if (name.equals("profile")) {
|
||||
this.getProfile().remove(value);
|
||||
} else if (name.equals("groupingId")) {
|
||||
this.groupingId = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -11567,6 +11643,24 @@ public class ImplementationGuide extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("source[x]")) {
|
||||
this.source = null;
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("generation")) {
|
||||
value = new GuidePageGenerationEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.generation = (Enumeration) value; // Enumeration<GuidePageGeneration>
|
||||
} else if (name.equals("page")) {
|
||||
this.getPage().add((ImplementationGuideDefinitionPageComponent) value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -11832,6 +11926,17 @@ public class ImplementationGuide extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("value")) {
|
||||
this.value = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -12147,6 +12252,19 @@ public class ImplementationGuide extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = null;
|
||||
} else if (name.equals("source")) {
|
||||
this.source = null;
|
||||
} else if (name.equals("scope")) {
|
||||
this.scope = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -12636,6 +12754,23 @@ public class ImplementationGuide extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("rendering")) {
|
||||
this.rendering = null;
|
||||
} else if (name.equals("resource")) {
|
||||
this.getResource().add((ManifestResourceComponent) value);
|
||||
} else if (name.equals("page")) {
|
||||
this.getPage().add((ManifestPageComponent) value);
|
||||
} else if (name.equals("image")) {
|
||||
this.getImage().remove(value);
|
||||
} else if (name.equals("other")) {
|
||||
this.getOther().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -13041,6 +13176,21 @@ public class ImplementationGuide extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("reference")) {
|
||||
this.reference = null;
|
||||
} else if (name.equals("isExample")) {
|
||||
this.isExample = null;
|
||||
} else if (name.equals("profile")) {
|
||||
this.getProfile().remove(value);
|
||||
} else if (name.equals("relativePath")) {
|
||||
this.relativePath = null;
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -13393,6 +13543,19 @@ public class ImplementationGuide extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("anchor")) {
|
||||
this.getAnchor().remove(value);
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
@ -15054,6 +15217,64 @@ public class ImplementationGuide extends CanonicalResource {
|
|||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(String name, Base value) throws FHIRException {
|
||||
if (name.equals("url")) {
|
||||
this.url = null;
|
||||
} else if (name.equals("identifier")) {
|
||||
this.getIdentifier().remove(value);
|
||||
} else if (name.equals("version")) {
|
||||
this.version = null;
|
||||
} else if (name.equals("versionAlgorithm[x]")) {
|
||||
this.versionAlgorithm = null;
|
||||
} else if (name.equals("name")) {
|
||||
this.name = null;
|
||||
} else if (name.equals("title")) {
|
||||
this.title = null;
|
||||
} else if (name.equals("status")) {
|
||||
value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.status = (Enumeration) value; // Enumeration<PublicationStatus>
|
||||
} else if (name.equals("experimental")) {
|
||||
this.experimental = null;
|
||||
} else if (name.equals("date")) {
|
||||
this.date = null;
|
||||
} else if (name.equals("publisher")) {
|
||||
this.publisher = null;
|
||||
} else if (name.equals("contact")) {
|
||||
this.getContact().remove(value);
|
||||
} else if (name.equals("description")) {
|
||||
this.description = null;
|
||||
} else if (name.equals("useContext")) {
|
||||
this.getUseContext().remove(value);
|
||||
} else if (name.equals("jurisdiction")) {
|
||||
this.getJurisdiction().remove(value);
|
||||
} else if (name.equals("purpose")) {
|
||||
this.purpose = null;
|
||||
} else if (name.equals("copyright")) {
|
||||
this.copyright = null;
|
||||
} else if (name.equals("copyrightLabel")) {
|
||||
this.copyrightLabel = null;
|
||||
} else if (name.equals("packageId")) {
|
||||
this.packageId = null;
|
||||
} else if (name.equals("license")) {
|
||||
value = new SPDXLicenseEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.license = (Enumeration) value; // Enumeration<SPDXLicense>
|
||||
} else if (name.equals("fhirVersion")) {
|
||||
value = new FHIRVersionEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.getFhirVersion().add((Enumeration) value);
|
||||
} else if (name.equals("dependsOn")) {
|
||||
this.getDependsOn().add((ImplementationGuideDependsOnComponent) value);
|
||||
} else if (name.equals("global")) {
|
||||
this.getGlobal().add((ImplementationGuideGlobalComponent) value);
|
||||
} else if (name.equals("definition")) {
|
||||
this.definition = (ImplementationGuideDefinitionComponent) value; // ImplementationGuideDefinitionComponent
|
||||
} else if (name.equals("manifest")) {
|
||||
this.manifest = (ImplementationGuideManifestComponent) value; // ImplementationGuideManifestComponent
|
||||
} else
|
||||
super.removeChild(name, value);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue