Examples of OrgID


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

      template.addGuardian(guardianFields);
    }
   
    // Provider Organisation
    if (provider) {
       template.setOrganisationId(new OrgID(OrgIDType.ODSOrgID.code, fields.getProviderOrganisationODSID()));
      template.setOrganisationName(fields.getProviderOrganisation());
      template.setOrganisationType(fields.getProviderOrganisationType());
     
      if (providerOrganisationTelephone) {
        template.addOrganisationTelephone(new Telecom()
                          .setTelecom("tel:" + fields.getProviderOrganisationTelephone())
                          .setTelecomType(TelecomUseType.WorkPlace.code));
      }
     
      if (providerOrganisationAddress) {
        template.setOrganisationAddress(fields.getProviderOrganisationAddress());
      }
     
      if (providerParentOrganisationODSID) {
        template.addOrganisationPartOf(new ChildPatientOrganisationPartOf()
                          .addOrganisationId(new OrgID(OrgIDType.ODSOrgID.code,
                                          fields.getProviderParentOrganisationODSID())));
      }
    }
    return template;
  }
View Full Code Here

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

    
     // Author Name
     template.setName(fields.getDocumentAuthorName());
    
     // Author ORG ID
    template.setOrganisationId(new OrgID()
                  .setID(fields.getDocumentAuthorOrganisationODSID())
                  .setType(OrgIDType.ODSOrgID.code));
   
    // Author ORG Name
    template.setOrganisationName(fields.getDocumentAuthorOrganisationName());
View Full Code Here

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

    }
   
    CustodianOrganizationUniversal template = new CustodianOrganizationUniversal();
   
    // Custodian Org ID
    template.setId(new OrgID(OrgIDType.ODSOrgID.code, fields.getCustodianOrganisationODSID()));
   
    // Custodian Org Name
    template.setName(fields.getCustodianOrganisation());
   
    return template;
View Full Code Here

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

    // recipientJobRole
     if (recipient.getRecipientJobRole() != null) {
       template.setJobRoleName(recipient.getRecipientJobRole());
     }
    // recipientODSCode
     template.setOrgId(new OrgID()
                 .setID(recipient.getRecipientODSCode())
                 .setType(OrgIDType.ODSOrgID.code));
    // recipientOrganisationName
     template.setOrgName(recipient.getRecipientOrganisationName());
    return template;
View Full Code Here

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

    template.setEffectiveTime(fields.getDateOfBloodSpotScreening());
    // Performer
    template.setSampleCollectedTime(fields.getBloodSpotSampleCollectedTime());
    template.addPerformerPersonId(new PersonID().setID(fields.getBloodSpotPerformerPersonSDSID()).setType(PersonIDType.SDSID.code));
    template.setPerformerPersonName(fields.getBloodSpotPerformerPersonName());
    template.setPerformerOrgId(new OrgID()
                      .setID(fields.getBloodSpotPerformerOrganisationODSID())
                      .setType(OrgIDType.ODSOrgID.code));
    template.setPerformerOrgName(fields.getBloodSpotPerformerOrganisationName());
    // Lab
    template.setTimeReceivedAtLab(fields.getBloodSpotTimeReceivedAtLab());
    template.setLabOrganisationId(new OrgID()
                      .setID(fields.getBloodSpotLabOrganisationODSID())
                      .setType(OrgIDType.ODSOrgID.code));
    template.setLabOrganisationDescription(fields.getBloodSpotLabOrganisationName());
   
    // Screening results
View Full Code Here

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

     template.setAuthorTelephone("tel:01472312345");
     template.setAuthorName(new PersonName()
            .setTitle("Ms")
            .setGivenName("Niral")
            .setFamilyName("Singh"));
    template.setAuthorOrgID(new OrgID()
                  .setID("V356F")
                  .setType(OrgIDType.ODSOrgID.code));
    template.setAuthorOrgName("St James Hospital");

    return template;
View Full Code Here

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

    // System Author
    template.setOriginatingSystemSystemID(new SystemID()
        .setType(SystemIDType.LocalSystemID.code)
        .setAssigningOrganisation("RA8:St Elsewhere's Hospital")
        .setID("112YT"));
    template.setOriginatingSystemOrgID(new OrgID()
        .setType(OrgIDType.ODSOrgID.code)
        .setID("RA8"));
    template.setOriginatingSystemOrgName("St Elsewhere's Hospital");
   
    return template;
View Full Code Here

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

    //language.setMode(LanguageAbilityMode._ESP);
    language.setProficiencyLevel(LanguageAbilityProficiency._0);
    //language.setPreferenceIndNullFlavour(NullFlavour.NotAsked.code);
    template.addLanguages(language);
    // Organisation - Registered GP:
    template.setRegisteredGPOrgId(new OrgID()
                  .setID("V396F")
                  .setType(OrgIDType.ODSOrgID.code));
    template.setRegisteredGPOrgName("Dr De Hopper and Partners");
    template.addRegisteredGPTelephone(new Telecom()
                  .setTelecom("tel:01634111222")
View Full Code Here

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

     template.addTelephoneNumber(new Telecom("tel:01472312345"));
     template.setName(new PersonName()
            .setTitle("Ms")
            .setGivenName("Niral")
            .setFamilyName("Singh"));
    template.setOrganisationId(new OrgID()
                  .setID("V356F")
                  .setType(OrgIDType.ODSOrgID.code));
    template.setOrganisationName("St James Hospital");
    return template;
  }
View Full Code Here

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

    author.addTelephoneNumber(new Telecom("tel:01472312345"));
    author.setName(new PersonName()
                  .setTitle("Mrs")
                  .setGivenName("Isabella")
                  .setFamilyName("Hopkins"));
    author.setOrganisationId(new OrgID()
                  .setID("V356F")
                  .setType(OrgIDType.ODSOrgID.code));
    author.setOrganisationName("St James Hospital");
    return author;
  }
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.