github.com/hscells/guru@v0.0.0-20200207042420-2dabeb950d69/medgen.go (about)

     1  package guru
     2  
     3  /*
     4  THIS FILE WAS AUTOMATICALLY GENERATED USING THE FOLLOWING COMMAND
     5  
     6  	~/go/bin/chidley -G esummary.fcgi.xml > medgen.go
     7  
     8  source: https://github.com/gnewton/chidley/
     9   */
    10  
    11  import "encoding/xml"
    12  
    13  type CAssociatedGenes struct {
    14  	XMLName xml.Name `xml:"AssociatedGenes,omitempty" json:"AssociatedGenes,omitempty"`
    15  }
    16  
    17  type CCategory struct {
    18  	XMLName          xml.Name         `xml:"Category,omitempty" json:"Category,omitempty"`
    19  	AttrCUI          string           `xml:"CUI,attr"  json:",omitempty"`
    20  	Attrname         string           `xml:"name,attr"  json:",omitempty"`
    21  	CClinicalFeature CClinicalFeature `xml:"ClinicalFeature,omitempty" json:"ClinicalFeature,omitempty"`
    22  }
    23  
    24  type CClinicalFeature struct {
    25  	XMLName       xml.Name      `xml:"ClinicalFeature,omitempty" json:"ClinicalFeature,omitempty"`
    26  	AttrCUI       string        `xml:"CUI,attr"  json:",omitempty"`
    27  	AttrSDUI      string        `xml:"SDUI,attr"  json:",omitempty"`
    28  	AttrTUI       string        `xml:"TUI,attr"  json:",omitempty"`
    29  	Attruid       string        `xml:"uid,attr"  json:",omitempty"`
    30  	CDefinition   CDefinition   `xml:"Definition,omitempty" json:"Definition,omitempty"`
    31  	CName         []CName       `xml:"Name,omitempty" json:"Name,omitempty"`
    32  	CSemanticType CSemanticType `xml:"SemanticType,omitempty" json:"SemanticType,omitempty"`
    33  }
    34  
    35  type CClinicalFeatures struct {
    36  	XMLName          xml.Name         `xml:"ClinicalFeatures,omitempty" json:"ClinicalFeatures,omitempty"`
    37  	CClinicalFeature CClinicalFeature `xml:"ClinicalFeature,omitempty" json:"ClinicalFeature,omitempty"`
    38  }
    39  
    40  type CConceptId struct {
    41  	XMLName xml.Name `xml:"ConceptId,omitempty" json:"ConceptId,omitempty"`
    42  	Value   string   `xml:",chardata" json:",omitempty"`
    43  }
    44  
    45  type CConceptMeta struct {
    46  	XMLName                  xml.Name                 `xml:"ConceptMeta,omitempty" json:"ConceptMeta,omitempty"`
    47  	CAssociatedGenes         CAssociatedGenes         `xml:"AssociatedGenes,omitempty" json:"AssociatedGenes,omitempty"`
    48  	CClinicalFeatures        CClinicalFeatures        `xml:"ClinicalFeatures,omitempty" json:"ClinicalFeatures,omitempty"`
    49  	CDefinitions             CDefinitions             `xml:"Definitions,omitempty" json:"Definitions,omitempty"`
    50  	CModesOfInheritance      CModesOfInheritance      `xml:"ModesOfInheritance,omitempty" json:"ModesOfInheritance,omitempty"`
    51  	CNames                   CNames                   `xml:"Names,omitempty" json:"Names,omitempty"`
    52  	COMIM                    COMIM                    `xml:"OMIM,omitempty" json:"OMIM,omitempty"`
    53  	CORDO                    CORDO                    `xml:"ORDO,omitempty" json:"ORDO,omitempty"`
    54  	CPharmacologicResponse   []CPharmacologicResponse `xml:"PharmacologicResponse,omitempty" json:"PharmacologicResponse,omitempty"`
    55  	CPhenotypicAbnormalities CPhenotypicAbnormalities `xml:"PhenotypicAbnormalities,omitempty" json:"PhenotypicAbnormalities,omitempty"`
    56  	CRelatedDisorders        CRelatedDisorders        `xml:"RelatedDisorders,omitempty" json:"RelatedDisorders,omitempty"`
    57  	CSNOMEDCT                CSNOMEDCT                `xml:"SNOMEDCT,omitempty" json:"SNOMEDCT,omitempty"`
    58  	CSemanticTypes           CSemanticTypes           `xml:"SemanticTypes,omitempty" json:"SemanticTypes,omitempty"`
    59  }
    60  
    61  type CDbBuild struct {
    62  	XMLName xml.Name `xml:"DbBuild,omitempty" json:"DbBuild,omitempty"`
    63  	Value   string   `xml:",chardata" json:",omitempty"`
    64  }
    65  
    66  type CDefinition struct {
    67  	XMLName    xml.Name `xml:"Definition,omitempty" json:"Definition,omitempty"`
    68  	Attrsource string   `xml:"source,attr"  json:",omitempty"`
    69  	Value      string   `xml:",chardata" json:",omitempty"`
    70  }
    71  
    72  type CDefinitions struct {
    73  	XMLName     xml.Name    `xml:"Definitions,omitempty" json:"Definitions,omitempty"`
    74  	CDefinition CDefinition `xml:"Definition,omitempty" json:"Definition,omitempty"`
    75  }
    76  
    77  type CDocumentSummary struct {
    78  	XMLName           xml.Name          `xml:"DocumentSummary,omitempty" json:"DocumentSummary,omitempty"`
    79  	Attruid           string            `xml:"uid,attr"  json:",omitempty"`
    80  	CConceptId        CConceptId        `xml:"ConceptId,omitempty" json:"ConceptId,omitempty"`
    81  	CConceptMeta      CConceptMeta      `xml:"ConceptMeta,omitempty" json:"ConceptMeta,omitempty"`
    82  	CDefinition       CDefinition       `xml:"Definition,omitempty" json:"Definition,omitempty"`
    83  	CMerged           CMerged           `xml:"Merged,omitempty" json:"Merged,omitempty"`
    84  	CModificationDate CModificationDate `xml:"ModificationDate,omitempty" json:"ModificationDate,omitempty"`
    85  	CSemanticId       CSemanticId       `xml:"SemanticId,omitempty" json:"SemanticId,omitempty"`
    86  	CSemanticType     CSemanticType     `xml:"SemanticType,omitempty" json:"SemanticType,omitempty"`
    87  	CSuppressed       CSuppressed       `xml:"Suppressed,omitempty" json:"Suppressed,omitempty"`
    88  	CTitle            CTitle            `xml:"Title,omitempty" json:"Title,omitempty"`
    89  }
    90  
    91  type CDocumentSummarySet struct {
    92  	XMLName          xml.Name           `xml:"DocumentSummarySet,omitempty" json:"DocumentSummarySet,omitempty"`
    93  	Attrstatus       string             `xml:"status,attr"  json:",omitempty"`
    94  	CDbBuild         CDbBuild           `xml:"DbBuild,omitempty" json:"DbBuild,omitempty"`
    95  	CDocumentSummary []CDocumentSummary `xml:"DocumentSummary,omitempty" json:"DocumentSummary,omitempty"`
    96  }
    97  
    98  type CHierarchyUrl struct {
    99  	XMLName xml.Name `xml:"HierarchyUrl,omitempty" json:"HierarchyUrl,omitempty"`
   100  	Value   string   `xml:",chardata" json:",omitempty"`
   101  }
   102  
   103  type CMerged struct {
   104  	XMLName xml.Name `xml:"Merged,omitempty" json:"Merged,omitempty"`
   105  }
   106  
   107  type CModeOfInheritance struct {
   108  	XMLName       xml.Name      `xml:"ModeOfInheritance,omitempty" json:"ModeOfInheritance,omitempty"`
   109  	AttrCUI       string        `xml:"CUI,attr"  json:",omitempty"`
   110  	AttrTUI       string        `xml:"TUI,attr"  json:",omitempty"`
   111  	Attruid       string        `xml:"uid,attr"  json:",omitempty"`
   112  	CDefinition   CDefinition   `xml:"Definition,omitempty" json:"Definition,omitempty"`
   113  	CName         []CName       `xml:"Name,omitempty" json:"Name,omitempty"`
   114  	CSAB          []CSAB        `xml:"SAB,omitempty" json:"SAB,omitempty"`
   115  	CSemanticType CSemanticType `xml:"SemanticType,omitempty" json:"SemanticType,omitempty"`
   116  }
   117  
   118  type CModesOfInheritance struct {
   119  	XMLName            xml.Name             `xml:"ModesOfInheritance,omitempty" json:"ModesOfInheritance,omitempty"`
   120  	CModeOfInheritance []CModeOfInheritance `xml:"ModeOfInheritance,omitempty" json:"ModeOfInheritance,omitempty"`
   121  }
   122  
   123  type CModificationDate struct {
   124  	XMLName xml.Name `xml:"ModificationDate,omitempty" json:"ModificationDate,omitempty"`
   125  }
   126  
   127  type CName struct {
   128  	XMLName  xml.Name `xml:"Name,omitempty" json:"Name,omitempty"`
   129  	AttrCODE string   `xml:"CODE,attr"  json:",omitempty"`
   130  	AttrSAB  string   `xml:"SAB,attr"  json:",omitempty"`
   131  	AttrSAUI string   `xml:"SAUI,attr"  json:",omitempty"`
   132  	AttrSCUI string   `xml:"SCUI,attr"  json:",omitempty"`
   133  	AttrSDUI string   `xml:"SDUI,attr"  json:",omitempty"`
   134  	AttrTTY  string   `xml:"TTY,attr"  json:",omitempty"`
   135  	Attrtype string   `xml:"type,attr"  json:",omitempty"`
   136  	Value    string   `xml:",chardata" json:",omitempty"`
   137  }
   138  
   139  type CNames struct {
   140  	XMLName xml.Name `xml:"Names,omitempty" json:"Names,omitempty"`
   141  	CName   []CName  `xml:"Name,omitempty" json:"Name,omitempty"`
   142  }
   143  
   144  type COMIM struct {
   145  	XMLName xml.Name `xml:"OMIM,omitempty" json:"OMIM,omitempty"`
   146  }
   147  
   148  type CORDO struct {
   149  	XMLName       xml.Name      `xml:"ORDO,omitempty" json:"ORDO,omitempty"`
   150  	CHierarchyUrl CHierarchyUrl `xml:"HierarchyUrl,omitempty" json:"HierarchyUrl,omitempty"`
   151  }
   152  
   153  type CPharmacologicResponse struct {
   154  	XMLName xml.Name `xml:"PharmacologicResponse,omitempty" json:"PharmacologicResponse,omitempty"`
   155  }
   156  
   157  type CPhenotypicAbnormalities struct {
   158  	XMLName   xml.Name  `xml:"PhenotypicAbnormalities,omitempty" json:"PhenotypicAbnormalities,omitempty"`
   159  	CCategory CCategory `xml:"Category,omitempty" json:"Category,omitempty"`
   160  }
   161  
   162  type CRelatedDisorders struct {
   163  	XMLName xml.Name `xml:"RelatedDisorders,omitempty" json:"RelatedDisorders,omitempty"`
   164  }
   165  
   166  type CSAB struct {
   167  	XMLName xml.Name `xml:"SAB,omitempty" json:"SAB,omitempty"`
   168  	Value   string   `xml:",chardata" json:",omitempty"`
   169  }
   170  
   171  type CSNOMEDCT struct {
   172  	XMLName xml.Name `xml:"SNOMEDCT,omitempty" json:"SNOMEDCT,omitempty"`
   173  	CName   []CName  `xml:"Name,omitempty" json:"Name,omitempty"`
   174  }
   175  
   176  type CSemanticId struct {
   177  	XMLName xml.Name `xml:"SemanticId,omitempty" json:"SemanticId,omitempty"`
   178  	Value   string   `xml:",chardata" json:",omitempty"`
   179  }
   180  
   181  type CSemanticType struct {
   182  	XMLName xml.Name `xml:"SemanticType,omitempty" json:"SemanticType,omitempty"`
   183  	AttrTUI string   `xml:"TUI,attr"  json:",omitempty"`
   184  	Value   string   `xml:",chardata" json:",omitempty"`
   185  }
   186  
   187  type CSemanticTypes struct {
   188  	XMLName       xml.Name      `xml:"SemanticTypes,omitempty" json:"SemanticTypes,omitempty"`
   189  	CSemanticType CSemanticType `xml:"SemanticType,omitempty" json:"SemanticType,omitempty"`
   190  }
   191  
   192  type CSuppressed struct {
   193  	XMLName xml.Name `xml:"Suppressed,omitempty" json:"Suppressed,omitempty"`
   194  }
   195  
   196  type CTitle struct {
   197  	XMLName xml.Name `xml:"Title,omitempty" json:"Title,omitempty"`
   198  	Value   string   `xml:",chardata" json:",omitempty"`
   199  }
   200  
   201  type CeSummaryResult struct {
   202  	XMLName             xml.Name            `xml:"eSummaryResult,omitempty" json:"eSummaryResult,omitempty"`
   203  	CDocumentSummarySet CDocumentSummarySet `xml:"DocumentSummarySet,omitempty" json:"DocumentSummarySet,omitempty"`
   204  }