Enum Class PixmProfile
- All Implemented Interfaces:
Serializable, Comparable<PixmProfile>, Constable, IheFhirProfile
Enumeration of PIXm profile definitions for ITI-83 (Mobile Patient Identifier Cross-reference Query)
and ITI-104 (Patient Identity Feed FHIR).
This enum defines the FHIR profiles used in the PIXm transactions, including the Parameters resources for input and output of the $ihe-pix operation and the Patient resource of the feed.
- Since:
- 5.2
- Author:
- Christian Ohr
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface IheFhirProfile
IHE_ITI_PREFIX -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends IBaseResource> Gets the resource class associated with this profilegetUrl()Gets the canonical URL of the profilebooleanhasProfile(Resource resource) Checks if the resource has this profilestatic Optional<PixmProfile> profileForResource(IBaseResource resource) static Optional<PixmProfile> profileForUrl(String url) static voidregisterDefaultTypes(FhirContext fhirContext) Registers all the profiles and implementing classes in theFhirContextvoidsetProfile(Resource resource) Set the Meta/Profile of the resourcestatic PixmProfileReturns the enum constant of this class with the specified name.static PixmProfile[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PIXM_QUERY_PARAMETERS_IN
-
PIXM_QUERY_PARAMETERS_OUT
-
PIXM_PATIENT
-
-
Field Details
-
PIXM_QUERY_PARAMETERS_IN_PROFILE
- See Also:
-
PIXM_QUERY_PARAMETERS_OUT_PROFILE
- See Also:
-
PIXM_PATIENT_PROFILE
- See Also:
-
PIXM_CONSUMER_AUDIT_PROFILE
- See Also:
-
PIXM_MANAGER_AUDIT_PROFILE
- See Also:
-
PIXM_FEED_CREATE_MANAGER_AUDIT_PROFILE
- See Also:
-
PIXM_FEED_UPDATE_MANAGER_AUDIT_PROFILE
- See Also:
-
PIXM_FEED_DELETE_MANAGER_AUDIT_PROFILE
- See Also:
-
PIXM_FEED_UPDATE_SOURCE_AUDIT_PROFILE
- See Also:
-
PIXM_FEED_DELETE_SOURCE_AUDIT_PROFILE
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
setProfile
Set the Meta/Profile of the resource- Specified by:
setProfilein interfaceIheFhirProfile- Parameters:
resource- FHIR resource
-
hasProfile
Description copied from interface:IheFhirProfileChecks if the resource has this profile- Specified by:
hasProfilein interfaceIheFhirProfile- Parameters:
resource- FHIR resource- Returns:
- true if the resource has this profile
-
registerDefaultTypes
Registers all the profiles and implementing classes in theFhirContext- Parameters:
fhirContext- FhirContext
-
profileForResource
-
profileForUrl
-
getUrl
Description copied from interface:IheFhirProfileGets the canonical URL of the profile- Specified by:
getUrlin interfaceIheFhirProfile- Returns:
- the profile URL
-
getResourceClass
Description copied from interface:IheFhirProfileGets the resource class associated with this profile- Specified by:
getResourceClassin interfaceIheFhirProfile- Returns:
- the resource class, or null if not applicable
-