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

Extension: Other associated conditions

URL for this extension:



http://hl7.org/fhir/StructureDefinition/encounter-relatedCondition

Status:
draft.
Extension
maintained
by:
Health
Level
Seven,
Inc.
-
FHIR
WG
The
conditions
considered
and
cared
for
within
this
encounter.
This
includes
items
such
as
reason
for
visit,
admission
diagnosis,
discharge
diagnosis,
chief
complaint.
Do
not
use
reason
or
indication
in
the
Action
class
to
specify
encounter-related
diagnoses.
Context
of
Use:
Use
on
element:
Encounter
usage
info:
insert
a
list
of
places
where
this
extension
is
used

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

The conditions considered and cared for within this encounter. This includes items such as reason for visit, admission diagnosis, discharge diagnosis, chief complaint. Do not use reason or indication in the Action class to specify encounter-related diagnoses.

Context of Use: Use on element: Encounter

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..* Extension URL = http://hl7.org/fhir/StructureDefinition/encounter-relatedCondition URL = http://hl7.org/fhir/StructureDefinition/encounter-relatedCondition
Other associated conditions: The conditions considered and cared for within this encounter. This includes items such as reason for visit, admission diagnosis, discharge diagnosis, chief complaint. Do not use reason or indication in the Action class to specify encounter-related diagnoses. Other associated conditions: The conditions considered and cared for within this encounter. This includes items such as reason for visit, admission diagnosis, discharge diagnosis, chief complaint. Do not use reason or indication in the Action class to specify encounter-related diagnoses.
Use on element: Encounter Use on element: Encounter
. . . condition 0..1 Reference ( Condition ) The reference to conditions related to this encounter, aside from the primary condition. The reference to conditions related to this encounter, aside from the primary condition.
. . . role 0..1 CodeableConcept The role of the condition within this encounter, e.g. chief complaint, admission diagnosis, discharge diagnosis, comorbidity. The role of the condition within this encounter, e.g. chief complaint, admission diagnosis, discharge diagnosis, comorbidity.

Documentation for this format doco Documentation for this format

Fulle Structure Fulle Structure

Name Flags Card. Type Description & Constraints Description & Constraints doco
. . extension 0..* Extension URL = http://hl7.org/fhir/StructureDefinition/encounter-relatedCondition URL = http://hl7.org/fhir/StructureDefinition/encounter-relatedCondition
Other associated conditions: The conditions considered and cared for within this encounter. This includes items such as reason for visit, admission diagnosis, discharge diagnosis, chief complaint. Do not use reason or indication in the Action class to specify encounter-related diagnoses. Other associated conditions: The conditions considered and cared for within this encounter. This includes items such as reason for visit, admission diagnosis, discharge diagnosis, chief complaint. Do not use reason or indication in the Action class to specify encounter-related diagnoses.
Use on element: Encounter Use on element: Encounter
. . . extension 0..1 Extension A condition related to this encounter A condition related to this encounter
. . . . extension 0 .. 0
. . . . url 1..1 uri "condition"
. . . . valueReference 1..1 Reference ( Condition ) Value of extension Detailed information about conditions, problems or diagnoses
. . . extension 0..1 Extension The role of the condition The role of the condition
. . . . extension 0 .. 0
. . . . url 1..1 uri "role"
. . . . valueCodeableConcept 1..1 CodeableConcept Value of extension Value of extension
. . . url 1..1 uri "http://hl7.org/fhir/StructureDefinition/encounter-relatedCondition"
. . . valueReference 0..1 Reference ( Condition ) Value of extension Detailed information about conditions, problems or diagnoses

Documentation for this format doco Documentation for this format

XML Template XML Template

<!-- Other associated conditions -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/StructureDefinition/encounter-relatedCondition" >
 <-- extension sliced by url  in the specified orderOpen-->
 <extension url="condition"> 0..1 Extension  <!-- 0..1 A condition related to this encounter -->
  <
      Value of extension</valueReference>

  <valueReference><!-- 1..1 Reference(Condition) 
      Detailed information about conditions, problems or diagnoses --></valueReference>

 </extension>
 <extension url="role"> 0..1 Extension  <!-- 0..1 The role of the condition -->
  <valueCodeableConcept><!-- 1..1 CodeableConcept 
      Value of extension --></valueCodeableConcept>
 </extension>
 <</valueReference>

 <valueReference><!-- 0..1 Reference(Condition) 
     Detailed information about conditions, problems or diagnoses --></valueReference>

</extension>

JSON Template JSON Template

{ // Other associated conditions
    "

    "extension" : [ //  sliced by url  in the specified orderOpen

      { // A condition related to this encounter //
        // from Element: extension
        "url" : "condition", // R! 
        "

        "valueReference" : { Reference(Condition) } // R! Detailed information about conditions, problems or diagnoses

      },
      { // The role of the condition //
        // from Element: extension
        "url" : "role", // R! 
        "valueCodeableConcept" : { CodeableConcept } // R! Value of extension
      }
    ],
    "url" : "http://hl7.org/fhir/StructureDefinition/encounter-relatedCondition", // R! 
    "

    "valueReference" : { Reference(Condition) }, //Detailed information about conditions, problems or diagnoses

  }

Summary

