Created
December 10, 2019 02:19
-
-
Save svict4/c1817ead0390947b2c32d7924d996e5c to your computer and use it in GitHub Desktop.
AGPT General/Rural Pathway Eligibility Flow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// determine if OTD and FGAMS applicants are subject to Section 19AB of the Health Insurance Act 1973 | |
// https://www.agpt.com.au/ArticleDocuments/185/AGPT-Eligibility-Guidelines-2020-Pathway.pdf.aspx | |
// Conditions | |
// a You obtained your medical qualification overseas | |
// b ANZ citizen when you enrolled in your medical degree and current resident | |
// c By Feb 2020 you have been medically registered for 10 years or more | |
// e Assessed as eligible to sit AMC examinations prior to 1 Jan 1997 | |
// truth table | |
// T F T F T F T F T F T F T F T F | |
// T F T F T F T F | |
// T T F F F T T T F F F | |
// T T F F F | |
// ------------------------------- | |
// T T T T T T T F T T T T F T F F | |
// boolean algebra | |
// (a && b && !d) || (b && c && d); | |
export default function isSubjectToMoratorium(state) { | |
debugger; | |
return ( | |
(a(state) && b(state) && !d(state)) || (b(state) && c(state) && d(state)) | |
); | |
} | |
// TODO implementation details |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment