Schema Central > LEXS 4.0 > lexs-digest.xsd > lexsdigest:EntityDrug
Advanced search
Need NIEM Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

lexsdigest:EntityDrug

A drug Entity.

Element information

Type: lexsdigest:EntityDrugType

Properties: Global, Qualified, Nillable

Content

Attributes

NameOccTypeDescriptionNotes
s:id [0..1]xsd:IDfrom type s:ComplexObjectType
s:metadata [0..1]xsd:IDREFSfrom type s:ComplexObjectType
s:linkMetadata [0..1]xsd:IDREFSfrom type s:ComplexObjectType

Used in

Substitution hierarchy

Sample instance

<lexsdigest:EntityDrug>
   <lexsdigest:Metadata s:id="MDrug1">
      <nc:CommentText>This is a comment.</nc:CommentText>
      <nc:LastUpdatedDate>
         <nc:Date>1970-06-19</nc:Date>
      </nc:LastUpdatedDate>
   </lexsdigest:Metadata>
   <nc:Drug            s:id="Drug1"
            s:metadata="MDrug1">
      <nc:ItemDescriptionText>Cocaine powder seized from subject</nc:ItemDescriptionText>
      <nc:ItemStatus>
         <nc:StatusText>Held for evidence</nc:StatusText>
      </nc:ItemStatus>
      <nc:ItemValue>
         <nc:ItemValueAmount nc:currencyCode="USD">100</nc:ItemValueAmount>
         <nc:ItemValueDate>
            <nc:Date>1967-08-13</nc:Date>
         </nc:ItemValueDate>
         <nc:ItemValueDescriptionText>Estimated street value</nc:ItemValueDescriptionText>
      </nc:ItemValue>
      <nc:ItemCategoryText>Drugs</nc:ItemCategoryText>
      <nc:ItemColorDescriptionText>Pale white</nc:ItemColorDescriptionText>
      <nc:ItemQuantity>1</nc:ItemQuantity>
      <nc:ItemSizeDescriptionText>small packet</nc:ItemSizeDescriptionText>
      <nc:SubstanceCategoryText>Amphetamine</nc:SubstanceCategoryText>
      <j:DrugDEACode>A1</j:DrugDEACode>
      <nc:SubstanceContainerDescriptionText>plastic bag</nc:SubstanceContainerDescriptionText>
      <nc:SubstanceQuantityMeasure>
         <nc:MeasurePointValue>1</nc:MeasurePointValue>
         <nc:SubstanceUnitCode>OZ</nc:SubstanceUnitCode>
      </nc:SubstanceQuantityMeasure>
      <nc:SubstanceCompositionDescriptionText>Crystalline</nc:SubstanceCompositionDescriptionText>
      <nc:SubstanceFormText>white powder</nc:SubstanceFormText>
      <nc:SubstanceFoundDescriptionText>in subject pocket</nc:SubstanceFoundDescriptionText>
   </nc:Drug>
</lexsdigest:EntityDrug>

Site developed and hosted by Datypic, Inc.

Please report errors or comments about this site to contrib@functx.com