/** * @return An absolute URI which is the code system in which the code for this item in the expansion is defined. */ public String getSystem() { return this.system == null ? null : this.system.getValue(); }
/** * @return An absolute URI that is used to identify this plan definition when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this plan definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the plan definition is stored on different servers. */ public String getUrl() { return this.url == null ? null : this.url.getValue(); }
/** * @return The URL pointing to an *externally* maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Task. */ public String getInstantiatesUri() { return this.instantiatesUri == null ? null : this.instantiatesUri.getValue(); }
/** * @return An absolute URI that is used to identify this terminology capabilities when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this terminology capabilities is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the terminology capabilities is stored on different servers. */ public String getUrl() { return this.url == null ? null : this.url.getValue(); }
/** * @return A network address on which the device may be contacted directly. */ public String getUrl() { return this.url == null ? null : this.url.getValue(); }
/** * @return An absolute URI that is used to identify this test script when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this test script is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the test script is stored on different servers. */ public String getUrl() { return this.url == null ? null : this.url.getValue(); }
/** * @return A reference to an [[[ElementDefinition]]] that provides the details for the item. */ public String getDefinition() { return this.definition == null ? null : this.definition.getValue(); }
/** * @return The URL pointing to an externally maintained definition that is adhered to in whole or in part by this Contract. */ public String getInstantiatesUri() { return this.instantiatesUri == null ? null : this.instantiatesUri.getValue(); }
/** * @return URL of Data type or Resource that is a(or the) type used for this element. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition e.g. "string" is a reference to http://hl7.org/fhir/StructureDefinition/string. Absolute URLs are only allowed in logical models. */ public String getCode() { return this.code == null ? null : this.code.getValue(); }
/** * @return Establishes the namespace for the value - that is, a URL that describes a set values that are unique. */ public String getSystem() { return this.system == null ? null : this.system.getValue(); }
/** * @return An absolute URI that is used to identify this questionnaire when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this questionnaire is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the questionnaire is stored on different servers. */ public String getUrl() { return this.url == null ? null : this.url.getValue(); }
/** * @return An absolute URI that is used to identify this evidence variable when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this evidence variable is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the evidence variable is stored on different servers. */ public String getUrl() { return this.url == null ? null : this.url.getValue(); }
/** * @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 boolean hasPolicy(String value) { if (this.policy == null) return false; for (UriType v : this.policy) if (v.getValue().equals(value)) // uri return true; return false; }
/** * @param value {@link #instantiatesUri} (The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this MedicationRequest.) */ public boolean hasInstantiatesUri(String value) { if (this.instantiatesUri == null) return false; for (UriType v : this.instantiatesUri) if (v.getValue().equals(value)) // uri return true; return false; }
/** * @param value {@link #link} (Links to the FHIR specification that describes this interaction and the resources involved in more detail.) */ public boolean hasLink(String value) { if (this.link == null) return false; for (UriType v : this.link) if (v.getValue().equals(value)) // uri return true; return false; }
/** * @param value {@link #instantiatesUri} (The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this DeviceRequest.) */ public boolean hasInstantiatesUri(String value) { if (this.instantiatesUri == null) return false; for (UriType v : this.instantiatesUri) if (v.getValue().equals(value)) // uri return true; return false; }
public void addProfiles(List<CanonicalType> list) { if (profiles == null) profiles = new ArrayList<String>(); for (UriType u : list) profiles.add(u.getValue()); } public boolean isSystemType() {
public org.hl7.fhir.instance.model.CodeType convertUriToCode(org.hl7.fhir.r4.model.UriType src) throws FHIRException { org.hl7.fhir.instance.model.CodeType tgt = new org.hl7.fhir.instance.model.CodeType(src.getValue()); copyElement(src, tgt); return tgt; }
public org.hl7.fhir.instance.model.UriType convertUri(org.hl7.fhir.r4.model.UriType src) throws FHIRException { org.hl7.fhir.instance.model.UriType tgt = new org.hl7.fhir.instance.model.UriType(src.getValue()); copyElement(src, tgt); return tgt; }
private List<String> listReferenceProfiles(ElementDefinition ed) { List<String> res = new ArrayList<String>(); for (TypeRefComponent tr : ed.getType()) { // code is null if we're dealing with "value" and profile is null if we just have Reference() if (tr.hasTarget() && tr.hasTargetProfile()) for (UriType u : tr.getTargetProfile()) res.add(u.getValue()); } return res; }