Documentation
¶
Overview ¶
Standard implementation for the lis2a2 protocol according to standard in every detail, will work for most with some tinkering....
Index ¶
- type AD
- type AL1
- type BLG
- type CE
- type CK
- type CM_AUI
- type CM_CCD
- type CM_DDI
- type CM_DLD
- type CM_DTN
- type CM_EIP
- type CM_MOC
- type CM_NDL
- type CM_OSD
- type CM_PCF
- type CM_PEN
- type CM_PRL
- type CM_PTA
- type CM_RMC
- type CM_SPS
- type CN
- type CP
- type CQ
- type CTI
- type CX
- type DG1
- type DLN
- type DSC
- type EI
- type FC
- type GT1
- type HD
- type IN1
- type IN2
- type IN3
- type Insurance
- type JCC
- type LA1
- type MO
- type MSH
- type NTE
- type OBR
- type OBX
- type ODS
- type ODT
- type ORC
- type ORM_O01
- type ORU_R01
- type Observation
- type Order
- type OrderDetail
- type OrderDetailSegment
- type OrderObservation
- type PD1
- type PID
- type PL
- type PV1
- type PV2
- type Patient
- type PatientResult
- type PatientVisit
- type RI
- type RQ1
- type RQD
- type RXO
- type Sex
- type TQ
- type XAD
- type XCN
- type XON
- type XPN
- type XTN
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AD ¶
type AD struct { StreetAddress string `hl7:"0" json:"streetAddress,omitempty"` OtherDesignation string `hl7:"1" json:"otherDesignation,omitempty"` City string `hl7:"2" json:"city,omitempty"` StateOrProvince string `hl7:"3" json:"stateOrProvince,omitempty"` PostalCode string `hl7:"4" json:"postalCode,omitempty"` Country string `hl7:"5" json:"country,omitempty"` AddressType string `hl7:"6" json:"addressType,omitempty"` OtherGeographicDesignation string `hl7:"7" json:"otherGeographicDesignation,omitempty"` }
HL7 v2.3 - AD - Address https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/AD
type AL1 ¶
type AL1 struct { SetId string `hl7:"1" json:"setId,omitempty"` AllergyType string `hl7:"2" json:"allergyType,omitempty"` AllergyCode CE `hl7:"3" json:"allergyCode,omitempty"` AllergySeverity string `hl7:"4" json:"allergySeverity,omitempty"` AllergyReaction string `hl7:"5" json:"allergyReaction,omitempty"` IdentificationDate time.Time `hl7:"6,shortdate" json:"identificationDate,omitempty"` }
type BLG ¶
type BLG struct { WhenToCharge CM_CCD `hl7:"1" json:"whenToCharge,omitempty"` ChargeType string `hl7:"2" json:"chargeType,omitempty"` AccountID CK `hl7:"3" json:"accountID,omitempty"` }
BLG - Billing https://hl7-definition.caristix.com/v2/HL7v2.3/Segments/BLG
type CE ¶
type CE struct { Identifier string `hl7:"0" json:"identifier,omitempty"` Text string `hl7:"1" json:"text,omitempty"` NameOFCodingSystem string `hl7:"2" json:"nameOFCodingSystem,omitempty"` AlternateIdentifier string `hl7:"3" json:"alternateIdentifier,omitempty"` AlternateText string `hl7:"4" json:"alternateText,omitempty"` NameOfAlternateCodingSystem string `hl7:"5" json:"nameOfAlternateCodingSystem,omitempty"` }
CE - Coded Element https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/CE
type CK ¶
type CK struct { IDNumber int `hl7:"0" json:"idNumber,omitempty"` CheckDigit string `hl7:"1" json:"checkDigit,omitempty"` CodeIdentifyingCC string `hl7:"2" json:"codeIdentifyingCC,omitempty"` AssigningAuthority HD `hl7:"3" json:"assigningAuthority,omitempty"` }
CK - Composite ID With Check Digit https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/CK
type CM_AUI ¶
type CM_AUI struct { AuthorizationNumber string `hl7:"0" json:"authorizationNumber,omitempty"` Date time.Time `hl7:"1,shortdate" json:"date,omitempty"` Source string `hl7:"2" json:"source,omitempty"` }
CM_AUI - Authorization Information https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/CM_AUI
type CM_CCD ¶
type CM_CCD struct { WhenToChargeCode string `hl7:"0" json:"whenToChargeCode,omitempty"` DateTime time.Time `hl7:"1,longdate" json:"dateTime,omitempty"` }
CM_CCD - Charge Time https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/CM_CCD
type CM_DDI ¶
type CM_DDI struct { DelayDays float32 `hl7:"0" json:"delayDays,omitempty"` Amount float32 `hl7:"1" json:"amount,omitempty"` NumberOfDays float32 `hl7:"2" json:"numberOfDays,omitempty"` }
CM_DDI - Daily Deductible https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/CM_DDI
type CM_DLD ¶
type CM_DLD struct { DischargeLocation string `hl7:"0" json:"dischargeLocation,omitempty"` EffectiveDate time.Time `hl7:"1" json:"effectiveDate,omitempty"` }
CM_DLD - Discharge Location https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/CM_DLD
type CM_DTN ¶
type CM_DTN struct { DayType string `hl7:"0" json:"dayType,omitempty"` NumberOfDays float32 `hl7:"1" json:"numberOfDays,omitempty"` }
CM_DTN - Day Type And Number https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/CM_DTN
type CM_EIP ¶
type CM_EIP struct { ParentsPlacerOrderNumber string `hl7:"0" json:"parentsPlacerOrderNumber,omitempty"` ParentsFillerOrderNumber string `hl7:"1" json:"parentsFillerOrderNumber,omitempty"` }
CM_EIP - Parent Order https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/CM_EIP
type CM_MOC ¶
type CM_MOC struct { DollarAmount MO `hl7:"0" json:"dollarAmount,omitempty"` ChargeCode CE `hl7:"1" json:"chargeCode,omitempty"` }
CM_MOC - Charge To Practise https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/CM_MOC
type CM_NDL ¶
type CM_NDL struct { OPName CN `hl7:"0" json:"opName,omitempty"` StartDatetime time.Time `hl7:"1" json:"startDatetime,omitempty"` EndDatetime time.Time `hl7:"2" json:"endDatetime,omitempty"` PointOfCare string `hl7:"3" json:"pointOfCare,omitempty"` Room string `hl7:"4" json:"room,omitempty"` Bed string `hl7:"5" json:"bed,omitempty"` Facility HD `hl7:"6" json:"facility,omitempty"` LocationStatus string `hl7:"7" json:"locationStatus,omitempty"` PersonLocationType string `hl7:"8" json:"personLocationType,omitempty"` Building string `hl7:"9" json:"building,omitempty"` Floor string `hl7:"10" json:"floor,omitempty"` }
CM_NDL - Observing Practitioner https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/CM_NDL
type CM_OSD ¶
type CM_OSD struct { SequenceResultsFlag string `hl7:"0" json:"sequenceResultsFlag,omitempty"` PlacerOrderNumberEntityIdentifier string `hl7:"1" json:"placerOrderNumberEntityIdentifier,omitempty"` PlacerOrderNumberNamespaceID string `hl7:"2" json:"placerOrderNumberNamespaceID,omitempty"` FillerOrderNumberEntityIdentifier string `hl7:"3" json:"fillerOrderNumberEntityIdentifier,omitempty"` FillerOrderNumberNamespaceID string `hl7:"4" json:"fillerOrderNumberNamespaceID,omitempty"` SequenceConditionValue string `hl7:"5" json:"sequenceConditionValue,omitempty"` MaximumNumberOfRepeats int `hl7:"6" json:"maximumNumberOfRepeats,omitempty"` PlacerOrderNumberUniversalID string `hl7:"7" json:"placerOrderNumberUniversalID,omitempty"` PlacerOrderNumberUniversalIDType string `hl7:"8" json:"placerOrderNumberUniversalIDType,omitempty"` FillerOrderNumberUniversalID string `hl7:"9" json:"fillerOrderNumberUniversalID,omitempty"` FillerOrderNumberUniversalIDType string `hl7:"10" json:"fillerOrderNumberUniversalIDType,omitempty"` }
CM_OSD - Order Sequence https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/CM_OSD
type CM_PCF ¶
type CM_PCF struct { PreCertificationPatient string `hl7:"0" json:"preCertificationPatient,omitempty"` PreCertificationRequired string `hl7:"1" json:"preCertificationRequired,omitempty"` PreCertificationWindow string `hl7:"2" json:"preCertificationWindow,omitempty"` }
CM_PCF - Pre-certification Required https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/CM_PCF
type CM_PEN ¶
type CM_PEN struct { PenaltyType string `hl7:"0" json:"penaltyType,omitempty"` PenaltyAmount float32 `hl7:"1" json:"penaltyAmount,omitempty"` }
CM_PEN - Penalty https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/CM_PEN
type CM_PRL ¶
type CM_PRL struct { ObservationIdentifierOfParentResult CE `hl7:"0" json:"observationIdentifierOfParentResult,omitempty"` SubIDOfParentResult string `hl7:"1" json:"subIDOfParentResult,omitempty"` ObservationResultFromParent string `hl7:"2" json:"observationResultFromParent,omitempty"` }
CM_PRL - Parent Result Link https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/CM_PRL
type CM_PTA ¶
type CM_PTA struct { PolicyType string `hl7:"0" json:"policyType,omitempty"` AmountClass string `hl7:"1" json:"amountClass,omitempty"` Amount float32 `hl7:"2" json:"amount,omitempty"` }
CM_PTA - Policy Type https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/CM_PTA
type CM_RMC ¶
type CM_RMC struct { RoomType string `hl7:"0" json:"roomType,omitempty"` AmountType string `hl7:"1" json:"amountType,omitempty"` CoverageAmount float32 `hl7:"2" json:"coverageAmount,omitempty"` }
CM_RMC - Room Coverage https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/CM_RMC
type CM_SPS ¶
type CM_SPS struct { SpecimenSourceNameOrCode CE `hl7:"0" json:"specimenSourceNameOrCode,omitempty"` Additives string `hl7:"1" json:"additives,omitempty"` Freetext string `hl7:"2" json:"freetext,omitempty"` BodySite CE `hl7:"3" json:"bodySite,omitempty"` SiteModifier CE `hl7:"4" json:"siteModifier,omitempty"` CollectionModifierMethodCode CE `hl7:"5" json:"collectionModifierMethodCode,omitempty"` }
CM_SPS - Specimen Source https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/CM_SPS
type CN ¶
type CN struct { IDNumber string `hl7:"0" json:"idNumber,omitempty"` FamilyName string `hl7:"1" json:"familyName,omitempty"` GivenName string `hl7:"2" json:"givenName,omitempty"` MiddleInitialOrName string `hl7:"3" json:"middleInitialOrName,omitempty"` Suffix string `hl7:"4" json:"suffix,omitempty"` Prefix string `hl7:"5" json:"prefix,omitempty"` Degree string `hl7:"6" json:"degree,omitempty"` SourceTable string `hl7:"7" json:"sourceTable,omitempty"` AssigningAuthority string `hl7:"8" json:"assigningAuthority,omitempty"` }
CN - Composite ID Number And Name https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/CN
type CP ¶
type CP struct { Price float32 `hl7:"0" json:"price,omitempty"` PriceType string `hl7:"1" json:"priceType,omitempty"` FromValue float32 `hl7:"2" json:"fromValue,omitempty"` ToValue float32 `hl7:"3" json:"toValue,omitempty"` RangeUnits CE `hl7:"4" json:"rangeUnits,omitempty"` RangeType string `hl7:"5" json:"rangeType,omitempty"` }
HL7 v2.3 - CP - Composite Price https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/CP
type CQ ¶
type CQ struct { Quantity int `hl7:"0" json:"quantity,omitempty"` Units string `hl7:"1" json:"units,omitempty"` }
CQ - Composite Quantity With Units https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/CQ
type CTI ¶
type CTI struct { SponsorStudyID EI `hl7:"1" json:"sponsorStudyID,omitempty"` StudyPhaseIdentifier CE `hl7:"2" json:"studyPhaseIdentifier,omitempty"` StudyScheduledTimePoint CE `hl7:"3" json:"studyScheduledTimePoint,omitempty"` }
CTI - Clinical Trial Identification https://hl7-definition.caristix.com/v2/HL7v2.3/Segments/CTI
type CX ¶
type CX struct { Id string `hl7:"0" json:"id,omitempty"` CheckDigit string `hl7:"1" json:"checkDigit,omitempty"` CodeIdentifyingTheCheckDigitSchemeEmployed HD `hl7:"2" json:"codeIdentifyingTheCheckDigitSchemeEmployed,omitempty"` AssigningAuthority string `hl7:"3" json:"assigningAuthority,omitempty"` AssigningFacility HD `hl7:"4" json:"assigningFacility,omitempty"` }
Extended Composite ID With Check Digit https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/CX
type DG1 ¶
type DG1 struct { SetID int `hl7:"1, sequence" json:"setID,omitempty"` DiagnosisCodingMethod string `hl7:"2" json:"diagnosisCodingMethod,omitempty"` DiagnosisCode CE `hl7:"3" json:"diagnosisCode,omitempty"` DiagnosisDescription string `hl7:"4" json:"diagnosisDescription,omitempty"` DiagnosisDateTime time.Time `hl7:"5,longdate" json:"diagnosisDateTime,omitempty"` DiagnosisType string `hl7:"6" json:"diagnosisType,omitempty"` MajorDiagnosticCategory CE `hl7:"7" json:"majorDiagnosticCategory,omitempty"` DiagnosticRelatedGroup CE `hl7:"8" json:"diagnosticRelatedGroup,omitempty"` DRGApprovalIndicator string `hl7:"9" json:"drgApprovalIndicator,omitempty"` DRGGrouperReviewCode string `hl7:"10" json:"drgGrouperReviewCode,omitempty"` OutlierType CE `hl7:"11" json:"outlierType,omitempty"` OutlierDays int `hl7:"12" json:"outlierDays,omitempty"` OutlierCost CP `hl7:"13" json:"outlierCost,omitempty"` GrouperVersionAndType string `hl7:"14" json:"grouperVersionAndType,omitempty"` DiagnosisPriority int `hl7:"15" json:"diagnosisPriority,omitempty"` DiagnosingClinician []XCN `hl7:"16" json:"diagnosingClinician,omitempty"` DiagnosisClassification string `hl7:"17" json:"diagnosisClassification,omitempty"` ConfidentialIndicator string `hl7:"18" json:"confidentialIndicator,omitempty"` AttestationDateTime time.Time `hl7:"19,longdate" json:"attestationDateTime,omitempty"` }
DG1 - Diagnosis https://hl7-definition.caristix.com/v2/HL7v2.3/Segments/DG1
type DLN ¶
type DLN struct { DriverLicenseNumber string `hl7:"0" json:"driverLicenseNumber,omitempty"` IssuingStateProvinceCountry string `hl7:"1" json:"issuingStateProvinceCountry,omitempty"` ExpirationDate string `hl7:"2" json:"expirationDate,omitempty"` }
DLN - Driver's License Number https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/DLN
type DSC ¶
type DSC struct {
ContinuationPointer string `hl7:"1" json:"continuationPointer,omitempty"`
}
type EI ¶
type EI struct { EntityIdentifier string `hl7:"0" json:"entityIdentifier,omitempty"` NamespaceId string `hl7:"1" json:"namespaceId,omitempty"` UniversalId string `hl7:"2" json:"universalId,omitempty"` UniversalIdType string `hl7:"3" json:"universalIdType,omitempty"` }
EI - Entity Identifier https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/EI
type FC ¶
type FC struct { FinancialClass string `hl7:"0" json:"financialClass,omitempty"` EffectiveDate time.Time `hl7:"1" json:"effectiveDate,omitempty"` }
FC - Financial Class https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/FC
type GT1 ¶
type GT1 struct { SetId string `hl7:"1" json:"setId,omitempty"` Number CX `hl7:"2" json:"number,omitempty"` Name []XPN `hl7:"3" json:"name,omitempty"` SpouseName []XPN `hl7:"4" json:"spouseName,omitempty"` Address []XAD `hl7:"5" json:"address,omitempty"` PhoneNumberHome []XTN `hl7:"6" json:"phoneNumberHome,omitempty"` PhoneNumberBusiness []XTN `hl7:"7" json:"phoneNumberBusiness,omitempty"` DateTimeOfBirth time.Time `hl7:"8,shortdate" json:"dateTimeOfBirth,omitempty"` Sex string `hl7:"9" json:"sex,omitempty"` Type string `hl7:"10" json:"type,omitempty"` Relationship string `hl7:"11" json:"relationship,omitempty"` SSN string `hl7:"12" json:"ssn,omitempty"` DateBegin time.Time `hl7:"13,shortdate" json:"dateBegin,omitempty"` DateEnd time.Time `hl7:"14,shortdate" json:"dateEnd,omitempty"` Priority float32 `hl7:"15" json:"priority,omitempty"` Employer []XPN `hl7:"16" json:"employer,omitempty"` EmployerAddress []XAD `hl7:"17" json:"employerAddress,omitempty"` EmployerPhoneNumber []XTN `hl7:"18" json:"employerPhoneNumber,omitempty"` EmployeeID CX `hl7:"19" json:"employeeID,omitempty"` EmploymentStatus string `hl7:"20" json:"employmentStatus,omitempty"` Organization []XON `hl7:"21" json:"organization,omitempty"` BillingHoldFlag string `hl7:"22" json:"billingHoldFlag,omitempty"` CreditRatingCode CE `hl7:"23" json:"creditRatingCode,omitempty"` DeathDateAndTime time.Time `hl7:"24,longdate" json:"deathDateAndTime,omitempty"` DeathFlag string `hl7:"25" json:"deathFlag,omitempty"` ChargeAdjustmentCode CE `hl7:"26" json:"chargeAdjustmentCode,omitempty"` HouseholdAnnualIncome CP `hl7:"27" json:"householdAnnualIncome,omitempty"` HouseholdSize float32 `hl7:"28" json:"householdSize,omitempty"` EmployerIDNumber []CX `hl7:"29" json:"employerIDNumber,omitempty"` MaritalStatusCode string `hl7:"30" json:"maritalStatusCode,omitempty"` HireEffectiveDate time.Time `hl7:"31,shortdate" json:"hireEffectiveDate,omitempty"` EmploymentStopDAte time.Time `hl7:"32,shortdate" json:"employmentStopDAte,omitempty"` LivingDependency string `hl7:"33" json:"livingDependency,omitempty"` AmbulatoryStatusCode string `hl7:"34" json:"ambulatoryStatusCode,omitempty"` Citizenship string `hl7:"35" json:"citizenship,omitempty"` PrimaryLanguage CE `hl7:"36" json:"primaryLanguage,omitempty"` LivingArrangement string `hl7:"37" json:"livingArrangement,omitempty"` PublicityIndicator CE `hl7:"38" json:"publicityIndicator,omitempty"` ProtectionIndicator string `hl7:"39" json:"protectionIndicator,omitempty"` StudentIndicator string `hl7:"40" json:"studentIndicator,omitempty"` Religion string `hl7:"41" json:"religion,omitempty"` MothersMaidenName XPN `hl7:"42" json:"mothersMaidenName,omitempty"` NationalityCode CE `hl7:"43" json:"nationalityCode,omitempty"` EthnicGroup string `hl7:"44" json:"ethnicGroup,omitempty"` ContactPersonsName []XPN `hl7:"45" json:"contactPersonsName,omitempty"` ContactPersonsTelephoneNumber []XTN `hl7:"46" json:"contactPersonsTelephoneNumber,omitempty"` ContactReason CE `hl7:"47" json:"contactReason,omitempty"` ContactRelationshipCode string `hl7:"48" json:"contactRelationshipCode,omitempty"` JobTitle string `hl7:"49" json:"jobTitle,omitempty"` JobCode JCC `hl7:"50" json:"jobCode,omitempty"` EmployersOrganizationName []XON `hl7:"51" json:"employersOrganizationName,omitempty"` Handicap string `hl7:"52" json:"handicap,omitempty"` JobStatus string `hl7:"53" json:"jobStatus,omitempty"` FinancialClass FC `hl7:"54" json:"financialClass,omitempty"` GuarantorRace string `hl7:"55" json:"guarantorRace,omitempty"` }
type HD ¶
type HD struct { NamespaceId string `hl7:"0" json:"namespaceId,omitempty"` UniversalId string `hl7:"1" json:"universalId,omitempty"` UniversalIdType string `hl7:"2" json:"universalIdType,omitempty"` }
HD - Hierarchic Designator https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/HD
type IN1 ¶
type IN1 struct { SetID string `hl7:"1" json:"setID,omitempty"` PlanID CE `hl7:"2" json:"planID,omitempty"` CompanyID []CX `hl7:"3" json:"companyID,omitempty"` CompanyName []XON `hl7:"4" json:"companyName,omitempty"` CompanyAddress []XAD `hl7:"5" json:"companyAddress,omitempty"` ContactPerson []XPN `hl7:"6" json:"contactPerson,omitempty"` PhoneNumber []XTN `hl7:"7" json:"phoneNumber,omitempty"` GroupNumber string `hl7:"8" json:"groupNumber,omitempty"` GroupName []XON `hl7:"9" json:"groupName,omitempty"` GroupEmployerID []CX `hl7:"10" json:"groupEmployerID,omitempty"` GroupEmployerName []XON `hl7:"11" json:"groupEmployerName,omitempty"` PlanEffectiveDate time.Time `hl7:"12,shortdate" json:"planEffectiveDate,omitempty"` PlanExpirationDate time.Time `hl7:"13,shortdate" json:"planExpirationDate,omitempty"` AuthorizationInformation CM_AUI `hl7:"14" json:"authorizationInformation,omitempty"` PlanType string `hl7:"15" json:"planType,omitempty"` NameOfInsured []XPN `hl7:"16" json:"nameOfInsured,omitempty"` InsuredRelationshipToPatient string `hl7:"17" json:"insuredRelationshipToPatient,omitempty"` InsuredDateOfBirth time.Time `hl7:"18,longdate" json:"insuredDateOfBirth,omitempty"` InsuredAddress []XAD `hl7:"19" json:"insuredAddress,omitempty"` AssignmentOfBenefits string `hl7:"20" json:"assignmentOfBenefits,omitempty"` CoordinationOfBenefits string `hl7:"21" json:"coordinationOfBenefits,omitempty"` CoordinationOfBenefitsPrio string `hl7:"22" json:"coordinationOfBenefitsPrio,omitempty"` NoticeOfAdmissionCode string `hl7:"23" json:"noticeOfAdmissionCode,omitempty"` NoticeOfAdmissionDate time.Time `hl7:"24,shortdate" json:"noticeOfAdmissionDate,omitempty"` ReportOfEligibilityCode string `hl7:"25" json:"reportOfEligibilityCode,omitempty"` ReportOfEligibilityDate time.Time `hl7:"26,shortdate" json:"reportOfEligibilityDate,omitempty"` ReleaseInformationCode string `hl7:"27" json:"releaseInformationCode,omitempty"` PreAdmitCert string `hl7:"28" json:"preAdmitCert,omitempty"` VerificationDateTime time.Time `hl7:"29,longdate" json:"verificationDateTime,omitempty"` VerificationBy XCN `hl7:"30" json:"verificationBy,omitempty"` TypeOfAgreementCode string `hl7:"31" json:"typeOfAgreementCode,omitempty"` BillingStatus string `hl7:"32" json:"billingStatus,omitempty"` LifetimeReserveDays float32 `hl7:"33" json:"lifetimeReserveDays,omitempty"` DelayBeforeLifetimeReserveDays float32 `hl7:"34" json:"delayBeforeLifetimeReserveDays,omitempty"` CompanyPlanCode string `hl7:"35" json:"companyPlanCode,omitempty"` PolicyNumber string `hl7:"36" json:"policyNumber,omitempty"` PolicyDeductible CP `hl7:"37" json:"policyDeductible,omitempty"` PolicyLimitAmount CP `hl7:"38" json:"policyLimitAmount,omitempty"` PolicyLimitDays float32 `hl7:"39" json:"policyLimitDays,omitempty"` RoomRateSemiPrivate CP `hl7:"40" json:"roomRateSemiPrivate,omitempty"` RoomRatePrivate CP `hl7:"41" json:"roomRatePrivate,omitempty"` InsuredEmploymentStatus CE `hl7:"42" json:"insuredEmploymentStatus,omitempty"` InsuredSex string `hl7:"43" json:"insuredSex,omitempty"` InsuredEmployerAddress []XAD `hl7:"44" json:"insuredEmployerAddress,omitempty"` VerificationStatus string `hl7:"45" json:"verificationStatus,omitempty"` PriorInsurancePlanID string `hl7:"46" json:"priorInsurancePlanID,omitempty"` CoverageType string `hl7:"47" json:"coverageType,omitempty"` Handicap string `hl7:"48" json:"handicap,omitempty"` InsuredIDNumber []CX `hl7:"49" json:"insuredIDNumber,omitempty"` }
HL7 v2.3 - IN1 - Insurance https://hl7-definition.caristix.com/v2/HL7v2.3/Segments/IN1
type IN2 ¶
type IN2 struct { InsuredEmployeeID []CX `hl7:"1" json:"insuredEmployeeID,omitempty"` InsuredSSN string `hl7:"2" json:"insuredSSN,omitempty"` InsuredEmployerName []XCN `hl7:"3" json:"insuredEmployerName,omitempty"` EmployerInformationData string `hl7:"4" json:"employerInformationData,omitempty"` MailClaimParty []string `hl7:"5" json:"mailClaimParty,omitempty"` MedicareHealthInsCardNumber string `hl7:"6" json:"medicareHealthInsCardNumber,omitempty"` MedicalCaseName []XPN `hl7:"7" json:"medicalCaseName,omitempty"` MedicalCaseNumber string `hl7:"8" json:"medicalCaseNumber,omitempty"` ChampusSponsorName []XPN `hl7:"9" json:"champusSponsorName,omitempty"` ChampusID string `hl7:"10" json:"champusID,omitempty"` DependentOfChampusRecipient CE `hl7:"11" json:"dependentOfChampusRecipient,omitempty"` ChampusOrganization string `hl7:"12" json:"champusOrganization,omitempty"` ChampusStation string `hl7:"13" json:"champusStation,omitempty"` ChampusService string `hl7:"14" json:"champusService,omitempty"` ChampusRank string `hl7:"15" json:"champusRank,omitempty"` ChampusStatus string `hl7:"16" json:"champusStatus,omitempty"` ChampusRetireDate time.Time `hl7:"17,shortdate" json:"champusRetireDate,omitempty"` ChampusNonAvailCertOnFile string `hl7:"18" json:"champusNonAvailCertOnFile,omitempty"` BabyCoverage string `hl7:"19" json:"babyCoverage,omitempty"` CombineBabyBill string `hl7:"20" json:"combineBabyBill,omitempty"` BloodDeductible string `hl7:"21" json:"bloodDeductible,omitempty"` SpecialCoverageApprovalName []XPN `hl7:"22" json:"specialCoverageApprovalName,omitempty"` SpecialCoverageApprovalTitle string `hl7:"23" json:"specialCoverageApprovalTitle,omitempty"` NonCoveredInsuranceCode []string `hl7:"24" json:"nonCoveredInsuranceCode,omitempty"` PayorID []CX `hl7:"25" json:"payorID,omitempty"` PayorSubscriberID []CX `hl7:"26" json:"payorSubscriberID,omitempty"` EligibilitySource string `hl7:"27" json:"eligibilitySource,omitempty"` RoomCoverageType []CM_RMC `hl7:"28" json:"roomCoverageType,omitempty"` PolicyTypeAmount []CM_PTA `hl7:"29" json:"policyTypeAmount,omitempty"` DailyDeductible CM_DDI `hl7:"30" json:"dailyDeductible,omitempty"` LivingDependency string `hl7:"31" json:"livingDependency,omitempty"` AmbulatoryStatus string `hl7:"32" json:"ambulatoryStatus,omitempty"` Citizenship string `hl7:"33" json:"citizenship,omitempty"` PrimaryLanguage CE `hl7:"34" json:"primaryLanguage,omitempty"` LivingArrangement string `hl7:"35" json:"livingArrangement,omitempty"` PublicityIndicator CE `hl7:"36" json:"publicityIndicator,omitempty"` ProtectionIndicator string `hl7:"37" json:"protectionIndicator,omitempty"` StudentIndicator string `hl7:"38" json:"studentIndicator,omitempty"` Religion string `hl7:"39" json:"religion,omitempty"` MothersMaidenName XPN `hl7:"40" json:"mothersMaidenName,omitempty"` NationalityCode CE `hl7:"41" json:"nationalityCode,omitempty"` EthnicGroup string `hl7:"42" json:"ethnicGroup,omitempty"` MaritalStatus []string `hl7:"43" json:"maritalStatus,omitempty"` EmploymentStartDate time.Time `hl7:"44,shortdate" json:"employmentStartDate,omitempty"` EmploymentStopDate time.Time `hl7:"45,shortdate" json:"employmentStopDate,omitempty"` JobTitle string `hl7:"46" json:"jobTitle,omitempty"` JobCode JCC `hl7:"47" json:"jobCode,omitempty"` JobStatus string `hl7:"48" json:"jobStatus,omitempty"` EmployerContactPersonName []XPN `hl7:"49" json:"employerContactPersonName,omitempty"` EmployerContactPersonPhone []XTN `hl7:"50" json:"employerContactPersonPhone,omitempty"` EmployerContactReason string `hl7:"51" json:"employerContactReason,omitempty"` InsuredContactPersonName []XPN `hl7:"52" json:"insuredContactPersonName,omitempty"` InsuredContactPersonTelephone []XTN `hl7:"53" json:"insuredContactPersonTelephone,omitempty"` InsuredContactPersonReason []string `hl7:"54" json:"insuredContactPersonReason,omitempty"` RelationshipToThePatientStartDate time.Time `hl7:"55,shortdate" json:"relationshipToThePatientStartDate,omitempty"` RelationshipToThePatientStopDate []time.Time `hl7:"56,shortdate" json:"relationshipToThePatientStopDate,omitempty"` InsuranceCompanyContactReason string `hl7:"57" json:"insuranceCompanyContactReason,omitempty"` InsuranceCompanyContactPhone XTN `hl7:"58" json:"insuranceCompanyContactPhone,omitempty"` PolicyScope string `hl7:"59" json:"policyScope,omitempty"` PolicySource string `hl7:"60" json:"policySource,omitempty"` PatientMemberNumber CX `hl7:"61" json:"patientMemberNumber,omitempty"` GuarantorRelationshipToInsured string `hl7:"62" json:"guarantorRelationshipToInsured,omitempty"` InsuredsTelephoneNumberHome []XTN `hl7:"63" json:"insuredsTelephoneNumberHome,omitempty"` InsuredEmployerTelephoneNumber []XTN `hl7:"64" json:"insuredEmployerTelephoneNumber,omitempty"` MilitaryHandicappedProgram CE `hl7:"65" json:"militaryHandicappedProgram,omitempty"` SuspendFlag string `hl7:"66" json:"suspendFlag,omitempty"` CopayLimitFlag string `hl7:"67" json:"copayLimitFlag,omitempty"` StoplossLimitFlag string `hl7:"68" json:"stoplossLimitFlag,omitempty"` InsuredOrganizationNameAndID []XON `hl7:"69" json:"insuredOrganizationNameAndID,omitempty"` InsuredEmployerOrganizationNameAndID []XON `hl7:"70" json:"insuredEmployerOrganizationNameAndID,omitempty"` Race string `hl7:"71" json:"race,omitempty"` PatientRelationshipToInsured CE `hl7:"72" json:"patientRelationshipToInsured,omitempty"` }
IN2 - Insurance additional info https://hl7-definition.caristix.com/v2/HL7v2.3/Segments/IN2
type IN3 ¶
type IN3 struct { SetID string `hl7:"1" json:"setID,omitempty"` CertificationNumber CX `hl7:"2" json:"certificationNumber,omitempty"` CertifiedBy []XCN `hl7:"3" json:"certifiedBy,omitempty"` CertificationRequired string `hl7:"4" json:"certificationRequired,omitempty"` Penalty CM_PEN `hl7:"5" json:"penalty,omitempty"` CertificationDateTime time.Time `hl7:"6,longdate" json:"certificationDateTime,omitempty"` CertificationModifyDateTime time.Time `hl7:"7,longdate" json:"certificationModifyDateTime,omitempty"` Operator []XCN `hl7:"8" json:"operator,omitempty"` CertificationBeginDate time.Time `hl7:"9,shortdate" json:"certificationBeginDate,omitempty"` CertificationEndDate time.Time `hl7:"10,shortdate" json:"certificationEndDate,omitempty"` Days CM_DTN `hl7:"11" json:"days,omitempty"` NonConcurCode CE `hl7:"12" json:"nonConcurCode,omitempty"` NonConcurEffectiveDateTime time.Time `hl7:"13,longdate" json:"nonConcurEffectiveDateTime,omitempty"` PhysicianReviewer []XCN `hl7:"14" json:"physicianReviewer,omitempty"` CertificationContact string `hl7:"15" json:"certificationContact,omitempty"` CertificationContactPhoneNumber []XTN `hl7:"16" json:"certificationContactPhoneNumber,omitempty"` AppealReason CE `hl7:"17" json:"appealReason,omitempty"` CertificationAgency CE `hl7:"18" json:"certificationAgency,omitempty"` CertificationAgencyPhoneNumber []XTN `hl7:"19" json:"certificationAgencyPhoneNumber,omitempty"` PreCertificationRequired []CM_PCF `hl7:"20" json:"preCertificationRequired,omitempty"` CaseManager string `hl7:"21" json:"caseManager,omitempty"` SecondOpinionDate time.Time `hl7:"22,longdate" json:"secondOpinionDate,omitempty"` SecondOpinionStatus string `hl7:"23" json:"secondOpinionStatus,omitempty"` SecondOpinionDocumentationReceived []string `hl7:"24" json:"secondOpinionDocumentationReceived,omitempty"` SecondOptionPhysician []XCN `hl7:"25" json:"secondOptionPhysician,omitempty"` }
type JCC ¶
type JCC struct { JobCode string `hl7:"0" json:"jobCode,omitempty"` JobClass string `hl7:"1" json:"jobClass,omitempty"` }
JCC - Job Code Class https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/JCC
type LA1 ¶
type LA1 struct { PointOfCare string `hl7:"0" json:"pointOfCare,omitempty"` Room string `hl7:"1" json:"room,omitempty"` Bed string `hl7:"2" json:"bed,omitempty"` Facility HD `hl7:"3" json:"facility,omitempty"` LocationStatus string `hl7:"4" json:"locationStatus,omitempty"` PersonLocationType string `hl7:"5" json:"personLocationType,omitempty"` Building string `hl7:"6" json:"building,omitempty"` Floor string `hl7:"7" json:"floor,omitempty"` Address AD `hl7:"8" json:"address,omitempty"` }
LA1 - Location With Address Information https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/LA1
type MO ¶
type MO struct { Quantity int `hl7:"0" json:"quantity,omitempty"` Denomination string `hl7:"1" json:"denomination,omitempty"` }
MO - Money https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/MO
type MSH ¶
type MSH struct { FieldSeparator string `hl7:"1,fieldseparator" json:"fieldSeparator,omitempty"` EncodingCharacters string `hl7:"1,delimiter" json:"encodingCharacters,omitempty"` SendingApplication HD `hl7:"2" json:"sendingApplication,omitempty"` SendingFacility HD `hl7:"3" json:"sendingFacility,omitempty"` ReceivingApplication HD `hl7:"4" json:"receivingApplication,omitempty"` ReceivingFacility HD `hl7:"5" json:"receivingFacility,omitempty"` DateTimeOfMessage time.Time `hl7:"6,longdate" json:"dateTimeOfMessage,omitempty"` Security string `hl7:"7" json:"security,omitempty"` MessageType string `hl7:"8.1" json:"messageType,omitempty"` MessageTriggerEvent string `hl7:"8.2" json:"messageTriggerEvent,omitempty"` MessageControlID string `hl7:"9" json:"messageControlID,omitempty"` ProcessingID string `hl7:"10" json:"processingID,omitempty"` VersionID string `hl7:"11" json:"versionID,omitempty"` SequenceNumber int `hl7:"12" json:"sequenceNumber,omitempty"` ContinuationPointer string `hl7:"13" json:"continuationPointer,omitempty"` AcceptAcknowledgementType string `hl7:"14" json:"acceptAcknowledgementType,omitempty"` ApplicationAcknowledgementType string `hl7:"15" json:"applicationAcknowledgementType,omitempty"` CountryCode string `hl7:"16" json:"countryCode,omitempty"` CharacterSet []string `hl7:"17" json:"characterSet,omitempty"` PrincipalLanguageOfMessage CE `hl7:"18" json:"principalLanguageOfMessage,omitempty"` }
MSH - Message header segment https://hl7-definition.caristix.com/v2/HL7v2.3/Segments/MSH
type NTE ¶
type NTE struct { CommentID int `hl7:"1" json:"commentID,omitempty"` SourceOfcomment string `hl7:"2" json:"sourceOfcomment,omitempty"` Comment string `hl7:"3" json:"comment,omitempty"` }
NTE - Notes and comments segment https://hl7-definition.caristix.com/v2/HL7v2.3/Segments/NTE
type OBR ¶
type OBR struct { ObservationRequest string `hl7:"1" json:"observationRequest,omitempty"` PlacerOrderNumber EI `hl7:"2" json:"placerOrderNumber,omitempty"` FillerOrderNumber EI `hl7:"3" json:"fillerOrderNumber,omitempty"` UniversalServiceIdentifier CE `hl7:"4" json:"universalServiceIdentifier,omitempty"` Priority string `hl7:"5" json:"priority,omitempty"` RequestedDateTime time.Time `hl7:"6" json:"requestedDateTime,omitempty"` ObservationDateTime time.Time `hl7:"7" json:"observationDateTime,omitempty"` ObservationEndDateTime time.Time `hl7:"8" json:"observationEndDateTime,omitempty"` CollectionVolume CQ `hl7:"9" json:"collectionVolume,omitempty"` CollectorIdentifier []XCN `hl7:"10" json:"collectorIdentifier,omitempty"` SpecimenActionCode string `hl7:"11" json:"specimenActionCode,omitempty"` DangerCode CE `hl7:"12" json:"dangerCode,omitempty"` RelevantClinicalInformation string `hl7:"13" json:"relevantClinicalInformation,omitempty"` SpecimenReceivedDateTime time.Time `hl7:"14" json:"specimenReceivedDateTime,omitempty"` SpecimenSource CM_SPS `hl7:"15" json:"specimenSource,omitempty"` OrderingProvider []XCN `hl7:"16" json:"orderingProvider,omitempty"` OrderCallbackPhoneNumber []XTN `hl7:"17" json:"orderCallbackPhoneNumber,omitempty"` PlacerField1 string `hl7:"18" json:"placerField1,omitempty"` PlacerField2 string `hl7:"19" json:"placerField2,omitempty"` FillerField1 string `hl7:"20" json:"fillerField1,omitempty"` FillerField2 string `hl7:"21" json:"fillerField2,omitempty"` ResultsRptStatusChngDateTime time.Time `hl7:"22" json:"resultsRptStatusChngDateTime,omitempty"` ChargeToPractice CM_MOC `hl7:"23" json:"chargeToPractice,omitempty"` DiagnosticServiceSectionID string `hl7:"24" json:"diagnosticServiceSectionID,omitempty"` ResultStatus string `hl7:"25" json:"resultStatus,omitempty"` ParentResult CM_PRL `hl7:"26" json:"parentResult,omitempty"` QuantityTiming []TQ `hl7:"27" json:"quantityTiming,omitempty"` ResultCopiesTo []XCN `hl7:"28" json:"resultCopiesTo,omitempty"` ParentNumber CM_EIP `hl7:"29" json:"parentNumber,omitempty"` TransportationMode string `hl7:"30" json:"transportationMode,omitempty"` ReasonForStudy []CE `hl7:"31" json:"reasonForStudy,omitempty"` PrincipalResultInterpreter CM_NDL `hl7:"32" json:"principalResultInterpreter,omitempty"` AssistantResultInterpreter []CM_NDL `hl7:"33" json:"assistantResultInterpreter,omitempty"` Technician []CM_NDL `hl7:"34" json:"technician,omitempty"` Transcriptionist []CM_NDL `hl7:"35" json:"transcriptionist,omitempty"` ScheduledDateTime time.Time `hl7:"36" json:"scheduledDateTime,omitempty"` NumberOfSampleContainers int `hl7:"37" json:"numberOfSampleContainers,omitempty"` TransportLogisticsOfCollectedSample []CE `hl7:"38" json:"transportLogisticsOfCollectedSample,omitempty"` CollectorsComment []CE `hl7:"39" json:"collectorsComment,omitempty"` TransportArrangementResponsibility CE `hl7:"40" json:"transportArrangementResponsibility,omitempty"` TransportArranged string `hl7:"41" json:"transportArranged,omitempty"` EscortRequired string `hl7:"42" json:"escortRequired,omitempty"` PlannedPatientTransportComment []CE `hl7:"43" json:"plannedPatientTransportComment,omitempty"` }
OBR - Observation request segment https://hl7-definition.caristix.com/v2/HL7v2.3/Segments/OBR
type OBX ¶
type OBX struct { SetID int `hl7:"1,sequence" json:"setID,omitempty"` ValueType string `hl7:"2" json:"valueType,omitempty"` ObservationIdentifier CE `hl7:"3" json:"observationIdentifier,omitempty"` ObservationSubID string `hl7:"4" json:"observationSubID,omitempty"` ObservationValue []string `hl7:"5" json:"observationValue,omitempty"` Units CE `hl7:"6" json:"units,omitempty"` ReferenceRange string `hl7:"7" json:"referenceRange,omitempty"` AbnormalFlags []string `hl7:"8" json:"abnormalFlags,omitempty"` Probability float32 `hl7:"9" json:"probability,omitempty"` NatureOfAbnormalTest []string `hl7:"10" json:"natureOfAbnormalTest,omitempty"` ResultStatus string `hl7:"11" json:"resultStatus,omitempty"` DateLastObservedNormalValues time.Time `hl7:"12,longdate" json:"dateLastObservedNormalValues,omitempty"` UserDefinedAccessChecks string `hl7:"13" json:"userDefinedAccessChecks,omitempty"` DateTimeOfObservation time.Time `hl7:"14,longdate" json:"dateTimeOfObservation,omitempty"` ProducersID CE `hl7:"15" json:"producersID,omitempty"` ResponsibleObserver XCN `hl7:"16" json:"responsibleObserver,omitempty"` ObservationMethod []CE `hl7:"17" json:"observationMethod,omitempty"` }
OBX - Observation segment https://hl7-definition.caristix.com/v2/HL7v2.3/Segments/OBX
type ODS ¶
type ODS struct { Type string `hl7:"1" json:"type,omitempty"` ServicePeriod []CE `hl7:"2" json:"servicePeriod,omitempty"` DietSupplementOrPreferenceCode []CE `hl7:"3" json:"dietSupplementOrPreferenceCode,omitempty"` TextInstruction []string `hl7:"4" json:"textInstruction,omitempty"` }
ODS - Dietary orders, supplements, and preferences https://hl7-definition.caristix.com/v2/HL7v2.3/Segments/ODS
type ODT ¶
type ODT struct { TrayType CE `hl7:"1" json:"trayType,omitempty"` ServicePeriod []CE `hl7:"2" json:"servicePeriod,omitempty"` TextInstruction string `hl7:"3" json:"textInstruction,omitempty"` }
ODT - Diet tray instructions segment https://hl7-definition.caristix.com/v2/HL7v2.3/Segments/ODT
type ORC ¶
type ORC struct { OrderControl string `hl7:"1" json:"orderControl,omitempty"` PlacerOrderNumber EI `hl7:"2" json:"placerOrderNumber,omitempty"` FillerOrderNumber EI `hl7:"3" json:"fillerOrderNumber,omitempty"` PlacerGroupNumber EI `hl7:"4" json:"placerGroupNumber,omitempty"` OrderStatus string `hl7:"5" json:"orderStatus,omitempty"` ResponseFlag string `hl7:"6" json:"responseFlag,omitempty"` QuantityTiming TQ `hl7:"7" json:"quantityTiming,omitempty"` ParentOrder CM_EIP `hl7:"8" json:"parentOrder,omitempty"` DateTimeOfTransaction time.Time `hl7:"9" json:"dateTimeOfTransaction,omitempty"` EnteredBy XCN `hl7:"10" json:"enteredBy,omitempty"` VerifiedBy XCN `hl7:"11" json:"verifiedBy,omitempty"` OrderingProvider XCN `hl7:"12" json:"orderingProvider,omitempty"` EnterersLocation PL `hl7:"13" json:"enterersLocation,omitempty"` CallBackPhoneNumber []XTN `hl7:"14" json:"callBackPhoneNumber,omitempty"` OrderEffectiveDateTime time.Time `hl7:"15" json:"orderEffectiveDateTime,omitempty"` OrderControlCodeReason CE `hl7:"16" json:"orderControlCodeReason,omitempty"` EnteringOrganization CE `hl7:"17" json:"enteringOrganization,omitempty"` EnteringDevice CE `hl7:"18" json:"enteringDevice,omitempty"` ActionBy XCN `hl7:"19" json:"actionBy,omitempty"` }
ORC - Common order segment https://hl7-definition.caristix.com/v2/HL7v2.3/Segments/ORC
type ORM_O01 ¶
type ORM_O01 struct { MSH MSH `hl7:"MSH" json:"msh,omitempty"` NotesAndComments []NTE `hl7:"NTE,optional" json:"notesAndComments,omitempty"` Patient Patient `json:"patient,omitempty"` Order []Order `json:"order,omitempty"` }
ORM_O01 - Order message https://hl7-definition.caristix.com/v2/HL7v2.3/TriggerEvents/ORM_O01
type ORU_R01 ¶
type ORU_R01 struct { MSH MSH `hl7:"MSH" json:"msh,omitempty"` PatientResult []PatientResult `json:"patientResult,omitempty"` ContinuationPointer DSC `hl7:"DSC, optional" json:"continuationPointer,omitempty"` }
ORU_R01 - Unsolicited transmission of an observation message https://hl7-definition.caristix.com/v2/HL7v2.3/TriggerEvents/ORU_R01
type Observation ¶
type Order ¶
type Order struct { CommonOrderSegment ORC `hl7:"ORC" json:"commonOrderSegment,omitempty"` OrderDetail OrderDetail `json:"orderDetail,omitempty"` ClinicalTrialIdentification []CTI `hl7:"CTI,optional" json:"clinicalTrialIdentification,omitempty"` Billing BLG `hl7:"BLG,optional" json:"billing,omitempty"` }
type OrderDetail ¶
type OrderDetail struct { OrderDetailSegment OrderDetailSegment `json:"orderDetailSegment,omitempty"` NotesAndComments []NTE `hl7:"NTE,optional" json:"notesAndComments,omitempty"` Diagnosis []DG1 `hl7:"DG1,optional" json:"diagnosis,omitempty"` Observation []Observation `hl7:"Observation,optional" json:"observation,omitempty"` }
type OrderDetailSegment ¶
type OrderDetailSegment struct { ObservationRequestSegment OBR `hl7:"OBR,optional" json:"observationRequestSegment,omitempty"` RequisitionDetail RQD `hl7:"RQD,optional" json:"requisitionDetail,omitempty"` RequisitionDetail1 RQ1 `hl7:"RQ1,optional" json:"requisitionDetail1,omitempty"` PharmacyPrescription RXO `hl7:"RQ1,optional" json:"pharmacyPrescription,omitempty"` DietaryOrders ODS `hl7:"ODS,optional" json:"dietaryOrders,omitempty"` DietTrayInstructions ODT `hl7:"ODT,optional" json:"dietTrayInstructions,omitempty"` }
type OrderObservation ¶
type OrderObservation struct { CommonOrder ORC `hl7:"ORC,optional" json:"commonOrder,omitempty"` ObservationRequest OBR `hl7:"OBR" json:"observationRequest,omitempty"` NotesAndComments []NTE `hl7:"NTE,optional" json:"notesAndComments,omitempty"` Observation []Observation `hl7:"Observation" json:"observation,omitempty"` ClinicalTrialIdentification []CTI `hl7:"CTI,optional" json:"clinicalTrialIdentification,omitempty"` }
type PD1 ¶
type PD1 struct { LivingDependency []string `hl7:"1" json:"livingDependency,omitempty"` LivingArrangement string `hl7:"2" json:"livingArrangement,omitempty"` PrimaryFacility []XON `hl7:"3" json:"primaryFacility,omitempty"` PrimaryCareProvider []XCN `hl7:"4" json:"primaryCareProvider,omitempty"` StudentIndicator string `hl7:"5" json:"studentIndicator,omitempty"` Handicap string `hl7:"6" json:"handicap,omitempty"` LivingWill string `hl7:"7" json:"livingWill,omitempty"` OrganDonor string `hl7:"8" json:"organDonor,omitempty"` SeparateBill string `hl7:"9" json:"separateBill,omitempty"` DuplicatePatient []CX `hl7:"10" json:"duplicatePatient,omitempty"` PublicityIndicator CE `hl7:"11" json:"publicityIndicator,omitempty"` ProtectionIndicator string `hl7:"12" json:"protectionIndicator,omitempty"` }
PD1 - Patient Demographic https://hl7-definition.caristix.com/v2/HL7v2.3/Segments/PD1
type PID ¶
type PID struct { ID int `hl7:"1" json:"id,omitempty"` ExternalID []CX `hl7:"2" json:"externalID,omitempty"` InternalID []CX `hl7:"3" json:"internalID,omitempty"` AlternateID []CX `hl7:"4" json:"alternateID,omitempty"` Name XPN `hl7:"5" json:"name,omitempty"` MothersMaidenName XPN `hl7:"6" json:"mothersMaidenName,omitempty"` DOB time.Time `hl7:"7" json:"dob,omitempty"` Sex string `hl7:"8" json:"sex,omitempty"` Alias []XPN `hl7:"9" json:"alias,omitempty"` Race string `hl7:"10" json:"race,omitempty"` Address []XAD `hl7:"11" json:"address,omitempty"` CountryCode string `hl7:"12" json:"countryCode,omitempty"` PhoneNumber []XTN `hl7:"13" json:"phoneNumber,omitempty"` PhoneNumberBusiness []XTN `hl7:"14" json:"phoneNumberBusiness,omitempty"` PrimaryLanguage CE `hl7:"15" json:"primaryLanguage,omitempty"` MaritalStatus string `hl7:"16" json:"maritalStatus,omitempty"` Religion string `hl7:"17" json:"religion,omitempty"` PatientAccountNumber CX `hl7:"18" json:"patientAccountNumber,omitempty"` SSNNumber string `hl7:"19" json:"ssnNumber,omitempty"` DriversLicenseNumber DLN `hl7:"20" json:"driversLicenseNumber,omitempty"` MothersIdentifier CX `hl7:"21" json:"mothersIdentifier,omitempty"` EthnicGroup string `hl7:"22" json:"ethnicGroup,omitempty"` BirthPlace string `hl7:"23" json:"birthPlace,omitempty"` MultipleBirthIndicator string `hl7:"24" json:"multipleBirthIndicator,omitempty"` BirthOrder int `hl7:"25" json:"birthOrder,omitempty"` Citizenship []string `hl7:"26" json:"citizenship,omitempty"` VeteransMilitaryStatus CE `hl7:"27" json:"veteransMilitaryStatus,omitempty"` NationalityCode CE `hl7:"28" json:"nationalityCode,omitempty"` PatientDeathDateAndTime time.Time `hl7:"29" json:"patientDeathDateAndTime,omitempty"` PatientDeathIndicator string `hl7:"30" json:"patientDeathIndicator,omitempty"` }
PID - Patient Identification https://hl7-definition.caristix.com/v2/HL7v2.3/Segments/PID
type PL ¶
type PL struct { PointOfCare string `hl7:"0" json:"pointOfCare,omitempty"` Room string `hl7:"1" json:"room,omitempty"` Bed string `hl7:"2" json:"bed,omitempty"` Facility HD `hl7:"3" json:"facility,omitempty"` LocationStatus string `hl7:"4" json:"locationStatus,omitempty"` PersonLocationType string `hl7:"5" json:"personLocationType,omitempty"` Building string `hl7:"6" json:"building,omitempty"` Floor string `hl7:"7" json:"floor,omitempty"` LocationType string `hl7:"8" json:"locationType,omitempty"` }
PL - Person Location https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/PL
type PV1 ¶
type PV1 struct { SetID string `hl7:"1" json:"setID,omitempty"` PatientClass string `hl7:"2" json:"patientClass,omitempty"` AssignedPatientLocation PL `hl7:"3" json:"assignedPatientLocation,omitempty"` AdmissionType string `hl7:"4" json:"admissionType,omitempty"` PreadmitNumber CX `hl7:"5" json:"preadmitNumber,omitempty"` PriorPatientLocation PL `hl7:"6" json:"priorPatientLocation,omitempty"` AttendingDoctor []XCN `hl7:"7" json:"attendingDoctor,omitempty"` ReferringDoctor []XCN `hl7:"8" json:"referringDoctor,omitempty"` ConsultingDoctor []XCN `hl7:"9" json:"consultingDoctor,omitempty"` HospitalService string `hl7:"10" json:"hospitalService,omitempty"` TemporaryLocation PL `hl7:"11" json:"temporaryLocation,omitempty"` PreadmitTestIndicator string `hl7:"12" json:"preadmitTestIndicator,omitempty"` ReadmissionIndicator string `hl7:"13" json:"readmissionIndicator,omitempty"` AdmitSource string `hl7:"14" json:"admitSource,omitempty"` AmbulatoryStatus []string `hl7:"15" json:"ambulatoryStatus,omitempty"` VIPIndicator string `hl7:"16" json:"vipIndicator,omitempty"` AdmittingDoctor []XCN `hl7:"17" json:"admittingDoctor,omitempty"` PatientType string `hl7:"18" json:"patientType,omitempty"` VisitNumber CX `hl7:"19" json:"visitNumber,omitempty"` FinancialClass FC `hl7:"20" json:"financialClass,omitempty"` ChargePriceIndicator string `hl7:"21" json:"chargePriceIndicator,omitempty"` CourtesyCode string `hl7:"22" json:"courtesyCode,omitempty"` CreditRating string `hl7:"23" json:"creditRating,omitempty"` ContractCode []string `hl7:"24" json:"contractCode,omitempty"` ContractEffectiveDate []time.Time `hl7:"25,shortdate" json:"contractEffectiveDate,omitempty"` ContractAmount []float32 `hl7:"26" json:"contractAmount,omitempty"` ContractPeriod []float32 `hl7:"27" json:"contractPeriod,omitempty"` InterestCode string `hl7:"28" json:"interestCode,omitempty"` TransferToBadDebtCode string `hl7:"29" json:"transferToBadDebtCode,omitempty"` TransferToBadDebtDate time.Time `hl7:"30,shortdate" json:"transferToBadDebtDate,omitempty"` BadDebtAgencyCode string `hl7:"31" json:"badDebtAgencyCode,omitempty"` BadDebtTransferAmount float32 `hl7:"32" json:"badDebtTransferAmount,omitempty"` BadDebtRecoveryAmount float32 `hl7:"33" json:"badDebtRecoveryAmount,omitempty"` DeleteAccountIndicator string `hl7:"34" json:"deleteAccountIndicator,omitempty"` DeleteAccountDate time.Time `hl7:"35" json:"deleteAccountDate,omitempty"` DischargeDisposition string `hl7:"36" json:"dischargeDisposition,omitempty"` DischargedToLocation CM_DLD `hl7:"37" json:"dischargedToLocation,omitempty"` DietType string `hl7:"38" json:"dietType,omitempty"` ServicingFacility string `hl7:"39" json:"servicingFacility,omitempty"` BedStatus string `hl7:"40" json:"bedStatus,omitempty"` AccountStatus string `hl7:"41" json:"accountStatus,omitempty"` PendingLocation PL `hl7:"42" json:"pendingLocation,omitempty"` PriorTemporaryLocation PL `hl7:"43" json:"priorTemporaryLocation,omitempty"` AdmitDateTime time.Time `hl7:"44" json:"admitDateTime,omitempty"` DischargeDateTime time.Time `hl7:"45" json:"dischargeDateTime,omitempty"` CurrentPatientBalance float32 `hl7:"46" json:"currentPatientBalance,omitempty"` TotalCharges float32 `hl7:"47" json:"totalCharges,omitempty"` TotalAdjustments float32 `hl7:"48" json:"totalAdjustments,omitempty"` TotalPayments float32 `hl7:"49" json:"totalPayments,omitempty"` AlternateVisitID CX `hl7:"50" json:"alternateVisitID,omitempty"` VisitIndicator1 string `hl7:"51" json:"visitIndicator1,omitempty"` OtherHealthcareProvider []XCN `hl7:"52" json:"otherHealthcareProvider,omitempty"` }
PV1 - Patient visit
type PV2 ¶
type PV2 struct { PriorPendingLocation PL `hl7:"1" json:"priorPendingLocation,omitempty"` AccommodationCode CE `hl7:"2" json:"accommodationCode,omitempty"` AdmitReason CE `hl7:"3" json:"admitReason,omitempty"` TransferReason CE `hl7:"4" json:"transferReason,omitempty"` PatientValuables string `hl7:"5" json:"patientValuables,omitempty"` PatientValuablesLocation string `hl7:"6" json:"patientValuablesLocation,omitempty"` VisitUserCode string `hl7:"7" json:"visitUserCode,omitempty"` ExpectedAdmitDate time.Time `hl7:"8" json:"expectedAdmitDate,omitempty"` ExpectedDischargeDate time.Time `hl7:"9" json:"expectedDischargeDate,omitempty"` EstimatedLengthOfInpatientStay float32 `hl7:"10" json:"estimatedLengthOfInpatientStay,omitempty"` ActualLengthOfImpatientStay float32 `hl7:"11" json:"actualLengthOfImpatientStay,omitempty"` VisitDescription string `hl7:"12" json:"visitDescription,omitempty"` ReferralSourceCode XCN `hl7:"13" json:"referralSourceCode,omitempty"` PreviousServiceDate time.Time `hl7:"14" json:"previousServiceDate,omitempty"` EmploymentIllnessRelatedIndicator string `hl7:"15" json:"employmentIllnessRelatedIndicator,omitempty"` PurgeStatusCode string `hl7:"16" json:"purgeStatusCode,omitempty"` PurgeStatusDate time.Time `hl7:"17" json:"purgeStatusDate,omitempty"` SpecialProgramCode string `hl7:"18" json:"specialProgramCode,omitempty"` RetentionIndicator string `hl7:"19" json:"retentionIndicator,omitempty"` ExpectedNumberOfInsurancePlans float32 `hl7:"20" json:"expectedNumberOfInsurancePlans,omitempty"` VisitPublicCityCode string `hl7:"21" json:"visitPublicCityCode,omitempty"` VisitProtectionIndicator string `hl7:"22" json:"visitProtectionIndicator,omitempty"` ClinicOrganizationName XON `hl7:"23" json:"clinicOrganizationName,omitempty"` PatientStatusCode string `hl7:"24" json:"patientStatusCode,omitempty"` VisitPriorityCode string `hl7:"25" json:"visitPriorityCode,omitempty"` PreviousTreatmentCode string `hl7:"26" json:"previousTreatmentCode,omitempty"` ExpectedDischargeDisposition string `hl7:"27" json:"expectedDischargeDisposition,omitempty"` SignatureOnFileDate time.Time `hl7:"28" json:"signatureOnFileDate,omitempty"` FirstSimilarIllnessDate time.Time `hl7:"29" json:"firstSimilarIllnessDate,omitempty"` PatientChargeAdjustmentCode string `hl7:"30" json:"patientChargeAdjustmentCode,omitempty"` RecurringServiceCode string `hl7:"31" json:"recurringServiceCode,omitempty"` BillingMediaCode string `hl7:"32" json:"billingMediaCode,omitempty"` ExpectedSurgeryDateTime time.Time `hl7:"33" json:"expectedSurgeryDateTime,omitempty"` MilitaryPartnershipCode string `hl7:"34" json:"militaryPartnershipCode,omitempty"` MilitaryNonAvailabilityCode string `hl7:"35" json:"militaryNonAvailabilityCode,omitempty"` NewbornBabyIndicator string `hl7:"36" json:"newbornBabyIndicator,omitempty"` BabyDetainedIndicator string `hl7:"37" json:"babyDetainedIndicator,omitempty"` }
type Patient ¶
type Patient struct { PatientIdentification PID `hl7:"PID,optional" json:"patientIdentification,omitempty"` PatientDemographics PD1 `hl7:"PD1,optional" json:"patientDemographics,omitempty"` NotesAndComments []NTE `hl7:"NTE,optional" json:"notesAndComments,omitempty"` PatientVisit PatientVisit `json:"patientVisit,omitempty"` Insurance []Insurance `json:"insurance,omitempty"` Guarantor GT1 `hl7:"GT1,optional" json:"guarantor,omitempty"` PatientAllergyInformation []AL1 `hl7:"AL1,optional" json:"patientAllergyInformation,omitempty"` }
type PatientResult ¶
type PatientResult struct { Patient Patient `hl7:"Patient,optional" json:"patient,omitempty"` OrderObservation []OrderObservation `hl7:"OrderObservation" json:"orderObservation,omitempty"` }
type PatientVisit ¶
type RI ¶
type RI struct { RepeatPattern string `hl7:"0" json:"repeatPattern,omitempty"` ExplicitTimeInterval string `hl7:"1" json:"explicitTimeInterval,omitempty"` }
RI - Repeat Interval https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/RI
type RQ1 ¶
type RQ1 struct { AnticipatedPrice string `hl7:"1" json:"anticipatedPrice,omitempty"` ManufacturedId CE `hl7:"2" json:"manufacturedId,omitempty"` ManufacturersCatalog string `hl7:"3" json:"manufacturersCatalog,omitempty"` VendorID CE `hl7:"4" json:"vendorID,omitempty"` VendorCatalog string `hl7:"5" json:"vendorCatalog,omitempty"` Taxable string `hl7:"6" json:"taxable,omitempty"` SubstituteAllowed string `hl7:"7" json:"substituteAllowed,omitempty"` }
RQ1 - Requisition detail-1 segment https://hl7-definition.caristix.com/v2/HL7v2.3/Segments/RQ1
type RQD ¶
type RQD struct { RequisitionLineNumber string `hl7:"1" json:"requisitionLineNumber,omitempty"` ItemCodeInternal CE `hl7:"2" json:"itemCodeInternal,omitempty"` ItemCodeExternal CE `hl7:"3" json:"itemCodeExternal,omitempty"` HospitalItemCode CE `hl7:"4" json:"hospitalItemCode,omitempty"` RequisitionQuantity float32 `hl7:"5" json:"requisitionQuantity,omitempty"` RequisitionUnitOfMeasure CE `hl7:"6" json:"requisitionUnitOfMeasure,omitempty"` DepartmentCostCenter string `hl7:"7" json:"departmentCostCenter,omitempty"` ItemNaturalAccountCode string `hl7:"8" json:"itemNaturalAccountCode,omitempty"` DeliverToID CE `hl7:"9" json:"deliverToID,omitempty"` DateNeeded time.Time `hl7:"10,shortdate" json:"dateNeeded,omitempty"` }
RQD - Requisition detail https://hl7-definition.caristix.com/v2/HL7v2.3/Segments/RQD
type RXO ¶
type RXO struct { RequestedGiveCode CE `hl7:"1" json:"requestedGiveCode,omitempty"` RequestedGiveAmountMinimum float32 `hl7:"2" json:"requestedGiveAmountMinimum,omitempty"` RequestedGiveAmountMaximum float32 `hl7:"3" json:"requestedGiveAmountMaximum,omitempty"` RequestedGiveUnits CE `hl7:"4" json:"requestedGiveUnits,omitempty"` RequestedDosageForm CE `hl7:"5" json:"requestedDosageForm,omitempty"` ProvidersPharmacyInstructions []CE `hl7:"6" json:"providersPharmacyInstructions,omitempty"` DeliverToLocation []LA1 `hl7:"7" json:"deliverToLocation,omitempty"` AllowSubstitutions string `hl7:"8" json:"allowSubstitutions,omitempty"` RequestedDispenseCode CE `hl7:"9" json:"requestedDispenseCode,omitempty"` RequestedDispenseAmount float32 `hl7:"10" json:"requestedDispenseAmount,omitempty"` RequestedDispenseUnits CE `hl7:"11" json:"requestedDispenseUnits,omitempty"` NumberOfRefills float32 `hl7:"12" json:"numberOfRefills,omitempty"` OrderingProvidersDEA XCN `hl7:"13" json:"orderingProvidersDEA,omitempty"` PharmacistSupplierVerifierID XCN `hl7:"14" json:"pharmacistSupplierVerifierID,omitempty"` NeedsHumanReview string `hl7:"15" json:"needsHumanReview,omitempty"` RequestedGivePer string `hl7:"16" json:"requestedGivePer,omitempty"` RequestedGiveStrength float32 `hl7:"17" json:"requestedGiveStrength,omitempty"` RequestedGiveStrengthUnits CE `hl7:"18" json:"requestedGiveStrengthUnits,omitempty"` Indication CE `hl7:"19" json:"indication,omitempty"` RequestedGiveRateAmount string `hl7:"20" json:"requestedGiveRateAmount,omitempty"` RequestedGiveRateUnits CE `hl7:"21" json:"requestedGiveRateUnits,omitempty"` }
RXO - Pharmacy prescription order segment https://hl7-definition.caristix.com/v2/HL7v2.3/Segments/RXO
type TQ ¶
type TQ struct { Quantity CQ `hl7:"0" json:"quantity,omitempty"` Interval RI `hl7:"1" json:"interval,omitempty"` Duration string `hl7:"2" json:"duration,omitempty"` StartDatetime time.Time `hl7:"3" json:"startDatetime,omitempty"` EndDatetime time.Time `hl7:"4" json:"endDatetime,omitempty"` Priority string `hl7:"5" json:"priority,omitempty"` Condition string `hl7:"6" json:"condition,omitempty"` Text string `hl7:"7" json:"text,omitempty"` Conjunction string `hl7:"8" json:"conjunction,omitempty"` OrderSequencing CM_OSD `hl7:"9" json:"orderSequencing,omitempty"` }
TQ - Timing Quantity https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/TQ
type XAD ¶
type XAD struct { StreetAddress string `hl7:"0" json:"streetAddress,omitempty"` OtherDesignation string `hl7:"1" json:"otherDesignation,omitempty"` City string `hl7:"2" json:"city,omitempty"` StateOrProvince string `hl7:"3" json:"stateOrProvince,omitempty"` ZipOrPostalCode string `hl7:"4" json:"zipOrPostalCode,omitempty"` Country string `hl7:"5" json:"country,omitempty"` AddressType string `hl7:"6" json:"addressType,omitempty"` OtherGeographicDesignation string `hl7:"7" json:"otherGeographicDesignation,omitempty"` CountyCode string `hl7:"8" json:"countyCode,omitempty"` CensusTract string `hl7:"9" json:"censusTract,omitempty"` }
XAD - Extended Address https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/XAD
type XCN ¶
type XCN struct { ID string `hl7:"0" json:"id,omitempty"` FamilyName string `hl7:"1" json:"familyName,omitempty"` GivenName string `hl7:"2" json:"givenName,omitempty"` MiddleInitialOrName string `hl7:"3" json:"middleInitialOrName,omitempty"` Suffix string `hl7:"4" json:"suffix,omitempty"` Prefix string `hl7:"5" json:"prefix,omitempty"` Degree string `hl7:"6" json:"degree,omitempty"` SourceTable string `hl7:"7" json:"sourceTable,omitempty"` AssigningAuthority HD `hl7:"8" json:"assigningAuthority,omitempty"` NameType string `hl7:"9" json:"nameType,omitempty"` IdentifierCheckDigit string `hl7:"10" json:"identifierCheckDigit,omitempty"` CodeIdentifyingTheCheckDigitSchemeEmployed string `hl7:"11" json:"codeIdentifyingTheCheckDigitSchemeEmployed,omitempty"` IdentifierTypeCode string `hl7:"12" json:"identifierTypeCode,omitempty"` AssigningFacilityID HD `hl7:"13" json:"assigningFacilityID,omitempty"` }
XCN - Extended Composite ID Number And Name https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/XCN
type XON ¶
type XON struct { OrganizationName string `hl7:"0" json:"organizationName,omitempty"` OrganizationNameTypeCode string `hl7:"1" json:"organizationNameTypeCode,omitempty"` IdNumber float32 `hl7:"2" json:"idNumber,omitempty"` CheckDigit string `hl7:"3" json:"checkDigit,omitempty"` CodeIdentifyingTheCheckDigitSchemeEmployed string `hl7:"4" json:"codeIdentifyingTheCheckDigitSchemeEmployed,omitempty"` AssigningAuthority HD `hl7:"5" json:"assigningAuthority,omitempty"` IdentifierTypeCode string `hl7:"6" json:"identifierTypeCode,omitempty"` AssigningFAcilityId HD `hl7:"7" json:"assigningFAcilityId,omitempty"` NameRepresentationCode string `hl7:"8" json:"nameRepresentationCode,omitempty"` }
XON - Extended Composite Name And ID For Organizations https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/XON
type XPN ¶
type XPN struct { FamilyName string `hl7:"0" json:"familyName,omitempty"` GivenName string `hl7:"1" json:"givenName,omitempty"` MiddleInitialOrName string `hl7:"2" json:"middleInitialOrName,omitempty"` Suffix string `hl7:"3" json:"suffix,omitempty"` Prefix string `hl7:"4" json:"prefix,omitempty"` Degree string `hl7:"5" json:"degree,omitempty"` NameTypeCode string `hl7:"6" json:"nameTypeCode,omitempty"` NameRepresentation string `hl7:"7" json:"nameRepresentation,omitempty"` }
XPN - Extended Person Name https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/XPN
type XTN ¶
type XTN struct { TelephoneNumber string `hl7:"0" json:"telephoneNumber,omitempty"` TelecommunicationUseCode string `hl7:"1" json:"telecommunicationUseCode,omitempty"` TelecommunicationEquipmentType string `hl7:"2" json:"telecommunicationEquipmentType,omitempty"` EmailAddress string `hl7:"3" json:"emailAddress,omitempty"` CountryCode int `hl7:"4" json:"countryCode,omitempty"` AreaCode int `hl7:"5" json:"areaCode,omitempty"` PhoneNumber int `hl7:"6" json:"phoneNumber,omitempty"` Extension int `hl7:"7" json:"extension,omitempty"` AnyText string `hl7:"8" json:"anyText,omitempty"` }
XTN - Extended Telecommunication Number https://hl7-definition.caristix.com/v2/HL7v2.3/DataTypes/XTN