RESQ Stroke Registry Implementation Guide
0.2.0-draft - draft Czechia flag

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

Resource Profile: Stroke Diagnosis Condition Profile

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

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition 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
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:ischemicStrokeEtiology S 0..1 CodeableConcept Known ischemic stroke etiology
URL: http://fhir.qualityregistry.org/StructureDefinition/ischemic-stroke-etiology-ext
Binding: StrokeEtiology ValueSet (required)
.... extension:hemorrhagicStrokeBleedingReason S 0..* CodeableConcept Known hemorrhagic bleeding reason
URL: http://fhir.qualityregistry.org/StructureDefinition/hemorrhagic-stroke-bleeding-reason-ext
Binding: BleedingReason ValueSet (required)
.... extension:wakeupStroke S 1..1 boolean Wake-up stroke indicator
URL: http://fhir.qualityregistry.org/StructureDefinition/wakeup-stroke-ext
... clinicalStatus ?!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
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-clinical
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: active
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... verificationStatus ?!SΣ 0..1 CodeableConcept Verification state of diagnosis
Binding: ConditionVerificationStatus (required)
... category SC 1..* CodeableConcept Encounter diagnosis
Binding: ConditionCategoryCodes (preferred): A category assigned to the condition.

Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-category
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: encounter-diagnosis
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... code SΣ 1..1 CodeableConcept Final diagnosis code for the stroke episode, including stroke mimics
Binding: Stroke Diagnosis Code ValueSet (extensible)
... bodySite SΣ 0..* CodeableConcept Anatomical site of stroke involvement
Binding: BodySites ValueSet (extensible)
... subject SΣ 1..1 Reference(RESQ Patient Profile) RES-Q registry patient
... encounter SΣ 1..1 Reference(Stroke Encounter Profile) Index stroke encounter
... onset[x] SΣ 0..1 dateTime Stroke onset or last-known-well date/time
... evidence SΣ 0..* CodeableReference(Resource) Diagnostic evidence supporting the stroke diagnosis
Binding: SNOMEDCTClinicalFindings (example)

doco Documentation for this format

Terminology Bindings

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.

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition 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
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:ischemicStrokeEtiology S 0..1 CodeableConcept Known ischemic stroke etiology
URL: http://fhir.qualityregistry.org/StructureDefinition/ischemic-stroke-etiology-ext
Binding: StrokeEtiology ValueSet (required)
.... extension:hemorrhagicStrokeBleedingReason S 0..* CodeableConcept Known hemorrhagic bleeding reason
URL: http://fhir.qualityregistry.org/StructureDefinition/hemorrhagic-stroke-bleeding-reason-ext
Binding: BleedingReason ValueSet (required)
.... extension:wakeupStroke S 1..1 boolean Wake-up stroke indicator
URL: http://fhir.qualityregistry.org/StructureDefinition/wakeup-stroke-ext
... clinicalStatus S 1..1 CodeableConcept Active index diagnosis
Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-clinical
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: active
... verificationStatus S 0..1 CodeableConcept Verification state of diagnosis
Binding: ConditionVerificationStatus (required)
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-category
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: encounter-diagnosis
... code S 1..1 CodeableConcept Final diagnosis code for the stroke episode, including stroke mimics
Binding: Stroke Diagnosis Code ValueSet (extensible)
... bodySite S 0..* CodeableConcept Anatomical site of stroke involvement
Binding: BodySites ValueSet (extensible)
... subject S 1..1 Reference(RESQ Patient Profile) RES-Q registry patient
... encounter S 1..1 Reference(Stroke Encounter Profile) Index stroke encounter
... onset[x] S 0..1 dateTime Stroke onset or last-known-well date/time
... evidence S 0..* CodeableReference(Resource) Diagnostic evidence supporting the stroke diagnosis

doco Documentation for this format

Terminology Bindings (Differential)

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

Constraints

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()
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition 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
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:ischemicStrokeEtiology S 0..1 CodeableConcept Known ischemic stroke etiology
URL: http://fhir.qualityregistry.org/StructureDefinition/ischemic-stroke-etiology-ext
Binding: StrokeEtiology ValueSet (required)
.... extension:hemorrhagicStrokeBleedingReason S 0..* CodeableConcept Known hemorrhagic bleeding reason
URL: http://fhir.qualityregistry.org/StructureDefinition/hemorrhagic-stroke-bleeding-reason-ext
Binding: BleedingReason ValueSet (required)
.... extension:wakeupStroke S 1..1 boolean Wake-up stroke indicator
URL: http://fhir.qualityregistry.org/StructureDefinition/wakeup-stroke-ext
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier External Ids for this condition
... clinicalStatus ?!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
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-clinical
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: active
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... verificationStatus ?!SΣ 0..1 CodeableConcept Verification state of diagnosis
Binding: ConditionVerificationStatus (required)
... category SC 1..* CodeableConcept Encounter diagnosis
Binding: ConditionCategoryCodes (preferred): A category assigned to the condition.

Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-category
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: encounter-diagnosis
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... severity 0..1 CodeableConcept Subjective severity of condition
Binding: ConditionDiagnosisSeverity (preferred): A subjective assessment of the severity of the condition as evaluated by the clinician.
... code SΣ 1..1 CodeableConcept Final diagnosis code for the stroke episode, including stroke mimics
Binding: Stroke Diagnosis Code ValueSet (extensible)
... bodySite SΣ 0..* CodeableConcept Anatomical site of stroke involvement
Binding: BodySites ValueSet (extensible)
... subject SΣ 1..1 Reference(RESQ Patient Profile) RES-Q registry patient
... encounter SΣ 1..1 Reference(Stroke Encounter Profile) Index stroke encounter
... onset[x] SΣ 0..1 dateTime Stroke onset or last-known-well date/time
... abatement[x] C 0..1 When in resolution/remission
.... abatementDateTime dateTime
.... abatementAge Age
.... abatementPeriod Period
.... abatementRange Range
.... abatementString string
... recordedDate Σ 0..1 dateTime Date condition was first recorded
... participant Σ 0..* BackboneElement Who or what participated in the activities related to the condition and how they were involved
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... function Σ 0..1 CodeableConcept Type of involvement
Binding: ParticipationRoleType (extensible)
.... actor Σ 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Device | Organization | CareTeam) Who or what participated in the activities related to the condition
... stage C 0..* BackboneElement Stage/grade, usually assessed formally
Constraints: con-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... summary C 0..1 CodeableConcept Simple summary (disease specific)
Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages).
.... assessment C 0..* Reference(ClinicalImpression | DiagnosticReport | Observation) Formal record of assessment
.... type 0..1 CodeableConcept Kind of staging
Binding: ConditionStageType (example): Codes describing the kind of condition staging (e.g. clinical or pathological).
... evidence SΣ 0..* CodeableReference(Resource) Diagnostic evidence supporting the stroke diagnosis
Binding: SNOMEDCTClinicalFindings (example)
... note 0..* Annotation Additional information about the Condition

doco Documentation for this format

Terminology Bindings

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.

Constraints

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()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition 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
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:ischemicStrokeEtiology S 0..1 CodeableConcept Known ischemic stroke etiology
URL: http://fhir.qualityregistry.org/StructureDefinition/ischemic-stroke-etiology-ext
Binding: StrokeEtiology ValueSet (required)
.... extension:hemorrhagicStrokeBleedingReason S 0..* CodeableConcept Known hemorrhagic bleeding reason
URL: http://fhir.qualityregistry.org/StructureDefinition/hemorrhagic-stroke-bleeding-reason-ext
Binding: BleedingReason ValueSet (required)
.... extension:wakeupStroke S 1..1 boolean Wake-up stroke indicator
URL: http://fhir.qualityregistry.org/StructureDefinition/wakeup-stroke-ext
... clinicalStatus ?!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
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-clinical
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: active
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... verificationStatus ?!SΣ 0..1 CodeableConcept Verification state of diagnosis
Binding: ConditionVerificationStatus (required)
... category SC 1..* CodeableConcept Encounter diagnosis
Binding: ConditionCategoryCodes (preferred): A category assigned to the condition.

Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-category
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: encounter-diagnosis
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... code SΣ 1..1 CodeableConcept Final diagnosis code for the stroke episode, including stroke mimics
Binding: Stroke Diagnosis Code ValueSet (extensible)
... bodySite SΣ 0..* CodeableConcept Anatomical site of stroke involvement
Binding: BodySites ValueSet (extensible)
... subject SΣ 1..1 Reference(RESQ Patient Profile) RES-Q registry patient
... encounter SΣ 1..1 Reference(Stroke Encounter Profile) Index stroke encounter
... onset[x] SΣ 0..1 dateTime Stroke onset or last-known-well date/time
... evidence SΣ 0..* CodeableReference(Resource) Diagnostic evidence supporting the stroke diagnosis
Binding: SNOMEDCTClinicalFindings (example)

doco Documentation for this format

Terminology Bindings

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.

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition 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
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:ischemicStrokeEtiology S 0..1 CodeableConcept Known ischemic stroke etiology
URL: http://fhir.qualityregistry.org/StructureDefinition/ischemic-stroke-etiology-ext
Binding: StrokeEtiology ValueSet (required)
.... extension:hemorrhagicStrokeBleedingReason S 0..* CodeableConcept Known hemorrhagic bleeding reason
URL: http://fhir.qualityregistry.org/StructureDefinition/hemorrhagic-stroke-bleeding-reason-ext
Binding: BleedingReason ValueSet (required)
.... extension:wakeupStroke S 1..1 boolean Wake-up stroke indicator
URL: http://fhir.qualityregistry.org/StructureDefinition/wakeup-stroke-ext
... clinicalStatus S 1..1 CodeableConcept Active index diagnosis
Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-clinical
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: active
... verificationStatus S 0..1 CodeableConcept Verification state of diagnosis
Binding: ConditionVerificationStatus (required)
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-category
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: encounter-diagnosis
... code S 1..1 CodeableConcept Final diagnosis code for the stroke episode, including stroke mimics
Binding: Stroke Diagnosis Code ValueSet (extensible)
... bodySite S 0..* CodeableConcept Anatomical site of stroke involvement
Binding: BodySites ValueSet (extensible)
... subject S 1..1 Reference(RESQ Patient Profile) RES-Q registry patient
... encounter S 1..1 Reference(Stroke Encounter Profile) Index stroke encounter
... onset[x] S 0..1 dateTime Stroke onset or last-known-well date/time
... evidence S 0..* CodeableReference(Resource) Diagnostic evidence supporting the stroke diagnosis

doco Documentation for this format

Terminology Bindings (Differential)

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

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Condition 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
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:ischemicStrokeEtiology S 0..1 CodeableConcept Known ischemic stroke etiology
URL: http://fhir.qualityregistry.org/StructureDefinition/ischemic-stroke-etiology-ext
Binding: StrokeEtiology ValueSet (required)
.... extension:hemorrhagicStrokeBleedingReason S 0..* CodeableConcept Known hemorrhagic bleeding reason
URL: http://fhir.qualityregistry.org/StructureDefinition/hemorrhagic-stroke-bleeding-reason-ext
Binding: BleedingReason ValueSet (required)
.... extension:wakeupStroke S 1..1 boolean Wake-up stroke indicator
URL: http://fhir.qualityregistry.org/StructureDefinition/wakeup-stroke-ext
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier External Ids for this condition
... clinicalStatus ?!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
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-clinical
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: active
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... verificationStatus ?!SΣ 0..1 CodeableConcept Verification state of diagnosis
Binding: ConditionVerificationStatus (required)
... category SC 1..* CodeableConcept Encounter diagnosis
Binding: ConditionCategoryCodes (preferred): A category assigned to the condition.

Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-category
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: encounter-diagnosis
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... severity 0..1 CodeableConcept Subjective severity of condition
Binding: ConditionDiagnosisSeverity (preferred): A subjective assessment of the severity of the condition as evaluated by the clinician.
... code SΣ 1..1 CodeableConcept Final diagnosis code for the stroke episode, including stroke mimics
Binding: Stroke Diagnosis Code ValueSet (extensible)
... bodySite SΣ 0..* CodeableConcept Anatomical site of stroke involvement
Binding: BodySites ValueSet (extensible)
... subject SΣ 1..1 Reference(RESQ Patient Profile) RES-Q registry patient
... encounter SΣ 1..1 Reference(Stroke Encounter Profile) Index stroke encounter
... onset[x] SΣ 0..1 dateTime Stroke onset or last-known-well date/time
... abatement[x] C 0..1 When in resolution/remission
.... abatementDateTime dateTime
.... abatementAge Age
.... abatementPeriod Period
.... abatementRange Range
.... abatementString string
... recordedDate Σ 0..1 dateTime Date condition was first recorded
... participant Σ 0..* BackboneElement Who or what participated in the activities related to the condition and how they were involved
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... function Σ 0..1 CodeableConcept Type of involvement
Binding: ParticipationRoleType (extensible)
.... actor Σ 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Device | Organization | CareTeam) Who or what participated in the activities related to the condition
... stage C 0..* BackboneElement Stage/grade, usually assessed formally
Constraints: con-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... summary C 0..1 CodeableConcept Simple summary (disease specific)
Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages).
.... assessment C 0..* Reference(ClinicalImpression | DiagnosticReport | Observation) Formal record of assessment
.... type 0..1 CodeableConcept Kind of staging
Binding: ConditionStageType (example): Codes describing the kind of condition staging (e.g. clinical or pathological).
... evidence SΣ 0..* CodeableReference(Resource) Diagnostic evidence supporting the stroke diagnosis
Binding: SNOMEDCTClinicalFindings (example)
... note 0..* Annotation Additional information about the Condition

doco Documentation for this format

Terminology Bindings

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.

Constraints

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()

 

Other representations of profile: CSV, Excel, Schematron