/** * @return Indicates whether the account is presently used/useable or not. */ public AccountStatus getStatus() { return this.status == null ? null : this.status.getValue(); }
/** * @param value {@link #mode} (The type of attestation the authenticator offers.) */ public CompositionAttesterComponent addMode(CompositionAttestationMode value) { //1 Enumeration<CompositionAttestationMode> t = new Enumeration<CompositionAttestationMode>(new CompositionAttestationModeEnumFactory()); t.setValue(value); if (this.mode == null) this.mode = new ArrayList<Enumeration<CompositionAttestationMode>>(); this.mode.add(t); return this; }
/** * Constructor */ public Enumeration(EnumFactory<T> theEnumFactory, String theValue) { if (theEnumFactory == null) throw new IllegalArgumentException("An enumeration factory must be provided"); myEnumFactory = theEnumFactory; setValueAsString(theValue); }
public boolean isEmpty() { return super.isEmpty() && (identifier == null || identifier.isEmpty()) && (name == null || name.isEmpty()) && (telecom == null || telecom.isEmpty()) && (gender == null || gender.isEmpty()) && (birthDate == null || birthDate.isEmpty()) && (address == null || address.isEmpty()) && (photo == null || photo.isEmpty()) && (managingOrganization == null || managingOrganization.isEmpty()) && (active == null || active.isEmpty()) && (link == null || link.isEmpty()); }
/** * @return {@link #mode} (The type of attestation the authenticator offers.) */ // syntactic sugar public Enumeration<CompositionAttestationMode> addModeElement() {//2 Enumeration<CompositionAttestationMode> t = new Enumeration<CompositionAttestationMode>(new CompositionAttestationModeEnumFactory()); if (this.mode == null) this.mode = new ArrayList<Enumeration<CompositionAttestationMode>>(); this.mode.add(t); return t; }
public CompositionAttesterComponent copy() { CompositionAttesterComponent dst = new CompositionAttesterComponent(); copyValues(dst); if (mode != null) { dst.mode = new ArrayList<Enumeration<CompositionAttestationMode>>(); for (Enumeration<CompositionAttestationMode> i : mode) dst.mode.add(i.copy()); }; dst.time = time == null ? null : time.copy(); dst.party = party == null ? null : party.copy(); return dst; }
public boolean isEmpty() { return super.isEmpty() && (source == null || source.isEmpty()) && (name == null || name.isEmpty()) && (kind == null || kind.isEmpty()) && (type == null || type.isEmpty()) && (package_ == null || package_.isEmpty()) && (format == null || format.isEmpty()) && (page == null || page.isEmpty()); }
/** * @return {@link #status} (The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value */ public Enumeration<CompositionStatus> getStatusElement() { if (this.status == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create Composition.status"); else if (Configuration.doAutoCreate()) this.status = new Enumeration<CompositionStatus>(new CompositionStatusEnumFactory()); // bb return this.status; }
/** * @return The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document. */ public CompositionStatus getStatus() { return this.status == null ? null : this.status.getValue(); }
/** * @param value Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record. */ public CarePlan setStatus(CarePlanStatus value) { if (this.status == null) this.status = new Enumeration<CarePlanStatus>(new CarePlanStatusEnumFactory()); this.status.setValue(value); return this; }
public ContactPoint copy() { ContactPoint dst = new ContactPoint(); copyValues(dst); dst.system = system == null ? null : system.copy(); dst.value = value == null ? null : value.copy(); dst.use = use == null ? null : use.copy(); dst.rank = rank == null ? null : rank.copy(); dst.period = period == null ? null : period.copy(); return dst; }
public boolean isEmpty() { return super.isEmpty() && (name == null || name.isEmpty()) && (definition == null || definition.isEmpty()) && (type == null || type.isEmpty()) && (documentation == null || documentation.isEmpty()) && (target == null || target.isEmpty()) && (modifier == null || modifier.isEmpty()) && (chain == null || chain.isEmpty()) ; }
/** * @return {@link #status} (The status of this individual item within the order.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value */ public Enumeration<DiagnosticOrderStatus> getStatusElement() { if (this.status == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create DiagnosticOrderItemComponent.status"); else if (Configuration.doAutoCreate()) this.status = new Enumeration<DiagnosticOrderStatus>(new DiagnosticOrderStatusEnumFactory()); // bb return this.status; }
@Override public INarrative setStatusAsString(String theString) { getStatusElement().setValueAsString(theString); return this; }
/** * @return The status for the event. */ public DiagnosticOrderStatus getStatus() { return this.status == null ? null : this.status.getValue(); }
/** * @param value Whether this is an input or an output parameter. */ public OperationDefinitionParameterComponent setUse(OperationParameterUse value) { if (this.use == null) this.use = new Enumeration<OperationParameterUse>(new OperationParameterUseEnumFactory()); this.use.setValue(value); return this; }
public OperationDefinitionParameterBindingComponent copy() { OperationDefinitionParameterBindingComponent dst = new OperationDefinitionParameterBindingComponent(); copyValues(dst); dst.strength = strength == null ? null : strength.copy(); dst.valueSet = valueSet == null ? null : valueSet.copy(); return dst; }
public boolean isEmpty() { return super.isEmpty() && (identifier == null || identifier.isEmpty()) && (status == null || status.isEmpty()) && (category == null || category.isEmpty()) && (code == null || code.isEmpty()) && (subject == null || subject.isEmpty()) && (encounter == null || encounter.isEmpty()) && (effective == null || effective.isEmpty()) && (issued == null || issued.isEmpty()) && (performer == null || performer.isEmpty()) && (request == null || request.isEmpty()) && (specimen == null || specimen.isEmpty()) && (result == null || result.isEmpty()) && (imagingStudy == null || imagingStudy.isEmpty()) && (image == null || image.isEmpty()) && (conclusion == null || conclusion.isEmpty()) && (codedDiagnosis == null || codedDiagnosis.isEmpty()) && (presentedForm == null || presentedForm.isEmpty()); }
/** * @return {@link #type} (The category of claim this is.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value */ public Enumeration<ClaimType> getTypeElement() { if (this.type == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create Claim.type"); else if (Configuration.doAutoCreate()) this.type = new Enumeration<ClaimType>(new ClaimTypeEnumFactory()); // bb return this.type; }