public org.hl7.fhir.dstu3.model.BooleanType convertBoolean(org.hl7.fhir.instance.model.BooleanType src) throws FHIRException { org.hl7.fhir.dstu3.model.BooleanType tgt = new org.hl7.fhir.dstu3.model.BooleanType(src.getValue()); copyElement(src, tgt); return tgt; }
public static org.hl7.fhir.dstu3.model.BooleanType convertBoolean(org.hl7.fhir.dstu2016may.model.BooleanType src) throws FHIRException { org.hl7.fhir.dstu3.model.BooleanType tgt = new org.hl7.fhir.dstu3.model.BooleanType(); if (src.hasValue()) tgt.setValue(src.getValue()); copyElement(src, tgt); return tgt; }
/** * @param value A guarantor may be placed on credit hold or otherwise have their role temporarily suspended. */ public GuarantorComponent setOnHold(boolean value) { if (this.onHold == null) this.onHold = new BooleanType(); this.onHold.setValue(value); return this; }
/** * @param value A boolean value to indicate that this code system is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. */ public CodeSystem setExperimental(boolean value) { if (this.experimental == null) this.experimental = new BooleanType(); this.experimental.setValue(value); return this; }
/** * @param value If code comparison is case sensitive when codes within this system are compared to each other. */ public CodeSystem setCaseSensitive(boolean value) { if (this.caseSensitive == null) this.caseSensitive = new BooleanType(); this.caseSensitive.setValue(value); return this; }
/** * @param value This flag is used to signify that the code system has not (or does not) maintain the definitions, and a version must be specified when referencing this code system. */ public CodeSystem setVersionNeeded(boolean value) { if (this.versionNeeded == null) this.versionNeeded = new BooleanType(); this.versionNeeded.setValue(value); return this; }
/** * @param value True if the indicated class of service is excluded from the plan, missing or False indicated the service is included in the coverage. */ public BenefitBalanceComponent setExcluded(boolean value) { if (this.excluded == null) this.excluded = new BooleanType(); this.excluded.setValue(value); return this; }
/** * @param value If the matching elements have to occur in the same order as defined in the profile. */ public ElementDefinitionSlicingComponent setOrdered(boolean value) { if (this.ordered == null) this.ordered = new BooleanType(); this.ordered.setValue(value); return this; }
*/ public ActivityDefinition setExperimental(boolean value) { if (this.experimental == null) this.experimental = new BooleanType(); this.experimental.setValue(value); return this; } /** * @return {@link #date} (The date (and optionally time) when the activity definition was published. The date must change if and when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the activity definition changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
/** * @param value Whether or not the test execution will require the given capabilities of the server in order for this test script to execute. */ public TestScriptMetadataCapabilityComponent setRequired(boolean value) { if (this.required == null) this.required = new BooleanType(); this.required.setValue(value); return this; }
/** * @param value Controls whether or not the value set expansion includes post coordinated codes. */ public ExpansionProfile setExcludePostCoordinated(boolean value) { if (this.excludePostCoordinated == null) this.excludePostCoordinated = new BooleanType(); this.excludePostCoordinated.setValue(value); return this; }
/** * @param value If this is set to 'true', then no new versions of the content logical definition can be created. Note: Other metadata might still change. */ public ValueSet setImmutable(boolean value) { if (this.immutable == null) this.immutable = new BooleanType(); this.immutable.setValue(value); return this; }
/** * @param value Whether this is intended to be used with an extensible binding or not. */ public ValueSet setExtensible(boolean value) { if (this.extensible == null) this.extensible = new BooleanType(); this.extensible.setValue(value); return this; }
ValidateCodeResult result = dao.validateCode(url, theId, theCode, theSystem, theDisplay, theCoding, theCodeableConcept, theRequestDetails); Parameters retVal = new Parameters(); retVal.addParameter().setName("result").setValue(new BooleanType(result.isResult())); if (isNotBlank(result.getMessage())) { retVal.addParameter().setName("message").setValue(new StringType(result.getMessage()));
/** * @return {@link #excluded} (True if the indicated class of service is excluded from the plan, missing or False indicated the service is included in the coverage.). This is the underlying object with id, value and extensions. The accessor "getExcluded" gives direct access to the value */ public BooleanType getExcludedElement() { if (this.excluded == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create BenefitsComponent.excluded"); else if (Configuration.doAutoCreate()) this.excluded = new BooleanType(); // bb return this.excluded; }
/** * @return {@link #allowed} (True if the prescriber allows a different drug to be dispensed from what was prescribed.). This is the underlying object with id, value and extensions. The accessor "getAllowed" gives direct access to the value */ public BooleanType getAllowedElement() { if (this.allowed == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create MedicationRequestSubstitutionComponent.allowed"); else if (Configuration.doAutoCreate()) this.allowed = new BooleanType(); // bb return this.allowed; }
/** * @return {@link #prohibited} (If true, indicates that the described activity is one that must NOT be engaged in when following the plan. If false, indicates that the described activity is one that should be engaged in when following the plan.). This is the underlying object with id, value and extensions. The accessor "getProhibited" gives direct access to the value */ public BooleanType getProhibitedElement() { if (this.prohibited == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create CarePlanActivityDetailComponent.prohibited"); else if (Configuration.doAutoCreate()) this.prohibited = new BooleanType(); // bb return this.prohibited; }
/** * @return {@link #active} (Whether this body site is in active use.). This is the underlying object with id, value and extensions. The accessor "getActive" gives direct access to the value */ public BooleanType getActiveElement() { if (this.active == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create BodySite.active"); else if (Configuration.doAutoCreate()) this.active = new BooleanType(); // bb return this.active; }
/** * @return {@link #experimental} (A boolean value to indicate that this graph definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value */ public BooleanType getExperimentalElement() { if (this.experimental == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create GraphDefinition.experimental"); else if (Configuration.doAutoCreate()) this.experimental = new BooleanType(); // bb return this.experimental; }
/** * @return {@link #isSummary} (Whether the element should be included if a client requests a search with the parameter _summary=true.). This is the underlying object with id, value and extensions. The accessor "getIsSummary" gives direct access to the value */ public BooleanType getIsSummaryElement() { if (this.isSummary == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ElementDefinition.isSummary"); else if (Configuration.doAutoCreate()) this.isSummary = new BooleanType(); // bb return this.isSummary; }