Skip to contents

Convert input to a 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:

Usage

ORC(
  OrderControl = "",
  PlacerOrderNumber = "",
  FillerOrderNumber = "",
  PlacerGroupNumber = "",
  OrderStatus = "",
  ResponseFlag = "",
  QuantityTiming = "",
  Parent = "",
  DateTimeofTransaction = "",
  EnteredBy = "",
  VerifiedBy = "",
  OrderingProvider = "",
  EnterersLocation = "",
  CallBackPhoneNumber = "",
  OrderEffectiveDateTime = "",
  OrderControlCodeReason = "",
  EnteringOrganization = "",
  EnteringDevice = "",
  ActionBy = "",
  AdvancedBeneficiaryNoticeCode = "",
  OrderingFacilityName = "",
  OrderingFacilityAddress = "",
  OrderingFacilityPhoneNumber = "",
  OrderingProviderAddress = "",
  OrderStatusModifier = "",
  .FieldSeparator = "|",
  .version = c("2.3.1", "2.4"),
  .trim = TRUE
)

Arguments

OrderControl

= '',

PlacerOrderNumber

= '',

FillerOrderNumber

= '',

PlacerGroupNumber

= '',

OrderStatus

= '',

ResponseFlag

= '',

QuantityTiming

= '',

Parent

= '',

DateTimeofTransaction

= '',

EnteredBy

= '',

VerifiedBy

= '',

OrderingProvider

= '',

EnterersLocation

= '',

CallBackPhoneNumber

= '',

OrderEffectiveDateTime

= '',

OrderControlCodeReason

= '',

EnteringOrganization

= '',

EnteringDevice

= '',

ActionBy

= '',

AdvancedBeneficiaryNoticeCode

= '',

OrderingFacilityName

= '',

OrderingFacilityAddress

= '',

OrderingFacilityPhoneNumber

= '',

OrderingProviderAddress

= '',

OrderStatusModifier

= '',

.FieldSeparator

= '|',

.version

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

.trim

= TRUE