# Template based development environment setup and requirements of FDA approval

**URL:** <https://discourse.slicer.org/t/template-based-development-environment-setup-and-requirements-of-fda-approval/21003>\
**Category:** Development\
**Created:** [December 10, 2021, 1:45pm UTC](https://discourse.slicer.org/t/template-based-development-environment-setup-and-requirements-of-fda-approval/21003 "2021-12-10T13:45:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dwij\_Mistry](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/dwij_mistry/32/15265_2.png) [@Dwij\_Mistry](https://discourse.slicer.org/u/Dwij_Mistry)\
**Post date:** [December 10, 2021, 1:45pm UTC](https://discourse.slicer.org/t/template-based-development-environment-setup-and-requirements-of-fda-approval/21003/1 "2021-12-10T13:45:42Z")

</div>

### How we can setup a clean development environment?

What we are doing is as follow.

1. We created Template in which we had  
GIT\_REPOSITORY git://github.com/Slicer/Slicer  
GIT\_TAG 62e4d8544f2a6f30b707a87288a5e1b9fc5a5a86  
(this is a latest commit on 3/12/2021 which is a based on 4.11.20210226 stable patch)
2. build it.
3. we pushed slicersource-src to our GitHub repo.
4. in template we modified  
GIT\_REPOSITORY _our repo_  
GIT\_TAG _tag id_  
So from next time when we are setting up an environment it is taking source code from our GitHub repo.
5. once development environment is set, we are doing required modification in **slicersource-src** folder which is linked with our GitHub repo. by this we are pushing and pulling changes (So, multiple developers can contribute).

### Does we are following correct method for clean development?

Or Is there any way to do  
Please tell me your suggestions.

In addition to this, We are planning for FDA approval.

- 
### Does we will get FDA approval by using slicer template based software development? or any other way to achieve?
- 
### What are the requirements to get full FDA approval for the software?

---

<div class="post-metadata">

**Author:** ![Sam\_Horvath](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sam_horvath/32/3092_2.png) [@Sam\_Horvath](https://discourse.slicer.org/u/Sam_Horvath)\
**Post date:** [December 10, 2021, 2:03pm UTC](https://discourse.slicer.org/t/template-based-development-environment-setup-and-requirements-of-fda-approval/21003/2 "2021-12-10T14:03:59Z")

</div>

Forking Slicer to your GitHub organization and then creating a branch in that fork based on your desired Slicer commit would have been a more straightforward method, but achieves the same thing in the end.

With regards to FDA approval, FDA submission is a complicated process that will depend heavily on the intended use of the software. You will need to engage with a regulatory consultant in order to determine the requirements for FDA approval.

---

<div class="post-metadata">

**Author:** ![Dwij\_Mistry](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/dwij_mistry/32/15265_2.png) [@Dwij\_Mistry](https://discourse.slicer.org/u/Dwij_Mistry)\
**Post date:** [December 10, 2021, 2:15pm UTC](https://discourse.slicer.org/t/template-based-development-environment-setup-and-requirements-of-fda-approval/21003/3 "2021-12-10T14:15:47Z")

</div>

> [@Sam\_Horvath](#):
>
> Forking Slicer to your GitHub organization and then creating a branch in that fork based on your desired Slicer commit would have been a more straightforward method

We are using private repo for the development.

> [@Sam\_Horvath](#):
>
> FDA submission is a complicated process

Is there any hardware specification for the development?

Dese we will get FDA approval for full slicer based software or we need to create software from a scratch like ITK, VTK, Qt lib (start from zero)

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [December 10, 2021, 2:47pm UTC](https://discourse.slicer.org/t/template-based-development-environment-setup-and-requirements-of-fda-approval/21003/4 "2021-12-10T14:47:06Z")

</div>

I’ll just reiterate Sam’s point that there is a lot to consider if you plan to bring a medical device to market so there’s no simple answer.

A good place to start learning is to take this course and read the accompanying textbook:

> [@Yale course about medical software development](https://discourse.slicer.org/t/yale-course-about-medical-software-development/20149):
>
> Our friend and colleague Xenios has put together a great set of material about developing medical software. The course is free, or $50 if you want a certificate. There’s a textbook with additional material. I read an earlier draft and there’s a lot of very practical information for anyone working in the field.
