@persei/perseed-api 4.34.22 → 4.34.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -516,6 +516,9 @@
|
|
|
516
516
|
"items": {
|
|
517
517
|
"$ref": "#/definitions/PatientListColumn"
|
|
518
518
|
}
|
|
519
|
+
},
|
|
520
|
+
"appearance": {
|
|
521
|
+
"$ref": "#/definitions/PatientListAppearance"
|
|
519
522
|
}
|
|
520
523
|
},
|
|
521
524
|
"additionalProperties": false
|
|
@@ -553,11 +556,21 @@
|
|
|
553
556
|
},
|
|
554
557
|
"template": {
|
|
555
558
|
"type": "string"
|
|
559
|
+
},
|
|
560
|
+
"notVisible": {
|
|
561
|
+
"type": "boolean"
|
|
562
|
+
},
|
|
563
|
+
"type": {
|
|
564
|
+
"$ref": "#/definitions/ColumnType"
|
|
556
565
|
}
|
|
557
566
|
},
|
|
558
|
-
"required": ["key", "
|
|
567
|
+
"required": ["key", "template", "type"],
|
|
559
568
|
"additionalProperties": false
|
|
560
569
|
},
|
|
570
|
+
"ColumnType": {
|
|
571
|
+
"type": "string",
|
|
572
|
+
"enum": ["text", "number", "boolean", "date", "time", "datetime"]
|
|
573
|
+
},
|
|
561
574
|
"PatientListColumn": {
|
|
562
575
|
"type": "object",
|
|
563
576
|
"properties": {
|
|
@@ -572,11 +585,325 @@
|
|
|
572
585
|
},
|
|
573
586
|
"key": {
|
|
574
587
|
"type": "string"
|
|
588
|
+
},
|
|
589
|
+
"notVisible": {
|
|
590
|
+
"type": "boolean"
|
|
591
|
+
},
|
|
592
|
+
"presentationWidget": {
|
|
593
|
+
"$ref": "#/definitions/PresentationWidget"
|
|
594
|
+
},
|
|
595
|
+
"presentationWidgetSettings": {
|
|
596
|
+
"$ref": "#/definitions/PresentationWidgetSettings"
|
|
575
597
|
}
|
|
576
598
|
},
|
|
577
599
|
"required": ["key"],
|
|
578
600
|
"additionalProperties": false
|
|
579
601
|
},
|
|
602
|
+
"PresentationWidget": {
|
|
603
|
+
"type": "string",
|
|
604
|
+
"enum": ["text", "icon", "icon_text"]
|
|
605
|
+
},
|
|
606
|
+
"PresentationWidgetSettings": {
|
|
607
|
+
"anyOf": [
|
|
608
|
+
{
|
|
609
|
+
"$ref": "#/definitions/TextPresentationWidgetProps"
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"$ref": "#/definitions/IconPresentationWidgetProps"
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"$ref": "#/definitions/IconTextPresentationWidgetProps"
|
|
616
|
+
}
|
|
617
|
+
]
|
|
618
|
+
},
|
|
619
|
+
"TextPresentationWidgetProps": {
|
|
620
|
+
"$ref": "#/definitions/PresentationWidgetWithConditionalProps%3CTextPresentationWidgetFields%3E"
|
|
621
|
+
},
|
|
622
|
+
"PresentationWidgetWithConditionalProps<TextPresentationWidgetFields>": {
|
|
623
|
+
"type": "object",
|
|
624
|
+
"additionalProperties": false,
|
|
625
|
+
"properties": {
|
|
626
|
+
"conditionalProps": {
|
|
627
|
+
"type": "array",
|
|
628
|
+
"items": {
|
|
629
|
+
"type": "object",
|
|
630
|
+
"additionalProperties": false,
|
|
631
|
+
"properties": {
|
|
632
|
+
"conditions": {},
|
|
633
|
+
"continueEvaluate": {
|
|
634
|
+
"type": "boolean"
|
|
635
|
+
},
|
|
636
|
+
"template": {
|
|
637
|
+
"type": "string"
|
|
638
|
+
},
|
|
639
|
+
"textColor": {
|
|
640
|
+
"type": "string"
|
|
641
|
+
},
|
|
642
|
+
"bgColor": {
|
|
643
|
+
"type": "string"
|
|
644
|
+
}
|
|
645
|
+
},
|
|
646
|
+
"required": ["conditions", "template"]
|
|
647
|
+
}
|
|
648
|
+
},
|
|
649
|
+
"template": {
|
|
650
|
+
"type": "string"
|
|
651
|
+
},
|
|
652
|
+
"textColor": {
|
|
653
|
+
"type": "string"
|
|
654
|
+
},
|
|
655
|
+
"bgColor": {
|
|
656
|
+
"type": "string"
|
|
657
|
+
}
|
|
658
|
+
},
|
|
659
|
+
"required": ["template"]
|
|
660
|
+
},
|
|
661
|
+
"IconPresentationWidgetProps": {
|
|
662
|
+
"$ref": "#/definitions/PresentationWidgetWithConditionalProps%3CIconPresentationWidgetFields%3E"
|
|
663
|
+
},
|
|
664
|
+
"PresentationWidgetWithConditionalProps<IconPresentationWidgetFields>": {
|
|
665
|
+
"type": "object",
|
|
666
|
+
"additionalProperties": false,
|
|
667
|
+
"properties": {
|
|
668
|
+
"conditionalProps": {
|
|
669
|
+
"type": "array",
|
|
670
|
+
"items": {
|
|
671
|
+
"type": "object",
|
|
672
|
+
"additionalProperties": false,
|
|
673
|
+
"properties": {
|
|
674
|
+
"conditions": {},
|
|
675
|
+
"continueEvaluate": {
|
|
676
|
+
"type": "boolean"
|
|
677
|
+
},
|
|
678
|
+
"icon": {
|
|
679
|
+
"type": "string"
|
|
680
|
+
},
|
|
681
|
+
"iconColor": {
|
|
682
|
+
"type": "string"
|
|
683
|
+
},
|
|
684
|
+
"bgColor": {
|
|
685
|
+
"type": "string"
|
|
686
|
+
}
|
|
687
|
+
},
|
|
688
|
+
"required": ["conditions", "icon"]
|
|
689
|
+
}
|
|
690
|
+
},
|
|
691
|
+
"icon": {
|
|
692
|
+
"type": "string"
|
|
693
|
+
},
|
|
694
|
+
"iconColor": {
|
|
695
|
+
"type": "string"
|
|
696
|
+
},
|
|
697
|
+
"bgColor": {
|
|
698
|
+
"type": "string"
|
|
699
|
+
}
|
|
700
|
+
},
|
|
701
|
+
"required": ["icon"]
|
|
702
|
+
},
|
|
703
|
+
"IconTextPresentationWidgetProps": {
|
|
704
|
+
"$ref": "#/definitions/PresentationWidgetWithConditionalProps%3CIconTextPresentationWidgetFields%3E"
|
|
705
|
+
},
|
|
706
|
+
"PresentationWidgetWithConditionalProps<IconTextPresentationWidgetFields>": {
|
|
707
|
+
"type": "object",
|
|
708
|
+
"additionalProperties": false,
|
|
709
|
+
"properties": {
|
|
710
|
+
"conditionalProps": {
|
|
711
|
+
"type": "array",
|
|
712
|
+
"items": {
|
|
713
|
+
"type": "object",
|
|
714
|
+
"additionalProperties": false,
|
|
715
|
+
"properties": {
|
|
716
|
+
"conditions": {},
|
|
717
|
+
"continueEvaluate": {
|
|
718
|
+
"type": "boolean"
|
|
719
|
+
},
|
|
720
|
+
"template": {
|
|
721
|
+
"type": "string"
|
|
722
|
+
},
|
|
723
|
+
"textColor": {
|
|
724
|
+
"type": "string"
|
|
725
|
+
},
|
|
726
|
+
"icon": {
|
|
727
|
+
"type": "string"
|
|
728
|
+
},
|
|
729
|
+
"iconColor": {
|
|
730
|
+
"type": "string"
|
|
731
|
+
},
|
|
732
|
+
"iconPosition": {
|
|
733
|
+
"$ref": "#/definitions/IconPosition"
|
|
734
|
+
},
|
|
735
|
+
"bgColor": {
|
|
736
|
+
"type": "string"
|
|
737
|
+
}
|
|
738
|
+
},
|
|
739
|
+
"required": ["conditions", "icon", "iconPosition", "template"]
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
"template": {
|
|
743
|
+
"type": "string"
|
|
744
|
+
},
|
|
745
|
+
"textColor": {
|
|
746
|
+
"type": "string"
|
|
747
|
+
},
|
|
748
|
+
"icon": {
|
|
749
|
+
"type": "string"
|
|
750
|
+
},
|
|
751
|
+
"iconColor": {
|
|
752
|
+
"type": "string"
|
|
753
|
+
},
|
|
754
|
+
"iconPosition": {
|
|
755
|
+
"$ref": "#/definitions/IconPosition"
|
|
756
|
+
},
|
|
757
|
+
"bgColor": {
|
|
758
|
+
"type": "string"
|
|
759
|
+
}
|
|
760
|
+
},
|
|
761
|
+
"required": ["icon", "iconPosition", "template"]
|
|
762
|
+
},
|
|
763
|
+
"IconPosition": {
|
|
764
|
+
"type": "string",
|
|
765
|
+
"enum": ["up", "down", "left", "right"]
|
|
766
|
+
},
|
|
767
|
+
"PatientListAppearance": {
|
|
768
|
+
"type": "object",
|
|
769
|
+
"properties": {
|
|
770
|
+
"backgroundColor": {
|
|
771
|
+
"type": "array",
|
|
772
|
+
"items": {
|
|
773
|
+
"$ref": "#/definitions/PatientListBackgroundColor"
|
|
774
|
+
}
|
|
775
|
+
},
|
|
776
|
+
"order": {
|
|
777
|
+
"type": "array",
|
|
778
|
+
"items": {
|
|
779
|
+
"$ref": "#/definitions/Order"
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
},
|
|
783
|
+
"additionalProperties": false
|
|
784
|
+
},
|
|
785
|
+
"PatientListBackgroundColor": {
|
|
786
|
+
"type": "object",
|
|
787
|
+
"properties": {
|
|
788
|
+
"conditions": {
|
|
789
|
+
"$ref": "#/definitions/ConditionsRules"
|
|
790
|
+
},
|
|
791
|
+
"backgroundColor": {
|
|
792
|
+
"type": "string"
|
|
793
|
+
},
|
|
794
|
+
"continueEvaluate": {
|
|
795
|
+
"type": "boolean"
|
|
796
|
+
}
|
|
797
|
+
},
|
|
798
|
+
"required": ["conditions", "backgroundColor"],
|
|
799
|
+
"additionalProperties": false
|
|
800
|
+
},
|
|
801
|
+
"ConditionsRules": {
|
|
802
|
+
"anyOf": [
|
|
803
|
+
{
|
|
804
|
+
"$ref": "#/definitions/Conditions"
|
|
805
|
+
},
|
|
806
|
+
{}
|
|
807
|
+
],
|
|
808
|
+
"description": "Importing the types from json-logic-js makes the process of generating schema.json fails so we use any instead"
|
|
809
|
+
},
|
|
810
|
+
"Conditions": {
|
|
811
|
+
"anyOf": [
|
|
812
|
+
{
|
|
813
|
+
"$ref": "#/definitions/ConditionExpression"
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
"$ref": "#/definitions/ConditionOperator"
|
|
817
|
+
}
|
|
818
|
+
]
|
|
819
|
+
},
|
|
820
|
+
"ConditionExpression": {
|
|
821
|
+
"type": "object",
|
|
822
|
+
"additionalProperties": {
|
|
823
|
+
"$ref": "#/definitions/ConditionValue"
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
"ConditionValue": {
|
|
827
|
+
"type": "object",
|
|
828
|
+
"properties": {
|
|
829
|
+
"equal": {
|
|
830
|
+
"type": ["string", "number", "boolean"]
|
|
831
|
+
},
|
|
832
|
+
"not_equal": {
|
|
833
|
+
"type": ["string", "number", "boolean"]
|
|
834
|
+
},
|
|
835
|
+
"contains": {
|
|
836
|
+
"type": "string"
|
|
837
|
+
},
|
|
838
|
+
"not_contains": {
|
|
839
|
+
"type": "string"
|
|
840
|
+
},
|
|
841
|
+
"greater_than": {
|
|
842
|
+
"type": ["string", "number"]
|
|
843
|
+
},
|
|
844
|
+
"less_than": {
|
|
845
|
+
"type": ["string", "number"]
|
|
846
|
+
},
|
|
847
|
+
"empty": {
|
|
848
|
+
"type": ["string", "number", "boolean"]
|
|
849
|
+
},
|
|
850
|
+
"not_empty": {
|
|
851
|
+
"type": ["string", "number", "boolean"]
|
|
852
|
+
},
|
|
853
|
+
"parseValue": {
|
|
854
|
+
"type": "boolean"
|
|
855
|
+
},
|
|
856
|
+
"operator": {
|
|
857
|
+
"type": "string",
|
|
858
|
+
"enum": ["AND", "OR"]
|
|
859
|
+
}
|
|
860
|
+
},
|
|
861
|
+
"additionalProperties": false
|
|
862
|
+
},
|
|
863
|
+
"ConditionOperator": {
|
|
864
|
+
"type": "object",
|
|
865
|
+
"properties": {
|
|
866
|
+
"AND": {
|
|
867
|
+
"type": "array",
|
|
868
|
+
"items": {
|
|
869
|
+
"$ref": "#/definitions/Conditions"
|
|
870
|
+
}
|
|
871
|
+
},
|
|
872
|
+
"OR": {
|
|
873
|
+
"type": "array",
|
|
874
|
+
"items": {
|
|
875
|
+
"$ref": "#/definitions/Conditions"
|
|
876
|
+
}
|
|
877
|
+
},
|
|
878
|
+
"NOT": {
|
|
879
|
+
"type": "array",
|
|
880
|
+
"items": {
|
|
881
|
+
"$ref": "#/definitions/Conditions"
|
|
882
|
+
}
|
|
883
|
+
},
|
|
884
|
+
"JQ": {
|
|
885
|
+
"type": "string"
|
|
886
|
+
}
|
|
887
|
+
},
|
|
888
|
+
"additionalProperties": false
|
|
889
|
+
},
|
|
890
|
+
"Order": {
|
|
891
|
+
"type": "object",
|
|
892
|
+
"properties": {
|
|
893
|
+
"order": {
|
|
894
|
+
"$ref": "#/definitions/OrderType"
|
|
895
|
+
},
|
|
896
|
+
"orderBy": {
|
|
897
|
+
"type": "string"
|
|
898
|
+
}
|
|
899
|
+
},
|
|
900
|
+
"required": ["order", "orderBy"],
|
|
901
|
+
"additionalProperties": false
|
|
902
|
+
},
|
|
903
|
+
"OrderType": {
|
|
904
|
+
"type": "string",
|
|
905
|
+
"enum": ["asc", "desc"]
|
|
906
|
+
},
|
|
580
907
|
"DashboardProps": {
|
|
581
908
|
"type": "object",
|
|
582
909
|
"properties": {
|