Examples of addId()


Examples of uk.nhs.interoperability.payloads.templates.AuthorPersonUniversal.addId()

    return template;
  }
 
  public static AuthorPersonUniversal createAuthorIsabellaHopkins() {
    AuthorPersonUniversal author = new AuthorPersonUniversal();
    author.addId(new PersonID()
                  .setID("101")
                  .setAssigningOrganisation("TAN01:NORTH EAST LINCOLNSHIRE CARE TRUST")
                  .setType(PersonIDType.LocalPersonID.code));
    author.setJobRoleName(JobRoleName._NR2050);
    author.addAddress(new Address()
View Full Code Here

Examples of uk.nhs.interoperability.payloads.templates.AuthorPersonUniversal.addId()

    return author;
  }
 
  public static AuthorPersonUniversal createAuthorJohnManning() {
    AuthorPersonUniversal author = new AuthorPersonUniversal();
    author.addId(new PersonID()
                  .setID("112")
                  .setAssigningOrganisation("TAN01:NORTH EAST LINCOLNSHIRE CARE TRUST")
                  .setType(PersonIDType.LocalPersonID.code));
    author.setJobRoleName(JobRoleName._NR0260);
    author.addAddress(new Address()
View Full Code Here

Examples of uk.nhs.interoperability.payloads.templates.AuthorPersonUniversal.addId()

    // Note: this author section for Niral Singh differs slightly from the author sections for
    // Niral Singh used elsewhere in the document, hence the repetition here. This could potentially
    // be a valid use-case if the author information is captured at different times, or even in
    // different systems.
    AuthorPersonUniversal originalAuthor = new AuthorPersonUniversal();
    originalAuthor.addId(new PersonID()
                  .setID("201")
                  .setAssigningOrganisation("TAN01:NORTH EAST LINCOLNSHIRE CARE TRUST")
                  .setType(PersonIDType.LocalPersonID.code));
    originalAuthor.setJobRoleName(JobRoleName._NR2040);
    originalAuthor.setName(new PersonName()
View Full Code Here

Examples of uk.nhs.interoperability.payloads.templates.AuthorPersonUniversal.addId()

    return template;
  }
 
  public static AuthorPersonUniversal createAuthorNiralSingh() {
    AuthorPersonUniversal template = new AuthorPersonUniversal();
     template.addId(new PersonID()
             .setType(PersonIDType.LocalPersonID.code)
             .setID("101")
             .setAssigningOrganisation("TAN01:NORTH EAST LINCOLNSHIRE CARE TRUST"));   
     template.setJobRoleName(JobRoleName._MidwifeSpecialistPractitioner);
     template.addAddress(new Address()
View Full Code Here

Examples of uk.nhs.interoperability.payloads.templates.AuthorPersonUniversal.addId()

    return template;
  }
 
  public static AuthorPersonUniversal createAuthorIsabellaHopkins() {
    AuthorPersonUniversal author = new AuthorPersonUniversal();
    author.addId(new PersonID()
                  .setID("101")
                  .setAssigningOrganisation("TAN01:NORTH EAST LINCOLNSHIRE CARE TRUST")
                  .setType(PersonIDType.LocalPersonID.code));
    author.setJobRoleName(JobRoleName._NR2050);
    author.addAddress(new Address()
View Full Code Here

Examples of uk.nhs.interoperability.payloads.templates.AuthorPersonUniversal.addId()

    return author;
  }
 
  public static AuthorPersonUniversal createAuthorJohnManning() {
    AuthorPersonUniversal author = new AuthorPersonUniversal();
    author.addId(new PersonID()
                  .setID("112")
                  .setAssigningOrganisation("TAN01:NORTH EAST LINCOLNSHIRE CARE TRUST")
                  .setType(PersonIDType.LocalPersonID.code));
    author.setJobRoleName(JobRoleName._NR0260);
    author.addAddress(new Address()
View Full Code Here

Examples of uk.nhs.interoperability.payloads.templates.AuthorPersonUniversal.addId()

    return template;
  }
 
  public static AuthorPersonUniversal createAuthorMaryJones() {
    AuthorPersonUniversal template = new AuthorPersonUniversal();
     template.addId(new PersonID()
             .setType(PersonIDType.LocalPersonID.code)
             .setID("101")
             .setAssigningOrganisation("5L399:Medway NHS Foundation Trust"));   
     // 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.templates.AuthorPersonUniversal.addId()

    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.templates.Consent.addID()

    return template;
  }
 
  public static Consent createConsent() {
    Consent template = new Consent();
    template.addID(new ConsentID("7AFDCAD6-1CE3-45A6-A176-DDAC27F46C87"));
    template.setConsentCode(DocumentConsentSnCT._Consentgiventosharepatientdatawithspecifiedthirdparty);
    return template;
  }
 
  public static EncompassingEncounter createEncounter() {
View Full Code Here

Examples of uk.nhs.interoperability.payloads.templates.DocumentParticipantUniversal.addId()

  }
 
  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
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.