c.setCode(cda.getChild(l, "languageCode").getAttribute("code")); cc.getCoding().add(c); pat.addCommunication().setLanguage(cc);
/** * @return The first repetition of repeating field {@link #communication}, creating it if it does not already exist */ public PatientCommunicationComponent getCommunicationFirstRep() { if (getCommunication().isEmpty()) { addCommunication(); } return getCommunication().get(0); }
tgt.setAnimal(convertAnimalComponent(src.getAnimal())); for (org.hl7.fhir.instance.model.Patient.PatientCommunicationComponent t : src.getCommunication()) tgt.addCommunication(convertPatientCommunicationComponent(t)); for (org.hl7.fhir.instance.model.Reference t : src.getCareProvider()) tgt.addGeneralPractitioner(convertReference(t));
c.setCode(cda.getChild(l, "languageCode").getAttribute("code")); cc.getCoding().add(c); pat.addCommunication().setLanguage(cc);
@Override public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { case -1618432855: return addIdentifier(); case -1422950650: return getActiveElement(); case 3373707: return addName(); case -1429363305: return addTelecom(); case -1249512767: return getGenderElement(); case -1210031859: return getBirthDateElement(); case -1311442804: return getDeceased(); case 561497972: return getDeceased(); case -1147692044: return addAddress(); case 1756919302: return getMaritalStatus(); case -1764672111: return getMultipleBirth(); case -677369713: return getMultipleBirth(); case 106642994: return addPhoto(); case 951526432: return addContact(); case -1413116420: return getAnimal(); case -1035284522: return addCommunication(); case 1488292898: return addGeneralPractitioner(); case -2058947787: return getManagingOrganization(); case 3321850: return addLink(); default: return super.makeProperty(hash, name); } }
tgt.setAnimal(convertAnimalComponent(src.getAnimal())); for (org.hl7.fhir.instance.model.Patient.PatientCommunicationComponent t : src.getCommunication()) tgt.addCommunication(convertPatientCommunicationComponent(t)); for (org.hl7.fhir.instance.model.Reference t : src.getCareProvider()) tgt.addGeneralPractitioner(convertReference(t));