DSTU2 STU 3 Ballot
This page is part of the FHIR Specification (v1.0.2: DSTU 2). The current version which supercedes this version is

This page is part of the FHIR Specification (v1.6.0: STU 3 Ballot 4). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see the Directory of published versions . For a full list of available versions, see the Directory of published versions . Page versions: . Page versions: R4B R4 R3 R2

Extension: How long Manifestations persisted

URL for this extension:



http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration

Status:
draft.
Extension
maintained
by:
Health
Level
Seven,
Inc.
-
FHIR
WG
The
amount
of
time
that
the
Adverse
Reaction
persisted.
Context
of
Use:
Use
on
element:
AllergyIntolerance.reaction
usage
info:
insert
a
list
of
places
where
this
extension
is
used

Status: draft. Extension maintained by: Health Level Seven, Inc. - FHIR WG

The amount of time that the Adverse Reaction persisted.

Context of Use: Use on element: AllergyIntolerance.reaction

usage info: insert a list of places where this extension is used

Extension Content

Extension Content

Summary

Name Flags Card. Type Description & Constraints Description & Constraints doco
. . extension 0..1 Duration URL = http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration URL = http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration
How long Manifestations persisted: The amount of time that the Adverse Reaction persisted. How long Manifestations persisted: The amount of time that the Adverse Reaction persisted.
Use on element: AllergyIntolerance.reaction Use on element: AllergyIntolerance.reaction

Documentation for this format doco Documentation for this format

Fulle Structure Fulle Structure

∑ I
Name Flags Card. Type Description & Constraints Description & Constraints doco
. . extension 0..1 Extension URL = http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration URL = http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration
How long Manifestations persisted: The amount of time that the Adverse Reaction persisted. How long Manifestations persisted: The amount of time that the Adverse Reaction persisted.
Use on element: AllergyIntolerance.reaction Use on element: AllergyIntolerance.reaction
. . . extension 0 .. 0
. . . url 1..1 uri "http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration"
. . valueQuantity . valueDuration 1..1 Duration A length of time qty-3: If a code for the unit is present, the system SHALL also be present drt-1: There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. Value of extension

Documentation for this format doco Documentation for this format

XML Template XML Template

<!-- How long Manifestations persisted -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration" >
  <!-- from Element: extension -->
 <</valueQuantity>

 <valueDuration><!-- 1..1 Duration Value of extension --></valueDuration>

</extension>

JSON Template JSON Template

{ // How long Manifestations persisted
  // from Element: extension
    "url" : "http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration", // R! 
    "

    "valueDuration" : { Duration } // R! Value of extension

  }

Summary

Name Flags Card. Type Description & Constraints Description & Constraints doco
. . extension 0..1 Duration URL = http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration URL = http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration
How long Manifestations persisted: The amount of time that the Adverse Reaction persisted. How long Manifestations persisted: The amount of time that the Adverse Reaction persisted.
Use on element: AllergyIntolerance.reaction Use on element: AllergyIntolerance.reaction

Documentation for this format doco Documentation for this format

Full Structure Full Structure

∑ I
Name Flags Card. Type Description & Constraints Description & Constraints doco
. . extension 0..1 Extension URL = http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration URL = http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration
How long Manifestations persisted: The amount of time that the Adverse Reaction persisted. How long Manifestations persisted: The amount of time that the Adverse Reaction persisted.
Use on element: AllergyIntolerance.reaction Use on element: AllergyIntolerance.reaction
. . . extension 0 .. 0
. . . url 1..1 uri "http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration"
. . valueQuantity . valueDuration 1..1 Duration A length of time qty-3: If a code for the unit is present, the system SHALL also be present drt-1: There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. Value of extension

Documentation for this format doco Documentation for this format

XML Template XML Template

<!-- How long Manifestations persisted -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration" >
  <!-- from Element: extension -->
 <</valueQuantity>

 <valueDuration><!-- 1..1 Duration Value of extension --></valueDuration>

</extension>

JSON Template JSON Template

{ // How long Manifestations persisted
  // from Element: extension
    "url" : "http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration", // R! 
    "

    "valueDuration" : { Duration } // R! Value of extension

  }

 

Constraints

  • qty-3 : On Extension.valueQuantity: If a code for the unit is present, the system SHALL also be present (xpath on f:Extension/f:valueQuantity: not(exists(f:code)) or exists(f:system) ele-1 : All FHIR elements must have a @value or children (xpath: @value|f:*|h:div )
  • drt-1 : On Extension.valueQuantity: There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. (xpath on f:Extension/f:valueQuantity: (f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='http://unitsofmeasure.org') ext-1 : Must have either extensions or value[x], not both (xpath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]) )
  • © HL7.org 2011+. FHIR DSTU2 (v1.0.2-7202) generated on Sat, Oct 24, 2015 07:43+1100. Links: