|
@@ -34,6 +34,17 @@ class PatientDetailPage extends GetView<PatientDetailController> {
|
|
children: [
|
|
children: [
|
|
const BaseInfoCard(),
|
|
const BaseInfoCard(),
|
|
const SizedBox(height: 12),
|
|
const SizedBox(height: 12),
|
|
|
|
+ if (Store.user
|
|
|
|
+ .hasFeature(FeatureKeys.CrowdClassification)) ...[
|
|
|
|
+ const SizedBox(height: 12),
|
|
|
|
+ const Expanded(
|
|
|
|
+ child: CrowdLabelsCard(),
|
|
|
|
+ ),
|
|
|
|
+ ],
|
|
|
|
+ if (Store.user.hasFeature(FeatureKeys.ContractStatus)) ...[
|
|
|
|
+ const SizedBox(height: 12),
|
|
|
|
+ const Expanded(child: FollowupTipsCard()),
|
|
|
|
+ ],
|
|
if (Store.user.hasFeature(FeatureKeys.RecentTestRecords))
|
|
if (Store.user.hasFeature(FeatureKeys.RecentTestRecords))
|
|
FutureBuilder(
|
|
FutureBuilder(
|
|
future: controller.onReadLastRecordInfo(),
|
|
future: controller.onReadLastRecordInfo(),
|
|
@@ -46,17 +57,6 @@ class PatientDetailPage extends GetView<PatientDetailController> {
|
|
);
|
|
);
|
|
},
|
|
},
|
|
),
|
|
),
|
|
- if (Store.user
|
|
|
|
- .hasFeature(FeatureKeys.CrowdClassification)) ...[
|
|
|
|
- const SizedBox(height: 12),
|
|
|
|
- const Expanded(
|
|
|
|
- child: CrowdLabelsCard(),
|
|
|
|
- ),
|
|
|
|
- ],
|
|
|
|
- if (Store.user.hasFeature(FeatureKeys.ContractStatus)) ...[
|
|
|
|
- const SizedBox(height: 12),
|
|
|
|
- const Expanded(child: FollowupTipsCard()),
|
|
|
|
- ]
|
|
|
|
],
|
|
],
|
|
),
|
|
),
|
|
),
|
|
),
|