Packages

trait SchemaVisitor[DT, SF] extends AnyRef

A visitor for HAPI Fhir schema traversal.

DT

the type which represents the final result of traversing a resource (or composite), e.g: for a schema converter this can be org.apache.spark.sql.types.DataType.

SF

the type which represents the result of traversing an element of a composite, e.g: for a schema converter this can be org.apache.spark.sql.types.StructField.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SchemaVisitor
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def aggregateComposite(compositeCtx: CompositeCtx[DT, SF], sfs: Seq[SF]): DT

    Transforms the SF representations of the composite elements to the DT representation of the composite.

    Transforms the SF representations of the composite elements to the DT representation of the composite.

    compositeCtx

    the composite context.

    sfs

    the list of the SF representations of the composite elements.

    returns

    the DT representation of the composite.

  2. abstract def combineChoiceElements(ctx: ChoiceChildCtx[DT, SF], seq: Seq[Seq[SF]]): Seq[SF]
  3. abstract def getValidChoiceTypes(choice: RuntimeChildChoiceDefinition): Seq[Class[_ <: IBase]]

    Returns the list of valid child types of given choice.

    Returns the list of valid child types of given choice.

    choice

    the choice child definition.

    returns

    list of valid types for this

  4. abstract def visitElement(elementCtx: ElementCtx[DT, SF]): Seq[SF]

    Visitor method for a HAPI Element definition

    Visitor method for a HAPI Element definition

    elementCtx

    the element context.

    returns

    the list of the SF representations of the element.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def getOrderedListOfChoiceChildNames(choice: RuntimeChildChoiceDefinition): Seq[String]

    Returns a deterministically ordered list of child names of a choice.

    Returns a deterministically ordered list of child names of a choice.

    choice

    the choice child definition.

    returns

    ordered list of child names of the choice.

  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. def visitChild(childCtx: ChildCtx[DT, SF]): Seq[SF]

    Visitor method for HAPI RuntimeChild definition.

    Visitor method for HAPI RuntimeChild definition.

    childCtx

    the child context.

    returns

    the list of the SF representations of the elements of the child definition.

  18. def visitChoiceChild(choiceChildCtx: ChoiceChildCtx[DT, SF]): Seq[SF]

    Visitor method for HAPI RuntimeChild definition of a choice.

    Visitor method for HAPI RuntimeChild definition of a choice.

    choiceChildCtx

    the choice child context.

    returns

    the list of the SF representations of the elements of the child definition.

  19. def visitComposite(compositeCtx: CompositeCtx[DT, SF]): DT

    Visitor method for HAPI ElementComposite definition.

    Visitor method for HAPI ElementComposite definition.

    compositeCtx

    the composite element context.

    returns

    DT representation of the composite element.

  20. def visitElementChild(elementChildCtx: ElementChildCtx[DT, SF]): Seq[SF]

    Visitor method for HAPI RuntimeChild definition with a single element.

    Visitor method for HAPI RuntimeChild definition with a single element.

    elementChildCtx

    child context.

    returns

    the list of the SF representations of the elements of the child definition.

  21. def visitResource(resourceCtx: ResourceCtx[DT, SF]): DT

    Visitor method for HAPI Resource definitions.

    Visitor method for HAPI Resource definitions.

    resourceCtx

    the resource context.

    returns

    DT representation of the resource.

  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped