Relationship among team dynamics, care coordination and perception of safety culture in primary care