public static org.hl7.fhir.dstu2016may.model.Narrative convertNarrative(org.hl7.fhir.dstu3.model.Narrative src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu2016may.model.Narrative tgt = new org.hl7.fhir.dstu2016may.model.Narrative(); copyElement(src, tgt); tgt.setStatus(convertNarrativeStatus(src.getStatus())); tgt.setDiv(src.getDiv()); return tgt; }
public org.hl7.fhir.instance.model.Narrative convertNarrative(org.hl7.fhir.dstu3.model.Narrative src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.instance.model.Narrative tgt = new org.hl7.fhir.instance.model.Narrative(); copyElement(src, tgt); tgt.setStatus(convertNarrativeStatus(src.getStatus())); tgt.setDiv(src.getDiv()); return tgt; }
public boolean hasText() { return this.text != null && !this.text.isEmpty(); }
public boolean hasText() { return this.text != null && !this.text.isEmpty(); }
public static org.hl7.fhir.dstu2016may.model.Narrative convertNarrative(org.hl7.fhir.dstu3.model.Narrative src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu2016may.model.Narrative tgt = new org.hl7.fhir.dstu2016may.model.Narrative(); copyElement(src, tgt); tgt.setStatus(convertNarrativeStatus(src.getStatus())); tgt.setDiv(src.getDiv()); return tgt; }
public org.hl7.fhir.instance.model.Narrative convertNarrative(org.hl7.fhir.dstu3.model.Narrative src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.instance.model.Narrative tgt = new org.hl7.fhir.instance.model.Narrative(); copyElement(src, tgt); tgt.setStatus(convertNarrativeStatus(src.getStatus())); tgt.setDiv(src.getDiv()); return tgt; }