diff --git a/mappings/test_svs_mappings/svs_mappings.json.gz b/mappings/test_svs_mappings/svs_mappings.json.gz
new file mode 100644
index 0000000..1641eb9
Binary files /dev/null and b/mappings/test_svs_mappings/svs_mappings.json.gz differ
diff --git a/mappings/test_svs_mappings/svs_mappings/device_exposure.md b/mappings/test_svs_mappings/svs_mappings/device_exposure.md
new file mode 100644
index 0000000..991fb68
--- /dev/null
+++ b/mappings/test_svs_mappings/svs_mappings/device_exposure.md
@@ -0,0 +1,28 @@
+## Table name: device_exposure
+
+### Reading from svs_metadata.csv
+
+
+
+| Destination Field | Source field | Logic | Comment field |
+| --- | --- | --- | --- |
+| device_exposure_id | | | |
+| person_id | | | |
+| device_concept_id | | | |
+| device_exposure_start_date | | | |
+| device_exposure_start_datetime | | | |
+| device_exposure_end_date | | | |
+| device_exposure_end_datetime | | | |
+| device_type_concept_id | | | |
+| unique_device_id | aperio.dsr id
aperio.scanscope id | | Scanner details could also map to device_exposure for more detailed implementations.
Could be used to represent the scanning device used to capture the image. |
+| production_id | | | |
+| quantity | | | |
+| provider_id | aperio.user | | Connects the device user to the specific provider involved in capturing the image.
|
+| visit_occurrence_id | | | |
+| visit_detail_id | | | |
+| device_source_value | | | |
+| device_source_concept_id | | | |
+| unit_concept_id | | | |
+| unit_source_value | | | |
+| unit_source_concept_id | | | |
+
diff --git a/mappings/test_svs_mappings/svs_mappings/image_feature.md b/mappings/test_svs_mappings/svs_mappings/image_feature.md
new file mode 100644
index 0000000..10ae76d
--- /dev/null
+++ b/mappings/test_svs_mappings/svs_mappings/image_feature.md
@@ -0,0 +1,44 @@
+## Table name: image_feature
+
+### Reading from svs_thumbnail.csv
+
+
+
+| Destination Field | Source field | Logic | Comment field |
+| --- | --- | --- | --- |
+| feature_id | | | |
+| image_id | | | |
+| feature_type | x
y
red
green
blue | Assign feature_type_concept_id = , where concept ID represents the X-coordinate feature type. Example: 1234567.
Assign feature_type_concept_id = , where concept ID represents the Y-coordinate feature type. Example: 1234567.
Assign feature_type_concept_id = , where concept ID represents the Red intensity feature. Example: 2345678.
Assign feature_type_concept_id = , where concept ID represents the Green intensity feature. Example: 2345679.
Assign feature_type_concept_id = , where concept ID represents the Blue intensity feature. Example: 2345680. | Feature Type should represent the type of measurement or attribute you are capturing. This is for X coordinate. (X and Y represent the spatial position of a pixel.)
Feature Type should represent the type of measurement or attribute you are capturing. This is for Y coordinate. (X and Y represent the spatial position of a pixel.)
The feature is Red channel intensity (feature type)
The feature is Green channel intensity (feature type)
The feature is Blue channel intensity (feature type)
|
+| feature_value | x
y
blue
red
green | | Actual value from the source CSV (e.g., the X-coordinate value itself).
Actual value from the source CSV (e.g., the Y-coordinate value itself).
The actual value for the Blue channel intensity
The actual value for the Red channel intensity
The actual value for the Green channel intensity
|
+| unit_concept_id | | | |
+| extraction_method | | | |
+| date_of_extraction | | | |
+
+### Reading from svs_image_data.csv
+
+
+
+| Destination Field | Source field | Logic | Comment field |
+| --- | --- | --- | --- |
+| feature_id | | | |
+| image_id | | | |
+| feature_type | level
width
height
downsample | Assign feature_type_concept_id = , where concept ID represents the level feature type. Example: 1234567.
Assign feature_type_concept_id = , where concept ID represents the width feature type. Example: 1234567.
Assign feature_type_concept_id = , where concept ID represents the width feature type. Example: 1234567.
Assign feature_type_concept_id = , where concept ID represents the downsample feature type. Example: 1234567. | Level of the image pyramid (used for multi-resolution images).
Width of the original image (or downsampled image level).
Height of the original image (or downsampled image level).
Represents how much the image has been downsampled at each level.
|
+| feature_value | downsample
height
width
level | | The actual downsample value for the image
The actual height value of the image
The actual width value of the image
The actual level value of the image
|
+| unit_concept_id | | | |
+| extraction_method | | | |
+| date_of_extraction | | | |
+
+### Reading from svs_metadata.csv
+
+
+
+| Destination Field | Source field | Logic | Comment field |
+| --- | --- | --- | --- |
+| feature_id | | | |
+| image_id | | | |
+| feature_type | aperio.appmag
aperio.mpp | Assign feature_type_concept_id = , where concept ID represents the objective magnification feature type. Example: 123456
Assign feature_type_concept_id = , where concept ID represents the microns per pixel feature. Example: 345678. | Describes the image's magnification (e.g., 20x). Concept ID could be for magnification.
MPP feature gives the resolution of the image at a pixel level.
|
+| feature_value | aperio.appmag
aperio.mpp
aperio.originalheight
aperio.originalwidth | | Actual value of the image's magnification (e.g., 20x)
Actual value of resolution of the image at a pixel level.
Original height of the image
Original width of image
|
+| unit_concept_id | | | |
+| extraction_method | | | |
+| date_of_extraction | | | |
+
diff --git a/mappings/test_svs_mappings/svs_mappings/image_occurrence.md b/mappings/test_svs_mappings/svs_mappings/image_occurrence.md
new file mode 100644
index 0000000..0f257b8
--- /dev/null
+++ b/mappings/test_svs_mappings/svs_mappings/image_occurrence.md
@@ -0,0 +1,16 @@
+## Table name: image_occurrence
+
+### Reading from svs_metadata.csv
+
+
+
+| Destination Field | Source field | Logic | Comment field |
+| --- | --- | --- | --- |
+| image_id | aperio.imageid | | |
+| person_id | | | |
+| study_id | | | |
+| modality | | | |
+| body_part_examined | | | |
+| date_of_image | aperio.date | | |
+| file_location | | | |
+
diff --git a/mappings/test_svs_mappings/svs_mappings/index.md b/mappings/test_svs_mappings/svs_mappings/index.md
new file mode 100644
index 0000000..4d71462
--- /dev/null
+++ b/mappings/test_svs_mappings/svs_mappings/index.md
@@ -0,0 +1,14 @@
+# Source Data Mapping Approach to CDMv5.4
+
+
+
+## Contents
+
+[device_exposure](device_exposure.md)
+
+[image_occurrence](image_occurrence.md)
+
+[image_feature](image_feature.md)
+
+[source_appendix](source_appendix.md)
+
diff --git a/mappings/test_svs_mappings/svs_mappings/md_files/image1.png b/mappings/test_svs_mappings/svs_mappings/md_files/image1.png
new file mode 100644
index 0000000..79dee97
Binary files /dev/null and b/mappings/test_svs_mappings/svs_mappings/md_files/image1.png differ
diff --git a/mappings/test_svs_mappings/svs_mappings/md_files/image2.png b/mappings/test_svs_mappings/svs_mappings/md_files/image2.png
new file mode 100644
index 0000000..39f49f3
Binary files /dev/null and b/mappings/test_svs_mappings/svs_mappings/md_files/image2.png differ
diff --git a/mappings/test_svs_mappings/svs_mappings/md_files/image3.png b/mappings/test_svs_mappings/svs_mappings/md_files/image3.png
new file mode 100644
index 0000000..7649234
Binary files /dev/null and b/mappings/test_svs_mappings/svs_mappings/md_files/image3.png differ
diff --git a/mappings/test_svs_mappings/svs_mappings/md_files/image4.png b/mappings/test_svs_mappings/svs_mappings/md_files/image4.png
new file mode 100644
index 0000000..a3df5ec
Binary files /dev/null and b/mappings/test_svs_mappings/svs_mappings/md_files/image4.png differ
diff --git a/mappings/test_svs_mappings/svs_mappings/md_files/image5.png b/mappings/test_svs_mappings/svs_mappings/md_files/image5.png
new file mode 100644
index 0000000..31c69f0
Binary files /dev/null and b/mappings/test_svs_mappings/svs_mappings/md_files/image5.png differ
diff --git a/mappings/test_svs_mappings/svs_mappings/md_files/image6.png b/mappings/test_svs_mappings/svs_mappings/md_files/image6.png
new file mode 100644
index 0000000..e563b93
Binary files /dev/null and b/mappings/test_svs_mappings/svs_mappings/md_files/image6.png differ
diff --git a/mappings/test_svs_mappings/svs_mappings/source_appendix.md b/mappings/test_svs_mappings/svs_mappings/source_appendix.md
new file mode 100644
index 0000000..9193b26
--- /dev/null
+++ b/mappings/test_svs_mappings/svs_mappings/source_appendix.md
@@ -0,0 +1,77 @@
+# Appendix: source tables
+
+### Table: svs_image_data.csv
+
+| Field | Type | Most freq. value | Comment |
+| --- | --- | --- | --- |
+| level | INT | | |
+| width | INT | | |
+| height | INT | | |
+| downsample | REAL | | |
+
+### Table: svs_thumbnail.csv
+
+| Field | Type | Most freq. value | Comment |
+| --- | --- | --- | --- |
+| x | INT | 110 | |
+| y | INT | 88 | |
+| red | INT | 243 | |
+| green | INT | 243 | |
+| blue | INT | 242 | |
+
+### Table: svs_metadata.csv
+
+| Field | Type | Most freq. value | Comment |
+| --- | --- | --- | --- |
+| aperio.appmag | INT | | |
+| aperio.dsr id | VARCHAR | | |
+| aperio.date | DATE | | Maps directly to the timestamp for when the image occurrence took place. |
+| aperio.displaycolor | INT | | |
+| aperio.exposure scale | REAL | | |
+| aperio.exposure time | INT | | |
+| aperio.filename | INT | | |
+| aperio.focus offset | REAL | | |
+| aperio.icc profile | VARCHAR | | |
+| aperio.imageid | INT | | Maps directly to the identifier for the image occurrence. |
+| aperio.left | REAL | | |
+| aperio.lineareaxoffset | REAL | | |
+| aperio.lineareayoffset | REAL | | |
+| aperio.linecameraskew | INT | | |
+| aperio.mpp | REAL | | |
+| aperio.originalheight | INT | | |
+| aperio.originalwidth | INT | | |
+| aperio.scanscope id | VARCHAR | | |
+| aperio.stripewidth | INT | | |
+| aperio.time | VARCHAR | | |
+| aperio.time zone | VARCHAR | | |
+| aperio.top | REAL | | |
+| aperio.user | VARCHAR | | |
+| openslide.associated.thumbnail.height | INT | | |
+| openslide.associated.thumbnail.width | INT | | |
+| openslide.comment | VARCHAR | | |
+| 42672x25390 [0 | VARCHAR | | |
+| openslide.level-count | INT | | |
+| openslide.level[0].downsample | INT | | |
+| openslide.level[0].height | INT | | |
+| openslide.level[0].tile-height | INT | | |
+| openslide.level[0].tile-width | INT | | |
+| openslide.level[0].width | INT | | |
+| openslide.level[1].downsample | REAL | | |
+| openslide.level[1].height | INT | | |
+| openslide.level[1].tile-height | INT | | |
+| openslide.level[1].tile-width | INT | | |
+| openslide.level[1].width | INT | | |
+| openslide.level[2].downsample | REAL | | |
+| openslide.level[2].height | INT | | |
+| openslide.level[2].tile-height | INT | | |
+| openslide.level[2].tile-width | INT | | |
+| openslide.level[2].width | INT | | |
+| openslide.mpp-x | REAL | | |
+| openslide.mpp-y | REAL | | |
+| openslide.objective-power | INT | | |
+| openslide.quickhash-1 | VARCHAR | | |
+| openslide.vendor | VARCHAR | | |
+| tiff.imagedescription | VARCHAR | | |
+| 42672x25390 [0 | VARCHAR | | |
+| tiff.resolutionunit | VARCHAR | | |
+