Release 5 FHIR CI-Build

This page is part of the Continuous Integration Build of FHIR Specification (v5.0.0: R5 - STU ). This is the current published version in it's permanent home (it will always (will be available incorrect/inconsistent at this URL). For a full list of available versions, see times).
See the Directory of published versions . Page versions: R5 R4B R4 R3

Detectedissue.shex

Maturity Level : N/A
Responsible Owner: Clinical Decision Support Work Group Standards Status : Informative Compartments : Device , Group , Patient , Practitioner

Raw ShEx

ShEx statement for detectedissue

PREFIX fhir: <http://hl7.org/fhir/> 
PREFIX fhirvs: <http://hl7.org/fhir/ValueSet/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 
IMPORT <uri.shex>
IMPORT <code.shex>

# ShEx Version 2.2
IMPORT <Uri.shex>
IMPORT <Code.shex>

IMPORT <Group.shex>
IMPORT <Device.shex>
IMPORT <Period.shex>
IMPORT <Timing.shex>

IMPORT <Patient.shex>
IMPORT <Location.shex>
IMPORT <dateTime.shex>
IMPORT <markdown.shex>

IMPORT <DateTime.shex>
IMPORT <Markdown.shex>

IMPORT <Resource.shex>
IMPORT <Reference.shex>
IMPORT <Procedure.shex>
IMPORT <Substance.shex>
IMPORT <Encounter.shex>
IMPORT <Identifier.shex>
IMPORT <Medication.shex>
IMPORT <Annotation.shex>
IMPORT <Organization.shex>
IMPORT <Practitioner.shex>
IMPORT <RelatedPerson.shex>
IMPORT <DomainResource.shex>
IMPORT <CodeableConcept.shex>
IMPORT <BackboneElement.shex>
IMPORT <NutritionProduct.shex>
IMPORT <PractitionerRole.shex>
IMPORT <BiologicallyDerivedProduct.shex>
start=@<DetectedIssue> AND {fhir:nodeRole [fhir:treeRoot]}
# Clinical issue with action
<DetectedIssue> EXTENDS @<DomainResource> CLOSED {   
    a [fhir:DetectedIssue]?;fhir:nodeRole [fhir:treeRoot]?;

    a [fhir:DetectedIssue]?;
    fhir:nodeRole [fhir:treeRoot]?;
    fhir:identifier @<OneOrMore_Identifier>?;  # Unique id for the detected issue
    fhir:status @<code> AND

    fhir:identifier @<OneOrMore_Identifier>?;  # Business identifier for detected 
                                            # issue 
    fhir:status @<Code> AND

    	{fhir:v @fhirvs:detectedissue-status};  # preliminary | final | 
                                            # entered-in-error | mitigated 
    fhir:category @<OneOrMore_CodeableConcept>?;  # Type of detected issue, e.g. 
                                            # drug-drug, duplicate therapy, etc 

                                            # entered-in-error | unknown | 
                                            # mitigated | processing-error 
    fhir:category @<OneOrMore_CodeableConcept>?;  # High level categorization of 
                                            # detected issue 

    fhir:code @<CodeableConcept>?;          # Specific type of detected issue, 
                                            # e.g. drug-drug, duplicate therapy, 
                                            # etc 
    fhir:severity @<code> AND
    	{fhir:v @fhirvs:detectedissue-severity}?;  # high | moderate | low
    fhir:subject @<Reference> AND {fhir:link 

    fhir:severity @<CodeableConcept>?;      # high | moderate | low
    fhir:subject @<Reference> AND {fhir:l 

    			@<BiologicallyDerivedProduct> OR 
    			@<Device> OR 
    			@<Group> OR 
    			@<Location> OR 
    			@<Medication> OR 
    			@<NutritionProduct> OR 
    			@<Organization> OR 
    			@<Patient> OR 
    			@<Practitioner> OR 
    			@<Procedure> OR 
    			@<Substance> ? }?;  # Associated subject
    fhir:encounter @<Reference> AND {fhir:link 
    			@<Encounter> ? }?;  # Encounter detected issue is part of
    fhir:identified @<dateTime>  OR 
    			@<Period>  ?;  # When identified
    fhir:author @<Reference> AND {fhir:link 

    fhir:encounter @<Reference> AND {fhir:l 
    			@<Encounter> ? }?;  # Encounter the detected issue is 
                                            # part of 
    fhir:identified @<DateTime>  OR 
    			@<Period>  OR 
    			@<Timing>  ?;  # When detected issue occurred/is 
                                            # occurring 
    fhir:author @<Reference> AND {fhir:l 

    			@<Device> OR 
    			@<Patient> OR 
    			@<Practitioner> OR 
    			@<PractitionerRole> OR 
    			@<RelatedPerson> ? }?;  # The provider or device that 
                                            # identified the issue 
    fhir:implicated @<OneOrMore_Reference_Resource>?;  # Problem resource
    fhir:evidence @<OneOrMore_DetectedIssue.evidence>?;  # Supporting evidence
    fhir:detail @<markdown>?;               # Description and context
    fhir:reference @<uri>?;                 # Authority for issue

    fhir:detail @<Markdown>?;               # Description and context
    fhir:reference @<Uri>?;                 # Authority for issue
    fhir:qualityOfEvidence @<CodeableConcept>?;  # The quality of the evidence 
                                            # supporting the detected issue 
    fhir:expectedOnsetType @<CodeableConcept>?;  # Time frame of clinical effect
    fhir:medicationClass @<OneOrMore_CodeableConcept>?;  # What medication class
    fhir:managementCode @<CodeableConcept>?;  # Importance of taking action on the 
                                            # issue 

    fhir:mitigation @<OneOrMore_DetectedIssue.mitigation>?;  # Step taken to address
}  
# Supporting evidence
<DetectedIssue.evidence> EXTENDS @<BackboneElement> CLOSED {   
    fhir:code @<OneOrMore_CodeableConcept>?;  # Manifestation
    fhir:detail @<OneOrMore_Reference_Resource>?;  # Supporting information
}  

# Step taken to address
<DetectedIssue.mitigation> EXTENDS @<BackboneElement> CLOSED {   
    fhir:action @<CodeableConcept>;         # What mitigation?
    fhir:date @<dateTime>?;                 # Date committed
    fhir:author @<Reference> AND {fhir:link 

    fhir:date @<DateTime>?;                 # Date committed
    fhir:author @<Reference> AND {fhir:l 

    			@<Practitioner> OR 
    			@<PractitionerRole> ? }?;  # Who is committing?
    fhir:note @<OneOrMore_Annotation>?;     # Additional notes about the 
                                            # mitigation 
}  
#---------------------- Cardinality Types (OneOrMore) -------------------

# Supporting evidence
<DetectedIssue.evidence> EXTENDS @<BackboneElement> CLOSED {   
    fhir:code @<OneOrMore_CodeableConcept>?;  # Manifestation
    fhir:detail @<OneOrMore_Reference_Resource>?;  # Supporting information
}  

#---------------------- Cardinality Types (OneOrMore) -------------------

<OneOrMore_Identifier> CLOSED {
    rdf:first @<Identifier>  ;
    rdf:rest [rdf:nil] OR @<OneOrMore_Identifier> 
}
<OneOrMore_CodeableConcept> CLOSED {
    rdf:first @<CodeableConcept>  ;
    rdf:rest [rdf:nil] OR @<OneOrMore_CodeableConcept> 
}
<OneOrMore_Reference_Resource> CLOSED {
    rdf:first @<Reference> AND {fhir:link 

    rdf:first @<Reference> AND {fhir:l 

			@<Resource> } ;
    rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Resource> 
}
<OneOrMore_DetectedIssue.evidence> CLOSED {
    rdf:first @<DetectedIssue.evidence>  ;
    rdf:rest [rdf:nil] OR @<OneOrMore_DetectedIssue.evidence> 
}
<OneOrMore_DetectedIssue.mitigation> CLOSED {
    rdf:first @<DetectedIssue.mitigation>  ;
    rdf:rest [rdf:nil] OR @<OneOrMore_DetectedIssue.mitigation> 
}
<OneOrMore_Annotation> CLOSED {
    rdf:first @<Annotation>  ;
    rdf:rest [rdf:nil] OR @<OneOrMore_Annotation> 
}
#---------------------- Value Sets ------------------------
# Indicates the potential degree of impact of the identified issue on the patient.
fhirvs:detectedissue-severity ["high" "moderate" "low"]

# Indicates the status of a detected issue
fhirvs:detectedissue-status ["preliminary" "final" "entered-in-error" "mitigated"]

fhirvs:detectedissue-status ["preliminary" "final" "entered-in-error" "unknown" "mitigated"]


Usage note: every effort has been made to ensure that the ShEx files are correct and useful, but they are not a normative part of the specification.