### Question:
Tag extends BaseElement implements IElement, IBaseCoding { @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((myScheme == null) ? 0 : myScheme.hashCode()); result = prime * result + ((myTerm == null) ? 0 : myTerm.hashCode()); return result; } Tag(); @Deprecated  Tag(String theTerm);  Tag(String theScheme, String theTerm);  Tag(String theScheme, String theTerm, String theLabel);  Tag(URI theScheme, URI theTerm, String theLabel); String getLabel(); String getScheme(); String getTerm(); @Override boolean equals(Object obj); @Override int hashCode(); @Override boolean isEmpty(); Tag setLabel(String theLabel); Tag setScheme(String theScheme); Tag setTerm(String theTerm); @Override String toString(); @Override String getCode(); @Override String getDisplay(); @Override String getSystem(); @Override IBaseCoding setCode(String theTerm); @Override IBaseCoding setDisplay(String theLabel); @Override IBaseCoding setSystem(String theScheme); static final String ATTR_LABEL; static final String ATTR_SCHEME; static final String ATTR_TERM; static final String HL7_ORG_FHIR_TAG; static final String HL7_ORG_PROFILE_TAG; static final String HL7_ORG_SECURITY_TAG; }### Answer:
@Test public void testHashCode() { Tag tag1 = new Tag().setScheme("scheme").setTerm("term").setLabel("label"); assertEquals(1920714536, tag1.hashCode()); }