public boolean hasPrediction() { if (this.prediction == null) return false; for (RiskAssessmentPredictionComponent item : this.prediction) if (!item.isEmpty()) return true; return false; }
public org.hl7.fhir.instance.model.RiskAssessment.RiskAssessmentPredictionComponent convertRiskAssessmentPredictionComponent(org.hl7.fhir.r4.model.RiskAssessment.RiskAssessmentPredictionComponent src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.instance.model.RiskAssessment.RiskAssessmentPredictionComponent tgt = new org.hl7.fhir.instance.model.RiskAssessment.RiskAssessmentPredictionComponent(); copyElement(src, tgt); tgt.setOutcome(convertCodeableConcept(src.getOutcome())); tgt.setProbability(convertType(src.getProbability())); tgt.setRelativeRisk(src.getRelativeRisk()); tgt.setWhen(convertType(src.getWhen())); tgt.setRationale(src.getRationale()); return tgt; }
public org.hl7.fhir.instance.model.RiskAssessment.RiskAssessmentPredictionComponent convertRiskAssessmentPredictionComponent(org.hl7.fhir.r4.model.RiskAssessment.RiskAssessmentPredictionComponent src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.instance.model.RiskAssessment.RiskAssessmentPredictionComponent tgt = new org.hl7.fhir.instance.model.RiskAssessment.RiskAssessmentPredictionComponent(); copyElement(src, tgt); tgt.setOutcome(convertCodeableConcept(src.getOutcome())); tgt.setProbability(convertType(src.getProbability())); tgt.setRelativeRisk(src.getRelativeRisk()); tgt.setWhen(convertType(src.getWhen())); tgt.setRationale(src.getRationale()); return tgt; }
public boolean hasPrediction() { if (this.prediction == null) return false; for (RiskAssessmentPredictionComponent item : this.prediction) if (!item.isEmpty()) return true; return false; }