NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Create - This function provides capability to create:
    • New Code System to hold concept domains
    • New Concept Domain
    • Add new property to Concept Domain
    • Concept Domain to Value Set binding
  • Edit - This function provides capability to update:
    • Property of a Concept Domain
  • Remove - This function provides capability to remove:
    • Concept Domain
    • Property of a Concept Domain
    • Concept Domain to Value Set binding
  • Versionable Change - This function provides capability to modify versionable attributes of Concept Domain like Status, Effective Date, Expiration Date, isActive and Owner:
    • Concept Domain Status
    • Activate Concept Domain
    • De-Activate Concept Domain

...

Description:

Add new property for a concept domain.

Input:

  • java.lang.String conceptDomainId - (Mandatory) Identifier of a Concept Domain to which a new property will be added.
  • java.lang.String namespace - (Mandatory) Namespace of a Concept Domain to which a new property will be added.
  • org.LexGrid.commonTypes.Property newProperty - (Mandatory) New property that will be added to the concept domain.
  • java.lang.String codeSystemNameOrURI - (Mandatory) Name or URI of a Code System that contains the concept domain.
  • java.lang.String codeSystemVersion - (Mandatory) Version of a Code System that contains the concept domain.
  • org.lexevs.cts2.core.update.RevisionInfo revision - (Mandatory) Contains revision information like unique RevisionId, change description, author information etc.

Output:

boolean - True; if addition of new property was success

Exception:

org.LexGrid.LexBIG.Exceptions.LBException

Sample Call:

  • Step 1: Instantiate ConceptDomainAuthoringOperation if it is not done yet:
    Code Block
    org.lexevs.cts2.author.ConceptDomainAuthoringOperation cdAuthorOp = LexEvsCTS2Impl.defaultInstance().getAuthoringOperation().getConceptDomainAuthoringOperation();
    
  • Step 2: Populate RevisionInfo object:
    Code Block
    RevisionInfo revInfo = new RevisionInfo();
    revInfo.setChangeAgent("change Agent Name");
    revInfo.setChangeInstruction("here goes the change Instructions");
    revInfo.setDescription("description of the resource");
    revInfo.setEditOrder(1L);
    revInfo.setRevisionDate(new Date());
    revInfo.setRevisionId(UUID.randomUUID().toString());
    
  • Step 3: Populate a property to be added:
    Code Block
    Property prop = new Property();
    prop.setPropertyId("propertyId1");
    prop.setPropertyName("propertyName");
    prop.setIsActive(false);
    prop.setLanguage("en");
    prop.setOwner("owner");
    prop.setPropertyType(PropertyTypes.PROPERTY.name());
    Text text = new Text();
    text.setContent("content");
    text.setDataType("Text datatype");
    prop.setValue(text);
    
  • Step 4: call add property method by passing the code system information, concept domain information and a new property:
    Code Block
    
    boolean added = cdAuthOp.addNewConceptDomainProperty("CD00A", "Automobiles-CD", prop, "Automobiles", "1.0", revInfo);
    

addConceptDomainToValueSetBinding

...

*Description: *

Create a value set to concept domain binding.

*Input: *

  • java.lang.String conceptDomainId - (Mandatory) Identifier of a Concept Domain.
  • java.lang.String namespace - (Mandatory) Namespace of a Concept Domain.
  • java.lang.String codeSystemNameOrURI - (Mandatory) Name or URI of a Code System that contains the concept domain.
  • java.lang.String codeSystemVersion - (Mandatory) Version of a Code System that contains the concept domain.
  • java.net.URI valueSetURI - (Mandatory) URI of a value set that will be binded to the concept domain.
  • org.lexevs.cts2.core.update.RevisionInfo revision - (Mandatory) Contains revision information like unique RevisionId, change description, author information etc.

...

*Output: *

boolean - True; if binding was success

...

*Exception: *

org.LexGrid.LexBIG.Exceptions.LBException

