Package ca.uhn.fhir.model.api

Examples of ca.uhn.fhir.model.api.CodeableConceptElement


          } else {
            def = new RuntimeChildCompositeDatatypeDefinition(next, elementName, childAnnotation, descriptionAnnotation, nextDatatype);
          }
        }

        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


          } else {
            def = new RuntimeChildCompositeDatatypeDefinition(next, elementName, childAnnotation, descriptionAnnotation, nextDatatype);
          }
        }

        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

          } else {
            def = new RuntimeChildCompositeDatatypeDefinition(next, elementName, childAnnotation, descriptionAnnotation, nextDatatype);
          }
        }

        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

          } else {
            def = new RuntimeChildCompositeDatatypeDefinition(next, elementName, childAnnotation, descriptionAnnotation, nextDatatype);
          }
        }

        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

          } else {
            def = new RuntimeChildCompositeDatatypeDefinition(next, elementName, childAnnotation, descriptionAnnotation, nextDatatype);
          }
        }

        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

Related Classes of ca.uhn.fhir.model.api.CodeableConceptElement

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.