Package uk.nhs.interoperability.payloads.commontypes

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


  public static AuthorDeviceUniversal createMinimal() {
    AuthorDeviceUniversal minimal = new AuthorDeviceUniversal();
       
     minimal.setManufacturerModelName(new CodedValue("OMRON-M2", "BASIC BP DEVICE"));
     minimal.setSoftwareName(new CodedValue("B003CYK6FA", "OMRON M2 BP MONITOR"));
     minimal.setOrgId(new OrgID()
                .setID("SITE1234")
                .setType(OrgIDType.ODSOrgID.code));
     minimal.setOrgName("MEDWAY HEATH CENTRE");
   
    return minimal;
View Full Code Here


    // Language
    LanguageCommunication language = new LanguageCommunication();
    language.setLanguage(HumanLanguage._en.code);
    template.addLanguages(language);
    // Organisation - Registered GP:
    template.setRegisteredGPOrgId(new OrgID()
                  .setID("V396F")
                  .setType(OrgIDType.ODSOrgID.code));
    template.setRegisteredGPOrgName("Medway Medical Practice");
    template.addRegisteredGPTelephone(new Telecom()
                  .setTelecom("tel:01634111222")
View Full Code Here

     // 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("Jones"));
    template.setOrganisationId(new OrgID()
                  .setID("5L399")
                  .setType(OrgIDType.ODSOrgID.code));
    template.setOrganisationName("Medway NHS Foundation Trust");
    return template;
  }
View Full Code Here

    return template;
  }
 
  public static CustodianOrganizationUniversal createCustodian() {
    CustodianOrganizationUniversal template = new CustodianOrganizationUniversal();
    template.setId(new OrgID(OrgIDType.ODSOrgID.code, "5L3"));
    template.setName("Medway NHS Foundation Trust");
    return template;
  }
View Full Code Here

    template.setJobRoleName(JobRoleName._SpecialistNursePractitioner);
    template.setName(new PersonName()
                .setTitle("Mr")
                .setFamilyName("Hall")
                .setGivenName("Terence"));
    template.setOrgId(new OrgID()
                .setID("V396A")
                .setType(OrgIDType.ODSOrgID.code));
    template.setOrgName("Medway PCT");
    return template;
  }
View Full Code Here

    template.addId(new RoleID().setNullFlavour(NullFlavour.NI.code));
    template.setJobRoleName(JobRoleName._GeneralMedicalPractitioner);
    template.setName(new PersonName()
                .setFamilyName("Shelley")
                .setGivenName("Pauline"));
    template.setOrgId(new OrgID()
                .setID("W123")
                .setType(OrgIDType.ODSOrgID.code));
    template.setOrgName("Medway Medical Practice");
    return template;
  }
View Full Code Here

    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()
                .setID("V396AA")
                .setType(OrgIDType.ODSOrgID.code));
    template.setOrgName("Medway PCT");
    return template;
  }
View Full Code Here

    // 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));
    performer.setOrgName("xx organisation");
   
    template.addEventPerformer(new ServiceEventPerformer()
View Full Code Here

    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));
    responsible.setOrgName("Medway South Walk-in Centre");
    template.setResponsibleParty(responsible);
   
View Full Code Here

     // 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));
    template.setOrganisationName("Medway South Out of Hours Centre");
    return template;
  }
View Full Code Here

TOP

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

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.