HS.Doc.Mapping.HL7ToSDAMapper

abstract class HS.Doc.Mapping.HL7ToSDAMapper

Convert class annotations to HL7-SDA mapping xmls.

Method Inventory

Parameters

parameter HL7IDENTIFIER = HL7:;
parameter HL7VERSION = 2.5.1;

Methods

classmethod BuildMapping(pSDAClassName As %String = "", Output pMap As HS.Doc.Mapping.Common.HealthShareMapping, displayDetail As %Boolean = 0) as %Status
HL7 -> SDA
classmethod DescriptionToSDATargetFields(Description As %String = "", Output Fields As %ListOfObjects, displayDetail As %Boolean = 0) as %Status
Helper method Description -> Mapping.TargetField(s)
classmethod GetHL7DataType(Segment As %String = "", Number As %String = "", Output DataType As %String, displayDetail As %Boolean = 0) as %Status
Helper method Retrieve HL7 Data Type fields by segment name and number.
classmethod LineToSourceField(Line As %String = "", Output SourceField As HS.Doc.Mapping.HL7.SourceField, displayDetail As %Boolean = 0) as %Status
Helper method Description Line -> HL7.SourceField
classmethod LogError(pErrorMessage)
classmethod MergeMappings(pMappings As %ListOfObjects, Output pAllMappings As HS.Doc.Mapping.Common.HealthShareMapping, displayDetail As %Boolean = 0) as %Status
Class Method Annotations here
classmethod OutputAllMappings(pSDAClassNames As %ListOfDataTypes, pOutputPath As %String = "", displayDetail As %Boolean = 0) as %Status
Output a SDA class mapping to file.
classmethod OutputMap(pSDAClassName As %String = "", pFilename As %String = "", displayDetail As %Boolean = 0) as %Status
Output a SDA class mapping to file.
classmethod ProcessAllStreamlets(OutputPath="", displayDetail As %Boolean = 0) as %Status
Look up all streamlet classes (ignore abstact ones) and output mapping XMLs to given output directory.
classmethod Run(OutputPath As %String = "", displayDetail As %Boolean = 0)
classmethod SectionToTargetField(Path As %String = "", Section As %String = "", IgnoreNote As %Integer = 0, Output TargetField As HS.Doc.Mapping.Common.TargetField, displayDetail As %Boolean = 0) as %Status
Helper method Description section contains HL7 mappings -> HS.Doc.Mapping.Common.TargetField
Feedback