Documentation ¶
Index ¶
- func ScanDescriptorRecordSet(r io.Reader, f func(dr *DescriptorRecord) error) error
- func ScanPharmacologicalActionSet(r io.Reader, f func(dr *PharmacologicalAction) error) error
- func ScanQualifierRecordSet(r io.Reader, f func(dr *QualifierRecord) error) error
- func ScanSupplementalRecordSet(r io.Reader, f func(dr *SupplementalRecord) error) error
- type AllowableQualifier
- type Concept
- type ConceptRelation
- type Date
- type DescriptorRecord
- type PharmacologicalAction
- type QualifierRecord
- type Substance
- type SupplementalRecord
- type Term
- type UI
- type UIType
- type YN
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ScanDescriptorRecordSet ¶
func ScanDescriptorRecordSet(r io.Reader, f func(dr *DescriptorRecord) error) error
ScanDescriptorRecordSet is designed to parse desc####.xml files
func ScanPharmacologicalActionSet ¶
func ScanPharmacologicalActionSet(r io.Reader, f func(dr *PharmacologicalAction) error) error
ScanPharmacologicalActionSet is designed to parse pa####.xml files
func ScanQualifierRecordSet ¶
func ScanQualifierRecordSet(r io.Reader, f func(dr *QualifierRecord) error) error
ScanQualifierRecordSet is designed to parse qual####.xml files
func ScanSupplementalRecordSet ¶
func ScanSupplementalRecordSet(r io.Reader, f func(dr *SupplementalRecord) error) error
ScanSupplementalRecordSet is designed to parse supp####.xml files
Types ¶
type AllowableQualifier ¶
type Concept ¶
type Concept struct { UI UI `xml:"ConceptUI"` Name string `xml:"ConceptName>String"` RegistryNumber string CASN1Name string ConceptRelations []ConceptRelation `xml:"ConceptRelationList>ConceptRelation"` Prefered YN `xml:"PreferredConceptYN,attr"` ScopeNote string RelatedRegistryNumbers []string `xml:"RelatedRegistryNumberList>RelatedRegistryNumber"` }
type ConceptRelation ¶
type DescriptorRecord ¶
type DescriptorRecord struct { UI string `xml:"DescriptorUI"` Name string `xml:"DescriptorName"` Created Date `xml:"DateCreated"` Revised Date `xml:"DateRevised"` Established Date `xml:"DateEstablished"` HistoryNote string OnlineNote string PublicMeSHNote string PreviousIndexings []string `xml:"PreviousIndexingList>PreviousIndexing"` TreeNumbers []string `xml:"TreeNumberList>TreeNumber"` Concepts []Concept `xml:"ConceptList>Concept"` Terms []Term `xml:"TermList"` }
DescriptorRecord are parsed from desc####.xml files
type PharmacologicalAction ¶
type PharmacologicalAction struct { UI UI `xml:"DescriptorReferredTo>DescriptorUI"` Name string `xml:"DescriptorReferredTo>DescriptorName>String"` Substances []Substance `xml:"PharmacologicalActionSubstanceList>Substance"` }
PharmacologicalAction are parsed from pa####.xml files
type QualifierRecord ¶
type QualifierRecord struct { UI UI `xml:"QualifierUI"` Name string `xml:"QualifierName>String"` Created Date `xml:"DateCreated"` Revised Date `xml:"DateRevised"` Established Date `xml:"DateEstablished"` Annotation string HistoryNote string TreeNumbers []string `xml:"TreeNumberList>TreeNumber"` }
QualifierRecords are parsed from qual####.xml files
type SupplementalRecord ¶
type SupplementalRecord struct { UI UI `xml:"SupplementalRecordUI"` Name string `xml:"SupplementalRecordName>String"` Created Date `xml:"DateCreated"` Revised Date `xml:"DateRevised"` Note string `xml:"Note"` Frequency int Concepts []Concept `xml:"ConceptList>Concept"` Sources []string `xml:"SourceList>Source"` MappedTo []struct { UI UI `xml:"DescriptorReferredTo>DescriptorUI"` Name string `xml:"DescriptorReferredTo>DescriptorName"` } `xml:"HeadingMappedToList"` }
SupplementalRecords are parsed from supp####.xml files
type Term ¶
type Term struct { XMLName xml.Name `xml:"Term"` UI UI `xml:"TermUI"` ConceptPreferred YN `xml:"ConceptPreferredTermYN,attr"` IsPermuted YN `xml:"IsPermutedTermYN,attr"` RecordPreferred YN `xml:"RecordPreferredTermYN,attr"` Created Date `xml:"DateCreated"` ThesaurusIDs []string `xml:"ThesaurusIDlist>ThesaurusID"` EntryVersion string `xml:"EntryVersion"` Abbreviation string `xml:"Abbreviation"` String string `xml:"String"` }
Click to show internal directories.
Click to hide internal directories.