/** * Gets the first repetition for <b>identifier</b> (External Ids for this item), * creating it if it does not already exist. * * <p> * <b>Definition:</b> * This records identifiers associated with this allergy/intolerance concern that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation) * </p> */ public IdentifierDt getIdentifierFirstRep() { if (getIdentifier().isEmpty()) { return addIdentifier(); } return getIdentifier().get(0); } /**
/** * Sets the value(s) for <b>status</b> (suspected | confirmed | refuted | resolved) * * <p> * <b>Definition:</b> * Status of the sensitivity * </p> */ public AllergyIntolerance setStatus(SensitivityStatusEnum theValue) { getStatus().setValueAsEnum(theValue); return this; }
/** * Adds and returns a new value for <b>reaction</b> (Reactions associated with the sensitivity) * * <p> * <b>Definition:</b> * Reactions associated with the sensitivity * </p> */ public ResourceReferenceDt addReaction() { ResourceReferenceDt newType = new ResourceReferenceDt(); getReaction().add(newType); return newType; }
/** * Sets the value(s) for <b>criticality</b> (fatal | high | medium | low) * * <p> * <b>Definition:</b> * Criticality of the sensitivity * </p> */ public AllergyIntolerance setCriticality(CriticalityEnum theValue) { getCriticality().setValueAsEnum(theValue); return this; }
/** * Sets the value(s) for <b>sensitivityType</b> (allergy | intolerance | unknown) * * <p> * <b>Definition:</b> * Type of the sensitivity * </p> */ public AllergyIntolerance setSensitivityType(SensitivityTypeEnum theValue) { getSensitivityType().setValueAsEnum(theValue); return this; }
/** * Adds and returns a new value for <b>identifier</b> (External Ids for this item) * * <p> * <b>Definition:</b> * This records identifiers associated with this allergy/intolerance concern that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation) * </p> */ public IdentifierDt addIdentifier() { IdentifierDt newType = new IdentifierDt(); getIdentifier().add(newType); return newType; }
/** * Adds and returns a new value for <b>sensitivityTest</b> (Observations that confirm or refute) * * <p> * <b>Definition:</b> * Observations that confirm or refute the sensitivity * </p> */ public ResourceReferenceDt addSensitivityTest() { ResourceReferenceDt newType = new ResourceReferenceDt(); getSensitivityTest().add(newType); return newType; }