Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save KevinMayfield/4ad30f2bc4cb6010288e9411b691e789 to your computer and use it in GitHub Desktop.
Save KevinMayfield/4ad30f2bc4cb6010288e9411b691e789 to your computer and use it in GitHub Desktop.
Patient Search Server - Java Client Code
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