Examples of OrgID


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

  public static RecipientPersonUniversal createRecipient() {
    RecipientPersonUniversal template = new RecipientPersonUniversal();
    template.addId(new RoleID().setNullFlavour(NullFlavour.NI.code)); // Non-standard null flavour used in example XML..
    template.setJobRoleName(JobRoleName._GeneralMedicalPractitioner); // The example XML included a job role from a different vocab...
    template.setName(new PersonName("De Hopper"));
    template.setOrgId(new OrgID()
                .setID("V396F")
                .setType(OrgIDType.ODSOrgID.code));
    template.setOrgName("Dr De Hopper and Partners");
    return template;
  }
View Full Code Here

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

    template.setEffectiveTime(new DateValue("201209111400+0000"));
    // Performer
    template.setSampleCollectedTime(new DateValue("201209111300"));
    template.addPerformerPersonId(new PersonID().setNullFlavour(NullFlavour.Unknown.code));
    template.setPerformerPersonName(new PersonName("Mr", "Brian", "Weberly"));
    template.setPerformerOrgId(new OrgID()
                      .setID("A0991")
                      .setType(OrgIDType.ODSOrgID.code));
    template.setPerformerOrgName("St James Hospital");
    // Lab
    template.setTimeReceivedAtLab(new DateValue("201209111310"));
    template.setLabOrganisationId(new OrgID()
                      .setID("A0078")
                      .setType(OrgIDType.ODSOrgID.code));
    template.setLabOrganisationDescription("St James Pathology Laboratory");
   
    // Screening results
View Full Code Here

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

    OriginatingSystem originator = new OriginatingSystem();
    originator.setSystemID(new SystemID()
                .setType(SystemIDType.LocalSystemID.code)
                .setAssigningOrganisation("RA8:St Elsewhere's Hospital")
                .setID("112YT"));
    originator.setOrgID(new OrgID()
                .setType(OrgIDType.ODSOrgID.code)
                .setID("RA8"));
    originator.setOrgName("St Elsewhere's Hospital");
    document.setOriginatingSystem(originator);

    // ********** EVENT *********************************************
    Event event = new Event();
    event.setEventID("1A97FCE1-389F-11E2-81C1-0800200C9A66");
    event.setEventTime(new DateValue("20121127130000+0000"));
    event.setEventType(NotificationEventType._01);
    event.setDocumentType(NotificationDocumentType._861421000000109);
    event.setDocumentFormat("text/xml");
    event.setDocumentProfileID("urn:nhs-en:profile:EndofLifeRecordCDADocument-v1-0");
    event.setEventSubtype(NotificationDocumentEvent._01);
    document.setEvent(event);   

    // ********** CONTACT PERSON ************************************
    ContactPerson contact = new ContactPerson();
    contact.setPersonAddress(new Address("St. Elsewhere's Hostpital,Leeds, LS13 6YP"));
    contact.setJobRoleName(JobRoleName._NR0050);
    contact.setTelephone("tel:01132111111");
    contact.setName(new PersonName("Dr. Smith"));
    contact.setOrgID(new OrgID(OrgIDType.ODSOrgID.code, "RA8"));
    contact.setOrgName("St. Elsewhere's Hospital");
    event.setContactPerson(contact);
   
    // ********** RECIPIENT *****************************************
    Recipient recipient = new Recipient();
View Full Code Here

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

    template.setName(new PersonName()
                .setTitle("Dr")
                .setGivenName("Peter")
                .setFamilyName("Thomson"));
   
    template.setOrgId(new OrgID().setID("RPA").setType(OrgIDType.ODSOrgID.code));
    template.setOrgName("Medway NHS Foundation Trust");
    template.setCDAOrganizationType(CDAOrganizationType._008);
   
    return template;
  }
View Full Code Here

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

    minimal.setName(new PersonName()
                .setTitle("Dr")
                .setGivenName("Peter")
                .setFamilyName("Thomson"));
   
    minimal.setOrgId(new OrgID().setID("RPA").setType(OrgIDType.ODSOrgID.code));
    minimal.setOrgName("Medway NHS Foundation Trust");
   
    return minimal;
  }
View Full Code Here

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

 
  public static RecipientPersonUniversalv1 createEOLCDocRecipient() {
    RecipientPersonUniversalv1 eolcRecipient = new RecipientPersonUniversalv1();

    eolcRecipient.setName(new PersonName("De Hopper"));
    eolcRecipient.setOrgId(new OrgID().setID("V396F").setType(OrgIDType.ODSOrgID.code));
    eolcRecipient.setOrgName("Dr De Hopper and Partners");
   
    return eolcRecipient;
  }
View Full Code Here

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

    template.setName(new PersonName()
                .setTitle("Dr")
                .setGivenName("Peter")
                .setFamilyName("Thomson"));
   
    template.setOrgId(new OrgID().setID("XZ901").setType(OrgIDType.ODSOrgID.code));
    template.setOrgName("St. Elsewhere's Hospital");
   
    return template;
  }
View Full Code Here

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

     rp5.addTelephoneNumber(new Telecom("tel:07334345612"));
     rp5.setPersonName(new PersonName()
                 .setTitle("Mrs")
                 .setGivenName("Isabella")
                 .setFamilyName("Allen"));
     rp5.setOrgId(new OrgID()
               .setID("V356F")
               .setType(OrgIDType.ODSOrgID.code));
     rp5.setOrgDescription("St James Hospital");
     template.addRelatedPerson(new RelatedPersonDetails().setParticipant(rp5));

     PatientRelationshipParticipantRole rp6 = new PatientRelationshipParticipantRole();
     rp6.addID(new PersonID()
      .setID("112")
      .setAssigningOrganisation("TAN01:NORTH EAST LINCOLNSHIRE CARE TRUST")
      .setType(PersonIDType.LocalPersonID.code));
     rp6.setPersonRole(JobRoleName._NR2030);
     rp6.setAssociatedJobRole(JobRoleName._NR0260);
     rp6.setAddress(new Address()
                 .addAddressLine("Freshney Green PCC")
                 .addAddressLine("Carlton Court")
                 .addAddressLine("Martin Road")
                 .addAddressLine("Grimsby")
                 .setPostcode("DN34 4GB")
                 .setAddressUse(AddressType.WorkPlace.code));
     rp6.addTelephoneNumber(new Telecom("tel:07621846951"));
     rp6.setPersonName(new PersonName()
                 .setTitle("Dr")
                 .setGivenName("John")
                 .setFamilyName("Manning"));
     rp6.setOrgId(new OrgID()
               .setID("V365F")
               .setType(OrgIDType.ODSOrgID.code));
     rp6.setOrgDescription("Freshney Green PCC");
     template.addRelatedPerson(new RelatedPersonDetails().setParticipant(rp6));
View Full Code Here

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

    template.setPersonName(new PersonName()
                  .setTitle("Dr")
                  .setGivenName("Bruce")
                  .setFamilyName("Weller"));
   
    template.setOrgId(new OrgID()
                .setID("XZ901")
                .setType(OrgIDType.ODSOrgID.code));
   
    template.setOrgName("St. Elsewhere's Hospital");
   
View Full Code Here

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

    RecipientOrganizationUniversalv2 template = new RecipientOrganizationUniversalv2();
   
    template.addTelephoneNumber(new Telecom()
                  .setTelecom("tel:01634445667"));
   
    template.setOrgId(new OrgID()
                .setID("XZ901")
                .setType(OrgIDType.ODSSiteCode.code));
   
    template.setOrgName("St. Elsewhere's Hospital");
   
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.