Release 4

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 ID FamilyMemberHistory.condition

Extension Content

Summary

NameFlagsCard.TypeDescription & Constraintsdoco
.. abatement0..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 ID 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 ID FamilyMemberHistory.condition
... extension I0..0
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement"
... value[x] I1..1Value of extension
.... valueDatedate
.... valueAgeAge
.... valueBooleanboolean

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 order, Open ]
    "url" : "http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement", // R! 
// value[x]: Value of extension. One of these 3:
    "valueDate" : "<date>" // C? R! Value of extension
    "valueAge" : { Age }, // C? R! Value of extension
    "valueBoolean" : <boolean>, // C? R! Value of extension
  }

Summary

NameFlagsCard.TypeDescription & Constraintsdoco
.. abatement0..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 ID 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 ID FamilyMemberHistory.condition
... extension I0..0
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement"
... value[x] I1..1Value of extension
.... valueDatedate
.... valueAgeAge
.... valueBooleanboolean

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 order, Open ]
    "url" : "http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement", // R! 
// value[x]: Value of extension. One of these 3:
    "valueDate" : "<date>" // C? R! Value of extension
    "valueAge" : { Age }, // C? R! Value of extension
    "valueBoolean" : <boolean>, // C? 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')]))
  • ele-1: On Extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension: @value|f:*|h:div)
  • ext-1: On Extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]))
  • ele-1: On Extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.value[x]: @value|f:*|h:div)