Current Build

Extension: abatement

Patient Care Work Group Maturity Level: 1InformativeUse Context: Any

URL for this extension:

http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement

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

The approximate date, age, or flag indicating that the condition of the family member resolved. The abatement should only be specified if the condition is stated in the positive sense, i.e., the didNotHave flag is false.

Context of Use: Use on element: FamilyMemberHistory.condition

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

Extension Content

Summary

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..1date, Age, booleanURL = http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement
abatement: The approximate date, age, or flag indicating that the condition of the family member resolved. The abatement should only be specified if the condition is stated in the positive sense, i.e., the didNotHave flag is false.
Use on element: FamilyMemberHistory.condition

doco Documentation for this format

Full Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..1ExtensionURL = http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement
abatement: The approximate date, age, or flag indicating that the condition of the family member resolved. The abatement should only be specified if the condition is stated in the positive sense, i.e., the didNotHave flag is false.
Use on element: FamilyMemberHistory.condition
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement"
... value[x] 1..1date, Age, booleanValue of extension

doco Documentation for this format

XML Template

<!-- abatement -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement" >
  <!-- from Element: extension -->
 <value[x]><!-- 1..1 date|Age|boolean Value of extension --></value[x]>
</extension>

JSON Template

{ // abatement
  // from Element: extension
    "extension" : [ //  sliced by value:url  in the specified orderOpen
    ],
    "url" : "http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement", // R! 
// value[x]: Value of extension. One of these 3:
    "valueDate" : "<date>" // R! Value of extension
    "valueAge" : { Age }, // R! Value of extension
    "valueBoolean" : <boolean>, // R! Value of extension
  }

Summary

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..1date, Age, booleanURL = http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement
abatement: The approximate date, age, or flag indicating that the condition of the family member resolved. The abatement should only be specified if the condition is stated in the positive sense, i.e., the didNotHave flag is false.
Use on element: FamilyMemberHistory.condition

doco Documentation for this format

Full Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..1ExtensionURL = http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement
abatement: The approximate date, age, or flag indicating that the condition of the family member resolved. The abatement should only be specified if the condition is stated in the positive sense, i.e., the didNotHave flag is false.
Use on element: FamilyMemberHistory.condition
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement"
... value[x] 1..1date, Age, booleanValue of extension

doco Documentation for this format

XML Template

<!-- abatement -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement" >
  <!-- from Element: extension -->
 <value[x]><!-- 1..1 date|Age|boolean Value of extension --></value[x]>
</extension>

JSON Template

{ // abatement
  // from Element: extension
    "extension" : [ //  sliced by value:url  in the specified orderOpen
    ],
    "url" : "http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement", // R! 
// value[x]: Value of extension. One of these 3:
    "valueDate" : "<date>" // R! Value of extension
    "valueAge" : { Age }, // R! Value of extension
    "valueBoolean" : <boolean>, // R! Value of extension
  }

 

Constraints

  • ele-1: All FHIR elements must have a @value or children (xpath: @value|f:*|h:div)
  • ext-1: Must have either extensions or value[x], not both (xpath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]))