Through fine design of the photonic crystal structure, biochemical modification of the sensor surface, and integration with a microfluidic system, we have demonstrated that the detection sensitivity of the sensor for myoglobin has reached the clinically significant concentration range, enabling potential usage of this biosensor for diagnosis of acute myocardial infarction. Here, MB is linked to myocardial infarction.