Class TestScript.MetadataCapability

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.TestScript.MetadataCapability
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:
TestScript

public static class TestScript.MetadataCapability extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: TestScript.metadata.capability ()

Definition: Capabilities that must exist and are assumed to function correctly on the FHIR server being tested.

See Also:
Serialized Form
  • 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
    • getRequiredElement

      public ca.uhn.fhir.model.primitive.BooleanDt getRequiredElement()
      Gets the value(s) for required (). creating it if it does not exist. Will not return null.

      Definition: Whether or not the test execution will require the given capabilities of the server in order for this test script to execute.

    • getRequired

      public Boolean getRequired()
      Gets the value(s) for required (). creating it if it does not exist. This method may return null.

      Definition: Whether or not the test execution will require the given capabilities of the server in order for this test script to execute.

    • setRequired

      public TestScript.MetadataCapability setRequired(ca.uhn.fhir.model.primitive.BooleanDt theValue)
      Sets the value(s) for required ()

      Definition: Whether or not the test execution will require the given capabilities of the server in order for this test script to execute.

    • setRequired

      public TestScript.MetadataCapability setRequired(boolean theBoolean)
      Sets the value for required ()

      Definition: Whether or not the test execution will require the given capabilities of the server in order for this test script to execute.

    • getValidatedElement

      public ca.uhn.fhir.model.primitive.BooleanDt getValidatedElement()
      Gets the value(s) for validated (). creating it if it does not exist. Will not return null.

      Definition: Whether or not the test execution will validate the given capabilities of the server in order for this test script to execute.

    • getValidated

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

      Definition: Whether or not the test execution will validate the given capabilities of the server in order for this test script to execute.

    • setValidated

      public TestScript.MetadataCapability setValidated(ca.uhn.fhir.model.primitive.BooleanDt theValue)
      Sets the value(s) for validated ()

      Definition: Whether or not the test execution will validate the given capabilities of the server in order for this test script to execute.

    • setValidated

      public TestScript.MetadataCapability setValidated(boolean theBoolean)
      Sets the value for validated ()

      Definition: Whether or not the test execution will validate the given capabilities of the server in order for this test script to execute.

    • 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: Description of the capabilities that this test script is requiring the server to support.

    • getDescription

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

      Definition: Description of the capabilities that this test script is requiring the server to support.

    • setDescription

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

      Definition: Description of the capabilities that this test script is requiring the server to support.

    • setDescription

      Sets the value for description ()

      Definition: Description of the capabilities that this test script is requiring the server to support.

    • getDestinationElement

      public ca.uhn.fhir.model.primitive.IntegerDt getDestinationElement()
      Gets the value(s) for destination (). creating it if it does not exist. Will not return null.

      Definition: Which server these requirements apply to.

    • getDestination

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

      Definition: Which server these requirements apply to.

    • setDestination

      public TestScript.MetadataCapability setDestination(ca.uhn.fhir.model.primitive.IntegerDt theValue)
      Sets the value(s) for destination ()

      Definition: Which server these requirements apply to.

    • setDestination

      public TestScript.MetadataCapability setDestination(int theInteger)
      Sets the value for destination ()

      Definition: Which server these requirements apply to.

    • getLink

      public List<ca.uhn.fhir.model.primitive.UriDt> getLink()
      Gets the value(s) for link (). creating it if it does not exist. Will not return null.

      Definition: Links to the FHIR specification that describes this interaction and the resources involved in more detail.

    • setLink

      public TestScript.MetadataCapability setLink(List<ca.uhn.fhir.model.primitive.UriDt> theValue)
      Sets the value(s) for link ()

      Definition: Links to the FHIR specification that describes this interaction and the resources involved in more detail.

    • addLink

      public ca.uhn.fhir.model.primitive.UriDt addLink()
      Adds and returns a new value for link ()

      Definition: Links to the FHIR specification that describes this interaction and the resources involved in more detail.

    • addLink

      public TestScript.MetadataCapability addLink(ca.uhn.fhir.model.primitive.UriDt theValue)
      Adds a given new value for link ()

      Definition: Links to the FHIR specification that describes this interaction and the resources involved in more detail.

      Parameters:
      theValue - The link to add (must not be null)
    • getLinkFirstRep

      public ca.uhn.fhir.model.primitive.UriDt getLinkFirstRep()
      Gets the first repetition for link (), creating it if it does not already exist.

      Definition: Links to the FHIR specification that describes this interaction and the resources involved in more detail.

    • addLink

      Adds a new value for link ()

      Definition: Links to the FHIR specification that describes this interaction and the resources involved in more detail.

      Returns:
      Returns a reference to this object, to allow for simple chaining.
    • getConformance

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

      Definition: Minimum conformance required of server for test script to execute successfully. If server does not meet at a minimum the reference conformance definition, then all tests in this script are skipped.

    • setConformance

      Sets the value(s) for conformance ()

      Definition: Minimum conformance required of server for test script to execute successfully. If server does not meet at a minimum the reference conformance definition, then all tests in this script are skipped.