Examples of CustodianOrganizationUniversal


Examples of uk.nhs.interoperability.payloads.templates.CustodianOrganizationUniversal

      missingFields.addMissingFields(e);
    }
   
    // Custodian (Organisation hosting the EPaCCS)
    try {
      CustodianOrganizationUniversal custodian = createCustodian(childScreeningFields);
      template.setCustodianOrganisation(custodian);
    } catch (MissingMandatoryFieldException e) {
      missingFields.addMissingFields(e);
    }
   
View Full Code Here

Examples of uk.nhs.interoperability.payloads.templates.CustodianOrganizationUniversal

    }
    if (missingFields.hasEntries()) {
      throw missingFields;
    }
   
    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.templates.CustodianOrganizationUniversal

    // Author
    template.setTimeAuthored(new DateValue("201209111400+0000"));
    AuthorPersonUniversal author = createAuthorNiralSingh();
    template.setAuthor(author);
    // Custodian (Organisation hosting the EPaCCS)
    CustodianOrganizationUniversal custodian = createCustodian();
    template.setCustodianOrganisation(custodian);
    // Recipients
    RecipientPersonUniversal recipient = createRecipient();
    template.addPrimaryRecipients(new PrimaryRecipient(recipient));
   
View Full Code Here

Examples of uk.nhs.interoperability.payloads.templates.CustodianOrganizationUniversal

    author.setOrganisationName("Freshney Green PCC");
    return author;
  }
 
  public static CustodianOrganizationUniversal createCustodian() {
    CustodianOrganizationUniversal template = new CustodianOrganizationUniversal();
    template.setId(new OrgID(OrgIDType.ODSOrgID.code, "TAN01"));
    template.setName("NORTH EAST LINCOLNSHIRE CARE TRUST");
    return template;
  }
View Full Code Here

Examples of uk.nhs.interoperability.payloads.templates.CustodianOrganizationUniversal

    template.setCDAPersonRelationshipType(CDAPersonRelationshipType._Spouse);
    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

Examples of uk.nhs.interoperability.payloads.templates.CustodianOrganizationUniversal

    // Author
    template.setTimeAuthored(new DateValue("201209111400+0000"));
    AuthorPersonUniversal author = createAuthorNiralSingh();
    template.setAuthor(author);
    // Custodian
    CustodianOrganizationUniversal custodian = createCustodian();
    template.setCustodianOrganisation(custodian);
    // Recipients
    RecipientPersonUniversal recipient = createRecipient();
    template.addPrimaryRecipients(new PrimaryRecipient(recipient));
   
View Full Code Here

Examples of uk.nhs.interoperability.payloads.templates.CustodianOrganizationUniversal

    author.setOrganisationName("Freshney Green PCC");
    return author;
  }
 
  public static CustodianOrganizationUniversal createCustodian() {
    CustodianOrganizationUniversal template = new CustodianOrganizationUniversal();
    template.setId(new OrgID(OrgIDType.ODSOrgID.code, "TAN01"));
    template.setName("NORTH EAST LINCOLNSHIRE CARE TRUST");
    return template;
  }
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.