Skip to content

Commit

Permalink
Merge pull request #89 from aslsto/master
Browse files Browse the repository at this point in the history
#49 Added deep muscles of back/neck and addition arteries
  • Loading branch information
bpjohannessen authored Nov 29, 2018
2 parents dc71797 + f21d588 commit 00afd13
Showing 1 changed file with 91 additions and 10 deletions.
101 changes: 91 additions & 10 deletions MuscleWeb/database.sql
Original file line number Diff line number Diff line change
Expand Up @@ -467,14 +467,26 @@ INSERT INTO tbl_arteries VALUES(109,'Aa. intercostales posteriores','Posterior i
INSERT INTO tbl_arteries VALUES(110,'A. circumflexa ilium profunda','Deep circumflex iliac artery',13);
INSERT INTO tbl_arteries VALUES(111,'A. epigastrica inferior','Inferior epigastric artery',13);
INSERT INTO tbl_arteries VALUES(112,'R. cremasterica arteriae iliaca externa','Cremasteric branch of external iliac artery',13);
INSERT INTO tbl_arteries VALUES(113,'Aa. phrenicae superiores ','Superior phrenic artery',17);
INSERT INTO tbl_arteries VALUES(114,'Aa. intercostalis posteriores','Posterior intercostal artery',17);
INSERT INTO tbl_arteries VALUES(113,'Aa. phrenicae superiores ','Superior phrenic artery',16);
INSERT INTO tbl_arteries VALUES(114,'Aa. intercostales posteriores','Posterior intercostal artery',16);
INSERT INTO tbl_arteries VALUES(115,'A. subcostalis','Subcostal artery',114);
INSERT INTO tbl_arteries VALUES(116,'A. sacralis mediana','Medial sacral artery',15);
INSERT INTO tbl_arteries VALUES(117,'A. mesenterica inferior','Inferior mesenteric artery',15);
INSERT INTO tbl_arteries VALUES(118,'Aa. phrenica inferiores','Inferior phrenic arteries',NULL);
INSERT INTO tbl_arteries VALUES(119,'Aa. lumbales','Lumbar arteries',NULL);
INSERT INTO tbl_arteries VALUES(118,'Aa. phrenica inferiores','Inferior phrenic arteries',15);
INSERT INTO tbl_arteries VALUES(119,'Aa. lumbales','Lumbar arteries',15);
INSERT INTO tbl_arteries VALUES(120,'R. dorsalis arteriae lumbales ','Dorsal branch of the lumbar artery',119);
INSERT INTO tbl_arteries VALUES(121,'A. thyroidea superior ','Superior thyroid artery',5);
INSERT INTO tbl_arteries VALUES(122,'A. facialis ','Facial artery',5);
INSERT INTO tbl_arteries VALUES(123,'A. labialis superior','Superior labial artery',122);
INSERT INTO tbl_arteries VALUES(124,'A. pharyngea ascendens','Ascending pharyngeal artery',5);
INSERT INTO tbl_arteries VALUES(125,'A. occipitalis ','Occipital artery',5);
INSERT INTO tbl_arteries VALUES(126,'Rr. sternocleidomastoideus arteriae occipitalis','Sternocleidomastoideus branch of occipital artery',125);
INSERT INTO tbl_arteries VALUES(127,'A. auricularis posterior ','Posterior auricular artery',5);
INSERT INTO tbl_arteries VALUES(128,'A. temporalis superficialis ','Superficial temporal artery',5);
INSERT INTO tbl_arteries VALUES(129,'R. frontalis arteriae temporalis superficialis','Frontal branch of superficial temporal artery',128);
INSERT INTO tbl_arteries VALUES(130,'R. parietalis arteriae temporalis superficialis','Parietal branch of superficial temporal artery',128);
INSERT INTO tbl_arteries VALUES(135,'R. collateralis arteriae intercostales posteriores','Collateral branch of posterior intercostal arteries',114);
INSERT INTO tbl_arteries VALUES(136,'R. dorsalis arteriae intercostales posteriores ','Dorsal branch of posterior intercostal arteries',114);
CREATE TABLE tbl_musclegroups (id integer NOT NULL PRIMARY KEY AUTOINCREMENT, name text NOT NULL, lat_name text NOT NULL, parent_id INTEGER, explanation TEXT, FOREIGN KEY (parent_id) REFERENCES tbl_musclegroups (id));
INSERT INTO tbl_musclegroups VALUES(126,'Muscles of the head','Mm. capitis',NULL,'Includes masticatoy and mimetic muscles, 1st and 2nd visceral arch');
INSERT INTO tbl_musclegroups VALUES(127,'Muscles of the neck','Mm. colli',NULL,NULL);
Expand Down Expand Up @@ -543,9 +555,10 @@ INSERT INTO tbl_musclegroups VALUES(190,'1st layer','0',189,NULL);
INSERT INTO tbl_musclegroups VALUES(191,'2nd layer','0',189,NULL);
INSERT INTO tbl_musclegroups VALUES(192,'3rd layer','0',189,NULL);
INSERT INTO tbl_musclegroups VALUES(193,'Muslces of the back','Mm. dorsi',195,NULL);
INSERT INTO tbl_musclegroups VALUES(194,'Deep muslces of the back','0',193,NULL);
INSERT INTO tbl_musclegroups VALUES(195,'Muslces of the trunk','0',NULL,NULL);
INSERT INTO tbl_musclegroups VALUES(194,'Deep muscles of the back','0',193,NULL);
INSERT INTO tbl_musclegroups VALUES(195,'Muscles of the trunk','0',NULL,NULL);
INSERT INTO tbl_musclegroups VALUES(196,'M. errector spinae','0',159,NULL);
INSERT INTO tbl_musclegroups VALUES(197,'Suboccipital muscles','Mm. suboccipitalis',127,NULL);
CREATE TABLE IF NOT EXISTS 'tbl_muscles_arteries' ('muscle_id' INTEGER NOT NULL, 'arterie_id' INTEGER NOT NULL, PRIMARY KEY ('muscle_id', 'arterie_id'));
CREATE TABLE IF NOT EXISTS 'tbl_muscles_nerves' ('muscle_id' INTEGER NOT NULL, 'nerve_id' INTEGER NOT NULL, PRIMARY KEY ('muscle_id', 'nerve_id'));
CREATE TABLE IF NOT EXISTS 'tbl_muscles_veins' ('muscle_id' INTEGER NOT NULL, 'vein_id' INTEGER NOT NULL, PRIMARY KEY ('muscle_id', 'vein_id'));
Expand Down Expand Up @@ -786,6 +799,25 @@ INSERT INTO tbl_muscles VALUES(177,'M. splenius capitis ','Splenius capitis musc
INSERT INTO tbl_muscles VALUES(178,'M. splenius cervicis','Splenius cervicis muscle','Proc. spinosi vertebrae thoracicae III - VI, lig. suprasoinale','Proc. transversi vertebrae cervicalis I - II','Extention of neck (bilateral contractions), rotation of neck on same side (unilateral contraction)','0',0,0,'mspleniuscervisis.png','N/A','0',159);
INSERT INTO tbl_muscles VALUES(179,'M. spinalis cervicis','Spinalis cervicis muscle','Proc. spinosi vertebrae cervicalis VI - VII, vertebrae thoracicae I - II','Proc. spinosi vertebrae cervicalis II, III and IV','Extension of trunk','0',0,0,'mspinaliscervicis.png','N/A','0',196);
INSERT INTO tbl_muscles VALUES(180,'M. spinalis thoracis','Spinalis thoracic muscle','Proc. spinosi vertebrae thoracicae X - XII, vertebrae lumbales I - III','Proc. spinosi vertebrae throacicae I - VIII','Extension of trunk','0',0,0,'mspinalisthoracis.jpg','N/A','0',196);
INSERT INTO tbl_muscles VALUES(181,'M. longissimus capitis','Longissimus capitis muscle','Proc. transversi vertebrae cervicalis IV - VII, vertebrae throacicae I - IV','Processus mastoideus','Extention og head and neck (bilateral contraction), rotation of head and neck on the same side (unilateral contraction)','0',0,0,'.png','N/A','0',196);
INSERT INTO tbl_muscles VALUES(182,'M. longissimus cervicis','Longissimus cervicis muscle','Proc. transversi vertebrae thoracicae I - VI','Proc. transversi vertebrae cervicalis II - V','Extention og head and neck (bilateral contraction), rotation of head and neck on the same side (unilateral contraction)','0',0,0,'.png','N/A','0',196);
INSERT INTO tbl_muscles VALUES(183,'M. longissimus thoracis','Longissimus thoracis muscle','Facies dorsalis ossis sacri, crista iliaca, proc. costarii vertebrae lumbales, proc. transversi vertebrae thoracicae VI - XII','Proc. transversi vertebrae thoracicae I - XII, anguli costales II - XII','Extention of trunk (bilateral contraction), lateral flexion of trunk (unilateral contraction)','0',0,0,'.png','N/A','0',196);
INSERT INTO tbl_muscles VALUES(184,'M. iliocostalis cervicis','Iliocostalis cervicis muscle','6 upper ribs','Proc. transversi vertebrae cervicalis IV - VI','Extention of trunk (bilateral contraction), lateral flexion of trunk (unilateral contraction)','0',0,0,'.png','N/A','0',196);
INSERT INTO tbl_muscles VALUES(185,'M. iliocostalis throacis ','Iliocostalis thoracis muscle','6 lower ribs','6 upper ribs','Extention of trunk (bilateral contraction), lateral flexion of trunk (unilateral contraction)','0',0,0,'.png','N/A','0',196);
INSERT INTO tbl_muscles VALUES(186,'M. iliocostalis lumborum','Iliocostalis lumborum muscle','Fascia thoracolumbalis, crista iliaca, facies dorsalis ossis sacri','6 lower ribs','Extention of trunk (bilateral contraction), lateral flexion of trunk (unilateral contraction)','0',0,0,'.png','N/A','0',196);
INSERT INTO tbl_muscles VALUES(187,'Mm. rotatores longi','Rotatores longi muscles','Processus transversus','Proc. spinosus of the vertebra above bypassing one vertebra','Extention of trunk (bilateral contraction), torsion of trunk on oposite side (unilateral contraction)','0',0,0,'.png','N/A','0',160);
INSERT INTO tbl_muscles VALUES(188,'Mm. multifidi breves','Multifidi breves muslces','Processus transversus','Proc. spinosus of the vertebra above bypassing two vertebra','Extention of trunk (bilateral contraction), torsion of trunk on oposite side (unilateral contraction)','0',0,0,'.png','N/A','0',160);
INSERT INTO tbl_muscles VALUES(189,'Mm. multifidi longi','Multifidi longi muscles','Processus transversus','Proc. spinosus of the vertebra above bypassing three vertebra','Extention of trunk (bilateral contraction), torsion of trunk on oposite side (unilateral contraction)','0',0,0,'.png','N/A','0',160);
INSERT INTO tbl_muscles VALUES(190,'M. semispinalis capitis','Semispinalis capitis muscle','Proc. transversi vertebrae cervicalis IV - VII, vertebrae thoracicae I - VI','Os occipitale between linea nuchae superior, linea nuchae inferior','Extention of head and neck (bilateral contraction), rotation of head and neck (unilateral contraction)','0',0,0,'.png','N/A','0',160);
INSERT INTO tbl_muscles VALUES(191,'M. semispinalis cervicis','Semispinalis cervicis muscle','Proc. transversi vertebrae thoracicae I - VI','Proc. spinosi vertebrae cervicalis II - V','Extention of neck (bilateral contraction), rotation of neck (unilateral contraction)','0',0,0,'.png','N/A','0',160);
INSERT INTO tbl_muscles VALUES(192,'M. semispinalis thoracis','Semispinalis thoracis muscle','Proc. transversi vertebrae thoracicae VI - XII','Proc. spinosi vertebrae cervicalis VI, VII and vertebrae thoracicae I - IV','Extention of trunk (bilateral contraction), torsion of trunk on oposite side (unilateral contraction)','0',0,0,'.png','N/A','0',160);
INSERT INTO tbl_muscles VALUES(193,'Mm. interspinales','Interspinal msucles','Proc. spinosus of the lower vertebra','Proc. spinosus of the upper vertebra','Extention of the back in cervical and lumbar regions','0',0,0,'.png','N/A','0',161);
INSERT INTO tbl_muscles VALUES(194,'Mm. intertransversales','Intertransversal muscles','Proc. transversus of the lower vertebra','Proc. transversus of the upper vertebra','Extention of the back (bilateral contraction), lateral flexion of trunk (unilateral contraction)','0',0,0,'.png','N/A','0',161);
INSERT INTO tbl_muscles VALUES(195,'Mm. rotatores breves','Rotatores breves muscles','Proc. transversus of the lower vertebra','Proc. spinosus of the upper vertebra','Extention of the back (bilateral contraction), torsion of trunk on oposite side (unilateral contraction)','0',0,0,'.png','N/A','0',161);
INSERT INTO tbl_muscles VALUES(196,'M. rectus capitis posterior minor','Minor rectus capitis posterior muscle','Tuberculum posterius atlantis','Below Linea nuchalis inferior','Extention of head','0',0,0,'.png','N/A','0',197);
INSERT INTO tbl_muscles VALUES(197,'M. rectus capitis posterior major','Major rectus capitis posterior muscle','Proc. spinosus axis','Linea nuchalis inferior','Extention of head, turns head to the same side (unilateral contraction)','0',0,0,'.png','N/A','0',197);
INSERT INTO tbl_muscles VALUES(198,'M. obliquus capitis inferior','Inferior obliquus capitis muscle ','Proc. spinosus axis','Proc. transversus atlantis ','Rotation of head on the same side (unilateral contraction)','0',0,0,'.png','N/A','0',197);
INSERT INTO tbl_muscles VALUES(199,'M. obliquus capitis superior','Superior obliquus capitis muscle','Proc. transversus atlantis','Linea nuchae inferior','Extention of head (bilateral contraction) lateral flexion of head (unilateral contraction)','0',0,0,'.png','N/A','0',197);
CREATE TABLE tbl_link_arteries (id INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, muscle_id INTEGER, artery_id INTEGER);
INSERT INTO tbl_link_arteries VALUES(15,1,1);
INSERT INTO tbl_link_arteries VALUES(16,2,9);
Expand Down Expand Up @@ -964,6 +996,55 @@ INSERT INTO tbl_link_arteries VALUES(191,175,119);
INSERT INTO tbl_link_arteries VALUES(192,176,120);
INSERT INTO tbl_link_arteries VALUES(193,176,51);
INSERT INTO tbl_link_arteries VALUES(194,176,115);
INSERT INTO tbl_link_arteries VALUES(195,177,107);
INSERT INTO tbl_link_arteries VALUES(196,177,126);
INSERT INTO tbl_link_arteries VALUES(197,178,107);
INSERT INTO tbl_link_arteries VALUES(198,178,126);
INSERT INTO tbl_link_arteries VALUES(199,178,101);
INSERT INTO tbl_link_arteries VALUES(200,179,120);
INSERT INTO tbl_link_arteries VALUES(201,179,136);
INSERT INTO tbl_link_arteries VALUES(202,180,120);
INSERT INTO tbl_link_arteries VALUES(203,180,136);
INSERT INTO tbl_link_arteries VALUES(204,181,120);
INSERT INTO tbl_link_arteries VALUES(205,181,136);
INSERT INTO tbl_link_arteries VALUES(206,182,120);
INSERT INTO tbl_link_arteries VALUES(207,182,136);
INSERT INTO tbl_link_arteries VALUES(208,183,120);
INSERT INTO tbl_link_arteries VALUES(209,183,136);
INSERT INTO tbl_link_arteries VALUES(210,184,120);
INSERT INTO tbl_link_arteries VALUES(211,184,136);
INSERT INTO tbl_link_arteries VALUES(212,185,120);
INSERT INTO tbl_link_arteries VALUES(213,185,136);
INSERT INTO tbl_link_arteries VALUES(214,186,120);
INSERT INTO tbl_link_arteries VALUES(215,186,136);
INSERT INTO tbl_link_arteries VALUES(216,187,120);
INSERT INTO tbl_link_arteries VALUES(217,187,136);
INSERT INTO tbl_link_arteries VALUES(218,188,120);
INSERT INTO tbl_link_arteries VALUES(219,188,136);
INSERT INTO tbl_link_arteries VALUES(220,189,120);
INSERT INTO tbl_link_arteries VALUES(221,189,136);
INSERT INTO tbl_link_arteries VALUES(222,190,107);
INSERT INTO tbl_link_arteries VALUES(223,191,107);
INSERT INTO tbl_link_arteries VALUES(224,191,136);
INSERT INTO tbl_link_arteries VALUES(225,192,136);
INSERT INTO tbl_link_arteries VALUES(226,193,106);
INSERT INTO tbl_link_arteries VALUES(227,193,126);
INSERT INTO tbl_link_arteries VALUES(228,193,136);
INSERT INTO tbl_link_arteries VALUES(229,193,120);
INSERT INTO tbl_link_arteries VALUES(230,194,106);
INSERT INTO tbl_link_arteries VALUES(231,194,126);
INSERT INTO tbl_link_arteries VALUES(232,194,136);
INSERT INTO tbl_link_arteries VALUES(233,194,120);
INSERT INTO tbl_link_arteries VALUES(234,195,120);
INSERT INTO tbl_link_arteries VALUES(235,195,136);
INSERT INTO tbl_link_arteries VALUES(236,196,106);
INSERT INTO tbl_link_arteries VALUES(237,196,126);
INSERT INTO tbl_link_arteries VALUES(238,197,106);
INSERT INTO tbl_link_arteries VALUES(239,197,126);
INSERT INTO tbl_link_arteries VALUES(240,198,106);
INSERT INTO tbl_link_arteries VALUES(241,198,126);
INSERT INTO tbl_link_arteries VALUES(242,199,106);
INSERT INTO tbl_link_arteries VALUES(243,199,126);
CREATE TABLE tbl_link_veins (id INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, muscle_id INTEGER, vein_id INTEGER);
INSERT INTO tbl_link_veins VALUES(1,1,2);
INSERT INTO tbl_link_veins VALUES(2,2,0);
Expand Down Expand Up @@ -1307,12 +1388,12 @@ INSERT INTO tbl_link_nerves VALUES(168,174,0);
INSERT INTO tbl_link_nerves VALUES(169,175,0);
INSERT INTO tbl_link_nerves VALUES(170,176,0);
DELETE FROM sqlite_sequence;
INSERT INTO sqlite_sequence VALUES('tbl_arteries',120);
INSERT INTO sqlite_sequence VALUES('tbl_musclegroups',196);
INSERT INTO sqlite_sequence VALUES('tbl_arteries',136);
INSERT INTO sqlite_sequence VALUES('tbl_musclegroups',197);
INSERT INTO sqlite_sequence VALUES('tbl_nerves',42);
INSERT INTO sqlite_sequence VALUES('tbl_veins',7);
INSERT INTO sqlite_sequence VALUES('tbl_muscles',180);
INSERT INTO sqlite_sequence VALUES('tbl_link_arteries',194);
INSERT INTO sqlite_sequence VALUES('tbl_muscles',199);
INSERT INTO sqlite_sequence VALUES('tbl_link_arteries',243);
INSERT INTO sqlite_sequence VALUES('tbl_nerves',42);
INSERT INTO sqlite_sequence VALUES('tbl_arteries',38);
INSERT INTO sqlite_sequence VALUES('tbl_link_veins',170);
Expand Down

0 comments on commit 00afd13

Please sign in to comment.