/** * Create a new ID using a long */ public IdType(long theId) { setValue(Long.toString(theId)); }
/** * Creates an ID based on a given URL */ public IdType(UriType theUrl) { setValue(theUrl.getValueAsString()); }
/** * @param value The NPM package name for this Implementation Guide, used in the NPM package distribution, which is the primary mechanism by which FHIR based tooling manages IG dependencies. This value must be globally unique, and should be assigned with care. */ public ImplementationGuide setPackageId(String value) { if (this.packageId == null) this.packageId = new IdType(); this.packageId.setValue(value); return this; }
/** * @param value The element id of the action this is related to. */ public RequestGroupActionRelatedActionComponent setActionId(String value) { if (this.actionId == null) this.actionId = new IdType(); this.actionId.setValue(value); return this; }
/** * @param value The element id of the related action. */ public PlanDefinitionActionRelatedActionComponent setActionId(String value) { if (this.actionId == null) this.actionId = new IdType(); this.actionId.setValue(value); return this; }
/** * @param value Type or variable this rule applies to. */ public StructureMapGroupRuleSourceComponent setContext(String value) { if (this.context == null) this.context = new IdType(); this.context.setValue(value); return this; }
/** * @param value The DICOM Series Instance UID for the series. */ public ImagingStudySeriesComponent setUid(String value) { if (this.uid == null) this.uid = new IdType(); this.uid.setValue(value); return this; }
public static IdType newId(String value) { if (value == null) return null; IdType res = new IdType(); res.setValue(value); return res; }
/** * @param value A unique name for the group for the convenience of human readers. */ public StructureMapGroupComponent setName(String value) { if (this.name == null) this.name = new IdType(); this.name.setValue(value); return this; }
/** * @param value Name for this instance of data. */ public StructureMapGroupInputComponent setName(String value) { if (this.name == null) this.name = new IdType(); this.name.setValue(value); return this; }
/** * @param value Name of a rule or group to apply. */ public StructureMapGroupRuleDependentComponent setName(String value) { if (this.name == null) this.name = new IdType(); this.name.setValue(value); return this; }
/** * @param value {@link #goalId} (Identifies goals that this action supports. The reference must be to a goal element defined within this plan definition.) */ public PlanDefinitionActionComponent addGoalId(String value) { //1 IdType t = new IdType(); t.setValue(value); if (this.goalId == null) this.goalId = new ArrayList<IdType>(); this.goalId.add(t); return this; }
/** * @param value The DICOM SOP Instance UID for this image or other DICOM content. */ public ImagingStudySeriesInstanceComponent setUid(String value) { if (this.uid == null) this.uid = new IdType(); this.uid.setValue(value); return this; }
/** * @param value Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality. */ public ElementDefinitionConstraintComponent setKey(String value) { if (this.key == null) this.key = new IdType(); this.key.setValue(value); return this; }
/** * @param value An internal reference to the definition of a mapping. */ public ElementDefinitionMappingComponent setIdentity(String value) { if (this.identity == null) this.identity = new IdType(); this.identity.setValue(value); return this; }
/** * @param value {@link #condition} (A reference to an invariant that may make additional statements about the cardinality or value in the instance.) */ public ElementDefinition addCondition(String value) { //1 IdType t = new IdType(); t.setValue(value); if (this.condition == null) this.condition = new ArrayList<IdType>(); this.condition.add(t); return this; }
/** * @param value The MessageHeader.id of the message to which this message is a response. */ public MessageHeaderResponseComponent setIdentifier(String value) { if (this.identifier == null) this.identifier = new IdType(); this.identifier.setValue(value); return this; }
/** * @param value Reference to the id of the grouping this resource appears in. */ public ImplementationGuideDefinitionResourceComponent setGroupingId(String value) { if (Utilities.noString(value)) this.groupingId = null; else { if (this.groupingId == null) this.groupingId = new IdType(); this.groupingId.setValue(value); } return this; }
public static org.hl7.fhir.r4.model.IdType convertId(org.hl7.fhir.dstu2016may.model.IdType src) throws FHIRException { org.hl7.fhir.r4.model.IdType tgt = new org.hl7.fhir.r4.model.IdType(); if (src.hasValue()) tgt.setValue(src.getValue()); copyElement(src, tgt); return tgt; }