Skip to main content

CalOMSDischarge - Cal-PM web service

Avatar Cal-PM WEBSVC.CalOMSDischarge web service

This web service has the following calls:

  • FileCalOMSDischarge
  • FileCalOMSYouthDetoxDischarge
  • FileCAlOMSAdminDischarge
  • GetDictionaryItems

This web service has the following object class:

  • WEBSVC.CalOMSDischargeObject

FileCalOMSDischarge call

The following tables list the FileCalOMSDischarge parameters, properties, accepted values, and associated dictionaries.

Parameters with no Properties

Parameter

Property

Value Accepted

Notes

SystemCode

N/A

Avatar System Code

"examples:  SAMPLE, LIVE, etc."

UserName

N/A

Avatar User ID

 

Password

N/A

Avatar Password

 

ClientID

N/A

Avatar Client ID  
EpisodeNumber

N/A

Episode Number  

Parameters with Properties

Parameter

Property

Value Accepted

Notes

CalOMSDischargeInfo

CalOMSDischargeObject

WEBSVC.CalOMSDischargeObject

This parameter is itself a web service object -- see below for its properties

FileCalOMSYouthDetoxDischarge call

The following tables list the FileCalOMSYouthDetoxDischarge parameters, properties, accepted values, and associated dictionaries.

Parameters with no Properties

Parameter

Property

Value Accepted

Notes

SystemCode

N/A

Avatar System Code

"examples:  SAMPLE, LIVE, etc."

UserName

N/A

Avatar User ID

 

Password

N/A

Avatar Password

 

ClientID

N/A

Avatar Client ID  
EpisodeNumber

N/A

Episode Number  

Parameters with Properties

Parameter

Property

Value Accepted

Notes

CalOMSDischargeInfo

CalOMSDischargeObject

WEBSVC.CalOMSDischargeObject

This parameter is itself a web service object -- see below for its properties

FileCalOMSAdminDischarge call

The following tables list the FileCalOMSAdminDischarge parameters, properties, accepted values, and associated dictionaries.

Parameters with no Properties

Parameter

Property

Value Accepted

Notes

SystemCode

N/A

Avatar System Code

"examples:  SAMPLE, LIVE, etc."

UserName

N/A

Avatar User ID

 

Password

N/A

Avatar Password

 

ClientID

N/A

Avatar Client ID  
EpisodeNumber

N/A

Episode Number  

Parameters with Properties

Parameter

Property

Value Accepted

Notes

CalOMSDischargeInfo

CalOMSDischargeObject

WEBSVC.CalOMSDischargeObject

This parameter is itself a web service object -- see below for its properties

​GetDictionaryItems call

The following table lists the GetDictionaryItems parameters, properties, accepted values, and associated dictionaries.

Parameters with no Properties

Parameter

Property

Value Accepted

Notes

SystemCode

N/A

Avatar System Code

"examples:  SAMPLE, LIVE, etc."

UserName

N/A

Avatar User ID

 

Password

N/A

Avatar Password

 

Object class: WEBSVC.CalOMSDischargeObject

Parameter Property Value Accepted Notes

CalOMSDischargeObject

AlcoholFrequency

Number

A number between 0 and 30 (inclusive).

 

CommunicableDiseases

Dictionary Code

"Has the client been diagnosed with a communicable disease since admission? From Client File, data element 70626."

 

Consent

Dictionary Code

"From Client File, data element 70594."

 

CurrentFirstName

Free Text

 

 

CurrentLastName

Free Text

 

 

CurrentLivingArrangements

Dictionary Code

"From Client File, data element 70635."

 

Disability

Dictionary Code

"From Client File, data element 70518."

 

DischargeProcessDate

Date

 

 

DischargeStatus

Dictionary Code

"From Client File, data element 70593."

 

EmergencyRoomLast30Days

Number

A number between 0 and 99 (inclusive).

 

EmergencyRoomUse

Number

Emergency room use (for mental health). A number between 0 and 99 (inclusive).

 

EmploymentStatus

Dictionary Code

"From Client File, data element 70607."

 

EnrolledInJobTraining

Dictionary Code

"From Client File, data element 70611."

 

EnrolledInSchool

Dictionary Code

"From Client File, data element 70610."

 

ExitInterview

Dictionary Code

"Was the client available for an exit interview? From Client File, data element 70658."

 

FamilyConflictLast30Days

Number

A number between 0 and 30 (inclusive).

 

GUID

Globally Unique ID

In the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx (8-4-4-4-12).

 

HIVTestResults

Dictionary Code

"From Client File, data element 70628."

 

HIVTested

Dictionary Code

"From Client File, data element 70627."

 

HepatitisC

Dictionary Code

"Has the client been diagnosed with Hepatitis C since admission? From Client File, data element 70623."

 

HighestSchoolCompleted

Dictionary Code

"From Client File, data element 70612."

 

