Package com.ibm.fhir.profile
Class ProfileSupport
- java.lang.Object
-
- com.ibm.fhir.profile.ProfileSupport
-
public final class ProfileSupport extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
HL7_STRUCTURE_DEFINITION_URL_PREFIX
static String
HL7_VALUE_SET_URL_PREFIX
-
Method Summary
-
-
-
Field Detail
-
HL7_STRUCTURE_DEFINITION_URL_PREFIX
public static final String HL7_STRUCTURE_DEFINITION_URL_PREFIX
- See Also:
- Constant Field Values
-
HL7_VALUE_SET_URL_PREFIX
public static final String HL7_VALUE_SET_URL_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
createConstraint
public static Constraint createConstraint(String id, String level, String location, String description, String expression, boolean modelChecked, boolean generated)
-
getBinding
public static ElementDefinition.Binding getBinding(String path)
-
getBindingMap
public static Map<String,ElementDefinition.Binding> getBindingMap(String url)
-
getConstraints
public static List<Constraint> getConstraints(List<String> urls, Class<?> type)
-
getConstraints
public static List<Constraint> getConstraints(Resource resource)
-
getResourceAssertedProfiles
public static List<String> getResourceAssertedProfiles(Resource resource)
-
getConstraints
public static List<Constraint> getConstraints(String url, Class<?> type)
-
getElementDefinition
public static ElementDefinition getElementDefinition(String path)
-
getElementDefinitionMap
public static Map<String,ElementDefinition> getElementDefinitionMap(Class<?> type)
-
getElementDefinitionMap
public static Map<String,ElementDefinition> getElementDefinitionMap(String url)
-
getProfile
public static StructureDefinition getProfile(String url)
-
getProfile
public static StructureDefinition getProfile(String url, Class<?> type)
-
getStructureDefinition
public static StructureDefinition getStructureDefinition(String url)
-
isApplicable
public static boolean isApplicable(StructureDefinition profile, Class<?> type)
-
isProfile
public static boolean isProfile(StructureDefinition structureDefinition)
-
-