74
75
76
77
78
79
80
81
82
83
84
85
86
|
# File 'lib/medidata/api/upload.rb', line 74
def to_json
s = {}
s[:mode] = mode if mode
s[:toOrganization] = toOrganization if toOrganization
s[:toTrustCenter] = toTrustCenter if toTrustCenter
s[:toPatient] = toPatient if toPatient
s[:printLanguage] = printLanguage if printLanguage
s[:postalDelivery] = postalDelivery if postalDelivery
s[:forcePostalToPatient] = forcePostalToPatient if forcePostalToPatient
s[:documentReference] = documentReference if documentReference
s[:correlationReference] = correlationReference if correlationReference
JSON.generate(s)
end
|