Enum Class DocumentMetadata.DocumentMetadataExtractionMode
java.lang.Object
java.lang.Enum<DocumentMetadata.DocumentMetadataExtractionMode>
org.projecthusky.common.communication.DocumentMetadata.DocumentMetadataExtractionMode
- All Implemented Interfaces:
Serializable
,Comparable<DocumentMetadata.DocumentMetadataExtractionMode>
,Constable
- Enclosing class:
- DocumentMetadata
public static enum DocumentMetadata.DocumentMetadataExtractionMode
extends Enum<DocumentMetadata.DocumentMetadataExtractionMode>
The Class MetadataExtractionMode
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMinimal (secure) metadata will be extracted if set to default, metadata for the document entries will be extracted as far as this is possible.No metadata will be extracted, automatically -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT_EXTRACTION
Minimal (secure) metadata will be extracted if set to default, metadata for the document entries will be extracted as far as this is possible. if set to false the user of this API has to set all data by himself. Extraction from CDA Documents to Document Entries uses the following mapping (for more details see CDAR2Extractor.pdf in org.openhealthtools.ihe.xds.metadata.extract.cdar2):CDA Metadata to XDS Metadata mapping XDS Metadata Attribute XDS Element creationTime ClinicalDocument/effectiveTime languageCode ClinicalDocument/languageCode/@code legalAuthenticator ClinicalDocument/legalAuthenticator/assignedEntity/id and ClinicalDocument /legalAuthenticator/assignedEntity/assignedPerson/name serviceStartTime ClinicalDocument/documentationOf/serviceEvent/effectiveTime This time is to be in UTC, but without the timezone offset or fractional seconds: [[[[[YYYY]MM]DD]HH]mm]ss]. serviceStopTime ClinicalDocument/documentationOf/serviceEvent/effectiveTime This time is to be in UTC, but without the timezone offset or fractional seconds: [[[[[YYYY]MM]DD]HH]mm]ss] sourcePatientId ClinicalDocument/recordTarget/patientRole/id sourcePatientInfo ClinicalDocument/recordTarget/patientRole title ClinicalDocument/title uniqueId ClinicalDocument/id@extension and ClinicalDocument/id@root
The following attributes will be generated as described, if they are not present in the document entries:Empty document entries attributes generation XDS Metadata Attribute Generated from mimeType the DocumentDescriptor, which has been provided by adding the document creationTime current time uniqueId the docSourceActorOrgId attribute from the DocumentMetadata
-
NO_METADATA_EXTRACTION
No metadata will be extracted, automatically
-
-
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
-