Package uk.nhs.interoperability.payloads.commontypes

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


   
    // Responsible Party
    PersonWithOrganizationUniversal responsible = new PersonWithOrganizationUniversal();
    responsible.addPersonId(new PersonID().setNullFlavour(NullFlavour.NI.code));
    responsible.setJobRoleName(JobRoleName._MedicalDirector);
    responsible.setPersonName(new PersonName()
                    .setGivenName("Dave")
                    .setFamilyName("Cornwell"));
    responsible.setOrgId(new OrgID()
                  .setID("VDE232323")
                  .setType(OrgIDType.ODSOrgID.code));
View Full Code Here


             .setType(PersonIDType.LocalPersonID.code)
             .setID("102")
             .setAssigningOrganisation("5L399:Medway South Out of Hours Centre"));   
     // In the sample XML the SDSJobRoleName vocab is used (which is an empty vocab). We will use it's OID here:
     template.setJobRoleName(new CodedValue("OOH02","Nurse Practitioner","2.16.840.1.113883.2.1.3.2.4.17.196"));
     template.setName(new PersonName()
            .setGivenName("Mary")
            .setFamilyName("Flemming"));
    template.setOrganisationId(new OrgID()
                  .setID("5L399")
                  .setType(OrgIDType.ODSOrgID.code));
View Full Code Here

                .setPostcode("ME5 FS1"));

    template.addTelephoneNumber(new Telecom()
                .setTelecom("tel:01634445667"));

    template.setPersonName(new PersonName()
                .setTitle("Dr")
                .setGivenName("Nick")
                .setFamilyName("Smith"));
   
    template.setOrgId(new OrgID()
View Full Code Here

    
     template.setWorkgroupName(new CodedValue("01","MEDWAYSPECIALISTTEAM"));
   
     template.addTelephoneNumber(new Telecom("tel:01634445667"));
    
     template.setPersonName(new PersonName()
                     .setTitle("Dr")
                     .setGivenName("Nick")
                     .setFamilyName("Smith"));
    
    template.setOrgId(new OrgID()
View Full Code Here

            .addAddressLine("Appleton House")
            .addAddressLine("Lanchester Road")
            .setCity("Grimsby")
            .setPostcode("DN3 1UJ"));
    template.addTelephoneNumber(new Telecom("tel:01472354321"));
    template.addName(new PersonName("Mr", "Mark", "Smith"));
    template.setSex(Sex._Male);
    template.setBirthTime(new DateValue("19490101"));
   
    return template;
  }
View Full Code Here

   
    PatientRelationshipParticipantRole person = new PatientRelationshipParticipantRole();
    person.setPersonRole(JobRoleName._NR2010);
    person.setAddress(new Address().setNullFlavour(NullFlavour.NI.code));
    person.addTelephoneNumber(new Telecom("tel:07871715735"));
    person.setPersonName(new PersonName()
                  .setTitle("Mr")
                  .setGivenName("Alan")
                  .setFamilyName("Smith"));
   
    template.setLPADetails(person);
View Full Code Here

                        new DateValue("201105192015+01")));
   
    PersonWithOrganizationUniversal person = new PersonWithOrganizationUniversal();
    person.setJobRoleName(JobRoleName._MedicalDirector);
    person.addPersonId(new PersonID().setNullFlavour(NullFlavour.NI.code));
    person.setPersonName(new PersonName()
                  .setGivenName("Dave")
                  .setFamilyName("Cornwell"));
    person.setOrgId(new OrgID()
                .setID("VDE232323")
                .setType(OrgIDType.ODSOrgID.code));
View Full Code Here

            .addAddressLine("Appleton House")
            .addAddressLine("Lanchester Road")
            .setCity("Grimsby")
            .setPostcode("DN3 1UJ"));
    subject.addSubjectTelephoneNumber(new Telecom("tel:01472354321"));
    subject.addSubjectName(new PersonName("Mr", "Mark", "Smith"));
    subject.setSubjectSex(Sex._Male);
    subject.setSubjectBirthTime(new DateValue("19490101"));
    template.addAttachmentSubject(subject);
   
    return template;
View Full Code Here

                  .setType(WorkgroupIDType.SDSWorkgroupID.code));
   
    template.addTelephoneNumber(new Telecom()
                .setTelecom("tel:01634445667"));

    template.setPersonName(new PersonName()
                .setTitle("Dr")
                .setGivenName("Nick")
                .setFamilyName("Smith"));
   
    template.setOrgId(new OrgID()
View Full Code Here

            new DateRange(new DateValue("201105192000+01"),
                    new DateValue("201105192045+01")));
   
    PersonWithOrganizationUniversal person = new PersonWithOrganizationUniversal();
    person.addPersonId(new PersonID().setNullFlavour(NullFlavour.NI.code));
    person.setPersonName(new PersonName("Joe Bloggs"));
    person.setOrgId(new OrgID()
                .setType(OrgIDType.ODSOrgID.code)
                .setID("8785675885765767"));
    person.setOrgName("xx organisation");
   
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.