use of org.openmrs.module.reporting.data.person.definition.PersonAttributeDataDefinition in project openmrs-module-pihcore by PIH.
the class PihPersonDataLibrary method getMothersFirstName.
public PersonDataDefinition getMothersFirstName() {
PersonAttributeDataDefinition d = new PersonAttributeDataDefinition();
d.setPersonAttributeType(Metadata.getMothersFirstNameAttributeType());
return convert(d, converters.getRawAttributeValue());
}
use of org.openmrs.module.reporting.data.person.definition.PersonAttributeDataDefinition in project openmrs-module-pihcore by PIH.
the class PihPatientDataLibrary method getUnknownPatient.
// Demographics
@DocumentedDefinition("unknownPatient.value")
public PatientDataDefinition getUnknownPatient() {
PersonAttributeDataDefinition d = new PersonAttributeDataDefinition();
d.setPersonAttributeType(emrApiProperties.getUnknownPatientPersonAttributeType());
return convert(d, converters.getRawAttributeValue());
}
use of org.openmrs.module.reporting.data.person.definition.PersonAttributeDataDefinition in project openmrs-module-pihcore by PIH.
the class PihPersonDataLibrary method getTelephoneNumber.
@DocumentedDefinition("telephoneNumber")
public PersonDataDefinition getTelephoneNumber() {
PersonAttributeDataDefinition d = new PersonAttributeDataDefinition();
d.setPersonAttributeType(emrApiProperties.getTelephoneAttributeType());
return convert("telephoneNumber.value", d, converters.getRawAttributeValue());
}
Aggregations