Package uk.nhs.interoperability.payloads.templates

Examples of uk.nhs.interoperability.payloads.templates.ChildPatientUniversal.addName()


                .setNHSNoTraceStatus(fields.getPatientNHSNoTraceStatus().code));
   
    if (fields.getPatientAddress() != null) {
      template.addAddress(fields.getPatientAddress());
    }
    template.addName(fields.getPatientName());
    template.setGender(fields.getPatientGender());
    template.setDateOfBirth(fields.getPatientBirthDate());
   
    // Guardian
    if (guardian) {
View Full Code Here


                .setAddressUse(AddressType.Home.code)
                .addAddressLine("Appleton House")
                .addAddressLine("Lanchester Road")
                .addAddressLine("Grimsby")
                .setPostcode("DN3 1UJ"));
    template.addName(new PersonName()
                .setGivenName("Mark")
                .setFamilyName("Smith"));
    template.setGender(Sex._Male);
    template.setDateOfBirth(new DateValue("20120728"));
   
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.