Add patient age into the metadata provider
This commit is contained in:
parent
6d2c324c8f
commit
1a0cd03abd
@ -71,7 +71,8 @@ export class MetadataProvider {
|
||||
name: studyMetadata.patientName,
|
||||
id: studyMetadata.patientId,
|
||||
birthDate: studyMetadata.patientBirthDate,
|
||||
sex: studyMetadata.patientSex
|
||||
sex: studyMetadata.patientSex,
|
||||
age: studyMetadata.patientAge
|
||||
};
|
||||
|
||||
// If there is sufficient information, populate
|
||||
@ -193,6 +194,8 @@ export class MetadataProvider {
|
||||
return;
|
||||
}
|
||||
|
||||
imageMetadata.patient.age = imageMetadata.patient.age || this.getFromDataSet(image.data, 'string', 'x00101010');
|
||||
|
||||
imageMetadata.instance.rows = imageMetadata.instance.rows || image.rows;
|
||||
imageMetadata.instance.columns = imageMetadata.instance.columns || image.columns;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user