Update Patient Show ZonesID
This commit is contained in:
parent
bf5b5cb0ea
commit
e16e055357
@ -65,8 +65,11 @@ class PatientModel extends BaseModel {
|
|||||||
patidt.IdentifierType,
|
patidt.IdentifierType,
|
||||||
patidt.Identifier,
|
patidt.Identifier,
|
||||||
patatt.Address,
|
patatt.Address,
|
||||||
|
zones1.zoneid as ProvinceID,
|
||||||
zones1.zonename as Province,
|
zones1.zonename as Province,
|
||||||
|
zones2.zoneid as CityID
|
||||||
zones2.zonename as City
|
zones2.zonename as City
|
||||||
|
|
||||||
")
|
")
|
||||||
->join('valueset country', 'country.VID = patient.Country', 'left')
|
->join('valueset country', 'country.VID = patient.Country', 'left')
|
||||||
->join('valueset race', 'race.VID = patient.Race', 'left')
|
->join('valueset race', 'race.VID = patient.Race', 'left')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user