Search in sources :

Example 1 with PreferredIdentifierDataDefinition

use of org.openmrs.module.reporting.data.patient.definition.PreferredIdentifierDataDefinition in project openmrs-module-pihcore by PIH.

the class PihPatientDataLibrary method getBiometricsIdentifierObject.

@DocumentedDefinition
public PatientDataDefinition getBiometricsIdentifierObject() {
    PreferredIdentifierDataDefinition d = new PreferredIdentifierDataDefinition();
    d.setIdentifierType(Metadata.getBiometricsReferenceNumberIdentifierType());
    return d;
}
Also used : PreferredIdentifierDataDefinition(org.openmrs.module.reporting.data.patient.definition.PreferredIdentifierDataDefinition) DocumentedDefinition(org.openmrs.module.reporting.definition.library.DocumentedDefinition)

Example 2 with PreferredIdentifierDataDefinition

use of org.openmrs.module.reporting.data.patient.definition.PreferredIdentifierDataDefinition in project openmrs-module-pihcore by PIH.

the class PihPatientDataLibrary method getPreferredPrimaryIdentifierObject.

// Patient Identifier
@DocumentedDefinition
public PatientDataDefinition getPreferredPrimaryIdentifierObject() {
    PreferredIdentifierDataDefinition d = new PreferredIdentifierDataDefinition();
    d.setIdentifierType(emrApiProperties.getPrimaryIdentifierType());
    return d;
}
Also used : PreferredIdentifierDataDefinition(org.openmrs.module.reporting.data.patient.definition.PreferredIdentifierDataDefinition) DocumentedDefinition(org.openmrs.module.reporting.definition.library.DocumentedDefinition)

Aggregations

PreferredIdentifierDataDefinition (org.openmrs.module.reporting.data.patient.definition.PreferredIdentifierDataDefinition)2 DocumentedDefinition (org.openmrs.module.reporting.definition.library.DocumentedDefinition)2