Page History
...
Here are the authoring functions that can be performed on code system and its contents:
...
- Create - This function provides capability to create:
- New Code System
- Add new property to Code System
- New Concept
- Add new property to Concept
- New AssociationType
- New Code System Supplimentpanel *
- Edit - This function provides capability to update:
- Code System metadata
- Property of a Code System
- Concept metadata
- Property of a Concept
- AssociationTypepanel *
- Remove - This function provides capability to remove:
- Entire Code System
- Property of a Code System
- Concept
- Property of a Conceptpanel *
- Status Change - This function provides capability to update Status attributes:
- Code System Status
- Concept Status
...
org.lexevs.cts2.author.CodeSystemAuthoringOperation is the main interface for all the authoring operations against Code System. This interface can be accessed using main LexEVSCTS2 interface, like:<source>
Code Block |
---|
org.lexevs.cts2.author.CodeSystemAuthoringOperation csAuthOp = new org.lexevs.cts2.LexEvsCTS2Impl().getAuthoringOperation().getCodeSystemAuthoringOperation(); |
...
|
Revision Information
All the authoring functions described here requires information about the author and revision/version id to be assigned to entities for each of these operations. These is done passing object
org.lexevs.cts2.core.update.RevisionInfo RevisionInfo object has following attributes:
...
- java.lang.String changeAgent - (Optional) The source that participated in this particular change.
- java.lang.String changeInstruction - (Optional) A human or machine readable set of instructions on how to apply this change.
- java.lang.String revisionId - (Mandatory) The unique identifier of this revision.
- java.lang.Long editOrder - (Optional) The relative order that this revision is to be applied if in a systemRelease.
- java.util.Date revisionDate - (Optional) The end date for which this version is operative (considered commited).
- java.lang.String description - (Optional) The description of the resource/change.
- java.lang.String systemReleaseURI - (Optional) The official URI of this release
Authoring Functions
Following sections contains detailed functions provided by CodeSystemAuthoringOperation interface.
...
This function provides capability to create a new Code System to contain a set of new coded concepts. The Code System is created by defining the set of meta-data properties that describe it. At this point there no concepts are added.
...
*Description: *
...
Creates new coding system.
...
*Input: *
...
Code Block |
---|
createCodeSystem(RevisionInfo revision, String codingSchemeName, String codingSchemeURI, String formalName, String defaultLanguage, long approxNumConcepts, String representsVersion, List<String> localNameList, List<org.LexGrid.commonTypes.Source> sourceList, Text copyright, Mappings mappings)
|
Description: | Creates new coding system. |
Input: |
|
...
*Output: * |
...
org.LexGrid.codingSchemes.CodingScheme - Created Code System |
...
*Exception: * |
...
org.LexGrid.LexBIG.Exceptions.LBException |
...
*Sample Call: * |
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
addCodeSystemProperties
This function provides capability to add new properties to Code System.
addCodeSystemProperties(RevisionInfo revision, String codingSchemeName, String codingSchemeURI, String representsVersion, Properties properties)
*Description: * | Adds new properties to code system. |
*Input: * |
...
|
...
*Output: * |
...
org.LexGrid.codingSchemes.CodingScheme - Updated Code System |
...
*Exception: * |
...
org.LexGrid.LexBIG.Exceptions.LBException |
...
*Sample Call: * |
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
createCodeSystemSuppliment
...