Created
June 16, 2017 15:43
-
-
Save KevinMayfield/4ad30f2bc4cb6010288e9411b691e789 to your computer and use it in GitHub Desktop.
Patient Search Server - Java Client Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FhirContext ctxFHIR = FhirContext.forDstu2(); | |
IParser parser = ctxFHIR.newXmlParser(); | |
Patient patient = ExamplePatientCSV.buildCareConnectFHIRPatient(); | |
System.out.println(parser.setPrettyPrint(true).encodeResourceToString(patient)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment