RESQ Stroke Registry Implementation Guide
0.2.0-draft - draft
RESQ Stroke Registry Implementation Guide - Local Development build (v0.2.0-draft) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: http://fhir.qualityregistry.org/StructureDefinition/stroke-diagnosis-condition-profile | Version: 0.2.0-draft | |||
| Active as of 2026-10-21 | Computable Name: StrokeDiagnosisConditionProfile | |||
Condition profile for the index stroke diagnosis. It captures stroke type, onset timing, body site, diagnostic evidence and stroke-specific classification extensions such as ischemic etiology, hemorrhagic bleeding reason and wake-up stroke status.
Represents the principal clinical diagnosis around which the registry episode is organized.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Condition | Detailed information about conditions, problems or diagnoses Constraints: con-2, con-3, ischemic-etiology-only-for-ischemic-stroke, hemorrhagic-bleeding-reason-only-for-hemorrhagic-stroke, wakeup-stroke-true-should-have-onset, tia-should-have-evidence, mimic-diagnosis-should-not-have-stroke-specific-extensions |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Known ischemic stroke etiology URL: http://fhir.qualityregistry.org/StructureDefinition/ischemic-stroke-etiology-ext Binding: StrokeEtiology ValueSet (required) |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Known hemorrhagic bleeding reason URL: http://fhir.qualityregistry.org/StructureDefinition/hemorrhagic-stroke-bleeding-reason-ext Binding: BleedingReason ValueSet (required) |
![]() ![]() ![]() |
S | 1..1 | boolean | Wake-up stroke indicator URL: http://fhir.qualityregistry.org/StructureDefinition/wakeup-stroke-ext |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!SΣC | 1..1 | CodeableConcept | Active index diagnosis Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. Required Pattern: At least the following |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/condition-clinical | |
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: active | |
![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |
![]() ![]() |
?!SΣ | 0..1 | CodeableConcept | Verification state of diagnosis Binding: ConditionVerificationStatus (required) |
![]() ![]() |
SC | 1..* | CodeableConcept | Encounter diagnosis Binding: ConditionCategoryCodes (preferred): A category assigned to the condition. Required Pattern: At least the following |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/condition-category | |
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: encounter-diagnosis | |
![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Final diagnosis code for the stroke episode, including stroke mimics Binding: Stroke Diagnosis Code ValueSet (extensible) |
![]() ![]() |
SΣ | 0..* | CodeableConcept | Anatomical site of stroke involvement Binding: BodySites ValueSet (extensible) |
![]() ![]() |
SΣ | 1..1 | Reference(RESQ Patient Profile) | RES-Q registry patient |
![]() ![]() |
SΣ | 1..1 | Reference(Stroke Encounter Profile) | Index stroke encounter |
![]() ![]() |
SΣ | 0..1 | dateTime | Stroke onset or last-known-well date/time |
![]() ![]() |
SΣ | 0..* | CodeableReference(Resource) | Diagnostic evidence supporting the stroke diagnosis Binding: SNOMEDCTClinicalFindings (example) |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Condition.clinicalStatus | Base | required | Condition Clinical Status Codes | 📍5.0.0 | FHIR Std. |
| Condition.verificationStatus | Base | required | Condition Verification Status | 📦5.0.0 | FHIR Std. |
| Condition.category | Base | preferred | Condition Category Codes | 📍5.0.0 | FHIR Std. |
| Condition.code | Base | extensible | Stroke Diagnosis Code ValueSet | 📦0.2.0-draft | This IG |
| Condition.bodySite | Base | extensible | BodySites ValueSet | 📦0.2.0-draft | This IG |
| Condition.evidence | Base | example | SNOMED CT Clinical Findings | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| con-2 | warning | Condition | If category is problems list item, the clinicalStatus should not be unknown |
category.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-category' and code='problem-list-item').exists() implies clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and code='unknown').exists().not()
|
| con-3 | error | Condition | If condition is abated, then clinicalStatus must be either inactive, resolved, or remission. |
abatement.exists() implies (clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='inactive' or code='resolved' or code='remission')).exists())
|
| dom-2 | error | Condition | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Condition | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Condition | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Condition | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Condition | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| hemorrhagic-bleeding-reason-only-for-hemorrhagic-stroke | error | Condition | Hemorrhagic bleeding reason extension should only be present when the diagnosis code is hemorrhagic stroke or subarachnoid hemorrhage. |
extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/hemorrhagic-stroke-bleeding-reason-ext').exists().not() or code.coding.where(system = 'http://snomed.info/sct' and (code = '274100004' or code = '21454007')).exists()
|
| ischemic-etiology-only-for-ischemic-stroke | error | Condition | Ischemic stroke etiology extension should only be present when the diagnosis code is ischemic stroke. |
extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/ischemic-stroke-etiology-ext').exists().not() or code.coding.where(system = 'http://snomed.info/sct' and code = '422504002').exists()
|
| mimic-diagnosis-should-not-have-stroke-specific-extensions | error | Condition | If the diagnosis code belongs to MimicsDiagnosisVS, stroke-specific etiology or hemorrhagic bleeding reason extensions should not be present. |
code.memberOf('http://fhir.qualityregistry.org/ValueSet/mimics-diagnosis-vs').not() or (extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/ischemic-stroke-etiology-ext').exists().not() and extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/hemorrhagic-stroke-bleeding-reason-ext').exists().not())
|
| tia-should-have-evidence | warning | Condition | If the diagnosis is transient ischemic attack, diagnostic evidence should preferably reference the observed symptoms. |
code.coding.where(system = 'http://snomed.info/sct' and code = '266257000').exists().not() or evidence.exists()
|
| wakeup-stroke-true-should-have-onset | warning | Condition | If wake-up stroke is true, onsetDateTime should be populated with the last-known-well or sleep timestamp. |
extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/wakeup-stroke-ext').value.ofType(boolean) != true or onset.exists()
|
This structure is derived from Condition
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Condition | Detailed information about conditions, problems or diagnoses Constraints: ischemic-etiology-only-for-ischemic-stroke, hemorrhagic-bleeding-reason-only-for-hemorrhagic-stroke, wakeup-stroke-true-should-have-onset, tia-should-have-evidence, mimic-diagnosis-should-not-have-stroke-specific-extensions |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Known ischemic stroke etiology URL: http://fhir.qualityregistry.org/StructureDefinition/ischemic-stroke-etiology-ext Binding: StrokeEtiology ValueSet (required) |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Known hemorrhagic bleeding reason URL: http://fhir.qualityregistry.org/StructureDefinition/hemorrhagic-stroke-bleeding-reason-ext Binding: BleedingReason ValueSet (required) |
![]() ![]() ![]() |
S | 1..1 | boolean | Wake-up stroke indicator URL: http://fhir.qualityregistry.org/StructureDefinition/wakeup-stroke-ext |
![]() ![]() |
S | 1..1 | CodeableConcept | Active index diagnosis Required Pattern: At least the following |
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/condition-clinical | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: active | |
![]() ![]() |
S | 0..1 | CodeableConcept | Verification state of diagnosis Binding: ConditionVerificationStatus (required) |
![]() ![]() |
S | 1..* | CodeableConcept | Encounter diagnosis Required Pattern: At least the following |
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/condition-category | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: encounter-diagnosis | |
![]() ![]() |
S | 1..1 | CodeableConcept | Final diagnosis code for the stroke episode, including stroke mimics Binding: Stroke Diagnosis Code ValueSet (extensible) |
![]() ![]() |
S | 0..* | CodeableConcept | Anatomical site of stroke involvement Binding: BodySites ValueSet (extensible) |
![]() ![]() |
S | 1..1 | Reference(RESQ Patient Profile) | RES-Q registry patient |
![]() ![]() |
S | 1..1 | Reference(Stroke Encounter Profile) | Index stroke encounter |
![]() ![]() |
S | 0..1 | dateTime | Stroke onset or last-known-well date/time |
![]() ![]() |
S | 0..* | CodeableReference(Resource) | Diagnostic evidence supporting the stroke diagnosis |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Condition.verificationStatus | Base | required | Condition Verification Status | 📦5.0.0 | FHIR Std. |
| Condition.code | Base | extensible | Stroke Diagnosis Code ValueSet | 📦0.2.0-draft | This IG |
| Condition.bodySite | Base | extensible | BodySites ValueSet | 📦0.2.0-draft | This IG |
| Id | Grade | Path(s) | Description | Expression |
| hemorrhagic-bleeding-reason-only-for-hemorrhagic-stroke | error | Condition | Hemorrhagic bleeding reason extension should only be present when the diagnosis code is hemorrhagic stroke or subarachnoid hemorrhage. |
extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/hemorrhagic-stroke-bleeding-reason-ext').exists().not() or code.coding.where(system = 'http://snomed.info/sct' and (code = '274100004' or code = '21454007')).exists()
|
| ischemic-etiology-only-for-ischemic-stroke | error | Condition | Ischemic stroke etiology extension should only be present when the diagnosis code is ischemic stroke. |
extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/ischemic-stroke-etiology-ext').exists().not() or code.coding.where(system = 'http://snomed.info/sct' and code = '422504002').exists()
|
| mimic-diagnosis-should-not-have-stroke-specific-extensions | error | Condition | If the diagnosis code belongs to MimicsDiagnosisVS, stroke-specific etiology or hemorrhagic bleeding reason extensions should not be present. |
code.memberOf('http://fhir.qualityregistry.org/ValueSet/mimics-diagnosis-vs').not() or (extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/ischemic-stroke-etiology-ext').exists().not() and extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/hemorrhagic-stroke-bleeding-reason-ext').exists().not())
|
| tia-should-have-evidence | warning | Condition | If the diagnosis is transient ischemic attack, diagnostic evidence should preferably reference the observed symptoms. |
code.coding.where(system = 'http://snomed.info/sct' and code = '266257000').exists().not() or evidence.exists()
|
| wakeup-stroke-true-should-have-onset | warning | Condition | If wake-up stroke is true, onsetDateTime should be populated with the last-known-well or sleep timestamp. |
extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/wakeup-stroke-ext').value.ofType(boolean) != true or onset.exists()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Condition | Detailed information about conditions, problems or diagnoses Constraints: con-2, con-3, ischemic-etiology-only-for-ischemic-stroke, hemorrhagic-bleeding-reason-only-for-hemorrhagic-stroke, wakeup-stroke-true-should-have-onset, tia-should-have-evidence, mimic-diagnosis-should-not-have-stroke-specific-extensions | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Known ischemic stroke etiology URL: http://fhir.qualityregistry.org/StructureDefinition/ischemic-stroke-etiology-ext Binding: StrokeEtiology ValueSet (required) | ||||
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Known hemorrhagic bleeding reason URL: http://fhir.qualityregistry.org/StructureDefinition/hemorrhagic-stroke-bleeding-reason-ext Binding: BleedingReason ValueSet (required) | ||||
![]() ![]() ![]() |
S | 1..1 | boolean | Wake-up stroke indicator URL: http://fhir.qualityregistry.org/StructureDefinition/wakeup-stroke-ext | ||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..* | Identifier | External Ids for this condition | ||||
![]() ![]() |
?!SΣC | 1..1 | CodeableConcept | Active index diagnosis Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. Required Pattern: At least the following | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/condition-clinical | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: active | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||
![]() ![]() |
?!SΣ | 0..1 | CodeableConcept | Verification state of diagnosis Binding: ConditionVerificationStatus (required) | ||||
![]() ![]() |
SC | 1..* | CodeableConcept | Encounter diagnosis Binding: ConditionCategoryCodes (preferred): A category assigned to the condition. Required Pattern: At least the following | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/condition-category | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: encounter-diagnosis | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||
![]() ![]() |
0..1 | CodeableConcept | Subjective severity of condition Binding: ConditionDiagnosisSeverity (preferred): A subjective assessment of the severity of the condition as evaluated by the clinician. | |||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Final diagnosis code for the stroke episode, including stroke mimics Binding: Stroke Diagnosis Code ValueSet (extensible) | ||||
![]() ![]() |
SΣ | 0..* | CodeableConcept | Anatomical site of stroke involvement Binding: BodySites ValueSet (extensible) | ||||
![]() ![]() |
SΣ | 1..1 | Reference(RESQ Patient Profile) | RES-Q registry patient | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Stroke Encounter Profile) | Index stroke encounter | ||||
![]() ![]() |
SΣ | 0..1 | dateTime | Stroke onset or last-known-well date/time | ||||
![]() ![]() |
C | 0..1 | When in resolution/remission | |||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
Age | |||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() |
string | |||||||
![]() ![]() |
Σ | 0..1 | dateTime | Date condition was first recorded | ||||
![]() ![]() |
Σ | 0..* | BackboneElement | Who or what participated in the activities related to the condition and how they were involved | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Type of involvement Binding: ParticipationRoleType (extensible) | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Device | Organization | CareTeam) | Who or what participated in the activities related to the condition | ||||
![]() ![]() |
C | 0..* | BackboneElement | Stage/grade, usually assessed formally Constraints: con-1 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
C | 0..1 | CodeableConcept | Simple summary (disease specific) Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages). | ||||
![]() ![]() ![]() |
C | 0..* | Reference(ClinicalImpression | DiagnosticReport | Observation) | Formal record of assessment | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Kind of staging Binding: ConditionStageType (example): Codes describing the kind of condition staging (e.g. clinical or pathological). | |||||
![]() ![]() |
SΣ | 0..* | CodeableReference(Resource) | Diagnostic evidence supporting the stroke diagnosis Binding: SNOMEDCTClinicalFindings (example) | ||||
![]() ![]() |
0..* | Annotation | Additional information about the Condition | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Condition.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| Condition.clinicalStatus | Base | required | Condition Clinical Status Codes | 📍5.0.0 | FHIR Std. |
| Condition.verificationStatus | Base | required | Condition Verification Status | 📦5.0.0 | FHIR Std. |
| Condition.category | Base | preferred | Condition Category Codes | 📍5.0.0 | FHIR Std. |
| Condition.severity | Base | preferred | Condition/Diagnosis Severity | 📍5.0.0 | FHIR Std. |
| Condition.code | Base | extensible | Stroke Diagnosis Code ValueSet | 📦0.2.0-draft | This IG |
| Condition.bodySite | Base | extensible | BodySites ValueSet | 📦0.2.0-draft | This IG |
| Condition.participant.function | Base | extensible | Participation Role Type | 📍5.0.0 | FHIR Std. |
| Condition.stage.summary | Base | example | Condition Stage | 📍5.0.0 | FHIR Std. |
| Condition.stage.type | Base | example | Condition Stage Type | 📍5.0.0 | FHIR Std. |
| Condition.evidence | Base | example | SNOMED CT Clinical Findings | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| con-1 | error | Condition.stage | Stage SHALL have summary or assessment |
summary.exists() or assessment.exists()
|
| con-2 | warning | Condition | If category is problems list item, the clinicalStatus should not be unknown |
category.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-category' and code='problem-list-item').exists() implies clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and code='unknown').exists().not()
|
| con-3 | error | Condition | If condition is abated, then clinicalStatus must be either inactive, resolved, or remission. |
abatement.exists() implies (clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='inactive' or code='resolved' or code='remission')).exists())
|
| dom-2 | error | Condition | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Condition | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Condition | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Condition | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Condition | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| hemorrhagic-bleeding-reason-only-for-hemorrhagic-stroke | error | Condition | Hemorrhagic bleeding reason extension should only be present when the diagnosis code is hemorrhagic stroke or subarachnoid hemorrhage. |
extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/hemorrhagic-stroke-bleeding-reason-ext').exists().not() or code.coding.where(system = 'http://snomed.info/sct' and (code = '274100004' or code = '21454007')).exists()
|
| ischemic-etiology-only-for-ischemic-stroke | error | Condition | Ischemic stroke etiology extension should only be present when the diagnosis code is ischemic stroke. |
extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/ischemic-stroke-etiology-ext').exists().not() or code.coding.where(system = 'http://snomed.info/sct' and code = '422504002').exists()
|
| mimic-diagnosis-should-not-have-stroke-specific-extensions | error | Condition | If the diagnosis code belongs to MimicsDiagnosisVS, stroke-specific etiology or hemorrhagic bleeding reason extensions should not be present. |
code.memberOf('http://fhir.qualityregistry.org/ValueSet/mimics-diagnosis-vs').not() or (extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/ischemic-stroke-etiology-ext').exists().not() and extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/hemorrhagic-stroke-bleeding-reason-ext').exists().not())
|
| tia-should-have-evidence | warning | Condition | If the diagnosis is transient ischemic attack, diagnostic evidence should preferably reference the observed symptoms. |
code.coding.where(system = 'http://snomed.info/sct' and code = '266257000').exists().not() or evidence.exists()
|
| wakeup-stroke-true-should-have-onset | warning | Condition | If wake-up stroke is true, onsetDateTime should be populated with the last-known-well or sleep timestamp. |
extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/wakeup-stroke-ext').value.ofType(boolean) != true or onset.exists()
|
This structure is derived from Condition
Summary
Mandatory: 5 elements
Must-Support: 12 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Condition | Detailed information about conditions, problems or diagnoses Constraints: con-2, con-3, ischemic-etiology-only-for-ischemic-stroke, hemorrhagic-bleeding-reason-only-for-hemorrhagic-stroke, wakeup-stroke-true-should-have-onset, tia-should-have-evidence, mimic-diagnosis-should-not-have-stroke-specific-extensions |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Known ischemic stroke etiology URL: http://fhir.qualityregistry.org/StructureDefinition/ischemic-stroke-etiology-ext Binding: StrokeEtiology ValueSet (required) |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Known hemorrhagic bleeding reason URL: http://fhir.qualityregistry.org/StructureDefinition/hemorrhagic-stroke-bleeding-reason-ext Binding: BleedingReason ValueSet (required) |
![]() ![]() ![]() |
S | 1..1 | boolean | Wake-up stroke indicator URL: http://fhir.qualityregistry.org/StructureDefinition/wakeup-stroke-ext |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!SΣC | 1..1 | CodeableConcept | Active index diagnosis Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. Required Pattern: At least the following |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/condition-clinical | |
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: active | |
![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |
![]() ![]() |
?!SΣ | 0..1 | CodeableConcept | Verification state of diagnosis Binding: ConditionVerificationStatus (required) |
![]() ![]() |
SC | 1..* | CodeableConcept | Encounter diagnosis Binding: ConditionCategoryCodes (preferred): A category assigned to the condition. Required Pattern: At least the following |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/condition-category | |
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: encounter-diagnosis | |
![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Final diagnosis code for the stroke episode, including stroke mimics Binding: Stroke Diagnosis Code ValueSet (extensible) |
![]() ![]() |
SΣ | 0..* | CodeableConcept | Anatomical site of stroke involvement Binding: BodySites ValueSet (extensible) |
![]() ![]() |
SΣ | 1..1 | Reference(RESQ Patient Profile) | RES-Q registry patient |
![]() ![]() |
SΣ | 1..1 | Reference(Stroke Encounter Profile) | Index stroke encounter |
![]() ![]() |
SΣ | 0..1 | dateTime | Stroke onset or last-known-well date/time |
![]() ![]() |
SΣ | 0..* | CodeableReference(Resource) | Diagnostic evidence supporting the stroke diagnosis Binding: SNOMEDCTClinicalFindings (example) |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Condition.clinicalStatus | Base | required | Condition Clinical Status Codes | 📍5.0.0 | FHIR Std. |
| Condition.verificationStatus | Base | required | Condition Verification Status | 📦5.0.0 | FHIR Std. |
| Condition.category | Base | preferred | Condition Category Codes | 📍5.0.0 | FHIR Std. |
| Condition.code | Base | extensible | Stroke Diagnosis Code ValueSet | 📦0.2.0-draft | This IG |
| Condition.bodySite | Base | extensible | BodySites ValueSet | 📦0.2.0-draft | This IG |
| Condition.evidence | Base | example | SNOMED CT Clinical Findings | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| con-2 | warning | Condition | If category is problems list item, the clinicalStatus should not be unknown |
category.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-category' and code='problem-list-item').exists() implies clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and code='unknown').exists().not()
|
| con-3 | error | Condition | If condition is abated, then clinicalStatus must be either inactive, resolved, or remission. |
abatement.exists() implies (clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='inactive' or code='resolved' or code='remission')).exists())
|
| dom-2 | error | Condition | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Condition | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Condition | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Condition | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Condition | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| hemorrhagic-bleeding-reason-only-for-hemorrhagic-stroke | error | Condition | Hemorrhagic bleeding reason extension should only be present when the diagnosis code is hemorrhagic stroke or subarachnoid hemorrhage. |
extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/hemorrhagic-stroke-bleeding-reason-ext').exists().not() or code.coding.where(system = 'http://snomed.info/sct' and (code = '274100004' or code = '21454007')).exists()
|
| ischemic-etiology-only-for-ischemic-stroke | error | Condition | Ischemic stroke etiology extension should only be present when the diagnosis code is ischemic stroke. |
extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/ischemic-stroke-etiology-ext').exists().not() or code.coding.where(system = 'http://snomed.info/sct' and code = '422504002').exists()
|
| mimic-diagnosis-should-not-have-stroke-specific-extensions | error | Condition | If the diagnosis code belongs to MimicsDiagnosisVS, stroke-specific etiology or hemorrhagic bleeding reason extensions should not be present. |
code.memberOf('http://fhir.qualityregistry.org/ValueSet/mimics-diagnosis-vs').not() or (extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/ischemic-stroke-etiology-ext').exists().not() and extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/hemorrhagic-stroke-bleeding-reason-ext').exists().not())
|
| tia-should-have-evidence | warning | Condition | If the diagnosis is transient ischemic attack, diagnostic evidence should preferably reference the observed symptoms. |
code.coding.where(system = 'http://snomed.info/sct' and code = '266257000').exists().not() or evidence.exists()
|
| wakeup-stroke-true-should-have-onset | warning | Condition | If wake-up stroke is true, onsetDateTime should be populated with the last-known-well or sleep timestamp. |
extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/wakeup-stroke-ext').value.ofType(boolean) != true or onset.exists()
|
Differential View
This structure is derived from Condition
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Condition | Detailed information about conditions, problems or diagnoses Constraints: ischemic-etiology-only-for-ischemic-stroke, hemorrhagic-bleeding-reason-only-for-hemorrhagic-stroke, wakeup-stroke-true-should-have-onset, tia-should-have-evidence, mimic-diagnosis-should-not-have-stroke-specific-extensions |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Known ischemic stroke etiology URL: http://fhir.qualityregistry.org/StructureDefinition/ischemic-stroke-etiology-ext Binding: StrokeEtiology ValueSet (required) |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Known hemorrhagic bleeding reason URL: http://fhir.qualityregistry.org/StructureDefinition/hemorrhagic-stroke-bleeding-reason-ext Binding: BleedingReason ValueSet (required) |
![]() ![]() ![]() |
S | 1..1 | boolean | Wake-up stroke indicator URL: http://fhir.qualityregistry.org/StructureDefinition/wakeup-stroke-ext |
![]() ![]() |
S | 1..1 | CodeableConcept | Active index diagnosis Required Pattern: At least the following |
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/condition-clinical | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: active | |
![]() ![]() |
S | 0..1 | CodeableConcept | Verification state of diagnosis Binding: ConditionVerificationStatus (required) |
![]() ![]() |
S | 1..* | CodeableConcept | Encounter diagnosis Required Pattern: At least the following |
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/condition-category | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: encounter-diagnosis | |
![]() ![]() |
S | 1..1 | CodeableConcept | Final diagnosis code for the stroke episode, including stroke mimics Binding: Stroke Diagnosis Code ValueSet (extensible) |
![]() ![]() |
S | 0..* | CodeableConcept | Anatomical site of stroke involvement Binding: BodySites ValueSet (extensible) |
![]() ![]() |
S | 1..1 | Reference(RESQ Patient Profile) | RES-Q registry patient |
![]() ![]() |
S | 1..1 | Reference(Stroke Encounter Profile) | Index stroke encounter |
![]() ![]() |
S | 0..1 | dateTime | Stroke onset or last-known-well date/time |
![]() ![]() |
S | 0..* | CodeableReference(Resource) | Diagnostic evidence supporting the stroke diagnosis |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Condition.verificationStatus | Base | required | Condition Verification Status | 📦5.0.0 | FHIR Std. |
| Condition.code | Base | extensible | Stroke Diagnosis Code ValueSet | 📦0.2.0-draft | This IG |
| Condition.bodySite | Base | extensible | BodySites ValueSet | 📦0.2.0-draft | This IG |
| Id | Grade | Path(s) | Description | Expression |
| hemorrhagic-bleeding-reason-only-for-hemorrhagic-stroke | error | Condition | Hemorrhagic bleeding reason extension should only be present when the diagnosis code is hemorrhagic stroke or subarachnoid hemorrhage. |
extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/hemorrhagic-stroke-bleeding-reason-ext').exists().not() or code.coding.where(system = 'http://snomed.info/sct' and (code = '274100004' or code = '21454007')).exists()
|
| ischemic-etiology-only-for-ischemic-stroke | error | Condition | Ischemic stroke etiology extension should only be present when the diagnosis code is ischemic stroke. |
extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/ischemic-stroke-etiology-ext').exists().not() or code.coding.where(system = 'http://snomed.info/sct' and code = '422504002').exists()
|
| mimic-diagnosis-should-not-have-stroke-specific-extensions | error | Condition | If the diagnosis code belongs to MimicsDiagnosisVS, stroke-specific etiology or hemorrhagic bleeding reason extensions should not be present. |
code.memberOf('http://fhir.qualityregistry.org/ValueSet/mimics-diagnosis-vs').not() or (extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/ischemic-stroke-etiology-ext').exists().not() and extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/hemorrhagic-stroke-bleeding-reason-ext').exists().not())
|
| tia-should-have-evidence | warning | Condition | If the diagnosis is transient ischemic attack, diagnostic evidence should preferably reference the observed symptoms. |
code.coding.where(system = 'http://snomed.info/sct' and code = '266257000').exists().not() or evidence.exists()
|
| wakeup-stroke-true-should-have-onset | warning | Condition | If wake-up stroke is true, onsetDateTime should be populated with the last-known-well or sleep timestamp. |
extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/wakeup-stroke-ext').value.ofType(boolean) != true or onset.exists()
|
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Condition | Detailed information about conditions, problems or diagnoses Constraints: con-2, con-3, ischemic-etiology-only-for-ischemic-stroke, hemorrhagic-bleeding-reason-only-for-hemorrhagic-stroke, wakeup-stroke-true-should-have-onset, tia-should-have-evidence, mimic-diagnosis-should-not-have-stroke-specific-extensions | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Known ischemic stroke etiology URL: http://fhir.qualityregistry.org/StructureDefinition/ischemic-stroke-etiology-ext Binding: StrokeEtiology ValueSet (required) | ||||
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Known hemorrhagic bleeding reason URL: http://fhir.qualityregistry.org/StructureDefinition/hemorrhagic-stroke-bleeding-reason-ext Binding: BleedingReason ValueSet (required) | ||||
![]() ![]() ![]() |
S | 1..1 | boolean | Wake-up stroke indicator URL: http://fhir.qualityregistry.org/StructureDefinition/wakeup-stroke-ext | ||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..* | Identifier | External Ids for this condition | ||||
![]() ![]() |
?!SΣC | 1..1 | CodeableConcept | Active index diagnosis Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. Required Pattern: At least the following | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/condition-clinical | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: active | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||
![]() ![]() |
?!SΣ | 0..1 | CodeableConcept | Verification state of diagnosis Binding: ConditionVerificationStatus (required) | ||||
![]() ![]() |
SC | 1..* | CodeableConcept | Encounter diagnosis Binding: ConditionCategoryCodes (preferred): A category assigned to the condition. Required Pattern: At least the following | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/condition-category | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: encounter-diagnosis | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||
![]() ![]() |
0..1 | CodeableConcept | Subjective severity of condition Binding: ConditionDiagnosisSeverity (preferred): A subjective assessment of the severity of the condition as evaluated by the clinician. | |||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Final diagnosis code for the stroke episode, including stroke mimics Binding: Stroke Diagnosis Code ValueSet (extensible) | ||||
![]() ![]() |
SΣ | 0..* | CodeableConcept | Anatomical site of stroke involvement Binding: BodySites ValueSet (extensible) | ||||
![]() ![]() |
SΣ | 1..1 | Reference(RESQ Patient Profile) | RES-Q registry patient | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Stroke Encounter Profile) | Index stroke encounter | ||||
![]() ![]() |
SΣ | 0..1 | dateTime | Stroke onset or last-known-well date/time | ||||
![]() ![]() |
C | 0..1 | When in resolution/remission | |||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
Age | |||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() |
string | |||||||
![]() ![]() |
Σ | 0..1 | dateTime | Date condition was first recorded | ||||
![]() ![]() |
Σ | 0..* | BackboneElement | Who or what participated in the activities related to the condition and how they were involved | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Type of involvement Binding: ParticipationRoleType (extensible) | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Device | Organization | CareTeam) | Who or what participated in the activities related to the condition | ||||
![]() ![]() |
C | 0..* | BackboneElement | Stage/grade, usually assessed formally Constraints: con-1 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
C | 0..1 | CodeableConcept | Simple summary (disease specific) Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages). | ||||
![]() ![]() ![]() |
C | 0..* | Reference(ClinicalImpression | DiagnosticReport | Observation) | Formal record of assessment | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Kind of staging Binding: ConditionStageType (example): Codes describing the kind of condition staging (e.g. clinical or pathological). | |||||
![]() ![]() |
SΣ | 0..* | CodeableReference(Resource) | Diagnostic evidence supporting the stroke diagnosis Binding: SNOMEDCTClinicalFindings (example) | ||||
![]() ![]() |
0..* | Annotation | Additional information about the Condition | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Condition.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| Condition.clinicalStatus | Base | required | Condition Clinical Status Codes | 📍5.0.0 | FHIR Std. |
| Condition.verificationStatus | Base | required | Condition Verification Status | 📦5.0.0 | FHIR Std. |
| Condition.category | Base | preferred | Condition Category Codes | 📍5.0.0 | FHIR Std. |
| Condition.severity | Base | preferred | Condition/Diagnosis Severity | 📍5.0.0 | FHIR Std. |
| Condition.code | Base | extensible | Stroke Diagnosis Code ValueSet | 📦0.2.0-draft | This IG |
| Condition.bodySite | Base | extensible | BodySites ValueSet | 📦0.2.0-draft | This IG |
| Condition.participant.function | Base | extensible | Participation Role Type | 📍5.0.0 | FHIR Std. |
| Condition.stage.summary | Base | example | Condition Stage | 📍5.0.0 | FHIR Std. |
| Condition.stage.type | Base | example | Condition Stage Type | 📍5.0.0 | FHIR Std. |
| Condition.evidence | Base | example | SNOMED CT Clinical Findings | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| con-1 | error | Condition.stage | Stage SHALL have summary or assessment |
summary.exists() or assessment.exists()
|
| con-2 | warning | Condition | If category is problems list item, the clinicalStatus should not be unknown |
category.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-category' and code='problem-list-item').exists() implies clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and code='unknown').exists().not()
|
| con-3 | error | Condition | If condition is abated, then clinicalStatus must be either inactive, resolved, or remission. |
abatement.exists() implies (clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='inactive' or code='resolved' or code='remission')).exists())
|
| dom-2 | error | Condition | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Condition | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Condition | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Condition | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Condition | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| hemorrhagic-bleeding-reason-only-for-hemorrhagic-stroke | error | Condition | Hemorrhagic bleeding reason extension should only be present when the diagnosis code is hemorrhagic stroke or subarachnoid hemorrhage. |
extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/hemorrhagic-stroke-bleeding-reason-ext').exists().not() or code.coding.where(system = 'http://snomed.info/sct' and (code = '274100004' or code = '21454007')).exists()
|
| ischemic-etiology-only-for-ischemic-stroke | error | Condition | Ischemic stroke etiology extension should only be present when the diagnosis code is ischemic stroke. |
extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/ischemic-stroke-etiology-ext').exists().not() or code.coding.where(system = 'http://snomed.info/sct' and code = '422504002').exists()
|
| mimic-diagnosis-should-not-have-stroke-specific-extensions | error | Condition | If the diagnosis code belongs to MimicsDiagnosisVS, stroke-specific etiology or hemorrhagic bleeding reason extensions should not be present. |
code.memberOf('http://fhir.qualityregistry.org/ValueSet/mimics-diagnosis-vs').not() or (extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/ischemic-stroke-etiology-ext').exists().not() and extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/hemorrhagic-stroke-bleeding-reason-ext').exists().not())
|
| tia-should-have-evidence | warning | Condition | If the diagnosis is transient ischemic attack, diagnostic evidence should preferably reference the observed symptoms. |
code.coding.where(system = 'http://snomed.info/sct' and code = '266257000').exists().not() or evidence.exists()
|
| wakeup-stroke-true-should-have-onset | warning | Condition | If wake-up stroke is true, onsetDateTime should be populated with the last-known-well or sleep timestamp. |
extension.where(url = 'http://fhir.qualityregistry.org/StructureDefinition/wakeup-stroke-ext').value.ofType(boolean) != true or onset.exists()
|
This structure is derived from Condition
Summary
Mandatory: 5 elements
Must-Support: 12 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Other representations of profile: CSV, Excel, Schematron