...

*Sample Call: *

  • Step 1: Instantiate ConceptDomainAuthoringOperation if it is not done yet:
    Code Block
    
    org.lexevs.cts2.author.ConceptDomainAuthoringOperation cdAuthorOp = LexEvsCTS2Impl.defaultInstance().getAuthoringOperation().getConceptDomainAuthoringOperation();
    
  • Step 2: Populate RevisionInfo object:
    Code Block
    
    RevisionInfo revInfo = new RevisionInfo();

...

  • 
    revInfo.setChangeAgent("change Agent Name");

...

  • 
    revInfo.setChangeInstruction("here goes the change Instructions");

...

  • 
    revInfo.setDescription("description of the resource");

...

  • 
    revInfo.setEditOrder(1L);

...

  • 
    revInfo.setRevisionDate(new Date());

...

  • 
    revInfo.setRevisionId(UUID.randomUUID().toString());
    
  • Step 3: call add binding method by passing the code system information, concept domain information and value set uri:
    Code Block
    
    boolean added = cdAuthOp.addConceptDomainToValueSetBinding("CD00A", "Automobiles-CD", "Automobiles", "1.0", "some_value_set_uri", revInfo);

...

  • 
    

Edit Operations

The edit operation provides the capability to modify properties of a concept domain. For every entry that gets modified, a unique revision(version) identifier will be assigned to that entry. This helps in retrieving snapshots of an entry based on its revision(version) identifier. This unique id can be passed in using the RevisionInfo object described above.

...

This function provides capability to modify existing property of a concept domain.

updateConceptDomainProperty(String conceptDomainId, String namespace, Property changedProperty, String codeSystemNameOrURI, String codeSystemVersion, RevisionInfo revisionInfo)

*Description: *

Modifies existing property of a concept domain.

*Input: *

  • java.lang.String conceptDomainId - (Mandatory) Identifier of a Concept Domain that contains the property.
  • java.lang.String namespace - (Mandatory) Namespace of a concept domain that contains the property.
  • org.LexGrid.commonTypes.Property property - (Mandatory) Modified property.
  • java.lang.String codeSystemNameOrURI - (Mandatory) Name or URI of a Code System that contains the concept domain.
  • java.lang.String codeSystemVersion - (Mandatory) Version of a Code System that contains the concept domain.
  • org.lexevs.cts2.core.update.RevisionInfo revision - (Mandatory) Contains revision information like unique RevisionId, change description, author information etc.

...

*Output: *

boolean - True; if update was success

...

*Exception: *

org.LexGrid.LexBIG.Exceptions.LBException

...

*Sample Call: *

  • Step 1: Instantiate ConceptDomainAuthoringOperation if it is not done yet:
    Code Block
    
    org.lexevs.cts2.author.ConceptDomainAuthoringOperation cdAuthorOp = LexEvsCTS2Impl.defaultInstance().getAuthoringOperation().getConceptDomainAuthoringOperation();
    
  • Step 2: Populate RevisionInfo object:
    Code Block
    
    RevisionInfo revInfo = new RevisionInfo();

...

  • 
    revInfo.setChangeAgent("change Agent Name");

...

  • 
    revInfo.setChangeInstruction("here goes the change Instructions");

...

  • 
    revInfo.setDescription("description of the resource");

...

  • 
    revInfo.setEditOrder(1L);

...

  • 
    revInfo.setRevisionDate(new Date());

...

  • 
    revInfo.setRevisionId(UUID.randomUUID().toString());
    
  • Step 3: Populate a modified property. Just modified isActive to 'true' and language to 'eng' in property 'propertyId1':
    Code Block
    
    Property prop = new Property();

...

  • 
    prop.setPropertyId("propertyId1");

...

  • 
    prop.setPropertyName("propertyName");

...

  • 
    prop.setIsActive(true);

