The engine compiles South Carolina's rules into a law image and runs it as bytecode. Rule ids in the listing link back to the rules above.
- Listing from
- the engine's disassembler, tdis, when the site was built
- Compiled by
- tendc 1.3.0, image format 1.3
- Contents
- 57 rules, 14 sources, 24 proofs, 2 ints, 304 strings
- Compiled from these rules
- Yes. The image names the same SHA-256 as the verified rules above.
- Compiled from the current law IR
- Yes. The image carries the SHA-256 of the IR shown on this page.
- Image SHA-256
50ba329d231e51b916fbbcc93189fb8e572eb5046b9a2b8d87de127cdb0013d3
Jump to: rule table, per-cost program, totals program, or download the listing.
.rules
R0 SC-EXAM-1 exam_no_bill - S.C. Code 16-3-1350(A)
R1 SC-EXAM-2 exam_no_bill - DCVC Sexual Assault Program provider instructions, Sexual Assault Forensic Medical Examination
R2 SC-EXAM-3 exam_payment - S.C. Code 16-3-1350(C)
R3 SC-EXAM-4 exam_payment - DCVC sexual assault brochure, Sexual Assault Program
R4 SC-EXAM-5 exam_no_bill - DCVC sexual assault brochure, Legislation
R5 SC-EXAM-6 exam_payment - DCVC Sexual Assault Program provider instructions, Sexual Assault Program Eligibility Criteria (NKC)
R6 SC-EXAM-7 exam_payment - DCVC Sexual Assault Program provider instructions, Sexual Assault Program Eligibility Criteria (NKC)
R7 SC-EXAM-8 exam_payment - DCVC sexual assault brochure, Sexual Assault (ACUTE) Protocol
R8 SC-EXAM-9 exam_payment - DCVC sexual assault brochure, Reasons Payments Are Delayed or Denied
R9 SC-EXCL-1 info - excluded_expense DCVC Sexual Assault Program provider instructions, Sexual Assault Forensic Medical Examination
R10 SC-TOTAL-1 total_cap - S.C. Code 16-3-1180(C)
R11 SC-MED-1 covered medical S.C. Code 16-3-1180(A)(1)
R12 SC-COUNS-2 covered counseling S.C. Code 16-3-1180(A)(1)
R13 SC-DENT-1 covered dental DCVC compensation brochure, Services DCVC May Consider For Payment
R14 SC-FUN-1 covered funeral SC Attorney General, Crime Victim Compensation program page
R15 SC-RX-1 covered prescription DCVC compensation brochure, Services DCVC May Consider For Payment
R16 SC-WAGE-1 covered lost_wages S.C. Code 16-3-1180(A)(3)
R17 SC-TRANS-1 covered transportation DCVC compensation brochure, Services DCVC May Consider For Payment
R18 SC-TRANS-2 info - excluded_expense DCVC Payments and Reimbursements At A Glance, Non-covered Expenses
R19 SC-TRANS-3 info - excluded_expense DCVC Payments and Reimbursements At A Glance, Non-covered Expenses
R20 SC-RELO-1 excluded relocation DCVC FAQs, relocation
R21 SC-HOUSE-1 info - excluded_expense DCVC Payments and Reimbursements At A Glance, Non-covered Expenses
R22 SC-PROP-1 excluded property_replacement DCVC compensation brochure, What DCVC Does Not Consider For Payment
R23 SC-PROP-2 info - excluded_expense DCVC compensation brochure, What DCVC Does Not Consider For Payment
R24 SC-PROP-3 info - excluded_expense DCVC Payments and Reimbursements At A Glance, Non-covered Expenses
R25 SC-EXCL-2 excluded crime_scene_cleanup DCVC FAQs, What doesn't DCVC pay?
R26 SC-EXCL-3 info - excluded_expense DCVC FAQs, What doesn't DCVC pay?
R27 SC-EXCL-4 info - excluded_expense DCVC FAQs, What doesn't DCVC pay?
R28 SC-EXCL-5 info - excluded_expense DCVC Payments and Reimbursements At A Glance, Non-covered Expenses
R29 SC-EXCL-6 excluded other DCVC FAQs, What doesn't DCVC pay?
R30 SC-DEAD-1 deadline - from discovery S.C. Code 16-3-1230(B), (C)
R31 SC-REPORT-1 reporting - S.C. Code 16-3-1170(A)(3), (B)
R32 SC-REPORT-4 reporting - S.C. Code 16-3-1170(A)
R33 SC-REPORT-2 reporting - DCVC sexual assault brochure, Sexual Assault Program
R34 SC-REPORT-3 reporting - DCVC Sexual Assault Program provider instructions, Anonymous Reporting: Sexual Assault (Acute) Protocols (Victims 18 and older), Anonymous Waiver Reporting Criteria
R35 SC-MIN-1 minimum_loss - S.C. Code 16-3-1180(D)
R36 SC-MIN-2 minimum_loss - S.C. Code 16-3-1350(D)
R37 SC-COLL-1 collateral - S.C. Code 16-3-1190
R38 SC-COLL-2 collateral - DCVC Payments and Reimbursements At A Glance, Payer of Last Resort
R39 SC-COLL-3 collateral - DCVC compensation brochure, Services DCVC May Consider For Payment
R40 SC-CONDUCT-1 info - conduct_reduction S.C. Code 16-3-1200
R41 SC-EMERG-1 info - emergency_award S.C. Code 16-3-1150
R42 SC-CRIME-1 info - eligible_crime DCVC compensation brochure, Types of Crimes DCVC May Consider For Eligibility and Payment
R43 SC-RES-1 info - residency S.C. Code 16-3-1210
R44 SC-SUBMIT-1 info - submission How to Apply for Compensation page
R45 SC-DOC-1 info - required_document Application, Section 4 Crime Information
R46 SC-DOC-2 info - required_document Application, Section 5 Crime-Related Expense Information
R47 SC-DOC-3 info - required_document Application instructions, If I want to apply now, what should I do?
R48 SC-DOC-4 info - required_document Application instructions, If I want to apply now, what should I do?
R49 SC-DOC-5 info - required_document Application, Section 7 Lost Wages / Support Information
R50 SC-DOC-6 info - required_document Application, Section 7 Lost Wages / Support Information
R51 SC-DOC-7 info - required_document Payments and Reimbursements At A Glance, Crime Related Counseling Expenses
R52 SC-DOC-8 info - required_document FAQ, resident victimized in another country
R53 SC-ACP-1 info - address_confidentiality S.C. Code 16-25-130(B)
R54 SC-RECCONF-1 info - record_confidentiality S.C. Code 16-3-1240
R55 SC-COUNS-1 skipped - expense_cap S.C. Code 16-3-1180(A)(1)
R56 SC-WAGE-2 skipped - expense_cap DCVC Payments and Reimbursements At A Glance, Crime Related Lost Wages
.tags pain_suffering=bit0
.sources
S0 SC-S1 sha256 82a306a5970665b5 https://www.scstatehouse.gov/code/t16c003.php
S1 SC-S2 sha256 29c55a5de4904ebe https://www.scag.gov/inside-the-office/crime-victim-services-division/crime-victim-compensation/
S2 SC-S3 sha256 d2d1a1b17e5c2b80 https://www.scag.gov/inside-the-office/crime-victim-services-division/crime-victim-compensation/crime-victim-compensation-faqs/
S3 SC-S4 sha256 741fbd1254d1313f https://www.scag.gov/inside-the-office/crime-victim-services-division/crime-victim-compensation/crime-victim-forms-applications/
S4 SC-S5 sha256 74899c1f9fc82997 https://www.scag.gov/all-divisions/crime-victim-services-division/crime-victim-compensation/eligibility/
S5 SC-S6 sha256 18b62e2005383be4 https://www.scag.gov/media/2vwlzisd/dcvc-payment-and-reimbursement-at-a-glance-new-ag-seal-2021.pdf
S6 SC-S7 sha256 18dfa4f32c474709 https://www.scag.gov/media/iwvi4n0f/dcvc-application-revised-aug-2018-fillable-ag-new-seal-2021_01052022.pdf
S7 SC-S8 sha256 5bd27a523be4b9f8 https://www.scag.gov/all-divisions/crime-victim-services-division/crime-victim-compensation/how-to-apply-for-compensation/
S8 SC-S9 sha256 43a32e5dd94b3970 https://www.scag.gov/media/dc3d1a0t/sexual-assault-brochure-ag-pdf.pdf
S9 SC-S10 sha256 763162ea431e434a https://www.scag.gov/media/j00l2fio/compensation-brochure-ag-new-logo-2021.pdf
S10 SC-S11 sha256 8c342b65afd824c0 https://www.scag.gov/inside-the-office/crime-victim-services-division/crime-victim-compensation/crime-victim-compensation-portal-for-providers/
S11 SC-S12 sha256 049ce8d0ac58eecc https://www.scag.gov/documents/eblasts/FINAL%20SAP%20CAP%20hospital%20%20billing%20022818RB%20(002)%20(002).pdf
S12 SC-S13 sha256 14a80be7e0098b97 https://www.scag.gov/inside-the-office/crime-victim-services-division/address-confidentiality-program-acp/
S13 SC-S14 sha256 c23269d2209d8676 https://www.scstatehouse.gov/code/t16c025.php
.proofs
P0 ()
P1 (SC-EXAM-1, SC-EXAM-2, SC-EXAM-5, SC-EXAM-3, SC-EXAM-4, SC-EXAM-6, SC-EXAM-7, SC-EXAM-8, SC-EXAM-9)
P2 (SC-MED-1)
P3 (SC-MED-1, SC-COLL-1, SC-COLL-2, SC-COLL-3)
P4 (SC-COUNS-2)
P5 (SC-COUNS-2, SC-COLL-1, SC-COLL-2, SC-COLL-3)
P6 (SC-WAGE-1)
P7 (SC-WAGE-1, SC-COLL-1, SC-COLL-2, SC-COLL-3)
P8 (SC-TRANS-1)
P9 (SC-TRANS-1, SC-COLL-1, SC-COLL-2, SC-COLL-3)
P10 (SC-RELO-1)
P11 (SC-EXCL-2)
P12 (SC-PROP-1)
P13 (SC-RX-1)
P14 (SC-RX-1, SC-COLL-1, SC-COLL-2, SC-COLL-3)
P15 (SC-DENT-1)
P16 (SC-DENT-1, SC-COLL-1, SC-COLL-2, SC-COLL-3)
P17 (SC-FUN-1)
P18 (SC-FUN-1, SC-COLL-1, SC-COLL-2, SC-COLL-3)
P19 (SC-EXCL-6)
P20 (SC-MIN-1, SC-MIN-2)
P21 (SC-DEAD-1)
P22 (SC-REPORT-1, SC-REPORT-4, SC-REPORT-2, SC-REPORT-3)
P23 (SC-EXCL-1, SC-TRANS-2, SC-TRANS-3, SC-HOUSE-1, SC-PROP-2, SC-PROP-3, SC-EXCL-3, SC-EXCL-4, SC-EXCL-5, SC-COLL-1, SC-COLL-2, SC-COLL-3, SC-CONDUCT-1, SC-EMERG-1, SC-CRIME-1, SC-RES-1, SC-SUBMIT-1, SC-DOC-1, SC-DOC-2, SC-DOC-3, SC-DOC-4, SC-DOC-5, SC-DOC-6, SC-DOC-7, SC-DOC-8, SC-ACP-1, SC-RECCONF-1)
.ints
K0 1500000
K1 10000
.item
0000 ldi date
0002 ldx incident_date
0004 lt
0005 jnz L0
000a ldi date
000c ldx as_of_date
000e gt
000f jnz L0
0014 ldi expense
0016 switch 19, default L11
case medical -> L2
case forensic_exam -> L1
case counseling -> L4
case lost_wages -> L6
case transportation -> L8
case relocation -> L10
case temporary_housing -> L11
case security -> L11
case crime_scene_cleanup -> L12
case childcare -> L11
case property_replacement -> L13
case clothing_bedding -> L11
case prescription -> L14
case dental -> L16
case funeral -> L18
case legal -> L11
case tuition -> L11
case other -> L20
case unknown -> L11
0068 L0: push 0
006d decide out_of_window, P0
0071 ret
0072 L1: push 0
0077 decide held, P1
007b ret
007c L2: ldi confirmed
007e jnz L3
0083 push 0
0088 decide needs_confirmation, P2
008c ret
008d L3: ldi amount_cents
008f decide eligible, P3
0093 lda
0094 ldi insurance_paid_cents
0096 subs
0097 push 0
009c max
009d seta collateral, R37
00a1 ret
00a2 L4: ldi confirmed
00a4 jnz L5
00a9 push 0
00ae decide needs_confirmation, P4
00b2 ret
00b3 L5: ldi amount_cents
00b5 decide eligible, P5
00b9 lda
00ba ldi insurance_paid_cents
00bc subs
00bd push 0
00c2 max
00c3 seta collateral, R37
00c7 ret
00c8 L6: ldi confirmed
00ca jnz L7
00cf push 0
00d4 decide needs_confirmation, P6
00d8 ret
00d9 L7: ldi amount_cents
00db decide eligible, P7
00df lda
00e0 ldi insurance_paid_cents
00e2 subs
00e3 push 0
00e8 max
00e9 seta collateral, R37
00ed ret
00ee L8: ldi confirmed
00f0 jnz L9
00f5 push 0
00fa decide needs_confirmation, P8
00fe ret
00ff L9: ldi amount_cents
0101 decide eligible, P9
0105 lda
0106 ldi insurance_paid_cents
0108 subs
0109 push 0
010e max
010f seta collateral, R37
0113 ret
0114 L10: push 0
0119 decide excluded, P10
011d ret
011e L11: push 0
0123 decide unknown_rule, P0
0127 ret
0128 L12: push 0
012d decide excluded, P11
0131 ret
0132 L13: push 0
0137 decide excluded, P12
013b ret
013c L14: ldi confirmed
013e jnz L15
0143 push 0
0148 decide needs_confirmation, P13
014c ret
014d L15: ldi amount_cents
014f decide eligible, P14
0153 lda
0154 ldi insurance_paid_cents
0156 subs
0157 push 0
015c max
015d seta collateral, R37
0161 ret
0162 L16: ldi confirmed
0164 jnz L17
0169 push 0
016e decide needs_confirmation, P15
0172 ret
0173 L17: ldi amount_cents
0175 decide eligible, P16
0179 lda
017a ldi insurance_paid_cents
017c subs
017d push 0
0182 max
0183 seta collateral, R37
0187 ret
0188 L18: ldi confirmed
018a jnz L19
018f push 0
0194 decide needs_confirmation, P17
0198 ret
0199 L19: ldi amount_cents
019b decide eligible, P18
019f lda
01a0 ldi insurance_paid_cents
01a2 subs
01a3 push 0
01a8 max
01a9 seta collateral, R37
01ad ret
01ae L20: push 0
01b3 str r0
01b5 ldi tags
01b7 push 1
01bc and
01bd jz L21
01c2 ldr r0
01c4 push 1
01c9 or
01ca str r0
01cc L21: ldr r0
01ce switch 2, default L23
case 0 -> L23
case 1 -> L22
01dc L22: push 0
01e1 decide excluded, P19
01e5 ret
01e6 L23: push 0
01eb decide unknown_rule, P0
01ef ret
.aggregate
0000 push 0
0005 str r0
0007 push 0
000c str r1
000e each all, L4
0014 L0: ldr r1
0016 jnz L2
001b ldr r0
001d lda
001e adds
001f ldk K0
0022 gt
0023 jz L1
0028 ldk K0
002b ldr r0
002d subs
002e cap total_cap, R10
0032 push 1
0037 str r1
0039 L1: ldr r0
003b lda
003c adds
003d str r0
003f jmp L3
0044 L2: push 0
0049 cap total_cap, R10
004d L3: next L0
0052 L4: push 0
0057 str r0
0059 each all, L6
005f L5: ldr r0
0061 lda
0062 adds
0063 str r0
0065 next L5
006a L6: push 0
006f str r2
0071 ldr r0
0073 ldk K1
0076 ge
0077 jnz L7
007c push 4
0081 ldr r2
0083 max
0084 str r2
0086 L7: ldr r0
0088 ldk K1
008b ge
008c jnz L8
0091 push 3
0096 ldr r2
0098 max
0099 str r2
009b L8: ldr r2
009d check minimum_loss, P20
00a1 ldx incident_date
00a3 push 180
00a8 adds
00a9 dup
00aa setdate
00ab ldx as_of_date
00ad ge
00ae jz L9
00b3 push 0
00b8 jmp L10
00bd L9: push 1
00c2 L10: note deadline_from_discovery
00c4 check deadline, P21
00c8 ldx police_report
00ca push 1
00cf eq
00d0 jnz L12
00d5 ldx forensic_exam
00d7 jnz L12
00dc ldx police_report
00de push 0
00e3 eq
00e4 jnz L11
00e9 push 3
00ee jmp L13
00f3 L11: push 1
00f8 jmp L13
00fd L12: push 0
0102 L13: check reporting, P22
0106 info P23
0109 ret