From d3fc34a30a477c441da9dc0c59ffef4b2de3fc04 Mon Sep 17 00:00:00 2001 From: t37622uhn Date: Tue, 25 Mar 2014 15:29:12 -0400 Subject: [PATCH] Removed CautionNote fields --- .../uhn/fhir/model/dstu/resource/Patient.java | 31 ++----------------- 1 file changed, 2 insertions(+), 29 deletions(-) diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/resource/Patient.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/resource/Patient.java index b911515a436..d8660382a8f 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/resource/Patient.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/resource/Patient.java @@ -344,16 +344,9 @@ public class Patient extends BaseResource implements IResource { ) 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 myCautionNote; - @Override 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 @@ -363,7 +356,7 @@ public class Patient extends BaseResource implements IResource { @Override public List getAllPopulatedChildElementsOfType(Class 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; } - /** - * Gets the complete caution note (a list of substances and the responses a patient elicits) - * - *

- * Definition: - * Complete caution note - *

- */ - public List getCautionNote(){ return myCautionNote; } - - /** - * Sets the value for the caution note - * - *

- * Definition: - * Complete caution note - *

- */ - public void setCautionNote(List theValue){ myCautionNote = theValue; } - /** * Block class for child element: Patient.contact (A contact party (e.g. guardian, partner, friend) for the patient)