/** * Gets the first repetition for <b>communication</b> (A language the practitioner is able to use in patient communication), * creating it if it does not already exist. * * <p> * <b>Definition:</b> * A language the practitioner is able to use in patient communication * </p> */ public CodeableConceptDt getCommunicationFirstRep() { if (getCommunication().isEmpty()) { return addCommunication(); } return getCommunication().get(0); }
/** * Gets the first repetition for <b>identifier</b> (A identifier for the person as this agent), * creating it if it does not already exist. * * <p> * <b>Definition:</b> * An identifier that applies to this person in this role * </p> */ public IdentifierDt getIdentifierFirstRep() { if (getIdentifier().isEmpty()) { return addIdentifier(); } return getIdentifier().get(0); } /**
/** * Sets the value(s), and clears any existing value(s) for <b>specialty</b> (Specific specialty of the practitioner) * * <p> * <b>Definition:</b> * Specific specialty of the practitioner * </p> */ public Practitioner setSpecialty(PractitionerSpecialtyEnum theValue) { getSpecialty().clear(); addSpecialty(theValue); return this; }
/** * Sets the value(s), and clears any existing value(s) for <b>role</b> (Roles which this practitioner may perform) * * <p> * <b>Definition:</b> * Roles which this practitioner is authorized to perform for the organization * </p> */ public Practitioner setRole(PractitionerRoleEnum theValue) { getRole().clear(); addRole(theValue); return this; }
/** * Gets the first repetition for <b>qualification</b> (Qualifications obtained by training and certification), * creating it if it does not already exist. * * <p> * <b>Definition:</b> * * </p> */ public Qualification getQualificationFirstRep() { if (getQualification().isEmpty()) { return addQualification(); } return getQualification().get(0); }
/** * Gets the first repetition for <b>telecom</b> (A contact detail for the practitioner), * creating it if it does not already exist. * * <p> * <b>Definition:</b> * A contact detail for the practitioner, e.g. a telephone number or an email address. * </p> */ public ContactDt getTelecomFirstRep() { if (getTelecom().isEmpty()) { return addTelecom(); } return getTelecom().get(0); } /**
/** * Sets the value(s) for <b>gender</b> (Gender for administrative purposes) * * <p> * <b>Definition:</b> * Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes. * </p> */ public Practitioner setGender(AdministrativeGenderCodesEnum theValue) { getGender().setValueAsEnum(theValue); return this; }
/** * Adds and returns a new value for <b>communication</b> (A language the practitioner is able to use in patient communication) * * <p> * <b>Definition:</b> * A language the practitioner is able to use in patient communication * </p> */ public CodeableConceptDt addCommunication() { CodeableConceptDt newType = new CodeableConceptDt(); getCommunication().add(newType); return newType; }
EncounterUtil.getEncounterProvider(encounter).getId().getIdPart())) { return Constants.TX_NO_KEY;
/** * Gets the first repetition for <b>specialty</b> (Specific specialty of the practitioner), * creating it if it does not already exist. * * <p> * <b>Definition:</b> * Specific specialty of the practitioner * </p> */ public BoundCodeableConceptDt<PractitionerSpecialtyEnum> getSpecialtyFirstRep() { if (getSpecialty().size() == 0) { addSpecialty(); } return getSpecialty().get(0); }
/** * Gets the first repetition for <b>role</b> (Roles which this practitioner may perform), * creating it if it does not already exist. * * <p> * <b>Definition:</b> * Roles which this practitioner is authorized to perform for the organization * </p> */ public BoundCodeableConceptDt<PractitionerRoleEnum> getRoleFirstRep() { if (getRole().size() == 0) { addRole(); } return getRole().get(0); }