Class DefaultMemberMatchStrategy.MemberMatchPatientSearchCompiler

  • All Implemented Interfaces:
    Visitor
    Enclosing class:
    DefaultMemberMatchStrategy

    public static class DefaultMemberMatchStrategy.MemberMatchPatientSearchCompiler
    extends DefaultVisitor
    Enables the Processing of a Patient Resource into a MultivaluedMap, which is subsequently used for the Search Operation. Relevant Structure Definition is at {@link http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-patient.html}
    • Constructor Detail

      • MemberMatchPatientSearchCompiler

        public MemberMatchPatientSearchCompiler()
        public constructor which automatically enables child element processing.
    • Method Detail

      • getSearchParameters

        public javax.ws.rs.core.MultivaluedMap<java.lang.String,​java.lang.String> getSearchParameters()
        gets the search parameters
        Returns:
      • visit

        public boolean visit​(java.lang.String elementName,
                             int elementIndex,
                             Identifier identifier)
        Description copied from class: DefaultVisitor
        Delegates to #visit(elementName, elementIndex, Element)
        Specified by:
        visit in interface Visitor
        Overrides:
        visit in class DefaultVisitor
        Returns:
        true if the children of this identifier should be visited; otherwise false
      • visit

        public boolean visit​(java.lang.String elementName,
                             int elementIndex,
                             HumanName humanName)
        Description copied from class: DefaultVisitor
        Delegates to #visit(elementName, elementIndex, Element)
        Specified by:
        visit in interface Visitor
        Overrides:
        visit in class DefaultVisitor
        Returns:
        true if the children of this humanName should be visited; otherwise false
      • visit

        public boolean visit​(java.lang.String elementName,
                             int elementIndex,
                             ContactPoint contactPoint)
        Description copied from class: DefaultVisitor
        Delegates to #visit(elementName, elementIndex, Element)
        Specified by:
        visit in interface Visitor
        Overrides:
        visit in class DefaultVisitor
        Returns:
        true if the children of this contactPoint should be visited; otherwise false
      • visit

        public boolean visit​(java.lang.String elementName,
                             int elementIndex,
                             Code code)
        Description copied from class: DefaultVisitor
        Delegates to #visit(elementName, elementIndex, String)
        Specified by:
        visit in interface Visitor
        Overrides:
        visit in class DefaultVisitor
        Returns:
        true if the children of this code should be visited; otherwise false
      • visit

        public boolean visit​(java.lang.String elementName,
                             int elementIndex,
                             Date date)
        Description copied from class: DefaultVisitor
        Delegates to #visit(elementName, elementIndex, Element)
        Specified by:
        visit in interface Visitor
        Overrides:
        visit in class DefaultVisitor
        Returns:
        true if the children of this date should be visited; otherwise false
      • visit

        public boolean visit​(java.lang.String elementName,
                             int elementIndex,
                             Address address)
        Description copied from class: DefaultVisitor
        Delegates to #visit(elementName, elementIndex, Element)
        Specified by:
        visit in interface Visitor
        Overrides:
        visit in class DefaultVisitor
        Returns:
        true if the children of this address should be visited; otherwise false
      • visit

        public boolean visit​(java.lang.String elementName,
                             int elementIndex,
                             BackboneElement backboneElement)
        Description copied from class: DefaultVisitor
        Delegates to #visit(elementName, elementIndex, Element)
        Specified by:
        visit in interface Visitor
        Overrides:
        visit in class DefaultVisitor
        Returns:
        true if the children of this backboneElement should be visited; otherwise false
      • visit

        public boolean visit​(java.lang.String elementName,
                             int elementIndex,
                             Resource resource)
        Description copied from class: DefaultVisitor
        Delegates to #visit(elementName, elementIndex, Visitable)
        Specified by:
        visit in interface Visitor
        Overrides:
        visit in class DefaultVisitor
        Returns:
        true if the children of this resource should be visited; otherwise false