...

  • 
    prop.setLanguage("eng");
    
  • Step 4: call update property method by passing the code system , concept domain information and the modified property:
    Code Block
    
    boolean updated = cdAuthOp.updateConceptDomainProperty("CD0001", "Automobiles-CD", prop, "Automobiles", "1.0", revInfo);

...

  • 
    

Remove Operations

Remove operation provides capability to remove concept domain, its property and its binding to value set.

...

This function provides capability to remove a concept domain.

removeConceptDomain(String conceptDomainId, String namespace, String codeSystemNameOrURI, String codeSystemVersion, RevisionInfo revisionInfo)

*Description: *

Removes a concept domain from code system.

*Input: *

  • java.lang.String conceptDomainId - (Mandatory) Identifier of a Concept Domain to be removed.
  • java.lang.String namespace - (Mandatory) Namespace of a Concept Domain to be removed.
  • java.lang.String codeSystemNameOrURI - (Mandatory) Name or URI of a Code System that contains the concept domain to be removed.
  • java.lang.String codeSystemVersion - (Mandatory) Version of a Code System that contains the concept domain to be removed.
  • org.lexevs.cts2.core.update.RevisionInfo revision - (Mandatory) Contains revision information like unique RevisionId, change description, author information etc.

...

*Output: *

boolean - True; if remove was success

...

*Exception: *

org.LexGrid.LexBIG.Exceptions.LBException

...

*Sample Call: *

  • Step 1: Instantiate ConceptDomainAuthoringOperation if it is not done yet:
    Code Block
    
    org.lexevs.cts2.author.ConceptDomainAuthoringOperation cdAuthorOp = LexEvsCTS2Impl.defaultInstance().getAuthoringOperation().getConceptDomainAuthoringOperation();
    
  • Step 2: Populate RevisionInfo object:
    Code Block
    
    RevisionInfo revInfo = new RevisionInfo();

...

  • 
    revInfo.setChangeAgent("change Agent Name");

...

  • 
    revInfo.setChangeInstruction("here goes the change Instructions");

...

  • 
    revInfo.setDescription("description of the resource");

...

  • 
    revInfo.setEditOrder(1L);

...

  • revInfo.setRevisionDate(new Date());

...

  • 
    revInfo.setRevisionId(UUID.randomUUID().toString());

...

  • 
    * _Step 3:_ call remove concept domain method by passing the code system and concept domain information:
    
    boolean removed = cdAuthOp.deleteConcept("CD0001", "Automobiles-CD", "urn:oid:11.11.0.99", "1.0", revInfo);

...

  • Code Block
     |
    
    
    h4. removeConceptDomainProperty
    This function provides capability to remove property of a concept domain. 
    
    {{removeConceptDomainProperty(String conceptDomainId, String namespace, Property property, String codeSystemNameOrURI, String codeSystemVersion, RevisionInfo revisionInfo)}}
    
    | *Description:* | Removes a property of a concept domain. |
    | *Input:* | * *_

removeConceptDomainProperty

This function provides capability to remove property of a concept domain.

*Description: *

Removes a property of a concept domain.

*Input: *

  • java.lang.String conceptDomainId_* - (*Mandatory*) Concept Domain identifier that contains the property.

...

  • 
    * *_java.lang.String namespace_* - (*Mandatory*) Namespace of a concept domain that contains the property.

...

  • 
    * *_org.LexGrid.commonType.Property property_* - (*Mandatory*) Property that needs to be removed.

...

  • 
    * *_java.lang.String codeSystemNameOrURI_* - (*Mandatory*) Code System URI/name that contains the concept domain.

...

  • 
    * *_java.lang.String representsVersion_* - (*Mandatory*) Version of the Code System that contains the concept domain.

...

  • 
    * *_org.lexevs.cts2.core.update.RevisionInfo revision_* - (*Mandatory*) Contains revision information like unique RevisionId, change description, author information etc. |
    |

...

  •  *Output:*

