Class DefaultMemberMatchStrategy.MemberMatchPatientSearchCompiler
- java.lang.Object
-
- org.linuxforhealth.fhir.model.visitor.DefaultVisitor
-
- org.linuxforhealth.fhir.operation.davinci.hrex.provider.strategy.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}
-
-
Field Summary
-
Fields inherited from class org.linuxforhealth.fhir.model.visitor.DefaultVisitor
visitChildren
-
-
Constructor Summary
Constructors Constructor Description MemberMatchPatientSearchCompiler()
public constructor which automatically enables child element processing.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String>
getSearchParameters()
gets the search parametersboolean
visit(java.lang.String elementName, int elementIndex, Resource resource)
Delegates to#visit(elementName, elementIndex, Visitable)
boolean
visit(java.lang.String elementName, int elementIndex, Address address)
Delegates to#visit(elementName, elementIndex, Element)
boolean
visit(java.lang.String elementName, int elementIndex, BackboneElement backboneElement)
Delegates to#visit(elementName, elementIndex, Element)
boolean
visit(java.lang.String elementName, int elementIndex, Code code)
Delegates to#visit(elementName, elementIndex, String)
boolean
visit(java.lang.String elementName, int elementIndex, ContactPoint contactPoint)
Delegates to#visit(elementName, elementIndex, Element)
boolean
visit(java.lang.String elementName, int elementIndex, Date date)
Delegates to#visit(elementName, elementIndex, Element)
boolean
visit(java.lang.String elementName, int elementIndex, HumanName humanName)
Delegates to#visit(elementName, elementIndex, Element)
boolean
visit(java.lang.String elementName, int elementIndex, Identifier identifier)
Delegates to#visit(elementName, elementIndex, Element)
-
Methods inherited from class org.linuxforhealth.fhir.model.visitor.DefaultVisitor
postVisit, postVisit, preVisit, preVisit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitEnd, visitEnd, visitEnd, visitStart, visitStart, visitStart
-
-
-
-
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 interfaceVisitor
- Overrides:
visit
in classDefaultVisitor
- 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 interfaceVisitor
- Overrides:
visit
in classDefaultVisitor
- 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 interfaceVisitor
- Overrides:
visit
in classDefaultVisitor
- 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 interfaceVisitor
- Overrides:
visit
in classDefaultVisitor
- 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 interfaceVisitor
- Overrides:
visit
in classDefaultVisitor
- 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 interfaceVisitor
- Overrides:
visit
in classDefaultVisitor
- 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 interfaceVisitor
- Overrides:
visit
in classDefaultVisitor
- 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 interfaceVisitor
- Overrides:
visit
in classDefaultVisitor
- Returns:
- true if the children of this resource should be visited; otherwise false
-
-