Class MdmLinkExpandSvc

java.lang.Object
ca.uhn.fhir.mdm.svc.MdmLinkExpandSvc
All Implemented Interfaces:
IMdmLinkExpandSvc

@Service @Transactional public class MdmLinkExpandSvc extends Object implements IMdmLinkExpandSvc
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    expandMdmByGoldenResourceId(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, ca.uhn.fhir.model.primitive.IdDt theId)
     
    expandMdmByGoldenResourceId(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId<?> theGoldenResourcePid)
    Given a PID of a golden resource, perform MDM expansion and return all the resource IDs of all resources that are MDM-Matched to this golden resource.
    expandMdmByGoldenResourcePid(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId<?> theGoldenResourcePid)
    Given a resource ID of a golden resource, perform MDM expansion and return all the resource IDs of all resources that are MDM-Matched to this golden resource.
    expandMdmBySourceResource(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, org.hl7.fhir.instance.model.api.IBaseResource theResource)
    Given a source resource, perform MDM expansion and return all the resource IDs of all resources that are MDM-Matched to this resource.
    expandMdmBySourceResourceId(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, org.hl7.fhir.instance.model.api.IIdType theId)
    Given a resource ID of a source resource, perform MDM expansion and return all the resource IDs of all resources that are MDM-Matched to this resource.
    expandMdmBySourceResourcePid(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId<?> theSourceResourcePid)
    Given a partition ID and a PID of a source resource, perform MDM expansion and return all the resource IDs of all resources that are MDM-Matched to this resource.
    flattenPidTuplesToSet(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId<?> theInitialPid, List<MdmPidTuple<?>> theGoldenPidSourcePidTuples)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • expandMdmBySourceResource

      public Set<String> expandMdmBySourceResource(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, org.hl7.fhir.instance.model.api.IBaseResource theResource)
      Given a source resource, perform MDM expansion and return all the resource IDs of all resources that are MDM-Matched to this resource.
      Specified by:
      expandMdmBySourceResource in interface IMdmLinkExpandSvc
      Parameters:
      theResource - The resource to MDM-Expand
      Returns:
      A set of strings representing the FHIR IDs of the expanded resources.
    • expandMdmBySourceResourceId

      public Set<String> expandMdmBySourceResourceId(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, org.hl7.fhir.instance.model.api.IIdType theId)
      Given a resource ID of a source resource, perform MDM expansion and return all the resource IDs of all resources that are MDM-Matched to this resource.
      Specified by:
      expandMdmBySourceResourceId in interface IMdmLinkExpandSvc
      Parameters:
      theRequestPartitionId - The partition ID associated with the request.
      theId - The Resource ID of the resource to MDM-Expand
      Returns:
      A set of strings representing the FHIR ids of the expanded resources.
    • expandMdmBySourceResourcePid

      public Set<String> expandMdmBySourceResourcePid(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId<?> theSourceResourcePid)
      Given a partition ID and a PID of a source resource, perform MDM expansion and return all the resource IDs of all resources that are MDM-Matched to this resource.
      Specified by:
      expandMdmBySourceResourcePid in interface IMdmLinkExpandSvc
      Parameters:
      theRequestPartitionId - The partition ID associated with the request.
      theSourceResourcePid - The PID of the resource to MDM-Expand
      Returns:
      A set of strings representing the FHIR ids of the expanded resources.
    • expandMdmByGoldenResourceId

      public Set<String> expandMdmByGoldenResourceId(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId<?> theGoldenResourcePid)
      Given a PID of a golden resource, perform MDM expansion and return all the resource IDs of all resources that are MDM-Matched to this golden resource.
      Specified by:
      expandMdmByGoldenResourceId in interface IMdmLinkExpandSvc
      Parameters:
      theRequestPartitionId - Partition information from the request
      theGoldenResourcePid - The PID of the golden resource to MDM-Expand.
      Returns:
      A set of strings representing the FHIR ids of the expanded resources.
    • expandMdmByGoldenResourcePid

      public Set<String> expandMdmByGoldenResourcePid(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId<?> theGoldenResourcePid)
      Given a resource ID of a golden resource, perform MDM expansion and return all the resource IDs of all resources that are MDM-Matched to this golden resource.
      Specified by:
      expandMdmByGoldenResourcePid in interface IMdmLinkExpandSvc
      Parameters:
      theRequestPartitionId - Partition information from the request
      theGoldenResourcePid - The resource ID of the golden resource to MDM-Expand.
      Returns:
      A set of strings representing the FHIR ids of the expanded resources.
    • expandMdmByGoldenResourceId

      public Set<String> expandMdmByGoldenResourceId(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, ca.uhn.fhir.model.primitive.IdDt theId)
      Specified by:
      expandMdmByGoldenResourceId in interface IMdmLinkExpandSvc
    • flattenPidTuplesToSet

      @Nonnull public Set<String> flattenPidTuplesToSet(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId<?> theInitialPid, List<MdmPidTuple<?>> theGoldenPidSourcePidTuples)