importer

package
v0.0.0-...-8ec977b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllergyExtractor

func AllergyExtractor(entry *models.Entry, entryElement xml.Node) interface{}

AllergyExtractor extracts allergy/intolerance/adverse event-specific data, such as the specific reaction & the severity

func AssessmentPerformedExtractor

func AssessmentPerformedExtractor(entry *models.Entry, entryElement xml.Node) interface{}

func CommunicationExtractor

func CommunicationExtractor(entry *models.Entry, entryElement xml.Node) interface{}

func ConditionExtractor

func ConditionExtractor(entry *models.Entry, entryElement xml.Node) interface{}

func DiagnosisInactiveExtractor

func DiagnosisInactiveExtractor(entry *models.Entry, entryElement xml.Node) interface{}

func DiagnosticStudyOrderExtractor

func DiagnosticStudyOrderExtractor(entry *models.Entry, entryElement xml.Node) interface{}

func EncounterOrderExtractor

func EncounterOrderExtractor(entry *models.Entry, entryElement xml.Node) interface{}

func EncounterPerformedExtractor

func EncounterPerformedExtractor(entry *models.Entry, entryElement xml.Node) interface{}

func ExtractAnatomicalLocation

func ExtractAnatomicalLocation(diagnosis *models.Condition, entryElement xml.Node, anatomicalLocationXPath *xpath.Expression)

func ExtractCodedConcept

func ExtractCodedConcept(concept *models.CodedConcept, entryElement xml.Node, codePath *xpath.Expression)

func ExtractCodes

func ExtractCodes(coded *models.Coded, entryElement xml.Node, codePath *xpath.Expression)

func ExtractDates

func ExtractDates(entry *models.Entry, entryElement xml.Node)

func ExtractDemographics

func ExtractDemographics(patient *models.Record, patientElement xml.Node)

func ExtractEntry

func ExtractEntry(entryElement xml.Node, oid string, extractor EntryExtractor, status string) interface{}

func ExtractLaterality

func ExtractLaterality(diagnosis *models.Condition, entryElement xml.Node, lateralityXPath *xpath.Expression)

func ExtractOrdinality

func ExtractOrdinality(diagnosis *models.Condition, entryElement xml.Node, ordinalityXPath *xpath.Expression)

func ExtractReasonOrNegation

func ExtractReasonOrNegation(entry *models.Entry, entryElement xml.Node)

func ExtractScalar

func ExtractScalar(scalar *models.Scalar, entryElement xml.Node, scalarPath *xpath.Expression)

func ExtractSection

func ExtractSection(xmlNode xml.Node, sectionXpath *xpath.Expression, extractor EntryExtractor, oid string, status string) []interface{}

func ExtractSeverity

func ExtractSeverity(diagnosis *models.Condition, entryElement xml.Node, severityXPath *xpath.Expression)

func ExtractValues

func ExtractValues(entry *models.Entry, entryElement xml.Node, valuePath *xpath.Expression)

func FirstElement

func FirstElement(xpath *xpath.Expression, xmlNode xml.Node) xml.Node

func FirstElementContent

func FirstElementContent(xpath *xpath.Expression, xmlNode xml.Node) string

func GestationalAgeExtractor

func GestationalAgeExtractor(entry *models.Entry, entryElement xml.Node) interface{}

func GetTimestamp

func GetTimestamp(xpath *xpath.Expression, xmlNode xml.Node) *int64

func ImportAddress

func ImportAddress(addressElement xml.Node) models.Address

func ImportTelecom

func ImportTelecom(telecomEntry xml.Node) models.Telecom

func InsuranceProviderExtractor

func InsuranceProviderExtractor(entry *models.Entry, entryElement xml.Node) interface{}

func LabOrderExtractor

func LabOrderExtractor(entry *models.Entry, entryElement xml.Node) interface{}

func LabResultExtractor

func LabResultExtractor(entry *models.Entry, entryElement xml.Node) interface{}

func MedicalEquipmentExtractor

func MedicalEquipmentExtractor(entry *models.Entry, entryElement xml.Node) interface{}

func MedicationActiveExtractor

func MedicationActiveExtractor(entry *models.Entry, entryElement xml.Node) interface{}

func MedicationDispensedExtractor

func MedicationDispensedExtractor(entry *models.Entry, entryElement xml.Node) interface{}

func MedicationExtractor

func MedicationExtractor(entry *models.Entry, entryElement xml.Node) interface{}

func OrganizationExtractor

func OrganizationExtractor(organzationElement xml.Node) models.Organization

func ProcedureExtractor

func ProcedureExtractor(entry *models.Entry, entryElement xml.Node) interface{}

func ProcedureIntoleranceExtractor

func ProcedureIntoleranceExtractor(entry *models.Entry, entryElement xml.Node) interface{}

ProcedureIntoleranceExtractor extracts the intolerance of a patient to a procedure

func ProcedureOrderExtractor

func ProcedureOrderExtractor(entry *models.Entry, entryElement xml.Node) interface{}

func ProcedurePerformedExtractor

func ProcedurePerformedExtractor(entry *models.Entry, entryElement xml.Node) interface{}

func ProviderExtractor

func ProviderExtractor(performerElement xml.Node) models.Provider

func ProviderPerformanceExtractor

func ProviderPerformanceExtractor(patientElement xml.Node, providerXPath *xpath.Expression) []models.ProviderPerformance

func Read_patient

func Read_patient(document string) string

func ResultExtractor

func ResultExtractor(entry *models.Entry, entryElement xml.Node) interface{}

func TimestampToSeconds

func TimestampToSeconds(timestamp string) *int64

TimestampToSeconds returns the unix timestamp equivalent of a qrda timestamp

func TransferFromExtractor

func TransferFromExtractor(entry *models.Entry, entryElement xml.Node) interface{}

returns Encounter with TransferFrom field

func TransferToExtractor

func TransferToExtractor(entry *models.Entry, entryElement xml.Node) interface{}

returns Encounter with TransferTo field

Types

type EntryExtractor

type EntryExtractor func(*models.Entry, xml.Node) interface{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL