Package uk.nhs.interoperability.payloads.vocabularies.generated

Examples of uk.nhs.interoperability.payloads.vocabularies.generated.JobRoleName


      for (RelatedPersonDetails personDetails : relationshipList.getRelationships().getRelatedPerson()) {
       
        PatientRelationshipParticipantRole person = personDetails.getParticipant();
       
        if (person.getPersonRole() != null) {
          JobRoleName role = (JobRoleName)HelperUtils.safelyMapCodedValueToVocabEntry(
            person.getPersonRole(), JobRoleName._NR0010, "RelatedPersonJobRole", parseExceptions, true);
         
          JobRoleName associatedRole = null;
          if (person.getAssociatedJobRole() != null) {
            associatedRole = (JobRoleName)HelperUtils.safelyMapCodedValueToVocabEntry(
              person.getAssociatedJobRole(), JobRoleName._NR0010, "RelatedPersonAssociatedJobRole", parseExceptions, true);
          }
       
View Full Code Here


   * @param parseExceptions Parsing exceptions
   * @return Job role enum value
   */
  protected static JobRoleName getJobRole(AuthorPersonUniversal author, String fieldName,
                    ParsePayloadContentException parseExceptions) {
    JobRoleName roleName = (JobRoleName)HelperUtils.safelyMapCodedValueToVocabEntry(
        author.getJobRoleName(), JobRoleName._Accountant, fieldName, parseExceptions, false);
    return roleName;
  }
View Full Code Here

TOP

Related Classes of uk.nhs.interoperability.payloads.vocabularies.generated.JobRoleName

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.