/** * @return {@link #library} (A reference to a Library resource containing the formal logic used by the ResearchDefinition.) */ public CanonicalType addLibraryElement() {//2 CanonicalType t = new CanonicalType(); if (this.library == null) this.library = new ArrayList<CanonicalType>(); this.library.add(t); return t; }
/** * @return {@link #instantiates} (Reference to a canonical URL of another CapabilityStatement that this software implements. This capability statement is a published API description that corresponds to a business service. The server may actually implement a subset of the capability statement it claims to implement, so the capability statement must specify the full capability details.) */ public CanonicalType addInstantiatesElement() {//2 CanonicalType t = new CanonicalType(); if (this.instantiates == null) this.instantiates = new ArrayList<CanonicalType>(); this.instantiates.add(t); return t; }
/** * @return {@link #library} (A reference to a Library resource containing any formal logic used by the plan definition.) */ public CanonicalType addLibraryElement() {//2 CanonicalType t = new CanonicalType(); if (this.library == null) this.library = new ArrayList<CanonicalType>(); this.library.add(t); return t; }
/** * @return {@link #import_} (Other maps used by this map (canonical URLs).) */ public CanonicalType addImportElement() {//2 CanonicalType t = new CanonicalType(); if (this.import_ == null) this.import_ = new ArrayList<CanonicalType>(); this.import_.add(t); return t; }
/** * @return {@link #partOf} (A larger definition of which this particular definition is a component or step.) */ public CanonicalType addPartOfElement() {//2 CanonicalType t = new CanonicalType(); if (this.partOf == null) this.partOf = new ArrayList<CanonicalType>(); this.partOf.add(t); return t; }
/** * @return {@link #instantiatesCanonical} (The URL pointing to a FHIR-defined protocol, guideline, order set or other definition that is adhered to in whole or in part by this Procedure.) */ public CanonicalType addInstantiatesCanonicalElement() {//2 CanonicalType t = new CanonicalType(); if (this.instantiatesCanonical == null) this.instantiatesCanonical = new ArrayList<CanonicalType>(); this.instantiatesCanonical.add(t); return t; }
/** * @return {@link #targetProfile} (Used when the type is "Reference" or "canonical", and identifies a profile structure or implementation Guide that applies to the target of the reference this element refers to. If any profiles are specified, then the content must conform to at least one of them. The URL can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the target resource SHALL conform to at least one profile defined in the implementation guide.) */ public CanonicalType addTargetProfileElement() {//2 CanonicalType t = new CanonicalType(); if (this.targetProfile == null) this.targetProfile = new ArrayList<CanonicalType>(); this.targetProfile.add(t); return t; }
/** * @param value {@link #compartment} (An absolute URI which is a reference to the definition of a compartment that the system supports. The reference is to a CompartmentDefinition resource by its canonical URL .) */ public CapabilityStatementRestComponent addCompartment(String value) { //1 CanonicalType t = new CanonicalType(); t.setValue(value); if (this.compartment == null) this.compartment = new ArrayList<CanonicalType>(); this.compartment.add(t); return this; }
/** * @param value {@link #imports} (Reference to a canonical URL of another CapabilityStatement that this software adds to. The capability statement automatically includes everything in the other statement, and it is not duplicated, though the server may repeat the same resources, interactions and operations to add additional details to them.) */ public CapabilityStatement addImports(String value) { //1 CanonicalType t = new CanonicalType(); t.setValue(value); if (this.imports == null) this.imports = new ArrayList<CanonicalType>(); this.imports.add(t); return this; }
/** * @param value {@link #library} (A reference to a Library resource containing any formal logic used by the plan definition.) */ public PlanDefinition addLibrary(String value) { //1 CanonicalType t = new CanonicalType(); t.setValue(value); if (this.library == null) this.library = new ArrayList<CanonicalType>(); this.library.add(t); return this; }
/** * @param value {@link #library} (A reference to a Library resource containing any formal logic used by the activity definition.) */ public ActivityDefinition addLibrary(String value) { //1 CanonicalType t = new CanonicalType(); t.setValue(value); if (this.library == null) this.library = new ArrayList<CanonicalType>(); this.library.add(t); return this; }
/** * @param value {@link #instantiatesCanonical} (The URL pointing to a protocol, guideline, orderset, or other definition that is adhered to in whole or in part by this MedicationRequest.) */ public MedicationRequest addInstantiatesCanonical(String value) { //1 CanonicalType t = new CanonicalType(); t.setValue(value); if (this.instantiatesCanonical == null) this.instantiatesCanonical = new ArrayList<CanonicalType>(); this.instantiatesCanonical.add(t); return this; }
/** * @return {@link #profile} (A specification of the profile that describes the solution's overall support for the resource, including any constraints on cardinality, bindings, lengths or other limitations. See further discussion in [Using Profiles](profiling.html#profile-uses).). This is the underlying object with id, value and extensions. The accessor "getProfile" gives direct access to the value */ public CanonicalType getProfileElement() { if (this.profile == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create CapabilityStatementRestResourceComponent.profile"); else if (Configuration.doAutoCreate()) this.profile = new CanonicalType(); // bb return this.profile; }
/** * @return {@link #definition} (Where the formal definition can be found. If a server references the base definition of an Operation (i.e. from the specification itself such as ```http://hl7.org/fhir/OperationDefinition/ValueSet-expand```), that means it supports the full capabilities of the operation - e.g. both GET and POST invocation. If it only supports a subset, it must define its own custom [[[OperationDefinition]]] with a 'base' of the original OperationDefinition. The custom definition would describe the specific subset of functionality supported.). This is the underlying object with id, value and extensions. The accessor "getDefinition" gives direct access to the value */ public CanonicalType getDefinitionElement() { if (this.definition == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create CapabilityStatementRestResourceOperationComponent.definition"); else if (Configuration.doAutoCreate()) this.definition = new CanonicalType(); // bb return this.definition; }
/** * @return {@link #profile} (If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.). This is the underlying object with id, value and extensions. The accessor "getProfile" gives direct access to the value */ public CanonicalType getProfileElement() { if (this.profile == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ParameterDefinition.profile"); else if (Configuration.doAutoCreate()) this.profile = new CanonicalType(); // bb return this.profile; }
/** * @return {@link #profile} (Profile for the target resource.). This is the underlying object with id, value and extensions. The accessor "getProfile" gives direct access to the value */ public CanonicalType getProfileElement() { if (this.profile == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create GraphDefinitionLinkTargetComponent.profile"); else if (Configuration.doAutoCreate()) this.profile = new CanonicalType(); // bb return this.profile; }
/** * @return {@link #questionnaire} (The Questionnaire that defines and organizes the questions for which answers are being provided.). This is the underlying object with id, value and extensions. The accessor "getQuestionnaire" gives direct access to the value */ public CanonicalType getQuestionnaireElement() { if (this.questionnaire == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create QuestionnaireResponse.questionnaire"); else if (Configuration.doAutoCreate()) this.questionnaire = new CanonicalType(); // bb return this.questionnaire; }
/** * @return {@link #valueSet} (Refers to the value set that identifies the set of codes the binding refers to.). This is the underlying object with id, value and extensions. The accessor "getValueSet" gives direct access to the value */ public CanonicalType getValueSetElement() { if (this.valueSet == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ElementDefinitionBindingComponent.valueSet"); else if (Configuration.doAutoCreate()) this.valueSet = new CanonicalType(); // bb return this.valueSet; }
/** * @return {@link #inputProfile} (Additional validation information for the in parameters - a single profile that covers all the parameters. The profile is a constraint on the parameters resource as a whole.). This is the underlying object with id, value and extensions. The accessor "getInputProfile" gives direct access to the value */ public CanonicalType getInputProfileElement() { if (this.inputProfile == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create OperationDefinition.inputProfile"); else if (Configuration.doAutoCreate()) this.inputProfile = new CanonicalType(); // bb return this.inputProfile; }
public static ValueSet makeShareable(ValueSet vs) { if (!vs.hasMeta()) vs.setMeta(new Meta()); for (UriType t : vs.getMeta().getProfile()) if (t.getValue().equals("http://hl7.org/fhir/StructureDefinition/shareablevalueset")) return vs; vs.getMeta().getProfile().add(new CanonicalType("http://hl7.org/fhir/StructureDefinition/shareablevalueset")); return vs; }