<?php
namespace App\Entity;
use App\Repository\PostMortemReportRepository;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
use Symfony\Component\Validator\Constraints as Assert;
#[ORM\Entity(repositoryClass: PostMortemReportRepository::class), ORM\Table(name: 'post_mortem_reports')]
class PostMortemReport
{
#[ORM\Id, ORM\GeneratedValue, ORM\Column(type: 'integer')]
private $id;
#[ORM\OneToOne(inversedBy: 'postMortemReport', targetEntity: Cases::class, cascade: ['persist', 'remove']), ORM\JoinColumn(nullable: false)]
private $case;
#[ORM\Column(type: 'string', length: 100), Assert\NotBlank]
private $corpseSender;
#[ORM\Column(type: 'string', length: 100), Assert\NotBlank]
private $placeCorpseSent;
#[ORM\Column(type: 'string', length: 50), Assert\NotBlank]
private $placeCorpseSentDistance;
#[ORM\Column(type: 'string', length: 100), Assert\NotBlank]
private $corpseBringer;
#[ORM\Column(type: 'string', length: 100, nullable: true)]
private $corpseIdentifier;
#[ORM\Column(type: 'datetime'), Assert\NotBlank]
private $examBegunAt;
#[ORM\Column(type: 'datetime'), Assert\NotBlank]
private $examEndedAt;
#[ORM\Column(type: 'text', nullable: true)]
private $accompanyReportSubstance;
#[ORM\Column(type: 'string', length: 100, nullable: true)]
private $placeExamined;
#[ORM\Column(type: 'string', length: 50, nullable: true)]
private $distanceFromPlace;
#[ORM\Column(type: 'text', nullable: true)]
private $whyNotSentToHospital;
#[ORM\Column(type: 'string', length: 255), Assert\NotBlank]
private $sexApparentAgeRaceCaste;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $descClothOrnam;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $condCloth;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $specialMarksOnSkin;
#[ORM\Column(type: 'text', nullable: true)]
private $newlyBornInfantDetails;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $bodyCondition;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $regarMortis;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $decompSignsExtents;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $features;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $skinCond;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $externalGenitalsInjuries;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $limbPosition;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $surfaceWoundsInjuries;
#[ORM\Column(type: 'text', nullable: true)]
private $condSubcutaneousTissues;
#[ORM\Column(type: 'text', nullable: true)]
private $otherInjuries;
#[ORM\Column(type: 'boolean'), Assert\NotBlank]
private $sureAnteMortem = true;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $headInjuriesUnderScalp;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $skullVaultBase;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $brainDetails;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $thoraxWallsRibsCartilages;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $pleura;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $larynxTracheaBronchi;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $rightLung;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $leftLung;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $pericardium;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $heart;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $largeVessels;
#[ORM\Column(type: 'text', nullable: true)]
private $heartAdditionalRemarks;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $abdomenWalls;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $peritoneum;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $cavity;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $bucalCavityTeethTonguePharynx;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $desophagus;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $stomach;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $smallIntestine;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $largeIntestine;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $liverGallBladder;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $pancreasSuprarenals;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $spleen;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $kidneys;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $bladder;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $generationsOrgans;
#[ORM\Column(type: 'text', nullable: true)]
private $stomachAdditionalRemarks;
#[ORM\Column(type: 'text', nullable: true)]
private $retainedVisceraDetails;
#[ORM\Column(type: 'text', nullable: true)]
private $spineSpinalCord;
#[ORM\Column(type: 'text'), Assert\NotBlank]
private $deathCauseOpinion;
#[Gedmo\Blameable(on: 'create'), ORM\ManyToOne(targetEntity: User::class), ORM\JoinColumn(nullable: false)]
private $createdBy;
#[Gedmo\Blameable(on: 'update'), ORM\ManyToOne(targetEntity: User::class)]
private $updatedBy;
#[Gedmo\Timestampable(on: 'create'), ORM\Column(type: 'datetime')]
private $createdAt;
#[Gedmo\Timestampable(on: 'update'), ORM\Column(type: 'datetime')]
private $updatedAt;
public function getId(): ?int
{
return $this->id;
}
public function getCase(): ?Cases
{
return $this->case;
}
public function setCase(?Cases $case): self
{
$this->case = $case;
return $this;
}
public function getCorpseSender(): ?string
{
return $this->corpseSender;
}
public function setCorpseSender(string $corpseSender): self
{
$this->corpseSender = $corpseSender;
return $this;
}
public function getPlaceCorpseSent(): ?string
{
return $this->placeCorpseSent;
}
public function setPlaceCorpseSent(string $placeCorpseSent): self
{
$this->placeCorpseSent = $placeCorpseSent;
return $this;
}
public function getPlaceCorpseSentDistance(): ?string
{
return $this->placeCorpseSentDistance;
}
public function setPlaceCorpseSentDistance(string $placeCorpseSentDistance): self
{
$this->placeCorpseSentDistance = $placeCorpseSentDistance;
return $this;
}
public function getCorpseBringer(): ?string
{
return $this->corpseBringer;
}
public function setCorpseBringer(string $corpseBringer): self
{
$this->corpseBringer = $corpseBringer;
return $this;
}
public function getCorpseIdentifier(): ?string
{
return $this->corpseIdentifier;
}
public function setCorpseIdentifier(?string $corpseIdentifier): self
{
$this->corpseIdentifier = $corpseIdentifier;
return $this;
}
public function getExamBegunAt(): ?\DateTimeInterface
{
return $this->examBegunAt;
}
public function setExamBegunAt(\DateTimeInterface $examBegunAt): self
{
$this->examBegunAt = $examBegunAt;
return $this;
}
public function getExamEndedAt(): ?\DateTimeInterface
{
return $this->examEndedAt;
}
public function setExamEndedAt(\DateTimeInterface $examEndedAt): self
{
$this->examEndedAt = $examEndedAt;
return $this;
}
public function getAccompanyReportSubstance(): ?string
{
return $this->accompanyReportSubstance;
}
public function setAccompanyReportSubstance(?string $accompanyReportSubstance): self
{
$this->accompanyReportSubstance = $accompanyReportSubstance;
return $this;
}
public function getPlaceExamined(): ?string
{
return $this->placeExamined;
}
public function setPlaceExamined(?string $placeExamined): self
{
$this->placeExamined = $placeExamined;
return $this;
}
public function getDistanceFromPlace(): ?string
{
return $this->distanceFromPlace;
}
public function setDistanceFromPlace(?string $distanceFromPlace): self
{
$this->distanceFromPlace = $distanceFromPlace;
return $this;
}
public function getWhyNotSentToHospital(): ?string
{
return $this->whyNotSentToHospital;
}
public function setWhyNotSentToHospital(?string $whyNotSentToHospital): self
{
$this->whyNotSentToHospital = $whyNotSentToHospital;
return $this;
}
public function getSexApparentAgeRaceCaste(): ?string
{
return $this->sexApparentAgeRaceCaste;
}
public function setSexApparentAgeRaceCaste(string $sexApparentAgeRaceCaste): self
{
$this->sexApparentAgeRaceCaste = $sexApparentAgeRaceCaste;
return $this;
}
public function getDescClothOrnam(): ?string
{
return $this->descClothOrnam;
}
public function setDescClothOrnam(string $descClothOrnam): self
{
$this->descClothOrnam = $descClothOrnam;
return $this;
}
public function getCondCloth(): ?string
{
return $this->condCloth;
}
public function setCondCloth(string $condCloth): self
{
$this->condCloth = $condCloth;
return $this;
}
public function getSpecialMarksOnSkin(): ?string
{
return $this->specialMarksOnSkin;
}
public function setSpecialMarksOnSkin(string $specialMarksOnSkin): self
{
$this->specialMarksOnSkin = $specialMarksOnSkin;
return $this;
}
public function getNewlyBornInfantDetails(): ?string
{
return $this->newlyBornInfantDetails;
}
public function setNewlyBornInfantDetails(?string $newlyBornInfantDetails): self
{
$this->newlyBornInfantDetails = $newlyBornInfantDetails;
return $this;
}
public function getBodyCondition(): ?string
{
return $this->bodyCondition;
}
public function setBodyCondition(string $bodyCondition): self
{
$this->bodyCondition = $bodyCondition;
return $this;
}
public function getRegarMortis(): ?string
{
return $this->regarMortis;
}
public function setRegarMortis(string $regarMortis): self
{
$this->regarMortis = $regarMortis;
return $this;
}
public function getDecompSignsExtents(): ?string
{
return $this->decompSignsExtents;
}
public function setDecompSignsExtents(string $decompSignsExtents): self
{
$this->decompSignsExtents = $decompSignsExtents;
return $this;
}
public function getFeatures(): ?string
{
return $this->features;
}
public function setFeatures(string $features): self
{
$this->features = $features;
return $this;
}
public function getSkinCond(): ?string
{
return $this->skinCond;
}
public function setSkinCond(string $skinCond): self
{
$this->skinCond = $skinCond;
return $this;
}
public function getExternalGenitalsInjuries(): ?string
{
return $this->externalGenitalsInjuries;
}
public function setExternalGenitalsInjuries(string $externalGenitalsInjuries): self
{
$this->externalGenitalsInjuries = $externalGenitalsInjuries;
return $this;
}
public function getLimbPosition(): ?string
{
return $this->limbPosition;
}
public function setLimbPosition(string $limbPosition): self
{
$this->limbPosition = $limbPosition;
return $this;
}
public function getSurfaceWoundsInjuries(): ?string
{
return $this->surfaceWoundsInjuries;
}
public function setSurfaceWoundsInjuries(string $surfaceWoundsInjuries): self
{
$this->surfaceWoundsInjuries = $surfaceWoundsInjuries;
return $this;
}
public function getCondSubcutaneousTissues(): ?string
{
return $this->condSubcutaneousTissues;
}
public function setCondSubcutaneousTissues(?string $condSubcutaneousTissues): self
{
$this->condSubcutaneousTissues = $condSubcutaneousTissues;
return $this;
}
public function getOtherInjuries(): ?string
{
return $this->otherInjuries;
}
public function setOtherInjuries(?string $otherInjuries): self
{
$this->otherInjuries = $otherInjuries;
return $this;
}
public function getSureAnteMortem(): ?bool
{
return $this->sureAnteMortem;
}
public function setSureAnteMortem(bool $sureAnteMortem): self
{
$this->sureAnteMortem = $sureAnteMortem;
return $this;
}
public function getHeadInjuriesUnderScalp(): ?string
{
return $this->headInjuriesUnderScalp;
}
public function setHeadInjuriesUnderScalp(string $headInjuriesUnderScalp): self
{
$this->headInjuriesUnderScalp = $headInjuriesUnderScalp;
return $this;
}
public function getSkullVaultBase(): ?string
{
return $this->skullVaultBase;
}
public function setSkullVaultBase(string $skullVaultBase): self
{
$this->skullVaultBase = $skullVaultBase;
return $this;
}
public function getBrainDetails(): ?string
{
return $this->brainDetails;
}
public function setBrainDetails(string $brainDetails): self
{
$this->brainDetails = $brainDetails;
return $this;
}
public function getThoraxWallsRibsCartilages(): ?string
{
return $this->thoraxWallsRibsCartilages;
}
public function setThoraxWallsRibsCartilages(string $thoraxWallsRibsCartilages): self
{
$this->thoraxWallsRibsCartilages = $thoraxWallsRibsCartilages;
return $this;
}
public function getPleura(): ?string
{
return $this->pleura;
}
public function setPleura(string $pleura): self
{
$this->pleura = $pleura;
return $this;
}
public function getLarynxTracheaBronchi(): ?string
{
return $this->larynxTracheaBronchi;
}
public function setLarynxTracheaBronchi(string $larynxTracheaBronchi): self
{
$this->larynxTracheaBronchi = $larynxTracheaBronchi;
return $this;
}
public function getRightLung(): ?string
{
return $this->rightLung;
}
public function setRightLung(string $rightLung): self
{
$this->rightLung = $rightLung;
return $this;
}
public function getLeftLung(): ?string
{
return $this->leftLung;
}
public function setLeftLung(string $leftLung): self
{
$this->leftLung = $leftLung;
return $this;
}
public function getPericardium(): ?string
{
return $this->pericardium;
}
public function setPericardium(string $pericardium): self
{
$this->pericardium = $pericardium;
return $this;
}
public function getHeart(): ?string
{
return $this->heart;
}
public function setHeart(string $heart): self
{
$this->heart = $heart;
return $this;
}
public function getLargeVessels(): ?string
{
return $this->largeVessels;
}
public function setLargeVessels(string $largeVessels): self
{
$this->largeVessels = $largeVessels;
return $this;
}
public function getHeartAdditionalRemarks(): ?string
{
return $this->heartAdditionalRemarks;
}
public function setHeartAdditionalRemarks(string $heartAdditionalRemarks): self
{
$this->heartAdditionalRemarks = $heartAdditionalRemarks;
return $this;
}
public function getAbdomenWalls(): ?string
{
return $this->abdomenWalls;
}
public function setAbdomenWalls(string $abdomenWalls): self
{
$this->abdomenWalls = $abdomenWalls;
return $this;
}
public function getPeritoneum(): ?string
{
return $this->peritoneum;
}
public function setPeritoneum(string $peritoneum): self
{
$this->peritoneum = $peritoneum;
return $this;
}
public function getCavity(): ?string
{
return $this->cavity;
}
public function setCavity(string $cavity): self
{
$this->cavity = $cavity;
return $this;
}
public function getBucalCavityTeethTonguePharynx(): ?string
{
return $this->bucalCavityTeethTonguePharynx;
}
public function setBucalCavityTeethTonguePharynx(string $bucalCavityTeethTonguePharynx): self
{
$this->bucalCavityTeethTonguePharynx = $bucalCavityTeethTonguePharynx;
return $this;
}
public function getDesophagus(): ?string
{
return $this->desophagus;
}
public function setDesophagus(string $desophagus): self
{
$this->desophagus = $desophagus;
return $this;
}
public function getStomach(): ?string
{
return $this->stomach;
}
public function setStomach(string $stomach): self
{
$this->stomach = $stomach;
return $this;
}
public function getSmallIntestine(): ?string
{
return $this->smallIntestine;
}
public function setSmallIntestine(string $smallIntestine): self
{
$this->smallIntestine = $smallIntestine;
return $this;
}
public function getLargeIntestine(): ?string
{
return $this->largeIntestine;
}
public function setLargeIntestine(string $largeIntestine): self
{
$this->largeIntestine = $largeIntestine;
return $this;
}
public function getLiverGallBladder(): ?string
{
return $this->liverGallBladder;
}
public function setLiverGallBladder(string $liverGallBladder): self
{
$this->liverGallBladder = $liverGallBladder;
return $this;
}
public function getPancreasSuprarenals(): ?string
{
return $this->pancreasSuprarenals;
}
public function setPancreasSuprarenals(string $pancreasSuprarenals): self
{
$this->pancreasSuprarenals = $pancreasSuprarenals;
return $this;
}
public function getSpleen(): ?string
{
return $this->spleen;
}
public function setSpleen(string $spleen): self
{
$this->spleen = $spleen;
return $this;
}
public function getKidneys(): ?string
{
return $this->kidneys;
}
public function setKidneys(string $kidneys): self
{
$this->kidneys = $kidneys;
return $this;
}
public function getBladder(): ?string
{
return $this->bladder;
}
public function setBladder(string $bladder): self
{
$this->bladder = $bladder;
return $this;
}
public function getGenerationsOrgans(): ?string
{
return $this->generationsOrgans;
}
public function setGenerationsOrgans(string $generationsOrgans): self
{
$this->generationsOrgans = $generationsOrgans;
return $this;
}
public function getStomachAdditionalRemarks(): ?string
{
return $this->stomachAdditionalRemarks;
}
public function setStomachAdditionalRemarks(?string $stomachAdditionalRemarks): self
{
$this->stomachAdditionalRemarks = $stomachAdditionalRemarks;
return $this;
}
public function getRetainedVisceraDetails(): ?string
{
return $this->retainedVisceraDetails;
}
public function setRetainedVisceraDetails(?string $retainedVisceraDetails): self
{
$this->retainedVisceraDetails = $retainedVisceraDetails;
return $this;
}
public function getSpineSpinalCord(): ?string
{
return $this->spineSpinalCord;
}
public function setSpineSpinalCord(string $spineSpinalCord): self
{
$this->spineSpinalCord = $spineSpinalCord;
return $this;
}
public function getDeathCauseOpinion(): ?string
{
return $this->deathCauseOpinion;
}
public function setDeathCauseOpinion(string $deathCauseOpinion): self
{
$this->deathCauseOpinion = $deathCauseOpinion;
return $this;
}
public function getCreatedBy(): ?User
{
return $this->createdBy;
}
public function getUpdatedBy(): ?User
{
return $this->updatedBy;
}
public function getCreatedAt(): ?\DateTimeInterface
{
return $this->createdAt;
}
public function getUpdatedAt(): ?\DateTimeInterface
{
return $this->updatedAt;
}
}