Class ProfileExtractor
java.lang.Object
de.gematik.bbriccs.fhir.validation.ProfileExtractor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextractProfile(String content) booleanisUnprofiledSearchSet(String content) For type hinting, it is required to know if the given resource is a searchset bundle without any explicit profile.
-
Constructor Details
-
ProfileExtractor
public ProfileExtractor()
-
-
Method Details
-
extractProfile
-
isUnprofiledSearchSet
For type hinting, it is required to know if the given resource is a searchset bundle without any explicit profile. In such cases, a resource might contain entries from different profile sets and thus needs to be validated differently- Parameters:
content- to be encoded- Returns:
- true if the content is a searchset without an explicit profile and false otherwise
-