Removed CautionNote fields

This commit is contained in:
t37622uhn 2014-03-25 15:29:12 -04:00
parent 21619e5e46
commit d3fc34a30a
1 changed files with 2 additions and 29 deletions

View File

@ -344,16 +344,9 @@ public class Patient extends BaseResource implements IResource {
) )
private BooleanDt myActive; private BooleanDt myActive;
@Child(name="cautionNote", type=StringDt.class, order=17, min=0, max=Child.MAX_UNLIMITED)
@Description(
shortDefinition = "Complete caution note",
formalDefinition = "List of substances that may elicit a response from the patient."
)
private List<StringDt> myCautionNote;
@Override @Override
public boolean isEmpty() { public boolean isEmpty() {
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myName, myTelecom, myGender, myBirthDate, myDeceased, myAddress, myMaritalStatus, myMultipleBirth, myPhoto, myContact, myAnimal, myCommunication, myCareProvider, myManagingOrganization, myLink, myActive, myCautionNote); return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myName, myTelecom, myGender, myBirthDate, myDeceased, myAddress, myMaritalStatus, myMultipleBirth, myPhoto, myContact, myAnimal, myCommunication, myCareProvider, myManagingOrganization, myLink, myActive);
} }
@Override @Override
@ -363,7 +356,7 @@ public class Patient extends BaseResource implements IResource {
@Override @Override
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) { public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myName, myTelecom, myGender, myBirthDate, myDeceased, myAddress, myMaritalStatus, myMultipleBirth, myPhoto, myContact, myAnimal, myCommunication, myCareProvider, myManagingOrganization, myLink, myActive, myCautionNote); return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myName, myTelecom, myGender, myBirthDate, myDeceased, myAddress, myMaritalStatus, myMultipleBirth, myPhoto, myContact, myAnimal, myCommunication, myCareProvider, myManagingOrganization, myLink, myActive);
} }
/** /**
@ -1229,26 +1222,6 @@ public class Patient extends BaseResource implements IResource {
return this; return this;
} }
/**
* Gets the complete caution note (a list of substances and the responses a patient elicits)
*
* <p>
* <b>Definition:</b>
* Complete caution note
* </p>
*/
public List<StringDt> getCautionNote(){ return myCautionNote; }
/**
* Sets the value for the caution note
*
* <p>
* <b>Definition:</b>
* Complete caution note
* </p>
*/
public void setCautionNote(List<StringDt> theValue){ myCautionNote = theValue; }
/** /**
* Block class for child element: <b>Patient.contact</b> (A contact party (e.g. guardian, partner, friend) for the patient) * Block class for child element: <b>Patient.contact</b> (A contact party (e.g. guardian, partner, friend) for the patient)