Package ca.uhn.fhir.model.api

Examples of ca.uhn.fhir.model.api.CodeableConceptElement.type()


        CodeableConceptElement concept = next.getAnnotation(CodeableConceptElement.class);
        if (concept != null) {
          if (!ICodedDatatype.class.isAssignableFrom(nextDatatype)) {
            throw new ConfigurationException("Field '" + elementName + "' in type '" + theClass.getCanonicalName() + "' is marked as @" + CodeableConceptElement.class.getCanonicalName() + " but type is not a subtype of " + ICodedDatatype.class.getName());
          } else {
            Class<? extends ICodeEnum> type = concept.type();
            myScanAlsoCodeTable.add(type);
            def.setCodeType(type);
          }
        }
View Full Code Here


        CodeableConceptElement concept = next.getAnnotation(CodeableConceptElement.class);
        if (concept != null) {
          if (!ICodedDatatype.class.isAssignableFrom(nextDatatype)) {
            throw new ConfigurationException("Field '" + elementName + "' in type '" + theClass.getCanonicalName() + "' is marked as @" + CodeableConceptElement.class.getCanonicalName() + " but type is not a subtype of " + ICodedDatatype.class.getName());
          } else {
            Class<? extends ICodeEnum> type = concept.type();
            myScanAlsoCodeTable.add(type);
            def.setCodeType(type);
          }
        }
View Full Code Here

        CodeableConceptElement concept = next.getAnnotation(CodeableConceptElement.class);
        if (concept != null) {
          if (!ICodedDatatype.class.isAssignableFrom(nextDatatype)) {
            throw new ConfigurationException("Field '" + elementName + "' in type '" + theClass.getCanonicalName() + "' is marked as @" + CodeableConceptElement.class.getCanonicalName() + " but type is not a subtype of " + ICodedDatatype.class.getName());
          } else {
            Class<? extends ICodeEnum> type = concept.type();
            myScanAlsoCodeTable.add(type);
            def.setCodeType(type);
          }
        }
View Full Code Here

        CodeableConceptElement concept = next.getAnnotation(CodeableConceptElement.class);
        if (concept != null) {
          if (!ICodedDatatype.class.isAssignableFrom(nextDatatype)) {
            throw new ConfigurationException("Field '" + elementName + "' in type '" + theClass.getCanonicalName() + "' is marked as @" + CodeableConceptElement.class.getCanonicalName() + " but type is not a subtype of " + ICodedDatatype.class.getName());
          } else {
            Class<? extends ICodeEnum> type = concept.type();
            myScanAlsoCodeTable.add(type);
            def.setCodeType(type);
          }
        }
View Full Code Here

        CodeableConceptElement concept = next.getAnnotation(CodeableConceptElement.class);
        if (concept != null) {
          if (!ICodedDatatype.class.isAssignableFrom(nextDatatype)) {
            throw new ConfigurationException("Field '" + elementName + "' in type '" + theClass.getCanonicalName() + "' is marked as @" + CodeableConceptElement.class.getCanonicalName() + " but type is not a subtype of " + ICodedDatatype.class.getName());
          } else {
            Class<? extends ICodeEnum> type = concept.type();
            myScanAlsoCodeTable.add(type);
            def.setCodeType(type);
          }
        }
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.