Accessionnumber como idstudy en la respuesta
This commit is contained in:
		| @ -65,7 +65,7 @@ defmodule Api.Study do | |||||||
|           proceduredescription: s.studydescription, |           proceduredescription: s.studydescription, | ||||||
|           studydate: fragment("TO_CHAR(?, 'YYYY-MM-DD')", s.studydate), |           studydate: fragment("TO_CHAR(?, 'YYYY-MM-DD')", s.studydate), | ||||||
|           studytime: fragment("TO_CHAR(?, 'HH24:MI:SS')", s.studytime), |           studytime: fragment("TO_CHAR(?, 'HH24:MI:SS')", s.studytime), | ||||||
|           accessionnumber: s.accessionnumber, |           accessionnumber: s.idstudy, | ||||||
|           patientid: p.patientid |           patientid: p.patientid | ||||||
|         } |         } | ||||||
|     ) |     ) | ||||||
| @ -91,7 +91,7 @@ defmodule Api.Study do | |||||||
|           proceduredescription: s.studydescription, |           proceduredescription: s.studydescription, | ||||||
|           studydate: fragment("TO_CHAR(?, 'YYYY-MM-DD')", s.studydate), |           studydate: fragment("TO_CHAR(?, 'YYYY-MM-DD')", s.studydate), | ||||||
|           studytime: fragment("TO_CHAR(?, 'HH24:MI:SS')", s.studytime), |           studytime: fragment("TO_CHAR(?, 'HH24:MI:SS')", s.studytime), | ||||||
|           accessionnumber: s.accessionnumber, |           accessionnumber: s.idstudy, | ||||||
|           patientid: p.patientid |           patientid: p.patientid | ||||||
|         } |         } | ||||||
|     ) |     ) | ||||||
| @ -117,7 +117,7 @@ defmodule Api.Study do | |||||||
|           proceduredescription: s.studydescription, |           proceduredescription: s.studydescription, | ||||||
|           studydate: fragment("TO_CHAR(?, 'YYYY-MM-DD')", s.studydate), |           studydate: fragment("TO_CHAR(?, 'YYYY-MM-DD')", s.studydate), | ||||||
|           studytime: fragment("TO_CHAR(?, 'HH24:MI:SS')", s.studytime), |           studytime: fragment("TO_CHAR(?, 'HH24:MI:SS')", s.studytime), | ||||||
|           accessionnumber: s.accessionnumber, |           accessionnumber: s.idstudy, | ||||||
|           patientid: "" |           patientid: "" | ||||||
|         } |         } | ||||||
|  |  | ||||||
| @ -133,7 +133,7 @@ defmodule Api.Study do | |||||||
|           proceduredescription: s.studydescription, |           proceduredescription: s.studydescription, | ||||||
|           studydate: fragment("TO_CHAR(?, 'YYYY-MM-DD')", s.studydate), |           studydate: fragment("TO_CHAR(?, 'YYYY-MM-DD')", s.studydate), | ||||||
|           studytime: fragment("TO_CHAR(?, 'HH24:MI:SS')", s.studytime), |           studytime: fragment("TO_CHAR(?, 'HH24:MI:SS')", s.studytime), | ||||||
|           accessionnumber: s.accessionnumber, |           accessionnumber: s.idstudy, | ||||||
|           patientid: "" |           patientid: "" | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user