@Override public Model getCREATEModel(Representation rep) { return ((ModelImpl) super.getCREATEModel(rep)) .required("description"); }
@Override public Model getCREATEModel(Representation rep) { return ((ModelImpl) super.getCREATEModel(rep)) .required("description"); }
@Override public Model getCREATEModel(Representation representation) { return new ModelImpl() .property("conceptReferenceTerm", new RefProperty("#/definitions/ConceptreferencetermCreate")) .property("conceptMapType", new RefProperty("#/definitions/ConceptmaptypeCreate")) .required("conceptReferenceTerm").required("conceptMapType"); }
@Override public Model getCREATEModel(Representation rep) { return new ModelImpl() .property("name", new StringProperty()) .property("description", new StringProperty()) .property("memberIds", new ArrayProperty(new IntegerProperty())) //FIXME .required("name").required("description").required("memberIds"); }
@Override public Model getCREATEModel(Representation rep) { ModelImpl model = ((ModelImpl) super.getCREATEModel(rep)) .property("concept", new StringProperty().example("uuid")) .property("retired", new BooleanProperty()) .required("concept").required("description"); if (rep instanceof FullRepresentation) { model .property("concept", new RefProperty("#/definitions/ConceptCreate")); } return model; }
@Override public Model getCREATEModel(Representation rep) { ModelImpl model = new ModelImpl() .property("person", new StringProperty().example("uuid")) .property("identifiers", new ArrayProperty(new RefProperty("#/definitions/PatientIdentifierCreate"))) .required("person").required("identifiers"); if (rep instanceof FullRepresentation) { model .property("person", new RefProperty("#/definitions/PersonCreate")); } return model; }
@Override public Model getCREATEModel(Representation rep) { return new ModelImpl() .property("name", new StringProperty()) .property("description", new StringProperty()) .required("name"); }
@Override public Model getCREATEModel(Representation rep) { return new ModelImpl() .property("name", new StringProperty()) .property("locale", new StringProperty().example("en")) .property("localePreferred", new BooleanProperty()._default(false)) .property("conceptNameType", new EnumProperty(ConceptNameType.class)) .required("name").required("locale"); }
@Override public Model getCREATEModel(Representation rep) { return ((ModelImpl) super.getCREATEModel(rep)) .property("problem", new RefProperty("#/definitions/ConceptCreate")) .property("modifier", new EnumProperty(ProblemModifier.class)) .property("sortWeight", new DoubleProperty()) .required("problem"); }
@Override public Model getCREATEModel(Representation rep) { return new ModelImpl() .property("ingredient", new StringProperty().example("uuid")) .property("strength", new DoubleProperty()) .property("units", new StringProperty().example("uuid")) .required("ingredient"); }
@Override public Model getCREATEModel(Representation rep) { return new ModelImpl() .property("modules", new ArrayProperty(new StringProperty().example("moduleId"))) .property("allModules", new BooleanProperty()) .property("action", new EnumProperty(ModuleAction.Action.class)) .property("installUri", new StringProperty()) .required("action"); }
@Override public Model getCREATEModel(Representation rep) { return ((ModelImpl) super.getCREATEModel(rep)) .property("datatypeClassname", new StringProperty()) .property("minOccurs", new IntegerProperty()) .property("maxOccurs", new IntegerProperty()) .property("datatypeConfig", new StringProperty()) .property("preferredHandlerClassname", new StringProperty()) .property("handlerConfig", new StringProperty()) .required("datatypeClassname"); }
@Override public Model getCREATEModel(Representation rep) { return ((ModelImpl) super.getCREATEModel(rep)) .property("format", new StringProperty().example("java.lang.String")) .property("foreignKey", new IntegerProperty()) .property("sortWeight", new DoubleProperty()) .property("searchable", new BooleanProperty()._default(false)) .property("editPrivilege", new RefProperty("#/definitions/PrivilegeCreate")) .required("description"); }
@Override public Model getCREATEModel(Representation rep) { return new ModelImpl() .property("property", new StringProperty()) .property("description", new StringProperty()) .property("datatypeClassname", new StringProperty()) .property("datatypeConfig", new StringProperty()) .property("preferredHandlerClassname", new StringProperty()) .property("handlerConfig", new StringProperty()) .property("value", new StringProperty()) .required("property"); }
@Override public Model getCREATEModel(Representation rep) { return new ModelImpl() .property("patient", new StringProperty().example("uuid")) .property("concept", new StringProperty().example("uuid")) .property("startDate", new DateProperty()) .property("autoExpireDate", new DateProperty()) .property("standardRegimenCode", new StringProperty()) .property("instructions", new StringProperty()) .required("patient").required("concept"); }
@Override public Model getCREATEModel(Representation rep) { return new ModelImpl() .property("allergen", new ObjectProperty()) //FIXME type .property("severity", new ObjectProperty() .property("uuid", new StringProperty())) .property("comment", new StringProperty()) .property("reactions", new ArrayProperty(new ObjectProperty() .property("allergy", new ObjectProperty().property("uuid", new StringProperty())) .property("reaction", new ObjectProperty().property("uuid", new StringProperty())))) .required("allergen"); }