Skip to contents

Convert input to a OBR segment for HL7 2.3.1. Outputs a character vector of length 1 with input values pipe delimited. Below function definition are helper functions for particular fields: UniversalServiceIDComponents

Usage

OBR(
  SetID = "",
  PlacerOrderNumber = "",
  FillerOrderNumber = "",
  UniversalServiceID = UniversalServiceIDComponents(),
  PriorityOBR = "",
  RequestedDatetime = "",
  ObservationDateTime = "",
  ObservationEndDateTime = "",
  CollectionVolume = "",
  CollectorIdentifier = "",
  SpecimenActionCode = "",
  DangerCode = "",
  RelevantClinicalInfo = "",
  SpecimenReceivedDateTime = "",
  SpecimenSource = "",
  OrderingProvider = "",
  OrderCallbackPhoneNumber = "",
  PlacerField1 = "",
  PlacerField2 = "",
  FillerField1 = "",
  FillerField2 = "",
  ResultsRptStatusChngDateTime = "",
  ChargetoPractice = "",
  DiagnosticServSetID = "",
  ResultStatus = "",
  ParentResult = "",
  QuantityTiming = "",
  ResultCopiesTo = "",
  Parent = "",
  TransportationMode = "",
  ReasonforStudy = "",
  PrincipalResultInterpreter = "",
  AssistantResultInterpreter = "",
  Technician = "",
  Transcriptionist = "",
  ScheduledDateTime = "",
  NumberofSampleContainers = "",
  TransportLogisticsofCollectedSample = "",
  CollectorsComment = "",
  TransportArrangementResponsibility = "",
  TransportArranged = "",
  EscortRequired = "",
  PlannedPatientTransportComment = "",
  ProcedureCode = "",
  ProcedureCodeModifier = "",
  .FieldSeparator = "|",
  .version = c("2.3.1", "2.4"),
  .trim = TRUE
)

Arguments

SetID

= "",

PlacerOrderNumber

= "",

FillerOrderNumber

= "",

UniversalServiceID

= UniversalServiceIDComponents(),

PriorityOBR

= "",

RequestedDatetime

= "",

ObservationDateTime

= "",

ObservationEndDateTime

= "",

CollectionVolume

= "",

CollectorIdentifier

= "",

SpecimenActionCode

= "",

DangerCode

= "",

RelevantClinicalInfo

= "",

SpecimenReceivedDateTime

= "",

SpecimenSource

= "",

OrderingProvider

= "",

OrderCallbackPhoneNumber

= "",

PlacerField1

= "",

PlacerField2

= "",

FillerField1

= "",

FillerField2

= "",

ResultsRptStatusChngDateTime

= "",

ChargetoPractice

= "",

DiagnosticServSetID

= "",

ResultStatus

= "",

ParentResult

= "",

QuantityTiming

= "",

ResultCopiesTo

= "",

Parent

= "",

TransportationMode

= "",

ReasonforStudy

= "",

PrincipalResultInterpreter

= "",

AssistantResultInterpreter

= "",

Technician

= "",

Transcriptionist

= "",

ScheduledDateTime

= "",

NumberofSampleContainers

= "",

TransportLogisticsofCollectedSample

= "",

CollectorsComment

= "",

TransportArrangementResponsibility

= "",

TransportArranged

= "",

EscortRequired

= "",

PlannedPatientTransportComment

= "",

ProcedureCode

= "",

ProcedureCodeModifier

= "",

.FieldSeparator

= '|',

.version

= c("2.3.1", "2.4"),

.trim

= TRUE