Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

From the XCAService component side the usage of this interface is as following, when fetching PatientSummary document metadatas:

Code Block
languagejava
//when fetching PatientSummary document metadatas:
DocumentAssociation<PSDocumentMetaData> daPs = documentSearchService.getPSDocumentList(DocumentFactory.createSearchCriteria().add(Criteria.PatientId, "patientId"));

...

And when fetching EPrescriptions metadatas:




//when fetching EPrescriptions metadatas:
List<DocumentAssociation<EPDocumentMetaData>> prescriptions = documentSearchService.getEPDocumentList(DocumentFactory.createSearchCriteria().add(Criteria.PatientId, "patientId"));

...

And when fetching the actual DOM document with metada:




//when fetching the actual DOM document with metada:
EPSOSDocument epsosDoc = documentSearchService.getDocument(DocumentFactory.createSearchCriteria().add(Criteria.DocumentId, "documentId").add(Criteria.PatientId, "patientId").add(Criteria.RepositoryId, 

...

 "repositoryId"));

References

Java SE6 ServiceLoader

...