Class: TencentCloud::Mrs::V20200910::Block
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::Block
- Defined in:
- lib/v20200910/models.rb
Overview
结构化信息
Instance Attribute Summary collapse
- #BirthCert ⇒ Object
- #C14 ⇒ Object
- #Check ⇒ Object
- #Covid ⇒ Object
- #DiagCert ⇒ Object
- #Electrocardiogram ⇒ Object
- #Endoscopy ⇒ Object
- #Exame ⇒ Object
- #Eye ⇒ Object
- #FirstPage ⇒ Object
- #Hospitalization ⇒ Object
- #Indicator ⇒ Object
- #IndicatorV3 ⇒ Object
- #Maternity ⇒ Object
- #MedDoc ⇒ Object
- #MedDocV2 ⇒ Object
- #MedicalRecordInfo ⇒ Object
- #Pathology ⇒ Object
- #PathologyV2 ⇒ Object
- #PhysicalExamination ⇒ Object
- #Prescription ⇒ Object
- #Surgery ⇒ Object
- #TextTypeListBlocks ⇒ Object
- #Timeline ⇒ Object
- #VaccineCertificate ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(check = nil, pathology = nil, meddoc = nil, diagcert = nil, firstpage = nil, indicator = nil, medicalrecordinfo = nil, hospitalization = nil, surgery = nil, prescription = nil, vaccinecertificate = nil, electrocardiogram = nil, pathologyv2 = nil, endoscopy = nil, c14 = nil, exame = nil, meddocv2 = nil, indicatorv3 = nil, maternity = nil, timeline = nil, covid = nil, eye = nil, birthcert = nil, texttypelistblocks = nil, physicalexamination = nil) ⇒ Block
constructor
A new instance of Block.
Constructor Details
#initialize(check = nil, pathology = nil, meddoc = nil, diagcert = nil, firstpage = nil, indicator = nil, medicalrecordinfo = nil, hospitalization = nil, surgery = nil, prescription = nil, vaccinecertificate = nil, electrocardiogram = nil, pathologyv2 = nil, endoscopy = nil, c14 = nil, exame = nil, meddocv2 = nil, indicatorv3 = nil, maternity = nil, timeline = nil, covid = nil, eye = nil, birthcert = nil, texttypelistblocks = nil, physicalexamination = nil) ⇒ Block
Returns a new instance of Block.
803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 |
# File 'lib/v20200910/models.rb', line 803 def initialize(check=nil, pathology=nil, meddoc=nil, diagcert=nil, firstpage=nil, indicator=nil, medicalrecordinfo=nil, hospitalization=nil, surgery=nil, prescription=nil, vaccinecertificate=nil, electrocardiogram=nil, pathologyv2=nil, endoscopy=nil, c14=nil, exame=nil, meddocv2=nil, indicatorv3=nil, maternity=nil, timeline=nil, covid=nil, eye=nil, birthcert=nil, texttypelistblocks=nil, physicalexamination=nil) @Check = check @Pathology = pathology @MedDoc = meddoc @DiagCert = diagcert @FirstPage = firstpage @Indicator = indicator @MedicalRecordInfo = medicalrecordinfo @Hospitalization = hospitalization @Surgery = surgery @Prescription = prescription @VaccineCertificate = vaccinecertificate @Electrocardiogram = electrocardiogram @PathologyV2 = pathologyv2 @Endoscopy = endoscopy @C14 = c14 @Exame = exame @MedDocV2 = meddocv2 @IndicatorV3 = indicatorv3 @Maternity = maternity @Timeline = timeline @Covid = covid @Eye = eye @BirthCert = birthcert @TextTypeListBlocks = texttypelistblocks @PhysicalExamination = physicalexamination end |
Instance Attribute Details
#BirthCert ⇒ Object
801 802 803 |
# File 'lib/v20200910/models.rb', line 801 def BirthCert @BirthCert end |
#C14 ⇒ Object
801 802 803 |
# File 'lib/v20200910/models.rb', line 801 def C14 @C14 end |
#Check ⇒ Object
801 802 803 |
# File 'lib/v20200910/models.rb', line 801 def Check @Check end |
#Covid ⇒ Object
801 802 803 |
# File 'lib/v20200910/models.rb', line 801 def Covid @Covid end |
#DiagCert ⇒ Object
801 802 803 |
# File 'lib/v20200910/models.rb', line 801 def DiagCert @DiagCert end |
#Electrocardiogram ⇒ Object
801 802 803 |
# File 'lib/v20200910/models.rb', line 801 def Electrocardiogram @Electrocardiogram end |
#Endoscopy ⇒ Object
801 802 803 |
# File 'lib/v20200910/models.rb', line 801 def Endoscopy @Endoscopy end |
#Exame ⇒ Object
801 802 803 |
# File 'lib/v20200910/models.rb', line 801 def Exame @Exame end |
#Eye ⇒ Object
801 802 803 |
# File 'lib/v20200910/models.rb', line 801 def Eye @Eye end |
#FirstPage ⇒ Object
801 802 803 |
# File 'lib/v20200910/models.rb', line 801 def FirstPage @FirstPage end |
#Hospitalization ⇒ Object
801 802 803 |
# File 'lib/v20200910/models.rb', line 801 def Hospitalization @Hospitalization end |
#Indicator ⇒ Object
801 802 803 |
# File 'lib/v20200910/models.rb', line 801 def Indicator @Indicator end |
#IndicatorV3 ⇒ Object
801 802 803 |
# File 'lib/v20200910/models.rb', line 801 def IndicatorV3 @IndicatorV3 end |
#Maternity ⇒ Object
801 802 803 |
# File 'lib/v20200910/models.rb', line 801 def Maternity @Maternity end |
#MedDoc ⇒ Object
801 802 803 |
# File 'lib/v20200910/models.rb', line 801 def MedDoc @MedDoc end |
#MedDocV2 ⇒ Object
801 802 803 |
# File 'lib/v20200910/models.rb', line 801 def MedDocV2 @MedDocV2 end |
#MedicalRecordInfo ⇒ Object
801 802 803 |
# File 'lib/v20200910/models.rb', line 801 def MedicalRecordInfo @MedicalRecordInfo end |
#Pathology ⇒ Object
801 802 803 |
# File 'lib/v20200910/models.rb', line 801 def Pathology @Pathology end |
#PathologyV2 ⇒ Object
801 802 803 |
# File 'lib/v20200910/models.rb', line 801 def PathologyV2 @PathologyV2 end |
#PhysicalExamination ⇒ Object
801 802 803 |
# File 'lib/v20200910/models.rb', line 801 def PhysicalExamination @PhysicalExamination end |
#Prescription ⇒ Object
801 802 803 |
# File 'lib/v20200910/models.rb', line 801 def Prescription @Prescription end |
#Surgery ⇒ Object
801 802 803 |
# File 'lib/v20200910/models.rb', line 801 def Surgery @Surgery end |
#TextTypeListBlocks ⇒ Object
801 802 803 |
# File 'lib/v20200910/models.rb', line 801 def TextTypeListBlocks @TextTypeListBlocks end |
#Timeline ⇒ Object
801 802 803 |
# File 'lib/v20200910/models.rb', line 801 def Timeline @Timeline end |
#VaccineCertificate ⇒ Object
801 802 803 |
# File 'lib/v20200910/models.rb', line 801 def VaccineCertificate @VaccineCertificate end |
Instance Method Details
#deserialize(params) ⇒ Object
831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 |
# File 'lib/v20200910/models.rb', line 831 def deserialize(params) unless params['Check'].nil? @Check = [] params['Check'].each do |i| check_tmp = Check.new check_tmp.deserialize(i) @Check << check_tmp end end unless params['Pathology'].nil? @Pathology = [] params['Pathology'].each do |i| pathologyreport_tmp = PathologyReport.new pathologyreport_tmp.deserialize(i) @Pathology << pathologyreport_tmp end end unless params['MedDoc'].nil? @MedDoc = [] params['MedDoc'].each do |i| meddoc_tmp = MedDoc.new meddoc_tmp.deserialize(i) @MedDoc << meddoc_tmp end end unless params['DiagCert'].nil? @DiagCert = [] params['DiagCert'].each do |i| diagcert_tmp = DiagCert.new diagcert_tmp.deserialize(i) @DiagCert << diagcert_tmp end end unless params['FirstPage'].nil? @FirstPage = [] params['FirstPage'].each do |i| firstpage_tmp = FirstPage.new firstpage_tmp.deserialize(i) @FirstPage << firstpage_tmp end end unless params['Indicator'].nil? @Indicator = [] params['Indicator'].each do |i| indicator_tmp = Indicator.new indicator_tmp.deserialize(i) @Indicator << indicator_tmp end end unless params['MedicalRecordInfo'].nil? @MedicalRecordInfo = [] params['MedicalRecordInfo'].each do |i| medicalrecordinfo_tmp = MedicalRecordInfo.new medicalrecordinfo_tmp.deserialize(i) @MedicalRecordInfo << medicalrecordinfo_tmp end end unless params['Hospitalization'].nil? @Hospitalization = [] params['Hospitalization'].each do |i| hospitalization_tmp = Hospitalization.new hospitalization_tmp.deserialize(i) @Hospitalization << hospitalization_tmp end end unless params['Surgery'].nil? @Surgery = [] params['Surgery'].each do |i| surgery_tmp = Surgery.new surgery_tmp.deserialize(i) @Surgery << surgery_tmp end end unless params['Prescription'].nil? @Prescription = [] params['Prescription'].each do |i| prescription_tmp = Prescription.new prescription_tmp.deserialize(i) @Prescription << prescription_tmp end end unless params['VaccineCertificate'].nil? @VaccineCertificate = [] params['VaccineCertificate'].each do |i| vaccinecertificate_tmp = VaccineCertificate.new vaccinecertificate_tmp.deserialize(i) @VaccineCertificate << vaccinecertificate_tmp end end unless params['Electrocardiogram'].nil? @Electrocardiogram = [] params['Electrocardiogram'].each do |i| electrocardiogram_tmp = Electrocardiogram.new electrocardiogram_tmp.deserialize(i) @Electrocardiogram << electrocardiogram_tmp end end unless params['PathologyV2'].nil? @PathologyV2 = [] params['PathologyV2'].each do |i| pathologyv2_tmp = PathologyV2.new pathologyv2_tmp.deserialize(i) @PathologyV2 << pathologyv2_tmp end end unless params['Endoscopy'].nil? @Endoscopy = [] params['Endoscopy'].each do |i| endoscopy_tmp = Endoscopy.new endoscopy_tmp.deserialize(i) @Endoscopy << endoscopy_tmp end end unless params['C14'].nil? @C14 = [] params['C14'].each do |i| indicator_tmp = Indicator.new indicator_tmp.deserialize(i) @C14 << indicator_tmp end end unless params['Exame'].nil? @Exame = [] params['Exame'].each do |i| exame_tmp = Exame.new exame_tmp.deserialize(i) @Exame << exame_tmp end end unless params['MedDocV2'].nil? @MedDocV2 = [] params['MedDocV2'].each do |i| dischargeinfoblock_tmp = DischargeInfoBlock.new dischargeinfoblock_tmp.deserialize(i) @MedDocV2 << dischargeinfoblock_tmp end end unless params['IndicatorV3'].nil? @IndicatorV3 = [] params['IndicatorV3'].each do |i| indicatorv3_tmp = IndicatorV3.new indicatorv3_tmp.deserialize(i) @IndicatorV3 << indicatorv3_tmp end end unless params['Maternity'].nil? @Maternity = [] params['Maternity'].each do |i| maternity_tmp = Maternity.new maternity_tmp.deserialize(i) @Maternity << maternity_tmp end end unless params['Timeline'].nil? @Timeline = [] params['Timeline'].each do |i| timelineinformation_tmp = TimelineInformation.new timelineinformation_tmp.deserialize(i) @Timeline << timelineinformation_tmp end end unless params['Covid'].nil? @Covid = [] params['Covid'].each do |i| coviditemsinfo_tmp = CovidItemsInfo.new coviditemsinfo_tmp.deserialize(i) @Covid << coviditemsinfo_tmp end end unless params['Eye'].nil? @Eye = [] params['Eye'].each do |i| eyeitemsinfo_tmp = EyeItemsInfo.new eyeitemsinfo_tmp.deserialize(i) @Eye << eyeitemsinfo_tmp end end unless params['BirthCert'].nil? @BirthCert = [] params['BirthCert'].each do |i| birthcert_tmp = BirthCert.new birthcert_tmp.deserialize(i) @BirthCert << birthcert_tmp end end unless params['TextTypeListBlocks'].nil? @TextTypeListBlocks = [] params['TextTypeListBlocks'].each do |i| texttypelistblock_tmp = TextTypeListBlock.new texttypelistblock_tmp.deserialize(i) @TextTypeListBlocks << texttypelistblock_tmp end end unless params['PhysicalExamination'].nil? @PhysicalExamination = PhysicalExaminationV1.new @PhysicalExamination.deserialize(params['PhysicalExamination']) end end |