Package uk.nhs.interoperability.payloads.commontypes

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


             .setAssigningOrganisation("AB1:MEDWAY NHS TRUST"));   
    template.setName(new PersonName()
            .setTitle("Dr")
            .setGivenName("Nick")
            .setFamilyName("Smith"));
    template.addAddress(new Address()
            .addAddressLine("21, County Lodge")
            .addAddressLine("Woodtown")
            .setCity("Medway")
            .setPostcode("ME5 FS1"));
    template.setJobRoleName(JobRoleName._NR0050);
View Full Code Here


    template.addPatientID(new PatientID()
                  .setPatientID("993254128")
                  .setPatientIDType(PatientIDType.UnverifiedNHSNumber.code));   
   
    template.addAddress(new Address()
                  .addAddressLine("17, County Court")
                  .addAddressLine("Woodtown")
                  .addAddressLine("Medway")
                  .setPostcode("ME5 FS3")
                  .setAddressUse(AddressType.Home.code));
   
    template.addAddress(new Address()
                  .addAddressLine("Hightown Retirement Home")
                  .addAddressLine("2, Brancaster Road")
                  .addAddressLine("Medway")
                  .addAddressLine("Kent")
                  .setPostcode("ME5 FL5")
                  .setAddressUse(AddressType.PhysicalVisit.code));
   
    template.addTelephoneNumber(new Telecom()
                  .setTelecom("tel:01634772367")
                  .setTelecomType(TelecomUseType.HomeAddress.code));
   
    template.addTelephoneNumber(new Telecom()
                  .setTelecom("mailto:mark.smith@emailfree.co.uk")
                  .setTelecomType(TelecomUseType.HomeAddress.code));
   
    template.addTelephoneNumber(new Telecom()
                  .setTelecom("tel:01634451628")
                  .setTelecomType(TelecomUseType.EmergencyContact.code));
   
    // Patient
    template.addPatientName(new PersonName()
                  .setTitle("Mr")
                  .setGivenName("Mark")
                  .setFamilyName("Smith"));
    template.setSex(Sex._1);
    template.setBirthTime(new DateValue("19490101"));
   
    // Language
    LanguageCommunication language = new LanguageCommunication();
    language.setLanguage(HumanLanguage._en.code);
    language.setMode(LanguageAbilityMode._ESP);
    language.setProficiencyLevel(LanguageAbilityProficiency._G);
    language.setPreferenceIndNullFlavour(NullFlavour.NotAsked.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")
                  .setTelecomType(TelecomUseType.WorkPlace.code));
    template.setRegisteredGPAddress(new Address()
                  .addAddressLine("Springer Street")
                  .addAddressLine("Medway")
                  .setPostcode("ME5 5TY")
                  .setAddressUse(AddressType.WorkPlace.code));
    return template;
View Full Code Here

              .setID("13579")
              .setAssigningOrganisation("AB1:Medway NHS Foundation Trust"));
   
    template.setJobRoleName(JobRoleName._NR0050);
   
    template.setAddress(new Address()
                  .addAddressLine("21, County Lodge")
                  .addAddressLine("Woodtown")
                  .setCity("Medway")
                  .setPostcode("ME5 FS1")
                  .setAddressUse(AddressType.WorkPlace.code));
