Relationship between tables with composite primary key

Regards
I have not been able to establish a relationship between two tables in which the primary keys are composite.

Table fac_m_internacion
{
ips char(15)
documento char(4)
orden decimal(10,0)
historia char(20) [ref: > fac_m_tarjetero.historia]
indexes
{
(ips,documento,orden) [PK]
}
}

Table fac_m_internacion_clinico
{
ips char(15)
documento char(4)
orden decimal(10,0)
indexes
{
(ips,documento,orden) [PK]
}
}

I need to relate these tables

Thanks a lot

ref: fac_m_internacion.(ips,documento,orden) > fac_m_internacion_clinico.(ips,documento,orden) 

Is this what you want?