@Test() public void testGetCompartmentResourceTypeInclusionCriteria() throws FHIRSearchException { List<String> results = CompartmentUtil.getCompartmentResourceTypeInclusionCriteria("Patient", "CommunicationRequest"); assertNotNull(results); assertFalse(results.isEmpty()); }
public static List<String> getCompartmentResourceTypeInclusionCriteria(final String compartment, final String resourceType) throws FHIRSearchException { checkValidCompartmentAndResource(compartment, resourceType); return compartmentMap.get(compartment).getParametersByResourceTypeInCompartment(resourceType); }
CompartmentUtil { public static List<String> getCompartmentResourceTypeInclusionCriteria(final String compartment, final String resourceType) throws FHIRSearchException { checkValidCompartmentAndResource(compartment, resourceType); return compartmentMap.get(compartment).getParametersByResourceTypeInCompartment(resourceType); } }
CompartmentUtil { public static List<String> getCompartmentResourceTypeInclusionCriteria(final String compartment, final String resourceType) throws FHIRSearchException { checkValidCompartmentAndResource(compartment, resourceType); return compartmentMap.get(compartment).getParametersByResourceTypeInCompartment(resourceType); } private  CompartmentUtil(); }
CompartmentUtil { public static List<String> getCompartmentResourceTypeInclusionCriteria(final String compartment, final String resourceType) throws FHIRSearchException { checkValidCompartmentAndResource(compartment, resourceType); return compartmentMap.get(compartment).getParametersByResourceTypeInCompartment(resourceType); } private  CompartmentUtil(); static void init(); static final Map<String, CompartmentCache> buildCompartmentMap(); static List<String> getCompartmentResourceTypes(final String compartment); static List<String> getCompartmentResourceTypeInclusionCriteria(final String compartment, final String resourceType); static void checkValidCompartment(final String compartment); static void checkValidCompartmentAndResource(final String compartment, final String resourceType); static void buildCompositeBundle(PrintStream out); }
CompartmentUtil { public static List<String> getCompartmentResourceTypeInclusionCriteria(final String compartment, final String resourceType) throws FHIRSearchException { checkValidCompartmentAndResource(compartment, resourceType); return compartmentMap.get(compartment).getParametersByResourceTypeInCompartment(resourceType); } private  CompartmentUtil(); static void init(); static final Map<String, CompartmentCache> buildCompartmentMap(); static List<String> getCompartmentResourceTypes(final String compartment); static List<String> getCompartmentResourceTypeInclusionCriteria(final String compartment, final String resourceType); static void checkValidCompartment(final String compartment); static void checkValidCompartmentAndResource(final String compartment, final String resourceType); static void buildCompositeBundle(PrintStream out); static final String FHIR_PATH_BUNDLE_ENTRY; static final String RESOURCE; static final String PARSE_EXCEPTION; static final String IO_EXCEPTION; static final String INVALID_COMPARTMENT; static final String INVALID_COMPARTMENT_AND_RESOURCE; static final String FROM_STREAM; }