Thanks for the query to H.C.M. Forum.
No doubt they inserted catheter ( P I C C) .
As you mentioned in the query that there was sharp pain
in chest and dysponea ( shortness in breath) with coughing.
You mentioned everything but not mentioned diagnosis .
Why they inserted catheter, please mention?
P I C C usually inserted for 15 days to even for one year.
If possible please upload the X ray
and blood reports .
However all these symptoms may be due to ,
Consolidation of lung, pleurisy
Consult treating doctor and deal accordingly.
Get well soon.