Class MatchboxStructureMapUtilities

java.lang.Object
org.hl7.fhir.r5.utils.structuremap.StructureMapUtilities
ch.ahdis.matchbox.mappinglanguage.MatchboxStructureMapUtilities

public class MatchboxStructureMapUtilities extends org.hl7.fhir.r5.utils.structuremap.StructureMapUtilities
Class to overwrite translation method to fix certain problems with CDA2FHIR mapping
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final org.slf4j.Logger
     

    Fields inherited from class org.hl7.fhir.r5.utils.structuremap.StructureMapUtilities

    AUTO_VAR_NAME, DEF_GROUP_NAME, MAP_EXPRESSION, MAP_SEARCH_EXPRESSION, MAP_WHERE_CHECK, MAP_WHERE_EXPRESSION, MAP_WHERE_LOG
  • Constructor Summary

    Constructors
    Constructor
    Description
    MatchboxStructureMapUtilities(org.hl7.fhir.r5.context.IWorkerContext worker, MatchboxEngine engine)
     
    MatchboxStructureMapUtilities(org.hl7.fhir.r5.context.IWorkerContext worker, org.hl7.fhir.r5.utils.structuremap.ITransformerServices services, MatchboxEngine engine)
     
    MatchboxStructureMapUtilities(org.hl7.fhir.r5.context.IWorkerContext worker, org.hl7.fhir.r5.utils.structuremap.ITransformerServices services, org.hl7.fhir.r5.conformance.profile.ProfileKnowledgeProvider pkp, MatchboxEngine engine)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.hl7.fhir.r5.model.Base
    translate(org.hl7.fhir.r5.utils.structuremap.TransformContext context, org.hl7.fhir.r5.model.StructureMap map, org.hl7.fhir.r5.model.Base source, String conceptMapUrl, String fieldToReturn)
     

    Methods inherited from class org.hl7.fhir.r5.utils.structuremap.StructureMapUtilities

    analyse, generateMapFromMappings, getChildrenByName, getGroupForUrl, getInputType, getMapsForUrl, getMapsForUrlPrefix, getServices, getTargetType, getTerminologyServiceOptions, getWorker, groupToString, isDebug, isExceptionsForChecks, paramToString, parse, render, ruleToString, setDebug, setExceptionsForChecks, setTerminologyServiceOptions, sourceToString, targetToString, transform

    Methods inherited from class java.lang.Object

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

    • log

      protected static final org.slf4j.Logger log
  • Constructor Details

    • MatchboxStructureMapUtilities

      public MatchboxStructureMapUtilities(org.hl7.fhir.r5.context.IWorkerContext worker, MatchboxEngine engine)
    • MatchboxStructureMapUtilities

      public MatchboxStructureMapUtilities(org.hl7.fhir.r5.context.IWorkerContext worker, org.hl7.fhir.r5.utils.structuremap.ITransformerServices services, org.hl7.fhir.r5.conformance.profile.ProfileKnowledgeProvider pkp, MatchboxEngine engine)
    • MatchboxStructureMapUtilities

      public MatchboxStructureMapUtilities(org.hl7.fhir.r5.context.IWorkerContext worker, org.hl7.fhir.r5.utils.structuremap.ITransformerServices services, MatchboxEngine engine)
  • Method Details

    • translate

      public org.hl7.fhir.r5.model.Base translate(org.hl7.fhir.r5.utils.structuremap.TransformContext context, org.hl7.fhir.r5.model.StructureMap map, org.hl7.fhir.r5.model.Base source, String conceptMapUrl, String fieldToReturn) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      translate in class org.hl7.fhir.r5.utils.structuremap.StructureMapUtilities
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • getEngine

      public MatchboxEngine getEngine()