Documentation ¶
Index ¶
- type Ce
- type CmDld
- type CmEip
- type CmMoc
- type CmMsg
- type CmNdl
- type CmPrl
- type CmRi
- type CmSps
- type Cn
- type Cq
- type Cx
- type Dln
- type Ei
- type Fc
- type Hd
- type Mo
- type Msh
- type Obr
- type Obx
- type Orc
- type Pid
- type Pl
- type Pt
- type Pv1
- type String
- type Tq
- type Ts
- type Tx
- type Varies
- type Xad
- type Xcn
- type Xpn
- type Xtn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ce ¶
type Ce struct { // identifier Identifier String `position:"CE.1"` // text Text String `position:"CE.2"` // name of coding system NameOfCodingSystem String `position:"CE.3"` // alternate identifier AlternateIdentifier String `position:"CE.4"` // alternate text AlternateText String `position:"CE.5"` // name of alternate coding system NameOfAlternateCodingSystem String `position:"CE.6"` }
type CmNdl ¶
type CmNdl struct { // name Name Cn `position:"CM_NDL.1"` // start date/time StartDateTime Ts `position:"CM_NDL.2"` // end date/time EndDateTime Ts `position:"CM_NDL.3"` // point of care (IS) PointOfCareIs String `position:"CM_NDL.4"` // room Room String `position:"CM_NDL.5"` // bed Bed String `position:"CM_NDL.6"` // facility (HD) FacilityHd Hd `position:"CM_NDL.7"` // location status LocationStatus String `position:"CM_NDL.8"` // person location type PersonLocationType String `position:"CM_NDL.9"` // building Building String `position:"CM_NDL.10"` // floor Floor String `position:"CM_NDL.11"` }
type CmPrl ¶
type CmPrl struct { // OBX-3 observation identifier of parent result Obx_3ObservationIdentifierOfParentResult Ce `position:"CM_PRL.1"` // OBX-4 sub-ID of parent result Obx_4SubIdOfParentResult String `position:"CM_PRL.2"` // part of OBX-5 observation result from parent PartOfObx_5ObservationResultFromParent Tx `position:"CM_PRL.3"` }
type CmSps ¶
type CmSps struct { // specimen source name or code SpecimenSourceNameOrCode Ce `position:"CM_SPS.1"` // additives Additives Tx `position:"CM_SPS.2"` // freetext Freetext Tx `position:"CM_SPS.3"` // body site BodySite Ce `position:"CM_SPS.4"` // site modifier SiteModifier Ce `position:"CM_SPS.5"` // collection modifier method code CollectionModifierMethodCode Ce `position:"CM_SPS.6"` }
type Cn ¶
type Cn struct { // String number (ST) IdNumberSt String `position:"CN.1"` // family name FamilyName String `position:"CN.2"` // given name GivenName String `position:"CN.3"` // middle initial or name MiddleInitialOrName String `position:"CN.4"` // suffix (e.g. JR or III) Suffix String `position:"CN.5"` // prefix (e.g. DR) Prefix String `position:"CN.6"` // degree (e.g. MD) Degree String `position:"CN.7"` // source table SourceTable String `position:"CN.8"` // assigning authority AssigningAuthority Hd `position:"CN.9"` }
type Cx ¶
type Cx struct { // ID ID String `position:"CX.1"` // check digit CheckDigit String `position:"CX.2"` // code identifying the check digit scheme employed CodeIdentifyingTheCheckDigitSchemeEmployed String `position:"CX.3"` // assigning authority AssigningAuthority String `position:"CX.4"` // identifier type code IdentifierTypeCode String `position:"CX.5"` // assigning facility AssigningFacility String `position:"CX.6"` }
type Msh ¶
type Msh struct { // Field Separator FieldSeparator String `position:"MSH.1" require:"true"` // Encoding Characters EncodingCharacters String `position:"MSH.2" require:"true"` // Sending Application SendingApplication Hd `position:"MSH.3"` // Sending Facility SendingFacility Hd `position:"MSH.4"` // Receiving Application ReceivingApplication Hd `position:"MSH.5"` // Receiving Facility ReceivingFacility Hd `position:"MSH.6"` // Date / Time of Message DateTimeOfMessage Ts `position:"MSH.7"` // Security Security String `position:"MSH.8"` // Message Type MessageType CmMsg `position:"MSH.9" require:"true"` // Message Control ID MessageControlID String `position:"MSH.10" require:"true"` // Processing ID ProcessingID Pt `position:"MSH.11" require:"true"` // Version ID VersionID String `position:"MSH.12" require:"true"` // Sequence Number SequenceNumber String `position:"MSH.13"` // Continuation Pointer ContinuationPointer String `position:"MSH.14"` // Accept Acknowledgement Type AcceptAcknowledgementType String `position:"MSH.15"` // Application Acknowledgement Type ApplicationAcknowledgementType String `position:"MSH.16"` // Country Code CountryCode String `position:"MSH.17"` // Character Set CharacterSet String `position:"MSH.18"` // Principal Language of Message PrincipalLanguageOfMessage Ce `position:"MSH.19"` }
type Obr ¶
type Obr struct { // Set String - Observation Request SetIDObservationRequest String `position:"OBR.1"` // Placer Order Number PlacerOrderNumbers []Ei `position:"OBR.2"` // Filler Order Number FillerOrderNumber Ei `position:"OBR.3"` // Universal Service Identifier UniversalServiceIdentifier Ce `position:"OBR.4" require:"true"` // Priority Priority String `position:"OBR.5"` // Requested Date/Time RequestedDateTime Ts `position:"OBR.6"` // Observation Date/Time ObservationDateTime Ts `position:"OBR.7"` // Observation End Date/Time ObservationEndDateTime Ts `position:"OBR.8"` // Collection Volume CollectionVolume Cq `position:"OBR.9"` // Collector Identifier CollectorIdentifiers []Xcn `position:"OBR.10"` // Specimen Action Code SpecimenActionCode String `position:"OBR.11"` // Danger Code DangerCode Ce `position:"OBR.12"` // Relevant Clinical Information RelevantClinicalInformation String `position:"OBR.13"` // Specimen Received Date/Time SpecimenReceivedDateTime Ts `position:"OBR.14"` // Specimen Source SpecimenSource CmSps `position:"OBR.15"` // Ordering Provider OrderingProviders []Xcn `position:"OBR.16"` // Order Callback Phone Number OrderCallbackPhoneNumbers []Xtn `position:"OBR.17"` // Placer Field 1 PlacerField1 String `position:"OBR.18"` // Placer Field 2 PlacerField2 String `position:"OBR.19"` // Filler Field 1 FillerField1 String `position:"OBR.20"` // Filler Field 2 FillerField2 String `position:"OBR.21"` // Results Rpt/Status Chng - Date/Time ResultsRptStatusChngDateTime Ts `position:"OBR.22"` // Charge To Practice ChargeToPractice CmMoc `position:"OBR.23"` // Diagnostic Service Section ID DiagnosticServiceSectionId String `position:"OBR.24"` // Result Status ResultStatus String `position:"OBR.25"` // Parent Result ParentResult CmPrl `position:"OBR.26"` // Quantity/Timing QuantityTiming Tq `position:"OBR.27" require:"true"` // Result Copies To ResultCopiesTos []Xcn `position:"OBR.28"` // Parent Number ParentNumber CmEip `position:"OBR.29"` // Transportation Mode TransportationMode String `position:"OBR.30"` // Reason For Study ReasonForStudies []Ce `position:"OBR.31"` // Principal Result Interpreter PrincipalResultInterpreter CmNdl `position:"OBR.32"` // Assistant Result Interpreter AssistantResultInterpreters []CmNdl `position:"OBR.33"` // Technician Technicians []CmNdl `position:"OBR.34"` // Transcriptionist Transcriptionists []CmNdl `position:"OBR.35"` // Scheduled Date/Time ScheduledDateTime Ts `position:"OBR.36"` // Number Of Sample Containers NumberOfSampleContainers String `position:"OBR.37"` // Transport Logistics Of Collected Sample TransportLogisticsOfCollectedSamples []Ce `position:"OBR.38"` // Collector’s Comment CollectorSComments []Ce `position:"OBR.39"` // Transport Arrangement Responsibility TransportArrangementResponsibility Ce `position:"OBR.40"` // Transport Arranged TransportArranged String `position:"OBR.41"` // Escort Required EscortRequired String `position:"OBR.42"` // Planned Patient Transport Comment PlannedPatientTransportComments []Ce `position:"OBR.43"` }
type Obx ¶
type Obx struct { // Set String - OBX SetIDOBX String `position:"OBX.1"` // Value Type ValueType String `position:"OBX.2" require:"true"` // Observation Identifier ObservationIdentifier Ce `position:"OBX.3" require:"true"` // Observation Sub-ID ObservationSubID String `position:"OBX.4"` // Observation Value ObservationValues Varies `position:"OBX.5"` // Units Units Ce `position:"OBX.6"` // References Range ReferencesRange String `position:"OBX.7"` // Abnormal Flags AbnormalFlags []String `position:"OBX.8"` // Probability Probability String `position:"OBX.9"` // Nature of Abnormal Test NatureOfAbnormalTest String `position:"OBX.10"` // Observ Result Status ObservResultStatus String `position:"OBX.11" require:"true"` // Date Last Obs Normal Values DateLastObsNormalValues Ts `position:"OBX.12"` // User Defined Access Checks UserDefinedAccessChecks String `position:"OBX.13"` // Date/Time of the Observation DateTimeOfTheObservation Ts `position:"OBX.14"` // Producer's ID ProducerID Ce `position:"OBX.15"` // Responsible Observer ResponsibleObserver Xcn `position:"OBX.16"` // Observation Method ObservationMethods []Ce `position:"OBX.17"` }
type Orc ¶
type Orc struct { // Order Control OrderControl String `position:"ORC.1" require:"true"` // Placer Order Number PlacerOrderNumbers []Ei `position:"ORC.2"` // Filler Order Number FillerOrderNumber Ei `position:"ORC.3"` // Placer Group Number PlacerGroupNumber Ei `position:"ORC.4"` // Order Status OrderStatus String `position:"ORC.5"` // Response Flag ResponseFlag String `position:"ORC.6"` // Quantity/Timing QuantityTiming Tq `position:"ORC.7" require:"true"` // Parent Parent CmEip `position:"ORC.8"` // Date/Time of Transaction DateTimeOfTransaction Ts `position:"ORC.9"` // Entered By EnteredBy Xcn `position:"ORC.10"` // Verified By VerifiedBy Xcn `position:"ORC.11"` // Ordering Provider OrderingProviders []Xcn `position:"ORC.12"` // Enterer's Location EntererSLocation Pl `position:"ORC.13"` // Call Back Phone Number CallBackPhoneNumbers []String `position:"ORC.14"` // Order Effective Date/Time OrderEffectiveDateTime Ts `position:"ORC.15"` // Order Control Code Reason OrderControlCodeReason Ce `position:"ORC.16"` // Entering Organization EnteringOrganization Ce `position:"ORC.17"` // Entering Device EnteringDevice Ce `position:"ORC.18"` // Action By ActionBy Xcn `position:"ORC.19"` }
type Pid ¶
type Pid struct { // Set String - Patient ID SetIDPatientID String `position:"PID.1"` // Patient String (External ID) PatientIDExternalID Cx `position:"PID.2"` // Patient String (Internal ID) PatientIDInternalIDs []Cx `position:"PID.3" require:"true"` // Alternate Patient ID AlternatePatientID Cx `position:"PID.4"` // Patient Name PatientName Xpn `position:"PID.5" require:"true"` // Mother's Maiden Name MotherSMaidenName Xpn `position:"PID.6"` // Date of Birth DateOfBirth Ts `position:"PID.7"` // Sex Sex String `position:"PID.8"` // Patient Alias PatientAliases []Xpn `position:"PID.9"` // Race Race String `position:"PID.10"` // Patient Address PatientAddresses []Xad `position:"PID.11"` // County Code CountyCode String `position:"PID.12"` // Phone Number - Home PhoneNumberHomes []Xtn `position:"PID.13"` // Phone Number - Business PhoneNumberBusinesses []Xtn `position:"PID.14"` // Primary Language PrimaryLanguage Ce `position:"PID.15"` // Marital Status MaritalStatuses []String `position:"PID.16"` // Religion Religion String `position:"PID.17"` // Patient Account Number PatientAccountNumber Cx `position:"PID.18"` // SSN Number - Patient SsnNumberPatient String `position:"PID.19"` // Driver's License Number DriverSLicenseNumber Dln `position:"PID.20"` // Mother's Identifier MotherSIdentifier Cx `position:"PID.21"` // Ethnic Group EthnicGroup String `position:"PID.22"` // Birth Place BirthPlace String `position:"PID.23"` // Multiple Birth Indicator MultipleBirthIndicator String `position:"PID.24"` // Birth Order BirthOrder String `position:"PID.25"` // Citizenship Citizenship String `position:"PID.26"` // Veterans Military Status VeteransMilitaryStatus Ce `position:"PID.27"` // Nationality Code NationalityCode Ce `position:"PID.28"` // Patient Death Date and Time PatientDeathDateAndTime Ts `position:"PID.29"` // Patient Death Indicator PatientDeathIndicator String `position:"PID.30"` }
type Pl ¶
type Pl struct { // point of care (ID) PointOfCareID String `position:"PL.1"` // room Room String `position:"PL.2"` // bed Bed String `position:"PL.3"` // facility (HD) FacilityHd Hd `position:"PL.4"` // location status LocationStatus String `position:"PL.5"` // person location type PersonLocationType String `position:"PL.6"` // building Building String `position:"PL.7"` // floor Floor String `position:"PL.8"` // Location type LocationType String `position:"PL.9"` }
type Pv1 ¶
type Pv1 struct { // Set String - Patient Visit SetIDPatientVisit String `position:"PV1.1"` // Patient Class PatientClass String `position:"PV1.2" require:"true"` // Assigned Patient Location AssignedPatientLocation Pl `position:"PV1.3"` // Admission Type AdmissionType String `position:"PV1.4"` // Preadmit Number PreadmitNumber Cx `position:"PV1.5"` // Prior Patient Location PriorPatientLocation Pl `position:"PV1.6"` // Attending Doctor AttendingDoctor Xcn `position:"PV1.7"` // Referring Doctor ReferringDoctor Xcn `position:"PV1.8"` // Consulting Doctor ConsultingDoctors []Xcn `position:"PV1.9"` // Hospital Service HospitalService String `position:"PV1.10"` // Temporary Location TemporaryLocation Pl `position:"PV1.11"` // Preadmit Test Indicator PreadmitTestIndicator String `position:"PV1.12"` // Readmission Indicator ReadmissionIndicator String `position:"PV1.13"` // Admit Source AdmitSource String `position:"PV1.14"` // Ambulatory Status AmbulatoryStatus String `position:"PV1.15"` // VIP Indicator VipIndicator String `position:"PV1.16"` // Admitting Doctor AdmittingDoctor Xcn `position:"PV1.17"` // Patient Type PatientType String `position:"PV1.18"` // Visit Number VisitNumber Cx `position:"PV1.19"` // Financial Class FinancialClasses []Fc `position:"PV1.20"` // Charge Price Indicator ChargePriceIndicator String `position:"PV1.21"` // Courtesy Code CourtesyCode String `position:"PV1.22"` // Credit Rating CreditRating String `position:"PV1.23"` // Contract Code ContractCodes []String `position:"PV1.24"` // Contract Effective Date ContractEffectiveDates []String `position:"PV1.25"` // Contract Amount ContractAmounts []String `position:"PV1.26"` // Contract Period ContractPeriods []String `position:"PV1.27"` // Interest Code InterestCode String `position:"PV1.28"` // Transfer to Bad Debt Code TransferToBadDebtCode String `position:"PV1.29"` // Transfer to Bad Debt Date TransferToBadDebtDate String `position:"PV1.30"` // Bad Debt Agency Code BadDebtAgencyCode String `position:"PV1.31"` // Bad Debt Transfer Amount BadDebtTransferAmount String `position:"PV1.32"` // Bad Debt Recovery Amount BadDebtRecoveryAmount String `position:"PV1.33"` // Delete Account Indicator DeleteAccountIndicator String `position:"PV1.34"` // Delete Account Date DeleteAccountDate String `position:"PV1.35"` // Discharge Disposition DischargeDisposition String `position:"PV1.36"` // Discharged to Location DischargedToLocation CmDld `position:"PV1.37"` // Diet Type DietType String `position:"PV1.38"` // Servicing Facility ServicingFacility String `position:"PV1.39"` // Bed Status BedStatus String `position:"PV1.40"` // Account Status AccountStatus String `position:"PV1.41"` // Pending Location PendingLocation Pl `position:"PV1.42"` // Prior Temporary Location PriorTemporaryLocation Pl `position:"PV1.43"` // Admit Date/Time AdmitDateTime Ts `position:"PV1.44"` // Discharge Date/Time DischargeDateTime Ts `position:"PV1.45"` // Current Patient Balance CurrentPatientBalance String `position:"PV1.46"` // Total Charges TotalCharges String `position:"PV1.47"` // Total Adjustments TotalAdjustments String `position:"PV1.48"` // Total Payments TotalPayments String `position:"PV1.49"` // Alternate Visit ID AlternateVisitID Cx `position:"PV1.50"` // Visit Indicator VisitIndicator String `position:"PV1.51"` // Other Healthcare Provider OtherHealthcareProviders []Xcn `position:"PV1.52"` }
type Tq ¶
type Tq struct { // quantity Quantity Cq `position:"TQ.1"` // interval Interval CmRi `position:"TQ.2"` // duration Duration String `position:"TQ.3"` // start date/time StartDateTime Ts `position:"TQ.4"` // end date/time EndDateTime Ts `position:"TQ.5"` // priority Priority String `position:"TQ.6"` // condition Condition String `position:"TQ.7"` // text (TX) TextTx Tx `position:"TQ.8"` // conjunction Conjunction String `position:"TQ.9"` // order sequencing OrderSequencing String `position:"TQ.10"` }
type Varies ¶
type Varies []string
it really should be []interface{}, but for now just doing string until I run into something that breaks
type Xad ¶
type Xad struct { // street address StreetAddress String `position:"XAD.1"` // other designation OtherDesignation String `position:"XAD.2"` // city City String `position:"XAD.3"` // state or province StateOrProvince String `position:"XAD.4"` // zip or postal code ZipOrPostalCode String `position:"XAD.5"` // country Country String `position:"XAD.6"` // address type AddressType String `position:"XAD.7"` // other geographic designation OtherGeographicDesignation String `position:"XAD.8"` // county/parish code CountyParishCode String `position:"XAD.9"` // census tract CensusTract String `position:"XAD.10"` }
type Xcn ¶
type Xcn struct { // String number (ST) IDNumberST String `position:"XCN.1"` // family name FamilyName String `position:"XCN.2"` // given name GivenName String `position:"XCN.3"` // middle initial or name MiddleInitialOrName String `position:"XCN.4"` // suffix (e.g. JR or III) Suffix String `position:"XCN.5"` // prefix (e.g. DR) Prefix String `position:"XCN.6"` // degree (e.g. MD) Degree String `position:"XCN.7"` // source table SourceTable String `position:"XCN.8"` // assigning authority AssigningAuthority Hd `position:"XCN.9"` // name type NameType String `position:"XCN.10"` // identifier check digit IdentifierCheckDigit String `position:"XCN.11"` // code identifying the check digit scheme employed CodeIdentifyingTheCheckDigitSchemeEmployed String `position:"XCN.12"` // identifier type code IdentifierTypeCode String `position:"XCN.13"` // assigning facility ID AssigningFacilityID Hd `position:"XCN.14"` }
type Xpn ¶
type Xpn struct { // family name FamilyName String `position:"XPN.1"` // given name GivenName String `position:"XPN.2"` // middle initial or name MiddleInitialOrName String `position:"XPN.3"` // suffix (e.g. JR or III) Suffix String `position:"XPN.4"` // prefix (e.g. DR) Prefix String `position:"XPN.5"` // degree (e.g. MD) Degree String `position:"XPN.6"` // name type code NameTypeCode String `position:"XPN.7"` // Name Representation code NameRepresentationCode String `position:"XPN.8"` }
type Xtn ¶
type Xtn struct { // [(999)] 999-9999 [X99999][C any text] A_999_999_9999X99999CAnyText String `position:"XTN.1"` // telecommunication use code TelecommunicationUseCode String `position:"XTN.2"` // telecommunication equipment type (ID) TelecommunicationEquipmentTypeId String `position:"XTN.3"` // Email address EmailAddress String `position:"XTN.4"` // Country Code CountryCode String `position:"XTN.5"` // Area/city code AreaCityCode String `position:"XTN.6"` // Phone number PhoneNumber String `position:"XTN.7"` // Extension Extension String `position:"XTN.8"` // any text AnyText String `position:"XTN.9"` }
Source Files ¶
- base_datatypes.go
- datatype_ce.go
- datatype_cm_dld.go
- datatype_cm_eip.go
- datatype_cm_moc.go
- datatype_cm_msg.go
- datatype_cm_ndl.go
- datatype_cm_prl.go
- datatype_cm_ri.go
- datatype_cm_sps.go
- datatype_cn.go
- datatype_cq.go
- datatype_cx.go
- datatype_dln.go
- datatype_ei.go
- datatype_fc.go
- datatype_hd.go
- datatype_mo.go
- datatype_pl.go
- datatype_pt.go
- datatype_tq.go
- datatype_ts.go
- datatype_tx.go
- datatype_xad.go
- datatype_xcn.go
- datatype_xpn.go
- datatype_xtn.go
- segment_msh.go
- segment_obr.go
- segment_obx.go
- segment_orc.go
- segment_pid.go
- segment_pv1.go
Click to show internal directories.
Click to hide internal directories.