fix to CCRMEDS3
This commit is contained in:
parent
14b7cab08f
commit
51305a0e10
|
@ -84,7 +84,7 @@ EXTRACT(MINXML,DFN,OUTXML) ; EXTRACT MEDICATIONS INTO PROVIDED XML TEM
|
||||||
. I $L(MEDIEN) D DOSE^PSS50(MEDIEN,,,,,"DOSE")
|
. I $L(MEDIEN) D DOSE^PSS50(MEDIEN,,,,,"DOSE")
|
||||||
. I $L(MEDIEN) N DOSEDATA M DOSEDATA=^TMP($J,"DOSE",MEDIEN)
|
. I $L(MEDIEN) N DOSEDATA M DOSEDATA=^TMP($J,"DOSE",MEDIEN)
|
||||||
. S @MAP@("MEDSTRENGTHVALUE")=$S($L(MEDIEN):DOSEDATA(901),1:"")
|
. S @MAP@("MEDSTRENGTHVALUE")=$S($L(MEDIEN):DOSEDATA(901),1:"")
|
||||||
. ; S @MAP@("MEDSTRENGTHUNIT")=$S($L(DOSEDATA(902))>0:$P(DOSEDATA(902),U,2),1:"") SAM PLEASE CHECK
|
. S @MAP@("MEDSTRENGTHUNIT")=$S($L(DOSEDATA(902))>0:$P(DOSEDATA(902),U,2),1:"") SAM PLEASE CHECK
|
||||||
. ; Units, concentration, etc, come from another call
|
. ; Units, concentration, etc, come from another call
|
||||||
. ; $$CPRS^PSNAPIS which returns dosage-form^va class^strengh^unit
|
. ; $$CPRS^PSNAPIS which returns dosage-form^va class^strengh^unit
|
||||||
. ; This call takes nodes 1 and 3 of ^PSDRUG(D0,"ND") as parameters
|
. ; This call takes nodes 1 and 3 of ^PSDRUG(D0,"ND") as parameters
|
||||||
|
|
Loading…
Reference in New Issue