Homeless

Dictionary Code

"From Client File, data element 70634."

 

HomelessLivingArrangement

Dictionary Code

"From Client File, data element 70679."

 

HospOvernightLast30Days

Number

A number between 0 and 30 (inclusive).

 

IVUse

Number

A number between 0 and 30 (inclusive).

 

IllegalActivityDays

Number

Number of times in the last 30 days the client has engaged in illegal activity for a profit.

 

LegalWorkMoney

Number

The amount of money the client has earned from legal work in the last 30 days.

 

LivingWithSomeone

Number

A number between 0 and 30 (inclusive).

 

MedicalProblemsLast30Days

Number

A number between 0 and 30 (inclusive).

 

MentalHealthMedication

Dictionary Code

"From Client File, data element 70632."

 

MentalIllness

Dictionary Code

"From Client File, data element 70629."

 

MethUse12Months

Dictionary Code

"From Client File, data element 70698."

 

MethUseBeforeSex

Dictionary Code

"From Client File, data element 70699."

 

NeedleUseLast12Months

Dictionary Code

"From Client File, data element 70605."

 

NonLaborForceDescription

Dictionary Code

"The description of what the client does, if they are not in the work force. From Client File, data element 70608."

 

NumArrestsLast30Days

Number

A number between 0 and 30 (inclusive).

 

NumChild17orYounger

Free Text

Number of children the client has.

 

NumChild5orYounger

Free Text

Number of children the client has that are 5 or under.

 

NumChildEnroll

Free Text

Number of children the client has that are in treatment services with the client.

 

NumChildLivingElsewhere

Free Text

Number of children the client has that live with someone else.

 

NumChildMovedByCPS

Free Text

Number of children the client has that live with someone else because of a child protective order.

 

NumChildParentRightsTerm

Free Text

Number of children the client has that live with someone else and for whom parental rights have been terminated.

 

NumChildRightsTermByCPS

Free Text

Number of children the client has that live with someone else and for whom parental rights have been terminated due to a child protective order.

 

NumChildWithYou30Days

Free Text

Number of children who have spent the majority of the time living with the client for the past 30 days.

 

NumChildWithYou6Months

Free Text

Number of children who have spent the majority of the time living with the client for the past 6 months.

 

NumJailDaysLast30Days

Number

A number between 0 and 30 (inclusive).

 

NumPrisonDaysLast30Days

Number

A number between 0 and 30 (inclusive).

 

OpenCaseCPS

Dictionary Code

"Does the client have an open case with Child Protective Services. From Client File, data element 70643."

 

PhysicalAbuse30Days

Dictionary Code

"Has the client been physically abused in the last 30 days. From Client File, data element 70654."

 

PregnantDuringTreatment

Dictionary Code

"From Client File, data element 70621."

 

PrimaryDrugCode

Dictionary Code

"From Client File, data element 70595."

 

PrimaryDrugFrequency

Number

A number between 0 and 30 (inclusive).

 

PrimaryDrugName

Free Text

The description associated with PrimaryDrugCode.

 

PrimaryDrugRoute

Dictionary Code

"From Client File, data element 70598."

 

PsychiatricFacilityUse

Number

A number between 0 and 30 (inclusive).

 

STDs

Dictionary Code

"From Client File, data element 70624."

 

STDsYN

Dictionary Code

"Has the client been diagnosed with any sexually transmitted diseases since admission? From Client File, data element 70624."

 

SecondaryDrugCode

Dictionary Code

"From Client File, data element 70595."

 

SecondaryDrugFrequency

Number

A number between 0 and 30 (inclusive).

 

SecondaryDrugName

Free Text

The description associated with SecondaryDrugCode.

 

SecondaryDrugRoute

Dictionary Code

"From Client File, data element 70598."

 

SexWithFemale12Months

Dictionary Code

"From Client File, data element 70696."

 

SexWithMale12Months

Dictionary Code

"From Client File, data element 70695."

 

SexWithTrans12Months

Dictionary Code

"From Client File, data element 70697."

 

SexualAbuse30Days

Dictionary Code

"Has the client been sexually abused in th elast 30 days? From Client File, data element 70646."

 

SexualOrientation

Dictionary Code

"From Client File, data element 70700."

 

SoberAbstinent

Dictionary Code

"From Client File, data element 70606."

 

SocialSecurityNumber

Social Security Number

 

 

SocialSupport

Number

A number between 0 and 30 (inclusive).

 

Tuberculosis

Dictionary Code

"Has the client been diagmosed with tuberculosis since admission? From Client File, data element 70622."

 

UTCTimestamp

Time Stamp

In the format  YYYY-MM-DD hh:mm:ss.

 

WorkPast30Days

Number

A number between 0 and 30 (inclusive).

 

ZipCodeAtCurrentResidence

Zip Code

 


 

  • Was this article helpful?