Template:IMS Document control

You do not have permission to edit this page, for the following reason:

The action you have requested is limited to users in one of the groups: Users, editor.

You can view and copy the source of this page.

Return to Template:IMS Document control.

<div style="height:0; overflow:hidden">{{#vardefine:validUntil|{{#time:m/d/Y|{{#show:{{FULLPAGENAME}}|? QM/Approval date#-F[m/d/Y]}} + 366days}}}}</div>

<templatestyles src="IMS Document control/styles.css" /><noinclude>

Template for IMS Document control.

</noinclude><includeonly><div id="doccontrol-container"><div style="text-align:right">[[{{NAMESPACE}}:{{#switch:{{{documentType|}}}|Process description=Process descriptions|Work instruction=Work instructions|Company guidelines=Company guidelines|Supporting document=Supporting documents|}}|<i class="bi bi-arrow-right-circle"></i> Overview]]</div>

<div class="bs-collapsible collapse-pre-one mw-collapsible">

<div class="mw-collapsible-toggle">Document control</div><div class="mw-collapsible-content">

<div class="smwinfobox-flexcontainer classic"><div class="editlink bs-universalexport-exportexclude">[[Special:FormEdit/IMS Document control/{{FULLPAGENAME}}|<i class="icon-pencil"></i> edit]]</div>

<div>

{| class="infobox-table process-table"

|-

! Document type:

|{{#set: IMS Document type={{{documentType}}} }}{{#ifeq: {{{documentType}}}|Process description| [[IMS Process type::{{{processType|}}}]] | [[IMS Document type::{{{documentType|}}}]]}}

{{#if:{{{documentNumber|}}}|

{{!}}-

! Document number:

{{!}} [[IMS Document number::{{{documentNumber|}}}]]|}}

|-

! Process owner:

| {{#set: IMS Process owner={{{owner|}}}}}{{#if:{{{owner|}}}|[[{{{owner|}}}|{{PAGENAME:{{{owner|}}}}}]]|}}

<!--{{#if:{{{scope|}}}|-->

{{!}}-

! Scope:

{{!}} {{#arraymap:{{{scope|}}}|,|@@|[[IMS Scope::@@]]}}<!--|}}-->

{{!}}-

! Affected roles:

{{!}} {{#arraymap:{{{roles|}}}|,|@@|[[IMS Role::@@{{!}}]][[{{NAMESPACE}}:Role definitions/@@|@@]]}}<!--|}}-->

{{#ifeq: {{{documentType}}}|Process description|

{{!}}-

! Work instructions:

{{!}}<div class="aa-output">{{#ask:[[IMS for process::{{FULLPAGENAME}}]]|format=ul}}|}}</div>

|}

</div><div>

{| class="infobox-table process-table"

|-

!Valid:

|{{#if:{{{validFrom|}}}|[[IMS Valid from::{{#time:m/d/Y|{{{validFrom|}}}}}]] to |}} {{#if:{{{validUntil|}}}|{{#set:IMS Valid until={{{validUntil}}}}}{{#time:m/d/Y|{{{validUntil|}}}}} {{#invoke:IndicatorProcess|forDate|{{{validUntil|}}}}}|{{#ifeq: {{#show:{{FULLPAGENAME}}|?QM/Document state}}|First draft|Not valid|{{#set:IMS Valid until={{#var:validUntil}}}} {{#show:{{FULLPAGENAME}}|?IMS Valid until#-F[m/d/Y]}} {{#invoke:IndicatorProcess|forDate|{{#var:validUntil}}}}}}}}

{{#ifeq: {{{documentType}}}|Work instruction|

{{!}}-

!Associated process:

{{!}}[[IMS for process::{{{forProcess|}}}|{{PAGENAME:{{{forProcess}}} }}]]|}}

{{#ifeq: {{{documentType}}}|Process description|

{{!}}-

! Standards:

{{!}}{{#ask:[[-Has subobject::{{FULLPAGENAME}}]] |?IMS Standard specification|?ISO9001|?ISO14001|?ISO27001|mainlabel=-|format=template|template=IMS Document control/standards|class=standardslist|headers=hide|default=None}}

{{!}}-

! Audit date:

{{!}} [[IMS Internal audit due::{{{auditDue|}}}|]] {{#show:{{FULLPAGENAME}}|? IMS Internal audit due#-F[m/d/Y]}}|}}

|-

! Approval:

|{{#switch:{{#show:{{FULLPAGENAME}}|? QM/Document state}} | Approved | Draft| Implicit draft = {{#show:{{FULLPAGENAME}}|? QM/Approval by}} ({{#show:{{FULLPAGENAME}}|? QM/Approval date#-F[m/d/Y]}}) - Version: {{#show:{{FULLPAGENAME}}|? QM/Document version}} | not approved}}

|-

! Page status:

| <documentstate page="{{FULLPAGENAME}}" revision="{{REVISIONID}}" />

|}</div></div></div></div></div><br style="clear:both"></includeonly>