|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ohf.ihe.xds.metadata.extract.cdar2.CDAR2Extractor
public class CDAR2Extractor
Extracts XDS Document Entry Metadata from generic CDA R2 document
| Field Summary | |
|---|---|
static java.util.HashMap |
ADMIN_GENDER_TABLE_001
Map between CDA R2 Administrative Gender codes and HL7v2.5 Table 001(Administrative Sex). |
static java.lang.String |
DESCRIPTOR
Descriptor for Extractor |
| Constructor Summary | |
|---|---|
CDAR2Extractor(POCDMT000040ClinicalDocument cda)
Loads CDA Document |
|
| Method Summary | |
|---|---|
DocumentEntryType |
extract()
Entry point to invoke extraction process. |
AuthorType[] |
extractAuthors()
Extracts the relevant authorInstitution, authorPerson, authorRole and authorSpeciality information from the CDA: ClinicalDocument/author/assignedAuthor. |
AvailabilityStatusType |
extractAvailabilityStatus()
CDA R2 document header does not contain information corresponding to availablity status metadata. |
CodedMetadataType |
extractClassCode()
Extracts the relevant classCode information from the CDA: ClinicalDocument/code. |
InternationalStringType |
extractComments()
CDA R2 document header does not contain information corresponding to comments metadata. |
CodedMetadataType |
extractConfidentialityCode()
Extracts the relevant confidentialityCode information from the CDA: ClinicalDocument/confidentialityCode. |
java.lang.String |
extractCreationTime()
Extracts the relevant creationTime information from the CDA: ClinicalDocument/effectiveTime. |
java.lang.String |
extractEntryUUID()
DocumentEntry.entryUUID is an XDS specific attribute and outside the scope of any CDA R2 document. |
CodedMetadataType[] |
extractEventCodes()
This extraction routine, at this point, does not attempt to extract event code metadata from a generic CDA R2 document. |
CodedMetadataType |
extractFormatCode()
DocumentEntry.formatCode is an XDS specific attribute and outside the scope of any CDA R2 document. |
java.lang.String |
extractHash()
DocumentEntry.hash is a comptuted value and outside the scope of any CDA R2 document. |
CodedMetadataType |
extractHealthCareFacilityTypeCode()
Extracts the relevant healthcareFacilityTypeCode information from the CDA: ClinicalDocument/componentOf/encompassingEncounter/location/code Note: healthcareFacilityTypeCode and practiceSettingCode data sources are the same in the CDA |
java.lang.String |
extractLanguageCode()
Extracts the relevant languageCode information from the CDA: ClinicalDocument/languageCode |
XCN |
extractLegalAuthenticator()
Extracts the relevant legalAuthenticator information from the CDA: ClinicalDocument/legalAuthenticator/assignedEntity/id and ClinicalDocument/legalAuthenticator/assignedEntity/assignedPerson/name NOTES: 1. |
java.lang.String |
extractMimeType()
DocumentEntry.mimeType is an XDS specific attribute and outside the scope of any CDA R2 document. |
java.lang.String |
extractParentDocumentId()
DocumentEntry.parentDocumentId expresses the id of a parent document to this CDA document in the XDS Regisry. |
ParentDocumentRelationshipType |
extractParentDocumentRelationship()
DocumentEntry.parentDocumentRelationship expresses the relationship of this CDA to another document in the XDS Regisry. |
CX |
extractPatientId()
DocumentEntry.patientId expresses the Affinity Domain level patient id used in the XDS Regisry. |
CodedMetadataType |
extractPracticeSettingCode()
Extracts the relevant practiceSettingCode information from the CDA: ClinicalDocument/componentOf/encompassingEncounter/location/code Note: healthcareFacilityTypeCode and practiceSettingCode data sources are the same in the CDA |
java.lang.String |
extractServiceStartTime()
Extracts the relevant serviceStartTime information from the CDA: ClinicalDocument/documentationOf/serviceEvent/effectiveTime NOTES: 1. |
java.lang.String |
extractServiceStopTime()
Extracts the relevant serviceStopTime information from the CDA: ClinicalDocument/documentationOf/serviceEvent/effectiveTime NOTES: 1. |
java.lang.String |
extractSize()
DocumentEntry.size is a comptuted value and outside the scope of any CDA R2 document. |
CX |
extractSourcePatientId()
Extracts the relevant sourcePatientId information from the CDA: ClinicalDocument/recordTarget/patientRole/id NOTES: 1. |
SourcePatientInfoType |
extractSourcePatientInfo()
Extracts the relevant sourcePatientInfo information from the CDA: ClinicalDocument/recordTarget/patientRole NOTES: 1. |
InternationalStringType |
extractTitle()
Extracts the relevant title information from the CDA: ClinicalDocument/title |
CodedMetadataType |
extractTypeCode()
Extracts the relevant typeCode information from the CDA: ClinicalDocument/code Note: typeCode and classCode data sources are the same in the CDA |
java.lang.String |
extractUniqueId()
Extracts the relevant uniqueId information from the CDA: ClinicalDocument/id (format is id@root^id@extension) |
java.lang.String |
extractURI()
DocumentEntry.URI is a comptuted value and outside the scope of any CDA R2 document. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DESCRIPTOR
public static final java.util.HashMap ADMIN_GENDER_TABLE_001
| Constructor Detail |
|---|
public CDAR2Extractor(POCDMT000040ClinicalDocument cda)
cda - the CDA R2 document to extract metadata from for the document entry metadata.
Cannot be null.| Method Detail |
|---|
public DocumentEntryType extract()
throws MetadataExtractionException
extract in interface DocumentEntryExtractorMetadataExtractionExceptionpublic AuthorType[] extractAuthors()
extractAuthors in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractAuthors()public AvailabilityStatusType extractAvailabilityStatus()
extractAvailabilityStatus in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractAvailabilityStatus()public CodedMetadataType extractClassCode()
extractClassCode in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractClassCode()public InternationalStringType extractComments()
extractComments in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractComments()public CodedMetadataType extractConfidentialityCode()
extractConfidentialityCode in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractConfidentialityCode()public java.lang.String extractCreationTime()
extractCreationTime in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractCreationTime()public java.lang.String extractEntryUUID()
extractEntryUUID in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractEntryUUID()public CodedMetadataType[] extractEventCodes()
extractEventCodes in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractEventCodes()public CodedMetadataType extractFormatCode()
extractFormatCode in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractFormatCode()public java.lang.String extractHash()
extractHash in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractHash()public CodedMetadataType extractHealthCareFacilityTypeCode()
extractHealthCareFacilityTypeCode in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractHealthCareFacilityTypeCode()public java.lang.String extractLanguageCode()
extractLanguageCode in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractLanguageCode()public XCN extractLegalAuthenticator()
extractLegalAuthenticator in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractLanguageCode()public java.lang.String extractMimeType()
extractMimeType in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractMimeType()public java.lang.String extractParentDocumentId()
extractParentDocumentId in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractParentDocumentId()public ParentDocumentRelationshipType extractParentDocumentRelationship()
extractParentDocumentRelationship in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractParentDocumentRelationship()public CX extractPatientId()
extractPatientId in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractPatientId()public CodedMetadataType extractPracticeSettingCode()
extractPracticeSettingCode in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractPracticeSettingCode()public java.lang.String extractServiceStartTime()
extractServiceStartTime in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractServiceStartTime()public java.lang.String extractServiceStopTime()
extractServiceStopTime in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractServiceStopTime()public java.lang.String extractSize()
extractSize in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractSize()public CX extractSourcePatientId()
extractSourcePatientId in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractSourcePatientId()public SourcePatientInfoType extractSourcePatientInfo()
extractSourcePatientInfo in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractSourcePatientInfo()public InternationalStringType extractTitle()
extractTitle in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractTitle()public CodedMetadataType extractTypeCode()
extractTypeCode in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractTypeCode()public java.lang.String extractURI()
extractURI in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractURI()public java.lang.String extractUniqueId()
extractUniqueId in interface DocumentEntryElementExtractororg.eclipse.ohf.ihe.xds.metadata.extract.DocumentEntryElementExtractor.extractUniqueId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||