Searched refs:fhirResourceType (Results 1 – 5 of 5) sorted by relevance
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/ |
D | TransactionManagerTest.java | 305 String fhirResourceType = getFhirResourceType(FHIR_DATA_IMMUNIZATION); in insertMedicalResources_returnsMedicalResources() local 306 UUID uuid = generateMedicalResourceUUID(fhirResourceId, fhirResourceType, DATA_SOURCE_ID); in insertMedicalResources_returnsMedicalResources() 318 .setFhirResourceType(fhirResourceType) in insertMedicalResources_returnsMedicalResources() 333 String fhirResourceType = getFhirResourceType(FHIR_DATA_IMMUNIZATION); in insertSingleMedicalResource_readSingleResource() local 334 UUID uuid = generateMedicalResourceUUID(fhirResourceId, fhirResourceType, DATA_SOURCE_ID); in insertSingleMedicalResource_readSingleResource() 338 .setFhirResourceType(fhirResourceType) in insertSingleMedicalResource_readSingleResource() 342 List.of(new MedicalResourceId(DATA_SOURCE_ID, fhirResourceType, fhirResourceId)); in insertSingleMedicalResource_readSingleResource() 417 String fhirResourceType = getFhirResourceType(FHIR_DATA_IMMUNIZATION); in updateSingleMedicalResource_success() local 422 .setFhirResourceType(fhirResourceType) in updateSingleMedicalResource_success() 428 .setFhirResourceType(fhirResourceType) in updateSingleMedicalResource_success() [all …]
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/ |
D | MedicalResourceHelperTest.java | 55 String fhirResourceType = getFhirResourceType(FHIR_DATA_IMMUNIZATION); in getUpsertTableRequest_correctResult() local 59 .setFhirResourceType(fhirResourceType) in getUpsertTableRequest_correctResult() 62 UUID uuid = generateMedicalResourceUUID(fhirResourceId, fhirResourceType, DATA_SOURCE_ID); in getUpsertTableRequest_correctResult() 72 .isEqualTo(MedicalResourceHelper.getFhirResourceTypeInt(fhirResourceType)); in getUpsertTableRequest_correctResult()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/ |
D | MedicalResourceId.java | 51 @NonNull String fhirResourceType, in MedicalResourceId() argument 54 requireNonNull(fhirResourceType); in MedicalResourceId() 57 mFhirResourceType = fhirResourceType; in MedicalResourceId()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/ |
D | MedicalResourceInternal.java | 107 public MedicalResourceInternal setFhirResourceType(@NonNull String fhirResourceType) { in setFhirResourceType() argument 108 requireNonNull(fhirResourceType); in setFhirResourceType() 109 mFhirResourceType = fhirResourceType; in setFhirResourceType()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/ |
D | MedicalResourceHelper.java | 211 private static int getMedicalResourceType(@NonNull String fhirResourceType) { in getMedicalResourceType() argument 212 int fhirResourceTypeInt = getFhirResourceTypeInt(fhirResourceType); in getMedicalResourceType() 234 static int getFhirResourceTypeInt(@NonNull String fhirResourceType) { in getFhirResourceTypeInt() argument 238 fhirResourceType.toUpperCase(Locale.ROOT), FHIR_RESOURCE_TYPE_UNKNOWN); in getFhirResourceTypeInt()
|