public interface RepositoryInterface
This service provides a mechanism to store and retrieve artifacts related to the HL7 V2 standard such as message profiles.
| Method Summary | |
|---|---|
java.lang.String |
bind(java.lang.String profileOID,
java.lang.String resourceOID)
This method binds a profile and a resource together. |
boolean |
bindAnotherResource(java.lang.String resourceOID,
java.lang.String handleOID)
This method binds an additional resource to a known handle OID. |
boolean |
bindWithOID(java.lang.String profileOID,
java.lang.String resourceOID,
java.lang.String handleOID)
This method binds a profile and a resource together to a known handle OID. |
java.lang.String[] |
getBindings(java.lang.String handleOID)
Use this method to retrieve a set of OIDs that are bound to a handle OID. |
java.lang.String |
getLastExceptionMessage()
Get the message of the last exception caught. |
java.lang.String |
getProfile(java.lang.String oid)
|
java.lang.String |
getResource(java.lang.String oid)
|
java.lang.String |
loadProfile(java.lang.String xmlProfile)
Load a profile into the repository. |
boolean |
loadProfileWithOID(java.lang.String xmlProfile,
java.lang.String oid)
Load a profile (xmlProfile) into the repository and associated an object identifier (OID) with it. |
java.lang.String |
loadResource(java.lang.String xmlResource)
Load a resource into the repository. |
boolean |
loadResourceWithOID(java.lang.String xmlResource,
java.lang.String oid)
Load a resource (xmlResource) into the repository and associated an object identifier (OID) with it. |
boolean |
queryRepository(java.lang.String oid)
|
java.lang.String[] |
queryRepositoryForHandles()
Use this method to get a list of the handles in the repository. |
java.lang.String[] |
queryRepositoryForProfiles()
|
java.lang.String[] |
queryRepositoryForResources()
|
| Method Detail |
|---|
java.lang.String bind(java.lang.String profileOID,
java.lang.String resourceOID)
throws java.lang.Exception
profileOID - an OID referencing a profileresourceOID - an OID referencing a resource
java.lang.Exception
boolean bindWithOID(java.lang.String profileOID,
java.lang.String resourceOID,
java.lang.String handleOID)
throws java.lang.Exception
profileOID - an OID referencing a profileresourceOID - an OID referencing a resourcehandleOID - an OID referencing a package of a profile and resource(s)
java.lang.Exception
boolean bindAnotherResource(java.lang.String resourceOID,
java.lang.String handleOID)
throws java.lang.Exception
resourceOID - an OID referencing the resource to bindhandleOID - an OID referencing a package of a profile and resource(s)
java.lang.Exception
java.lang.String[] getBindings(java.lang.String handleOID)
throws java.lang.Exception
handleOID - an object identifier referencing a handle to a profile and possible resources
java.lang.Exception
java.lang.String loadProfile(java.lang.String xmlProfile)
throws java.lang.Exception
xmlProfile - an HL7 version message profile. The profile is an XML document
that follows the rules given in the HL7 version profile schema.
java.lang.Exception
boolean loadProfileWithOID(java.lang.String xmlProfile,
java.lang.String oid)
throws java.lang.Exception
xmlProfile - an HL7 version message profile. The profile is an XML document
that follows the rules given in the HL7 version profile schema.oid - an object identifier referencing a profile
java.lang.Exception
java.lang.String getProfile(java.lang.String oid)
throws java.lang.Exception
oid - an object identifier referencing a profile
java.lang.Exception
java.lang.String loadResource(java.lang.String xmlResource)
throws java.lang.Exception
xmlResource - a resource that is represented as XML file
java.lang.Exception
boolean loadResourceWithOID(java.lang.String xmlResource,
java.lang.String oid)
throws java.lang.Exception
xmlResource - a resource that is represented as XML file
oid - an object identifier referencing a resource
java.lang.Exception
java.lang.String getResource(java.lang.String oid)
throws java.lang.Exception
oid - an object identifier referencing a resource
java.lang.Exception
boolean queryRepository(java.lang.String oid)
throws java.lang.Exception
oid - an object identifier referencing a profile
java.lang.Exception
java.lang.String[] queryRepositoryForProfiles()
throws java.lang.Exception
java.lang.Exception
java.lang.String[] queryRepositoryForResources()
throws java.lang.Exception
java.lang.Exception
java.lang.String[] queryRepositoryForHandles()
throws java.lang.Exception
java.lang.Exception
java.lang.String getLastExceptionMessage()
throws java.lang.Exception
java.lang.Exception