Examples of PersonId


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

  }
 
  public static DocumentParticipantUniversal createParticipantConsultant() {
    DocumentParticipantUniversal template = new DocumentParticipantUniversal();
   
    template.addId(new PersonID()
                .setType(PersonIDType.LocalPersonID.code)
                .setID("000000000")
                .setAssigningOrganisation("V396AA:Medway PCT"));
    template.setName(new PersonName("Bill Lydon")); // Using unstructured name - not advisable!
    template.setOrgId(new OrgID()
View Full Code Here

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

              new DateRange(new DateValue("201105192000+01"),
                      new DateValue("201105192045+01")));
   
    // Performer
    PersonWithOrganizationUniversal performer = new PersonWithOrganizationUniversal();
    performer.addPersonId(new PersonID()
                  .setNullFlavour(NullFlavour.NI.code));
    performer.setPersonName(new PersonName("Joe Bloggs"));
    performer.setOrgId(new OrgID()
                  .setID("8785675885765767")
                  .setType(OrgIDType.ODSOrgID.code));
View Full Code Here

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

        new DateRange(new DateValue("201105191945+01"),
                new DateValue("201105192015+01")));
   
    // 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()
View Full Code Here

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

    return template;
  }
 
  public static AuthorPersonUniversal createAuthorMaryFlemming() {
    AuthorPersonUniversal template = new AuthorPersonUniversal();
     template.addId(new PersonID()
             .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"));
View Full Code Here

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

    template.setEffectiveTime(new DateRange(new DateValue("201105191945+01"),
                        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")
View Full Code Here

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

    template.setEffectiveTime(
            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
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.