Schema Central  >  LEXS 3.1.4  >  niem-core.xsd  >  nc:Drug
Advanced search
Need NIEM Help?

Recommended Reading:

Definitive XML Schema

 

Advanced XML Applications

 

nc:Drug

A legal or illegal substance that can be used as a medicine or a narcotic.

Element information

Namespace: http://niem.gov/niem/niem-core/2.0

Schema document: niem-constrained/niem-core/2.0/niem-core.xsd

Type: nc:DrugType

Properties: Global, Qualified, Nillable

Content

Attributes

NameOccTypeDescriptionNotes
s:id [0..1]xsd:IDThe id attribute is used to define XML IDs for NIEM objects. These IDs may be targets of reference elements, metadata attributes, and link metadata attributes.from type s:ComplexObjectType
s:metadata [0..1]xsd:IDREFSThe attribute metadata allows an object to point to metadata that affects itself.from type s:ComplexObjectType
s:linkMetadata [0..1]xsd:IDREFSThe linkMetadata attribute allows an element to point to metadata that affects the relationship between the context and the value of the object.from type s:ComplexObjectType

Used in

Sample instance

<nc:Drug s:id="Drug1"
         s:metadata="MDrug1">
   <nc:ItemValue>
      <nc:ItemValueAmount>375</nc:ItemValueAmount>
   </nc:ItemValue>
   <j:DrugDEACode>A1</j:DrugDEACode>
   <nc:SubstanceQuantityMeasure>
      <nc:MeasurePointValue>5</nc:MeasurePointValue>
      <nc:SubstanceUnitCode>NP</nc:SubstanceUnitCode>
   </nc:SubstanceQuantityMeasure>
</nc:Drug>