새로운 프로젝트에 대한 데이터베이스 디자인을 정리하려고합니다. 내가 HTML 양식에서 올 것이다 데이터베이스에 저장해야 할 데이터 항목 중 하나데이터베이스 설계, HTML 양식의 중복 데이터 피하기
Q1: "Anticoagulated patient?" [YES, NO]
JavaScript;
(If yes is selected, an additional question is displayed):
Q2: "Type of Anticoagulant" [Warfari, Coumarin, Clopidogrel]
내 질문이있다는 데이터베이스의 첫 번째 질문의 응답을 저장할 필요가? 나에게 데이터는 중복 된 것처럼 보인다. 유형이 지정되면 환자가 "항 응고 인자"로 간주 될 수 있습니다.
양식이 제출되면 나중에 양식에 액세스 할 수 있으므로 데이터를 개선하고 인터페이스에 데이터베이스 상태가 반영되어야합니다. 첫 번째 질문을 기록 할 필요없이이 작업을 수행 할 수 있어야합니다.
JavaScript;(If Q2 has a value, then the default option should be set to Yes
otherwise it should be set to No)
Q1: "Anticoagulated patient?" [Yes, No]
JavaScript;(Only display if Q1 is set to Yes):
Q2: "Type of Anticoagulant" [Warfari, Coumarin, Clopidogrel]
당신의 의견은 무엇입니까?