Class ImplementationGuide.PackageResource

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.ImplementationGuide.PackageResource
All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement, ca.uhn.fhir.model.api.IElement, ca.uhn.fhir.model.api.IIdentifiableElement, ca.uhn.fhir.model.api.IResourceBlock, ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions, Serializable, org.hl7.fhir.instance.model.api.IBase
Enclosing class:
ImplementationGuide

public static class ImplementationGuide.PackageResource extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: ImplementationGuide.package.resource ()

Definition: A resource that is part of the implementation guide. Conformance resources (value set, structure definition, conformance statements etc.) are obvious candidates for inclusion, but any kind of resource can be included as an example resource

See Also:
  • Constructor Details

  • Method Details

    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
    • getAllPopulatedChildElementsOfType

      public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
      Specified by:
      getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElement
    • getPurposeElement

      public ca.uhn.fhir.model.primitive.BoundCodeDt<GuideResourcePurposeEnum> getPurposeElement()
      Gets the value(s) for purpose (). creating it if it does not exist. Will not return null.

      Definition: Why the resource is included in the guide

    • getPurpose

      public String getPurpose()
      Gets the value(s) for purpose (). creating it if it does not exist. This method may return null.

      Definition: Why the resource is included in the guide

    • setPurpose

      public ImplementationGuide.PackageResource setPurpose(ca.uhn.fhir.model.primitive.BoundCodeDt<GuideResourcePurposeEnum> theValue)
      Sets the value(s) for purpose ()

      Definition: Why the resource is included in the guide

    • setPurpose

      Sets the value(s) for purpose ()

      Definition: Why the resource is included in the guide

    • getNameElement

      public ca.uhn.fhir.model.primitive.StringDt getNameElement()
      Gets the value(s) for name (). creating it if it does not exist. Will not return null.

      Definition: A human assigned name for the resource. All resources SHOULD have a name, but the name may be extracted from the resource (e.g. ValueSet.name)

    • getName

      public String getName()
      Gets the value(s) for name (). creating it if it does not exist. This method may return null.

      Definition: A human assigned name for the resource. All resources SHOULD have a name, but the name may be extracted from the resource (e.g. ValueSet.name)

    • setName

      public ImplementationGuide.PackageResource setName(ca.uhn.fhir.model.primitive.StringDt theValue)
      Sets the value(s) for name ()

      Definition: A human assigned name for the resource. All resources SHOULD have a name, but the name may be extracted from the resource (e.g. ValueSet.name)

    • setName

      Sets the value for name ()

      Definition: A human assigned name for the resource. All resources SHOULD have a name, but the name may be extracted from the resource (e.g. ValueSet.name)

    • getDescriptionElement

      public ca.uhn.fhir.model.primitive.StringDt getDescriptionElement()
      Gets the value(s) for description (). creating it if it does not exist. Will not return null.

      Definition: A description of the reason that a resource has been included in the implementation guide

    • getDescription

      Gets the value(s) for description (). creating it if it does not exist. This method may return null.

      Definition: A description of the reason that a resource has been included in the implementation guide

    • setDescription

      public ImplementationGuide.PackageResource setDescription(ca.uhn.fhir.model.primitive.StringDt theValue)
      Sets the value(s) for description ()

      Definition: A description of the reason that a resource has been included in the implementation guide

    • setDescription

      Sets the value for description ()

      Definition: A description of the reason that a resource has been included in the implementation guide

    • getAcronymElement

      public ca.uhn.fhir.model.primitive.StringDt getAcronymElement()
      Gets the value(s) for acronym (). creating it if it does not exist. Will not return null.

      Definition: A short code that may be used to identify the resource throughout the implementation guide

    • getAcronym

      public String getAcronym()
      Gets the value(s) for acronym (). creating it if it does not exist. This method may return null.

      Definition: A short code that may be used to identify the resource throughout the implementation guide

    • setAcronym

      public ImplementationGuide.PackageResource setAcronym(ca.uhn.fhir.model.primitive.StringDt theValue)
      Sets the value(s) for acronym ()

      Definition: A short code that may be used to identify the resource throughout the implementation guide

    • setAcronym

      Sets the value for acronym ()

      Definition: A short code that may be used to identify the resource throughout the implementation guide

    • getSource

      public ca.uhn.fhir.model.api.IDatatype getSource()
      Gets the value(s) for source[x] (). creating it if it does not exist. Will not return null.

      Definition: Where this resource is found

    • setSource

      public ImplementationGuide.PackageResource setSource(ca.uhn.fhir.model.api.IDatatype theValue)
      Sets the value(s) for source[x] ()

      Definition: Where this resource is found

    • getExampleFor

      Gets the value(s) for exampleFor (). creating it if it does not exist. Will not return null.

      Definition: Another resource that this resource is an example for. This is mostly used for resources that are included as examples of StructureDefinitions

    • setExampleFor

      Sets the value(s) for exampleFor ()

      Definition: Another resource that this resource is an example for. This is mostly used for resources that are included as examples of StructureDefinitions