✨ ARCANUM RUNE DIFFICULTY: Adept Behavioral

The Memento

Capturing and restoring the soul-state of a patient before a risky necromantic surgery.

✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Memento
ARCANUM SCHOOL: Chronomancy // State-Preservation
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
MEMENTO ; Memento Pattern in MUMPS
;
SAVE(ID) ;
  N TIME S TIME=$H
  M ^SOULARCHIVE(ID,TIME)=^PATIENT(ID)
  W "Patient ",ID," soul-state saved at ",TIME,!
  Q TIME
;
RESTORE(ID, TIME) ;
  K ^PATIENT(ID)
  M ^PATIENT(ID)=^SOULARCHIVE(ID,TIME)
  W "Patient ",ID," restored to state at ",TIME,!
  Q
Runic Tags: #behavioral #memento #mumps #necromancy