Package org.hl7.fhir.dstu2.terminologies
Class LoincToDEConvertor
- java.lang.Object
-
- org.hl7.fhir.dstu2.terminologies.LoincToDEConvertor
-
public class LoincToDEConvertor extends Object
This class converts the LOINC XML representation that the FHIR build tool uses internally to a set of DataElements in an atom feed- Author:
- Grahame
-
-
Constructor Summary
Constructors Constructor Description LoincToDEConvertor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BundlegetBundle()StringgetDefinitions()StringgetDest()static voidmain(String[] args)voidprocess()Bundleprocess(String sourceFile)voidsetDefinitions(String definitions)voidsetDest(String dest)
-
-
-
Constructor Detail
-
LoincToDEConvertor
public LoincToDEConvertor()
-
-
Method Detail
-
main
public static void main(String[] args) throws org.hl7.fhir.exceptions.FHIRFormatError, IOException, org.xmlpull.v1.XmlPullParserException, SAXException, ParserConfigurationException
- Throws:
org.hl7.fhir.exceptions.FHIRFormatErrorIOExceptionorg.xmlpull.v1.XmlPullParserExceptionSAXExceptionParserConfigurationException
-
getDefinitions
public String getDefinitions()
-
setDefinitions
public void setDefinitions(String definitions)
-
process
public Bundle process(String sourceFile) throws FileNotFoundException, SAXException, IOException, ParserConfigurationException
-
process
public void process() throws org.hl7.fhir.exceptions.FHIRFormatError, IOException, org.xmlpull.v1.XmlPullParserException, SAXException, ParserConfigurationException
- Throws:
org.hl7.fhir.exceptions.FHIRFormatErrorIOExceptionorg.xmlpull.v1.XmlPullParserExceptionSAXExceptionParserConfigurationException
-
-