toValue method
Implementation
String toValue() {
switch (this) {
case RelationshipType.every:
return 'EVERY';
case RelationshipType.withDosage:
return 'WITH_DOSAGE';
case RelationshipType.administeredVia:
return 'ADMINISTERED_VIA';
case RelationshipType.$for:
return 'FOR';
case RelationshipType.negative:
return 'NEGATIVE';
case RelationshipType.overlap:
return 'OVERLAP';
case RelationshipType.dosage:
return 'DOSAGE';
case RelationshipType.routeOrMode:
return 'ROUTE_OR_MODE';
case RelationshipType.form:
return 'FORM';
case RelationshipType.frequency:
return 'FREQUENCY';
case RelationshipType.duration:
return 'DURATION';
case RelationshipType.strength:
return 'STRENGTH';
case RelationshipType.rate:
return 'RATE';
case RelationshipType.acuity:
return 'ACUITY';
case RelationshipType.testValue:
return 'TEST_VALUE';
case RelationshipType.testUnits:
return 'TEST_UNITS';
case RelationshipType.direction:
return 'DIRECTION';
case RelationshipType.systemOrganSite:
return 'SYSTEM_ORGAN_SITE';
}
}