ca.infoway.messagebuilder.terminology.codeset.domain
Class CodeSystem

Package class diagram package CodeSystem
java.lang.Object
  extended by ca.infoway.messagebuilder.terminology.codeset.domain.CodeSystem

public class CodeSystem
extends Object

A system of coded values that describe alternatives for a particular concept.

Author:
Intelliware Development

Constructor Summary
CodeSystem()
          Instantiates a new code system.
 
Method Summary
 int compareTo(Object obj)
          Compare to.
 boolean equals(Object o)
          
 String getDescription()
          Gets the description.
 Long getId()
          Gets the id.
 String getName()
          Gets the name.
 String getOid()
          Gets the oid.
 String getOwningOrganization()
          The name of the organization that has responsibility for the code system.
 int hashCode()
          
 void setDescription(String description)
          Sets the description.
 void setId(Long id)
          Sets the id.
 void setName(String name)
          Sets the name.
 void setOid(String oid)
          Sets the oid.
 void setOwningOrganization(String owningOrganization)
          Sets the owning organization.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeSystem

public CodeSystem()

Instantiates a new code system.

Method Detail

getId

public Long getId()

Gets the id.

Returns:
the id

setId

public void setId(Long id)

Sets the id.

Parameters:
id - the new id

getName

public String getName()

Gets the name.

Returns:
the name

setName

public void setName(String name)

Sets the name.

Parameters:
name - the new name

getOid

public String getOid()

Gets the oid.

Returns:
the oid

setOid

public void setOid(String oid)

Sets the oid.

Parameters:
oid - the new oid

getDescription

public String getDescription()

Gets the description.

Returns:
the description

setDescription

public void setDescription(String description)

Sets the description.

Parameters:
description - the new description

compareTo

public int compareTo(Object obj)

Compare to.

Parameters:
obj - the obj
Returns:
the int

equals

public boolean equals(Object o)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object

getOwningOrganization

public String getOwningOrganization()

The name of the organization that has responsibility for the code system. For example, the list of Alpha-2 language codes that represent HumanLanguage is associated with code system 2.16.840.1.113883.6.84 is controlled by IETF. Thus, the owning organization name is "IETF".

Returns:
the name of the owning organization.

setOwningOrganization

public void setOwningOrganization(String owningOrganization)

Sets the owning organization.

Parameters:
owningOrganization - the new owning organization


Copyright © 2013. All Rights Reserved.