Package uk.nhs.interoperability.payloads.vocabularies

Examples of uk.nhs.interoperability.payloads.vocabularies.VocabularyEntry


          errors.addParseError(fieldName, "This coded entry must be provided");
        }
      }
      return null;
    }
    VocabularyEntry entry = vocab.getByCode(codedEntry.getCode());
    if (entry.getOID().equals(codedEntry.getOID())) {
      return entry;
    } else {
      if (errors != null) {
        errors.addParseError(fieldName, "Coded value does not appear to be from correct vocabulary - expected OID:" + entry.getOID() + " but got OID:" + codedEntry.getOID());
      }
    }
    return null;
  }
View Full Code Here

TOP

Related Classes of uk.nhs.interoperability.payloads.vocabularies.VocabularyEntry

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.