...

  •  |  *_boolean_* - True; if remove was success |
    |

...

  •  *Exception:*
  •  |  *_org.LexGrid.LexBIG.Exceptions.LBException_* |
    |

...

  •  *Sample Call:
*

...

  • * | * _Step 1:_ Instantiate ConceptDomainAuthoringOperation if it is not done yet:
    
    org.lexevs.cts2.author.ConceptDomainAuthoringOperation cdAuthorOp = LexEvsCTS2Impl.defaultInstance().getAuthoringOperation().getConceptDomainAuthoringOperation();
    Code Block
    
    * _Step 2:_ Populate RevisionInfo object:
    
    RevisionInfo revInfo = new RevisionInfo();
    revInfo.setChangeAgent("change Agent Name");
    revInfo.setChangeInstruction("here goes the change Instructions");
    revInfo.setDescription("description of the resource");
    revInfo.setEditOrder(1L);
    revInfo.setRevisionDate(new Date());
    revInfo.setRevisionId(UUID.randomUUID().toString());
    Code Block
    
    * _Step 3:_ Populate property that needs to be removed:
    
    Property propertyToRemove = new Property();
    propertyToRemove.setPropertyId("p1");
    Code Block
    
    * _Step 4:_ Call remove property method by passing the code system, concept domain and property information:
    
    boolean removed = cdAuthOp.removeConceptDomainProperty("CD0001", "Automobiles-CD", propertyToRemove, "urn:oid:11.11.0.99", "1.0", revInfo);

