Package uk.nhs.interoperability.payloads.commontypes

Examples of uk.nhs.interoperability.payloads.commontypes.PersonName


            .addAddressLine("Appleton House")
            .addAddressLine("Lanchester Road")
            .setCity("Grimsby")
            .setPostcode("DN3 1UJ"));
    template.setTelephone(new Telecom("tel:01472354321"));
    template.setName(new PersonName("Mr", "Mark", "Smith"));
    return template;
  }
View Full Code Here


    try {
      String expectedResult = loadExpectedResult("/TestData/Templates/COCD_TP145007UK03_01.xml", true);
      RelatedEntity template = new RelatedEntity();
      template.parse(expectedResult, parentNamespaces);
     
      PersonName name = template.getName();
      assertEquals("Smith", name.getFamilyName());
     
      CDAPersonRelationshipType relationshipType =
            (CDAPersonRelationshipType
            HelperUtils.safelyMapCodedValueToVocabEntry(template.getCDAPersonRelationshipType(),
                                  CDAPersonRelationshipType._01);
View Full Code Here

TOP

Related Classes of uk.nhs.interoperability.payloads.commontypes.PersonName

Copyright © 2018 www.massapicom. 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.