
Package org.hl7.fhir.dstu3.utils
Class StructureMapUtilities
java.lang.Object
org.hl7.fhir.dstu3.utils.StructureMapUtilities
Deprecated.
Services in this class:
string render(map) - take a structure and convert it to text
map parse(text) - take a text representation and parse it
getTargetType(map) - return the definition for the type to create to hand in
transform(appInfo, source, map, target) - transform from source to target following the map
analyse(appInfo, map) - generate profiles and other analysis artifacts for the targets of the transform
map generateMapFromMappings(StructureDefinition) - build a mapping from a structure definition with loigcal mappings
- Author:
- Grahame Grieve
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Deprecated.class
Deprecated.class
Deprecated.class
Deprecated.class
Deprecated.class
Deprecated.class
Deprecated.class
Deprecated.class
Deprecated.static enum
Deprecated.class
Deprecated.class
Deprecated. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStructureMapUtilities
(IWorkerContext worker) Deprecated.StructureMapUtilities
(IWorkerContext worker, Map<String, StructureMap> library) Deprecated.StructureMapUtilities
(IWorkerContext worker, Map<String, StructureMap> library, StructureMapUtilities.ITransformerServices services) Deprecated.StructureMapUtilities
(IWorkerContext worker, Map<String, StructureMap> library, StructureMapUtilities.ITransformerServices services, ProfileUtilities.ProfileKnowledgeProvider pkp) Deprecated.StructureMapUtilities
(IWorkerContext worker, StructureMapUtilities.ITransformerServices services) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionanalyse
(Object appInfo, StructureMap map) Deprecated.Given a structure map, return a set of analyses on it.Deprecated.protected void
getChildrenByName
(Base item, String name, List<Base> result) Deprecated.Given an item, return all the children that conform to the pattern described in name Possible patterns: - a simple name (which may be the base of a name with [] e.g.Deprecated.Deprecated.static String
Deprecated.static String
Deprecated.Deprecated.static String
render
(StructureMap map) Deprecated.static String
Deprecated.static String
Deprecated.static String
Deprecated.void
transform
(Object appInfo, Base source, StructureMap map, Base target) Deprecated.translate
(StructureMapUtilities.TransformContext context, StructureMap map, Base source, String conceptMapUrl, String fieldToReturn) Deprecated.
-
Field Details
-
MAP_WHERE_CHECK
Deprecated.- See Also:
-
MAP_WHERE_EXPRESSION
Deprecated.- See Also:
-
MAP_SEARCH_EXPRESSION
Deprecated.- See Also:
-
MAP_EXPRESSION
Deprecated.- See Also:
-
-
Constructor Details
-
StructureMapUtilities
public StructureMapUtilities(IWorkerContext worker, Map<String, StructureMap> library, StructureMapUtilities.ITransformerServices services, ProfileUtilities.ProfileKnowledgeProvider pkp) Deprecated. -
StructureMapUtilities
public StructureMapUtilities(IWorkerContext worker, Map<String, StructureMap> library, StructureMapUtilities.ITransformerServices services) Deprecated. -
StructureMapUtilities
Deprecated. -
StructureMapUtilities
Deprecated. -
StructureMapUtilities
public StructureMapUtilities(IWorkerContext worker, StructureMapUtilities.ITransformerServices services) Deprecated.
-
-
Method Details
-
render
Deprecated. -
groupToString
Deprecated. -
ruleToString
Deprecated. -
sourceToString
Deprecated. -
targetToString
Deprecated. -
paramToString
Deprecated. -
parse
Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTargetType
public StructureDefinition getTargetType(StructureMap map) throws org.hl7.fhir.exceptions.FHIRException Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getChildrenByName
protected void getChildrenByName(Base item, String name, List<Base> result) throws org.hl7.fhir.exceptions.FHIRException Deprecated.Given an item, return all the children that conform to the pattern described in name Possible patterns: - a simple name (which may be the base of a name with [] e.g. value[x]) - a name with a type replacement e.g. valueCodeableConcept - * which means all children - ** which means all descendents- Parameters:
item
-name
-result
-- Throws:
org.hl7.fhir.exceptions.FHIRException
-
transform
public void transform(Object appInfo, Base source, StructureMap map, Base target) throws org.hl7.fhir.exceptions.FHIRException Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
-
translate
public Base translate(StructureMapUtilities.TransformContext context, StructureMap map, Base source, String conceptMapUrl, String fieldToReturn) throws org.hl7.fhir.exceptions.FHIRException Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getLibrary
Deprecated. -
analyse
public StructureMapUtilities.StructureMapAnalysis analyse(Object appInfo, StructureMap map) throws Exception Deprecated.Given a structure map, return a set of analyses on it. Returned: - a list or profiles for what it will create. First profile is the target - a table with a summary (in xhtml) for easy human undertanding of the mapping- Parameters:
appInfo
-map
-- Returns:
- Throws:
Exception
-
generateMapFromMappings
public StructureMap generateMapFromMappings(StructureDefinition sd) throws IOException, org.hl7.fhir.exceptions.FHIRException Deprecated.- Throws:
IOException
org.hl7.fhir.exceptions.FHIRException
-