...

  • Code Block
     |
    
    
    h4. removeConceptDomainToValueSetBinding
    This function provides capability to remove value set to concept domain binding. 
    
    {{removeConceptDomainToValueSetBinding(String conceptDomainId, String namespace, String codeSystemNameOrURI, String codeSystemVersion, URI valueSetURI, RevisionInfo revisionInfo)}
    
    | *Description:* | Removes value set to concept domain binding. |
    | *Input:* | * *_

removeConceptDomainToValueSetBinding

This function provides capability to remove value set to concept domain binding.

*Description: *

Removes value set to concept domain binding.

*Input: *

  • java.lang.String conceptDomainId_* - (*Mandatory*) Concept Domain identifier.

...

  • 
    * *_java.lang.String namespace_* - (*Mandatory*) Namespace of a concept domain

...

  • 
    * *_java.lang.String codeSystemNameOrURI_* - (*Mandatory*) Code System URI/name that contains the concept domain.

...

  • 
    * *_java.lang.String representsVersion_* - (*Mandatory*) Version of the Code System that contains the concept domain.

...

  • 
    * *_java.net.UIR valueSetURI_* - (*Mandatory*) URI of a value set.

...

  • 
    * *_org.lexevs.cts2.core.update.RevisionInfo revision_* - (*Mandatory*) Contains revision information like unique RevisionId, change description, author information etc. |

...

  • 
    | *Output:
*

...

  • * | *_boolean_* - True; if binding remove was success |
    |

...

  •  *Exception:* | *
  • _org.LexGrid.LexBIG.Exceptions.LBException_* |
    |

...

  •  *Sample Call:*

...

  •  | * _Step 1:_ Instantiate ConceptDomainAuthoringOperation if it is not done yet:
    
    org.lexevs.cts2.author.ConceptDomainAuthoringOperation cdAuthorOp = LexEvsCTS2Impl.defaultInstance().getAuthoringOperation().getConceptDomainAuthoringOperation();
    Code Block
    
    * _Step 2:_ Populate RevisionInfo object:
    

...

  • revisionInfo revInfo = new RevisionInfo();
    revInfo.setChangeAgent("change Agent Name");
    revInfo.setChangeInstruction("here goes the change Instructions");
    revInfo.setDescription("description of the resource");
    revInfo.setEditOrder(1L);
    revInfo.setRevisionDate(new Date());
    revInfo.setRevisionId(UUID.randomUUID().toString());
    Code Block
    
    * _Step 3:_ Call remove binding method by passing the code system, concept domain and value set information:
    
    boolean removed = cdAuthOp.removeConceptDomainToValueSetBinding("CD0001", "Automobiles-CD", "urn:oid:11.11.0.99", "1.0", "some_value_set_uri", revInfo);

...

Versionable Change Operations

Versionable Change operation provides capability to modify versionable attributes of Concept Domain like Status, Effective Date, Expiration Date, isActive and Owner.

updateConceptDomainStatus

This function modifies the status of a concept domain.

...

*Description: *

...

Modifies the status of a concept domain.

...

*Input: *

...

  • Code Block
     |
    
    
    h3. Versionable Change Operations
    Versionable Change operation provides capability to modify versionable attributes of Concept Domain like Status, Effective Date, Expiration Date, isActive and Owner.
    
    h4. updateConceptDomainStatus
    This function modifies the status of a concept domain. 
    
    {{updateConceptDomainStatus(String conceptDomainId, String namespace, String newStatus, String codeSystemNameOrURI, String codeSystemVersion, RevisionInfo revisionInfo)}
    
    | *Description:* | Modifies the status of a concept domain. |
    | *Input:* | * *_java.lang.String conceptDomainId_* - (*Mandatory*) identifier of a concept domain.
    * *_java.lang.String namespace_* - (*Mandatory*) Mamespace of a concept domain.
    * *_java.lang.String status_* - (*Mandatory*) Modified status value.
    * *_java.lang.String codeSystemNameOrURI_* - (*Mandatory*) Code System URI that contains the concept domain.
    * *_java.lang.String codeSystemVersion_* - (*Mandatory*) Version of the Code System that contains the concept domain.
    * *_org.lexevs.cts2.core.update.RevisionInfo revision_* - (*Mandatory*) Contains revision information like unique RevisionId, change description, author information etc. |

...

  • 
    | *Output: *

...

  •  | *_boolean_* - True; if update was success |

...

  • 
    | *Exception: * | *
  • _org.LexGrid.LexBIG.Exceptions.LBException_* |
    |

...

  •  *Sample Call:
*

...

  •  * | * _Step 1:_ Instantiate ConceptDomainAuthoringOperation if it is not done yet:
    
    org.lexevs.cts2.author.ConceptDomainAuthoringOperation cdAuthorOp = LexEvsCTS2Impl.defaultInstance().getAuthoringOperation().getConceptDomainAuthoringOperation();
    Code Block
    
    * _Step 2:_ Populate RevisionInfo object:
    

...

  • revisionInfo revInfo = new RevisionInfo();
    revInfo.setChangeAgent("change Agent Name");
    revInfo.setChangeInstruction("here goes the change Instructions");
    revInfo.setDescription("description of the resource");
    revInfo.setEditOrder(1L);
    revInfo.setRevisionDate(new Date());
    revInfo.setRevisionId(UUID.randomUUID().toString());
    Code Block
    
    * _Step 2:_ Call status change method by passing the code system, concept domain and status information:
    
    boolean changed = cdAuthOp.updateConceptDomainStatus("CD00001", "Automobiles-CD", "Active", "urn:oid:11.11.0.99", "1.0", revInfo);

...

  • Code Block
     |
    
    
    h4. activateConceptDomain
    This function activates concept domain so that it can be accessed in the terminology service. 
    
    {{activateConceptDomain(String conceptDomainId, String namespace, String codeSystemNameOrURI, String codeSystemVersion, RevisionInfo revisionInfo)}}
    
    | *Description:* | Activates concept domain. |
    | *Input:* | * *_

activateConceptDomain

This function activates concept domain so that it can be accessed in the terminology service.

*Description: *

Activates concept domain.

*Input: *

  • java.lang.String conceptDomainId_* - (*Mandatory*) identifier of a concept

...

  •  domain.
    * *_java.lang.String namespace_* - (*Mandatory*) Mamespace of a concept domain.

...

  • 
    * *_java.lang.String codeSystemNameOrURI_* - (*Mandatory*) Code System URI that contains the concept domain.

...

  • 
    * *_java.lang.String codeSystemVersion_* - (*Mandatory*) Version of the Code System that contains the concept domain.

...

  • 
    * *_org.lexevs.cts2.core.update.RevisionInfo revision_* - (*Mandatory*) Contains revision information like unique RevisionId, change description, author information etc. |

...

  • 
    | *Output:* | *
  • _boolean_* - True; if activation was success |

...

  • 
    | *Exception:* | *
  • _org.LexGrid.LexBIG.Exceptions.LBException

...

  • _* |
    | *Sample Call:
*

...

  • * | * _Step 1:_ Instantiate ConceptDomainAuthoringOperation if it is not done yet:
    
    org.lexevs.cts2.author.ConceptDomainAuthoringOperation cdAuthorOp = LexEvsCTS2Impl.defaultInstance().getAuthoringOperation().getConceptDomainAuthoringOperation();
    Code Block
    
    * _Step 2:_ Populate RevisionInfo object:
    

...

  • revisionInfo revInfo = new RevisionInfo();
    revInfo.setChangeAgent("change Agent Name");
    revInfo.setChangeInstruction("here goes the change Instructions");
    revInfo.setDescription("description of the resource");
    revInfo.setEditOrder(1L);
    revInfo.setRevisionDate(new Date());
    revInfo.setRevisionId(UUID.randomUUID().toString());
    Code Block
    
    * _Step 2:_ Call activate method by passing the code system and concept domain information:
    
    boolean activated = cdAuthOp.activateConceptDomain("CD00001", "Automobiles-CD", "urn:oid:11.11.0.99", "1.0", revInfo);

...

  • Code Block
     |
    
    
    h4. deactivateConceptDomain
    This function deactivates concept domain so that it can no longer be accessed in the terminology service. 
    
    {{deactivateConceptDomain(String conceptDomainId, String namespace, String codeSystemNameOrURI, String codeSystemVersion, RevisionInfo revisionInfo)}}
    
    | *Description:* | Deactivates concept domain. |
    | *Input:* | * *_

deactivateConceptDomain

This function deactivates concept domain so that it can no longer be accessed in the terminology service.

*Description: *

Deactivates concept domain.

*Input: *

  • java.lang.String conceptDomainId_* - (*Mandatory*) identifier of a concept domain.

...

  • 
    * *_java.lang.String namespace_* - (*Mandatory*) Mamespace of a concept domain.

...

  • 
    * *_java.lang.String codeSystemNameOrURI_* - (*Mandatory*) Code System URI that contains the concept domain.

...

  • 
    * *_java.lang.String codeSystemVersion_* - (*Mandatory*) Version of the Code System that contains the concept domain.

...

  • 
    * *_org.lexevs.cts2.core.update.RevisionInfo revision_* - (*Mandatory*) Contains revision information like unique RevisionId, change description, author information etc. |
    |

...

  •  *Output:*

...

  •  | *_boolean_* - True; if deactivation was success |
    |

...

  •  *Exception:* | *
  • _org.LexGrid.LexBIG.Exceptions.LBException

...

  • _* |
    | *Sample Call:*

...

  •  | * _Step 1:_ Instantiate ConceptDomainAuthoringOperation if it is not done yet:
    
    org.lexevs.cts2.author.ConceptDomainAuthoringOperation cdAuthorOp = LexEvsCTS2Impl.defaultInstance().getAuthoringOperation().getConceptDomainAuthoringOperation();
    Code Block
    
    * _Step 2:_ Populate RevisionInfo object:
    

...

  • revisionInfo revInfo = new RevisionInfo();
    revInfo.setChangeAgent("change Agent Name");
    revInfo.setChangeInstruction("here goes the change Instructions");
    revInfo.setDescription("description of the resource");
    revInfo.setEditOrder(1L);
    revInfo.setRevisionDate(new Date());
    revInfo.setRevisionId(UUID.randomUUID().toString());

...

  • Code Block
    
    * _Step 

...

  • 2:_ Call deactivate method by passing the code system and concept domain information:
    
    boolean deactivated = cdAuthOp.deactivateConceptDomain("CD00001", "Automobiles-CD", "urn:oid:11.11.0.99", "1.0", revInfo);

...

updateConceptDomainVersionable

This function provides capability to modify concept domain versionable attributes like effective date, expiration date, owner, status etc.

...

*Description: *

...

Update concept domain versionable attributes like effective date, expiration date, owner, status etc.

...

*Input: *

...

  • Code Block
     |
    
    
    h4. updateConceptDomainVersionable
    This function provides capability to modify concept domain versionable attributes like effective date, expiration date, owner, status etc.
    
    {{updateConceptDomainVersionable(String conceptDomainId, String namespace, Versionable changedVersionable, String codeSystemNameOrURI, String codeSystemVersion, RevisionInfo revisionInfo)}}
    
    | *Description:* | Update concept domain versionable attributes like effective date, expiration date, owner, status etc. |
    | *Input:* | * *_java.lang.String conceptDomainId_* - (*Mandatory*) identifier of a concept domain.
    * *_java.lang.String namespace_* - (*Mandatory*) Mamespace of a concept domain.
    * *_org.LexGrid.commonTypes.Versionable changedVersionable_* - (*Mandatory*) versionable (like:owner, effectiveDate, expirationDate, status etc)

...

  •  changes.
    * *_java.lang.String codeSystemNameOrURI_* - (*Mandatory*) Code System URI that contains the concept domain.

...

  • 
    * *_java.lang.String codeSystemVersion_* - (*Mandatory*) Version of the Code System that contains the concept domain.

...

  • 
    * *_org.lexevs.cts2.core.update.RevisionInfo revision_* - (*Mandatory*) Contains revision information like unique RevisionId, change description, author information etc. |

...

  • 
    | *Output:*

...

  •  | *_boolean_* - True; if update was success |
    |

...

  •  *Exception:* | *
  • _org.LexGrid.LexBIG.Exceptions.LBException_* |
    |

...

  •  *Sample Call:*

...

  •  | * _Step 1:_ Instantiate ConceptDomainAuthoringOperation if it is not done yet:
    
    org.lexevs.cts2.author.ConceptDomainAuthoringOperation cdAuthorOp = LexEvsCTS2Impl.defaultInstance().getAuthoringOperation().getConceptDomainAuthoringOperation();
    Code Block
    
    * _Step 2:_ Populate RevisionInfo object:
    

...

  • revisionInfo revInfo = new RevisionInfo();
    revInfo.setChangeAgent("change Agent Name");
    revInfo.setChangeInstruction("here goes the change Instructions");
    revInfo.setDescription("description of the resource");
    revInfo.setEditOrder(1L);
    revInfo.setRevisionDate(new Date());
    revInfo.setRevisionId(UUID.randomUUID().toString());
    Code Block
    
    * _Step 2:_ Populate versionable changes:
    
    Versionable changedVersionable = new Versionable();
    changedVersionable.setEffectiveDate(new Date());
    changedVersionable.setIsActive(true);
    changedVersionable.setOwner("new Owner");
    changedVersionable.setStatus("new status");
    Code Block
    
    * _Step 3:_ Call change versionable method by passing the code system, concept domain and changed versionable information:
    
    boolean changed = cdAuthOp.updateConceptDomainVersionable("CD00001", "Automobiles-CD", changedVersionable, "urn:oid:11.11.0.99", "1.0", revInfo);

...

  • Code Block
Scrollbar
iconsfalse