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
- 52 rules, 14 sources, 22 proofs, 2 ints, 284 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
433f9cb8ce7d66f104f481d95f1dcbdb21dd7c37180774d3e1b8a928e09388b1
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-EXCL-1 info - excluded_expense DCVC Sexual Assault Program provider instructions, Sexual Assault Forensic Medical Examination
R7 SC-TOTAL-1 total_cap - S.C. Code 16-3-1180(C)
R8 SC-MED-1 covered medical S.C. Code 16-3-1180(A)(1)
R9 SC-DENT-1 covered dental DCVC compensation brochure, Services DCVC May Consider For Payment
R10 SC-FUN-1 covered funeral SC Attorney General, Crime Victim Compensation program page
R11 SC-RX-1 covered prescription DCVC compensation brochure, Services DCVC May Consider For Payment
R12 SC-WAGE-1 covered lost_wages S.C. Code 16-3-1180(A)(3)
R13 SC-TRANS-1 covered transportation DCVC compensation brochure, Services DCVC May Consider For Payment
R14 SC-TRANS-2 info - excluded_expense DCVC Payments and Reimbursements At A Glance, Non-covered Expenses
R15 SC-TRANS-3 info - excluded_expense DCVC Payments and Reimbursements At A Glance, Non-covered Expenses
R16 SC-RELO-1 excluded relocation DCVC FAQs, relocation
R17 SC-HOUSE-1 info - excluded_expense DCVC Payments and Reimbursements At A Glance, Non-covered Expenses
R18 SC-PROP-1 excluded property_replacement DCVC compensation brochure, What DCVC Does Not Consider For Payment
R19 SC-PROP-2 info - excluded_expense DCVC compensation brochure, What DCVC Does Not Consider For Payment
R20 SC-PROP-3 info - excluded_expense DCVC Payments and Reimbursements At A Glance, Non-covered Expenses
R21 SC-EXCL-2 excluded crime_scene_cleanup DCVC FAQs, What doesn't DCVC pay?
R22 SC-EXCL-3 info - excluded_expense DCVC FAQs, What doesn't DCVC pay?
R23 SC-EXCL-4 info - excluded_expense DCVC FAQs, What doesn't DCVC pay?
R24 SC-EXCL-5 info - excluded_expense DCVC Payments and Reimbursements At A Glance, Non-covered Expenses
R25 SC-EXCL-6 excluded other DCVC FAQs, What doesn't DCVC pay?
R26 SC-DEAD-1 deadline - from discovery S.C. Code 16-3-1230(B), (C)
R27 SC-REPORT-1 reporting - S.C. Code 16-3-1170(A)(3), (B)
R28 SC-REPORT-2 reporting - DCVC sexual assault brochure, Sexual Assault Program
R29 SC-REPORT-3 reporting - DCVC Sexual Assault Program provider instructions, Anonymous Waiver Reporting Criteria
R30 SC-MIN-1 minimum_loss - S.C. Code 16-3-1180(D)
R31 SC-MIN-2 minimum_loss - S.C. Code 16-3-1350(D)
R32 SC-COLL-1 collateral - S.C. Code 16-3-1190
R33 SC-COLL-2 collateral - DCVC Payments and Reimbursements At A Glance, Payer of Last Resort
R34 SC-COLL-3 collateral - DCVC compensation brochure, Services DCVC May Consider For Payment
R35 SC-CONDUCT-1 info - conduct_reduction S.C. Code 16-3-1200
R36 SC-EMERG-1 info - emergency_award S.C. Code 16-3-1150
R37 SC-CRIME-1 info - eligible_crime DCVC compensation brochure, Types of Crimes DCVC May Consider For Eligibility and Payment
R38 SC-RES-1 info - residency S.C. Code 16-3-1210
R39 SC-SUBMIT-1 info - submission How to Apply for Compensation page
R40 SC-DOC-1 info - required_document Application, Section 4 Crime Information
R41 SC-DOC-2 info - required_document Application, Section 5 Crime-Related Expense Information
R42 SC-DOC-3 info - required_document Application instructions, If I want to apply now, what should I do?
R43 SC-DOC-4 info - required_document Application instructions, If I want to apply now, what should I do?
R44 SC-DOC-5 info - required_document Application, Section 7 Lost Wages / Support Information
R45 SC-DOC-6 info - required_document Application, Section 7 Lost Wages / Support Information
R46 SC-DOC-7 info - required_document Payments and Reimbursements At A Glance, Crime Related Counseling Expenses
R47 SC-DOC-8 info - required_document FAQ, resident victimized in another country
R48 SC-ACP-1 info - address_confidentiality S.C. Code 16-25-130(B)
R49 SC-RECCONF-1 info - record_confidentiality S.C. Code 16-3-1240
R50 SC-COUNS-1 skipped - expense_cap S.C. Code 16-3-1180(A)(1)
R51 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)
P2 (SC-MED-1)
P3 (SC-MED-1, SC-COLL-1, SC-COLL-2, SC-COLL-3)
P4 (SC-WAGE-1)
P5 (SC-WAGE-1, SC-COLL-1, SC-COLL-2, SC-COLL-3)
P6 (SC-TRANS-1)
P7 (SC-TRANS-1, SC-COLL-1, SC-COLL-2, SC-COLL-3)
P8 (SC-RELO-1)
P9 (SC-EXCL-2)
P10 (SC-PROP-1)
P11 (SC-RX-1)
P12 (SC-RX-1, SC-COLL-1, SC-COLL-2, SC-COLL-3)
P13 (SC-DENT-1)
P14 (SC-DENT-1, SC-COLL-1, SC-COLL-2, SC-COLL-3)
P15 (SC-FUN-1)
P16 (SC-FUN-1, SC-COLL-1, SC-COLL-2, SC-COLL-3)
P17 (SC-EXCL-6)
P18 (SC-MIN-1, SC-MIN-2)
P19 (SC-DEAD-1)
P20 (SC-REPORT-1, SC-REPORT-2, SC-REPORT-3)
P21 (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 L4
case medical -> L2
case forensic_exam -> L1
case counseling -> L4
case lost_wages -> L5
case transportation -> L7
case relocation -> L9
case temporary_housing -> L4
case security -> L4
case crime_scene_cleanup -> L10
case childcare -> L4
case property_replacement -> L11
case clothing_bedding -> L4
case prescription -> L12
case dental -> L14
case funeral -> L16
case legal -> L4
case tuition -> L4
case other -> L18
case unknown -> L4
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, R32
00a1 ret
00a2 L4: push 0
00a7 decide unknown_rule, P0
00ab ret
00ac L5: ldi confirmed
00ae jnz L6
00b3 push 0
00b8 decide needs_confirmation, P4
00bc ret
00bd L6: ldi amount_cents
00bf decide eligible, P5
00c3 lda
00c4 ldi insurance_paid_cents
00c6 subs
00c7 push 0
00cc max
00cd seta collateral, R32
00d1 ret
00d2 L7: ldi confirmed
00d4 jnz L8
00d9 push 0
00de decide needs_confirmation, P6
00e2 ret
00e3 L8: ldi amount_cents
00e5 decide eligible, P7
00e9 lda
00ea ldi insurance_paid_cents
00ec subs
00ed push 0
00f2 max
00f3 seta collateral, R32
00f7 ret
00f8 L9: push 0
00fd decide excluded, P8
0101 ret
0102 L10: push 0
0107 decide excluded, P9
010b ret
010c L11: push 0
0111 decide excluded, P10
0115 ret
0116 L12: ldi confirmed
0118 jnz L13
011d push 0
0122 decide needs_confirmation, P11
0126 ret
0127 L13: ldi amount_cents
0129 decide eligible, P12
012d lda
012e ldi insurance_paid_cents
0130 subs
0131 push 0
0136 max
0137 seta collateral, R32
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, R32
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, R32
0187 ret
0188 L18: push 0
018d str r0
018f ldi tags
0191 push 1
0196 and
0197 jz L19
019c ldr r0
019e push 1
01a3 or
01a4 str r0
01a6 L19: ldr r0
01a8 switch 2, default L21
case 0 -> L21
case 1 -> L20
01b6 L20: push 0
01bb decide excluded, P17
01bf ret
01c0 L21: push 0
01c5 decide unknown_rule, P0
01c9 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, R7
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, R7
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, P18
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, P19
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, P20
0106 info P21
0109 ret