Package ca.uhn.fhir.jpa.mdm.svc
Interface IMdmModelConverterSvc
- All Known Implementing Classes:
MdmModelConverterSvcImpl
public interface IMdmModelConverterSvc
Contract for decoupling API dependency from the base / JPA modules.
-
Method Summary
Modifier and TypeMethodDescriptionca.uhn.fhir.mdm.api.MdmLinkJsontoJson(ca.uhn.fhir.mdm.api.IMdmLink theLink) Creates JSON representation of the provided MDM linkca.uhn.fhir.mdm.api.MdmLinkWithRevisionJsontoJson(ca.uhn.fhir.mdm.api.MdmLinkWithRevision<? extends ca.uhn.fhir.mdm.api.IMdmLink<?>> theMdmLinkRevision) Creates JSON representation of the provided MDM link with revision data
-
Method Details
-
toJson
Creates JSON representation of the provided MDM link- Parameters:
theLink- Link to convert- Returns:
- Returns the converted link
-
toJson
ca.uhn.fhir.mdm.api.MdmLinkWithRevisionJson toJson(ca.uhn.fhir.mdm.api.MdmLinkWithRevision<? extends ca.uhn.fhir.mdm.api.IMdmLink<?>> theMdmLinkRevision) Creates JSON representation of the provided MDM link with revision data- Parameters:
theMdmLinkRevision- Link with revision data to convert- Returns:
- Returns the converted link
-