Enum MhdProfile
- All Implemented Interfaces:
Serializable
,Comparable<MhdProfile>
,java.lang.constant.Constable
,Mhd421
,MhdVersion
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface org.openehealth.ipf.commons.ihe.fhir.mhd.MhdVersion
MhdVersion.Version
-
Enum Constant Summary
Enum ConstantDescription -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptiongetUrl()
boolean
hasProfile
(org.hl7.fhir.r4.model.Resource resource) static Optional<MhdProfile>
profileForResource
(IBaseResource resource) static Optional<MhdProfile>
profileForUrl
(String url) static void
registerDefaultTypes
(FhirContext fhirContext) Registers all the profiles and implementing classes in theFhirContext
void
setProfile
(org.hl7.fhir.r4.model.Resource resource) Set the Meta/Profile of the resourcestatic MhdProfile
Returns the enum constant of this type with the specified name.static MhdProfile[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface org.openehealth.ipf.commons.ihe.fhir.mhd.Mhd421
supportsVersion
-
Enum Constant Details
-
ITI65_MINIMAL_BUNDLE
-
ITI65_COMPREHENSIVE_BUNDLE
-
ITI65_UNCONTAINED_COMPREHENSIVE_BUNDLE
-
ITI65_PROVIDE_DOCUMENT_BUNDLE_RESPONSE
-
ITI66_FIND_DOCUMENT_LISTS_RESPONSE_BUNDLE
-
ITI67_FIND_DOCUMENT_REFERENCES_RESPONSE_BUNDLE
-
ITI67_FIND_DOCUMENT_REFERENCES_COMPREHENSIVE_RESPONSE_BUNDLE
-
MHD_LIST
-
COMPREHENSIVE_SUBMISSIONSET_TYPE_LIST
-
UNCONTAINED_COMPREHENSIVE_SUBMISSIONSET_TYPE_LIST
-
MINIMAL_SUBMISSIONSET_TYPE_LIST
-
MINIMAL_FOLDER_TYPE_LIST
-
COMPREHENSIVE_FOLDER_TYPE_LIST
-
COMPREHENSIVE_DOCUMENT_REFERENCE
-
UNCONTAINED_COMPREHENSIVE_DOCUMENT_REFERENCE
-
MINIMAL_DOCUMENT_REFERENCE
-
SIMPLIFIED_PUBLISH_DOCUMENT_REFERENCE
-
DOCUMENT_REFERENCE_PATCH_PARAMETERS
-
GENERATE_METADATA_PARAMETERS_IN
-
GENERATE_METADATA_PARAMETERS_OUT
-
DESIGNATION_TYPE
-
AUTHOR_ORG
-
INTENDED_RECIPIENT
-
SOURCE_ID
-
SUBMISSIONSET_UNIQUE_IDENTIFIER
-
UNIQUE_ID_IDENTIFIER
-
ENTRY_UUID_IDENTIFIER
-
-
Field Details
-
ITI65_MINIMAL_BUNDLE_PROFILE
- See Also:
-
ITI65_COMPREHENSIVE_BUNDLE_PROFILE
- See Also:
-
ITI65_UNCONTAINED_COMPREHENSIVE_BUNDLE_PROFILE
- See Also:
-
ITI65_PROVIDE_DOCUMENT_BUNDLE_RESPONSE_PROFILE
- See Also:
-
ITI66_FIND_DOCUMENT_LISTS_RESPONSE_BUNDLE_PROFILE
- See Also:
-
ITI67_FIND_DOCUMENT_REFERENCES_RESPONSE_BUNDLE_PROFILE
- See Also:
-
ITI67_FIND_DOCUMENT_REFERENCES_COMPREHENSIVE_RESPONSE_BUNDLE_PROFILE
- See Also:
-
MHD_LIST_PROFILE
- See Also:
-
COMPREHENSIVE_SUBMISSIONSET_TYPE_LIST_PROFILE
- See Also:
-
UNCONTAINED_COMPREHENSIVE_SUBMISSIONSET_TYPE_LIST_PROFILE
- See Also:
-
MINIMAL_SUBMISSIONSET_TYPE_LIST_PROFILE
- See Also:
-
MINIMAL_FOLDER_TYPE_LIST_PROFILE
- See Also:
-
COMPREHENSIVE_FOLDER_TYPE_LIST_PROFILE
- See Also:
-
COMPREHENSIVE_DOCUMENT_REFERENCE_PROFILE
- See Also:
-
UNCONTAINED_COMPREHENSIVE_DOCUMENT_REFERENCE_PROFILE
- See Also:
-
MINIMAL_DOCUMENT_REFERENCE_PROFILE
- See Also:
-
SIMPLIFIED_PUBLISH_DOCUMENT_REFERENCE_PROFILE
- See Also:
-
DOCUMENT_REFERENCE_PATCH_PARAMETERS_PROFILE
- See Also:
-
GENERATE_METADATA_PARAMETERS_IN_PROFILE
- See Also:
-
GENERATE_METADATA_PARAMETERS_OUT_PROFILE
- See Also:
-
DESIGNATION_TYPE_PROFILE
- See Also:
-
AUTHOR_ORG_PROFILE
- See Also:
-
INTENDED_RECIPIENT_PROFILE
- See Also:
-
SOURCE_ID_PROFILE
- See Also:
-
SUBMISSIONSET_UNIQUE_IDENTIFIER_PROFILE
- See Also:
-
UNIQUE_ID_IDENTIFIER_PROFILE
- See Also:
-
ENTRY_UUID_IDENTIFIER_PROFILE
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
setProfile
public void setProfile(org.hl7.fhir.r4.model.Resource resource) Set the Meta/Profile of the resource- Parameters:
resource
- FHIR resource
-
hasProfile
public boolean hasProfile(org.hl7.fhir.r4.model.Resource resource) -
getStructureDefinitionResourceName
-
registerDefaultTypes
Registers all the profiles and implementing classes in theFhirContext
- Parameters:
fhirContext
- FhirContext
-
profileForResource
-
profileForUrl
-
getUrl
-
getStructureDefinitionName
-