public org.hl7.fhir.dstu3.model.UriType convertCodeToUri(org.hl7.fhir.instance.model.CodeType src) throws FHIRException { org.hl7.fhir.dstu3.model.UriType tgt = new org.hl7.fhir.dstu3.model.UriType(src.getValue()); copyElement(src, tgt); return tgt; }
public org.hl7.fhir.dstu3.model.UriType convertUri(org.hl7.fhir.instance.model.UriType src) throws FHIRException { org.hl7.fhir.dstu3.model.UriType tgt = new org.hl7.fhir.dstu3.model.UriType(src.getValue()); copyElement(src, tgt); return tgt; }
public static org.hl7.fhir.dstu3.model.UriType convertUri(org.hl7.fhir.dstu2016may.model.UriType src) throws FHIRException { org.hl7.fhir.dstu3.model.UriType tgt = new org.hl7.fhir.dstu3.model.UriType(); if (src.hasValue()) tgt.setValue(src.getValue()); copyElement(src, tgt); return tgt; }
/** * @return {@link #binary} (A binary file that is included in the implementation guide when it is published.) */ public UriType addBinaryElement() {//2 UriType t = new UriType(); if (this.binary == null) this.binary = new ArrayList<UriType>(); this.binary.add(t); return t; }
if (ctx.getVersion().getVersion() == FhirVersionEnum.DSTU3) { org.hl7.fhir.dstu3.model.Parameters p = new org.hl7.fhir.dstu3.model.Parameters(); p.addParameter().setName("url").setValue(new org.hl7.fhir.dstu3.model.UriType(termUrl)); for (String next : datafile) { p.addParameter().setName("localfile").setValue(new org.hl7.fhir.dstu3.model.StringType(next));
/** * @param value An absolute URI that is used to identify this structure definition when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this structure definition is (or will be) published. The URL SHOULD include the major version of the structure definition. For more information see [Technical and Business Versions](resource.html#versions). */ public StructureDefinition setUrl(String value) { if (this.url == null) this.url = new UriType(); this.url.setValue(value); return this; }
/** * @param value The reference details for the link. */ public BundleLinkComponent setUrl(String value) { if (this.url == null) this.url = new UriType(); this.url.setValue(value); return this; }
/** * @param value {@link #policy} (The policy or plan that authorized the activity being recorded. Typically, a single activity may have multiple applicable policies, such as patient consent, guarantor funding, etc. The policy would also indicate the security token used.) */ public AuditEventAgentComponent addPolicy(String value) { //1 UriType t = new UriType(); t.setValue(value); if (this.policy == null) this.policy = new ArrayList<UriType>(); this.policy.add(t); return this; }
/** * @param value The source address for the page. */ public ImplementationGuidePageComponent setSource(String value) { if (this.source == null) this.source = new UriType(); this.source.setValue(value); return this; }
/** * @param value An absolute URI that is used to identify this compartment definition when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this compartment definition is (or will be) published. The URL SHOULD include the major version of the compartment definition. For more information see [Technical and Business Versions](resource.html#versions). */ public CompartmentDefinition setUrl(String value) { if (this.url == null) this.url = new UriType(); this.url.setValue(value); return this; }
/** * @param value {@link #protocol} (Reference to a specific published clinical protocol that was followed during this assessment, and/or that provides evidence in support of the diagnosis.) */ public ClinicalImpression addProtocol(String value) { //1 UriType t = new UriType(); t.setValue(value); if (this.protocol == null) this.protocol = new ArrayList<UriType>(); this.protocol.add(t); return this; }
/** * @return {@link #address} (The network address of the end-point. For solutions that do not use network addresses for routing, it can be just an identifier.). This is the underlying object with id, value and extensions. The accessor "getAddress" gives direct access to the value */ public UriType getAddressElement() { if (this.address == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create CapabilityStatementMessagingEndpointComponent.address"); else if (Configuration.doAutoCreate()) this.address = new UriType(); // bb return this.address; }
/** * @return {@link #property} (A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somwhere that is labeled to correspond with a code system property.). This is the underlying object with id, value and extensions. The accessor "getProperty" gives direct access to the value */ public UriType getPropertyElement() { if (this.property == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create OtherElementComponent.property"); else if (Configuration.doAutoCreate()) this.property = new UriType(); // bb return this.property; }
/** * @return {@link #baseDefinition} (An absolute URI that is the base structure from which this type is derived, either by specialization or constraint.). This is the underlying object with id, value and extensions. The accessor "getBaseDefinition" gives direct access to the value */ public UriType getBaseDefinitionElement() { if (this.baseDefinition == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create StructureDefinition.baseDefinition"); else if (Configuration.doAutoCreate()) this.baseDefinition = new UriType(); // bb return this.baseDefinition; }
/** * @return {@link #url} (An absolute URI that is used to identify this measure when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this measure is (or will be) published. The URL SHOULD include the major version of the measure. For more information see [Technical and Business Versions](resource.html#versions).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value */ public UriType getUrlElement() { if (this.url == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create Measure.url"); else if (Configuration.doAutoCreate()) this.url = new UriType(); // bb return this.url; }
/** * @return {@link #location} (The location header created by processing this operation.). This is the underlying object with id, value and extensions. The accessor "getLocation" gives direct access to the value */ public UriType getLocationElement() { if (this.location == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create BundleEntryResponseComponent.location"); else if (Configuration.doAutoCreate()) this.location = new UriType(); // bb return this.location; }
/** * @return {@link #source} (The source address for the page.). This is the underlying object with id, value and extensions. The accessor "getSource" gives direct access to the value */ public UriType getSourceElement() { if (this.source == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ImplementationGuidePageComponent.source"); else if (Configuration.doAutoCreate()) this.source = new UriType(); // bb return this.source; }
/** * @return {@link #source} (Identifies the source system, application, or software that produced the document manifest.). This is the underlying object with id, value and extensions. The accessor "getSource" gives direct access to the value */ public UriType getSourceElement() { if (this.source == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create DocumentManifest.source"); else if (Configuration.doAutoCreate()) this.source = new UriType(); // bb return this.source; }
/** * @return {@link #url} (An absolute URI that is used to identify this operation definition when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this operation definition is (or will be) published. The URL SHOULD include the major version of the operation definition. For more information see [Technical and Business Versions](resource.html#versions).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value */ public UriType getUrlElement() { if (this.url == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create OperationDefinition.url"); else if (Configuration.doAutoCreate()) this.url = new UriType(); // bb return this.url; }
/** * @return {@link #url} (An absolute URI that is used to identify this graph definition when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this graph definition is (or will be) published. The URL SHOULD include the major version of the graph definition. For more information see [Technical and Business Versions](resource.html#versions).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value */ public UriType getUrlElement() { if (this.url == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create GraphDefinition.url"); else if (Configuration.doAutoCreate()) this.url = new UriType(); // bb return this.url; }