View Full Code Here

  }
 
  public static RecipientOrganizationUniversal createFull() {
    RecipientOrganizationUniversal template = new RecipientOrganizationUniversal();
   
    template.setAddress(new Address()
                  .addAddressLine("21, County Lodge")
                  .addAddressLine("Woodtown")
                  .setCity("Medway")
                  .setPostcode("ME5 FS1"));
   
View Full Code Here

    originalAuthor.addId(new PersonID()
                  .setID("112")
                  .setAssigningOrganisation("TAN01:NORTH EAST LINCOLNSHIRE CARE TRUST")
                  .setType(PersonIDType.LocalPersonID.code));
    originalAuthor.setJobRoleName(JobRoleName._NR0260);
    originalAuthor.addAddress(new Address()
                  .addAddressLine("Freshney Green PCC")
                  .addAddressLine("Carlton Court")
                  .addAddressLine("Martin Road")
                  .addAddressLine("Grimsby")
                  .setPostcode("DN34 4GB")
View Full Code Here

    template.addPatientID(new PatientIDWithTraceStatuses()
                    .setPatientID("9932541280")
                    .setNHSNoTraceStatus(NHSNumberTraceStatus.TraceNeedsToBeResolved.code)
                    .setPatientIDType(PatientIDType.UnverifiedNHSNumber.code));
   
    template.addAddress(new Address()
                .setAddressUse(AddressType.Home.code)
                .addAddressLine("Appleton House")
                .addAddressLine("Lanchester Road")
                .addAddressLine("Grimsby")
                .setPostcode("DN3 1UJ"));
   
    template.addName(new PersonName()
                .setGivenName("Mark")
                .setFamilyName("Smith"));
   
    template.setGender(Sex._Male);
    template.setDateOfBirth(new DateValue("20120728"));
   
    // Guardian
    Guardian guardian = new Guardian();
   
    guardian.addId(new PatientIDWithTraceStatuses()
                  .setPatientID("K12344")
                  .setPatientIDType(PatientIDType.LocalID.code)
                  .setAssigningOrganisation("V396A:Medway PCT"));
    guardian.addId(new PatientIDWithTraceStatuses()
                  .setPatientID("993254127")
                  .setPatientIDType(PatientIDType.VerifiedNHSNumber.code)
                  .setNHSNoTraceStatus(NHSNumberTraceStatus.Traced.code));

    guardian.setRole(GuardianRoleType._Mother);
   
    guardian.addAddress(new Address()
                  .setAddressUse(AddressType.Home.code)
                  .addAddressLine("Appleton House")
                  .addAddressLine("Lanchester Road")
                  .addAddressLine("Grimsby")
                  .setPostcode("DN3 1UJ"));
    guardian.addTelephoneNumber(new Telecom()
                    .setTelecom("tel:01634111678")
                    .setTelecomType(TelecomUseType.HomeAddress.code));
   
    guardian.setGuardianDetails(new GuardianPerson()
                      .setGuardianName(new PersonName("Mrs", "Shelly", "Smith")));
   
    template.addGuardian(guardian);
   
    // Provider Organisation
    template.setOrganisationId(new OrgID().setID("V396F"));
    template.setOrganisationName("Dr De Hopper and Partners");
    template.addOrganisationTelephone(new Telecom()
                        .setTelecom("tel:01634111222")
                        .setTelecomType(TelecomUseType.WorkPlace.code));
    template.setOrganisationAddress(new Address()
                      .addAddressLine("Freshney Green PCC")
                      .addAddressLine("Grimsby")
                      .setPostcode("DN34 4GB")
                      .setAddressUse(AddressType.WorkPlace.code));
    template.setOrganisationType(CDAOrganizationProviderType._GPPractice);
View Full Code Here

    template.setEffectiveTime(new DateValue("201209111400+0000"));
    template.setPrognosisAwareness(PrognosisAwarenessSnCT._751941000000100);
    // Main informal carer
    PatientRelationshipParticipantRole carer = new PatientRelationshipParticipantRole();
    carer.setPersonRole(JobRoleName._NR1980);
    carer.setAddress(new Address().setNullFlavour(NullFlavour.NI.code));
    //carer.setAddressNullFlavour(NullFlavour.NI.code);
    carer.addID(new PersonID().setNullFlavour(NullFlavour.NI.code));
    carer.addTelephoneNumber(new Telecom("tel:014722823451"));
    carer.addTelephoneNumber(new Telecom("tel:07831191333"));
    carer.setPersonName(new PersonName()
View Full Code Here

                  .setAssigningOrganisation("V396A:Medway PCT")
                  .setPatientIDType(PatientIDType.LocalID.code));
    template.addPatientID(new PatientID()
                  .setPatientID("993254128")
                  .setPatientIDType(PatientIDType.UnverifiedNHSNumber.code));   
    template.addAddress(new Address()
                  .addAddressLine("17, County Court")
                  .addAddressLine("Woodtown")
                  .addAddressLine("Medway")
                  .setPostcode("ME5 FS3")
                  .setAddressUse(AddressType.Home.code));
    template.addAddress(new Address()
                  .addAddressLine("Hightown Retirement Home")
                  .addAddressLine("2, Brancaster Road")
                  .addAddressLine("Medway")
                  .addAddressLine("Kent")
                  .setPostcode("ME5 FL5")
                  .setAddressUse(AddressType.PhysicalVisit.code));
    template.addTelephoneNumber(new Telecom()
                  .setTelecom("tel:01634775667")
                  .setTelecomType(TelecomUseType.HomeAddress.code));
    template.addTelephoneNumber(new Telecom()
                  .setTelecom("tel:01634451628")
                  .setTelecomType(TelecomUseType.VacationHome.code));
    template.addTelephoneNumber(new Telecom()
                  .setTelecom("mailto:mark.smith@emailfree.co.uk")
                  .setTelecomType(TelecomUseType.HomeAddress.code));
    template.addPatientName(new PersonName()
                  .setTitle("Mr")
                  .setGivenName("Mark")
                  .setFamilyName("Smith"));
    template.setSex(Sex._Male);
    template.setBirthTime(new DateValue("19490101"));
    // 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")
                  .setTelecomType(TelecomUseType.WorkPlace.code));
    template.setRegisteredGPAddress(new Address()
                  .addAddressLine("Springer Street")
                  .addAddressLine("Medway")
                  .setPostcode("ME5 5TY")
                  .setAddressUse(AddressType.WorkPlace.code));
    return template;
View Full Code Here

   
    template.setWorkgroupId(new WorkgroupID()
                  .setID("1000998765123")
                  .setType(WorkgroupIDType.SDSWorkgroupID.code));
   
    template.setAddress(new Address()
                .addAddressLine("21, County Lodge")
                .addAddressLine("Woodtown")
                .setCity("Medway")
                .setPostcode("ME5 FS1"));
View Full Code Here

 
  public static RelatedSubject createFull() {
    RelatedSubject template = new RelatedSubject();
   
    template.setRelationshipType(PersonalRelationshipRoleType._FamilyMember);
    template.addAddress(new Address()
            .addAddressLine("Appleton House")
            .addAddressLine("Lanchester Road")
            .setCity("Grimsby")
            .setPostcode("DN3 1UJ"));
    template.addTelephoneNumber(new Telecom("tel:01472354321"));
View Full Code Here

TOP

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

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.