Name Flags Card. Type Description & Constraints Description & Constraints doco
. . extension 0..* Extension URL = http://hl7.org/fhir/StructureDefinition/encounter-relatedCondition URL = http://hl7.org/fhir/StructureDefinition/encounter-relatedCondition
Other associated conditions: The conditions considered and cared for within this encounter. This includes items such as reason for visit, admission diagnosis, discharge diagnosis, chief complaint. Do not use reason or indication in the Action class to specify encounter-related diagnoses. Other associated conditions: The conditions considered and cared for within this encounter. This includes items such as reason for visit, admission diagnosis, discharge diagnosis, chief complaint. Do not use reason or indication in the Action class to specify encounter-related diagnoses.
Use on element: Encounter Use on element: Encounter
. . . condition 0..1 Reference ( Condition ) The reference to conditions related to this encounter, aside from the primary condition. The reference to conditions related to this encounter, aside from the primary condition.
. . . role 0..1 CodeableConcept The role of the condition within this encounter, e.g. chief complaint, admission diagnosis, discharge diagnosis, comorbidity. The role of the condition within this encounter, e.g. chief complaint, admission diagnosis, discharge diagnosis, comorbidity.

Documentation for this format doco Documentation for this format

Full Structure Full Structure

Name Flags Card. Type Description & Constraints Description & Constraints doco
. . extension 0..* Extension URL = http://hl7.org/fhir/StructureDefinition/encounter-relatedCondition URL = http://hl7.org/fhir/StructureDefinition/encounter-relatedCondition
Other associated conditions: The conditions considered and cared for within this encounter. This includes items such as reason for visit, admission diagnosis, discharge diagnosis, chief complaint. Do not use reason or indication in the Action class to specify encounter-related diagnoses. Other associated conditions: The conditions considered and cared for within this encounter. This includes items such as reason for visit, admission diagnosis, discharge diagnosis, chief complaint. Do not use reason or indication in the Action class to specify encounter-related diagnoses.
Use on element: Encounter Use on element: Encounter
. . . extension 0..1 Extension A condition related to this encounter A condition related to this encounter
. . . . extension 0 .. 0
. . . . url 1..1 uri "condition"
. . . . valueReference 1..1 Reference ( Condition ) Value of extension Detailed information about conditions, problems or diagnoses
. . . extension 0..1 Extension The role of the condition The role of the condition
. . . . extension 0 .. 0
. . . . url 1..1 uri "role"
. . . . valueCodeableConcept 1..1 CodeableConcept Value of extension Value of extension
. . . url 1..1 uri "http://hl7.org/fhir/StructureDefinition/encounter-relatedCondition"
. . . valueReference 0..1 Reference ( Condition ) Value of extension Detailed information about conditions, problems or diagnoses

Documentation for this format doco Documentation for this format

XML Template XML Template

<!-- Other associated conditions -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/StructureDefinition/encounter-relatedCondition" >
 <-- extension sliced by url  in the specified orderOpen-->
 <extension url="condition"> 0..1 Extension  <!-- 0..1 A condition related to this encounter -->
  <
      Value of extension</valueReference>

  <valueReference><!-- 1..1 Reference(Condition) 
      Detailed information about conditions, problems or diagnoses --></valueReference>

 </extension>
 <extension url="role"> 0..1 Extension  <!-- 0..1 The role of the condition -->
  <valueCodeableConcept><!-- 1..1 CodeableConcept 
      Value of extension --></valueCodeableConcept>
 </extension>
 <</valueReference>

 <valueReference><!-- 0..1 Reference(Condition) 
     Detailed information about conditions, problems or diagnoses --></valueReference>

</extension>

JSON Template JSON Template

{ // Other associated conditions
    "

    "extension" : [ //  sliced by url  in the specified orderOpen

      { // A condition related to this encounter //
        // from Element: extension
        "url" : "condition", // R! 
        "

        "valueReference" : { Reference(Condition) } // R! Detailed information about conditions, problems or diagnoses

      },
      { // The role of the condition //
        // from Element: extension
        "url" : "role", // R! 
        "valueCodeableConcept" : { CodeableConcept } // R! Value of extension
      }
    ],
    "url" : "http://hl7.org/fhir/StructureDefinition/encounter-relatedCondition", // R! 
    "

    "valueReference" : { Reference(Condition) }, //Detailed information about conditions, problems or diagnoses

  }

 

Constraints

© HL7.org 2011+. FHIR DSTU2 (v1.0.2-7202) generated on Sat, Oct 24, 2015 07:43+1100. Links: Search | Version History | Table of Contents | Compare to DSTU1 |
    | Propose a change
  • ele-1 : All FHIR elements must have a @value or children (xpath: @value|f:*|h:div try { var currentTabIndex = sessionStorage.getItem('fhir-resource-tab-index'); } catch(exception){ } if (!currentTabIndex) currentTabIndex = '0'; $( '#tabs' ).tabs({ active: currentTabIndex, activate: function( event, ui ) { var active = $('.selector').tabs('option', 'active'); currentTabIndex = ui.newTab.index(); document.activeElement.blur(); try { sessionStorage.setItem('fhir-resource-tab-index', currentTabIndex); } catch(exception){ } } });
  • ext-1 : Must have either extensions or value[x], not both (xpath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]) )