FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Artifactassessment.shex

Clinical Decision Support Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

Raw ShEx

ShEx statement for artifactassessment

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 <date.shex>
IMPORT <code.shex>
IMPORT <string.shex>
IMPORT <Device.shex>
IMPORT <boolean.shex>
IMPORT <Patient.shex>
IMPORT <markdown.shex>
IMPORT <Resource.shex>
IMPORT <dateTime.shex>
IMPORT <Quantity.shex>
IMPORT <Reference.shex>
IMPORT <canonical.shex>
IMPORT <Identifier.shex>
IMPORT <Attachment.shex>
IMPORT <Organization.shex>
IMPORT <Practitioner.shex>
IMPORT <DomainResource.shex>
IMPORT <BackboneElement.shex>
IMPORT <CodeableConcept.shex>
IMPORT <PractitionerRole.shex>

start=@<ArtifactAssessment> AND {fhir:nodeRole [fhir:treeRoot]}

# Adds metadata-supported comments, classifiers or ratings related to a Resource
<ArtifactAssessment> EXTENDS @<DomainResource> CLOSED {   
    a [fhir:ArtifactAssessment]?;fhir:nodeRole [fhir:treeRoot]?;

    fhir:identifier @<OneOrMore_Identifier>?;  # Additional identifier for the 
                                            # artifact assessment 
    fhir:title @<string>?;                  # A label for use in displaying and 
                                            # selecting the artifact assessment 
    fhir:citeAs @<markdown>?;               # How to cite the comment or rating
    fhir:artifact (@<Reference>  AND {fhir:link @<Resource> })  OR 
    			@<canonical>  OR 
    			@<uri>  ;  # The artifact assessed, commented 
                                            # upon or rated 
    fhir:relatesTo @<OneOrMore_ArtifactAssessment.relatesTo>?;  # Relationship to other Resources
    fhir:date @<dateTime>?;                 # Date last changed
    fhir:copyright @<markdown>?;            # Use and/or publishing restrictions
    fhir:approvalDate @<date>?;             # When the artifact assessment was 
                                            # approved by publisher 
    fhir:lastReviewDate @<date>?;           # When the artifact assessment was 
                                            # last reviewed by the publisher 
    fhir:content @<OneOrMore_ArtifactAssessment.content>?;  # Comment, classifier, or rating 
                                            # content 
    fhir:workflowStatus @<code> AND
    	{fhir:v @fhirvs:artifactassessment-workflow-status}?;  # submitted | triaged | 
                                            # waiting-for-input | 
                                            # resolved-no-change | 
                                            # resolved-change-required | 
                                            # deferred | duplicate | applied | 
                                            # published | entered-in-error 
    fhir:disposition @<code> AND
    	{fhir:v @fhirvs:artifactassessment-disposition}?;  # unresolved | not-persuasive | 
                                            # persuasive | 
                                            # persuasive-with-modification | 
                                            # not-persuasive-with-modification 
}  

# Comment, classifier, or rating content
<ArtifactAssessment.content> EXTENDS @<BackboneElement> CLOSED {   
    fhir:summary @<markdown>?;              # Brief summary of the content
    fhir:type @<CodeableConcept>?;          # What type of content
    fhir:classifier @<OneOrMore_CodeableConcept>?;  # Rating, classifier, or assessment
    fhir:quantity @<Quantity>?;             # Quantitative rating
    fhir:author @<OneOrMore_Reference_Device_OR_Organization_OR_Patient_OR_Practitioner_OR_PractitionerRole>?;  # Who authored the content
    fhir:path @<OneOrMore_uri>?;            # What the comment is directed to
    fhir:relatesTo @<OneOrMore_ArtifactAssessment.relatesTo>?;  # Relationship to other Resources
    fhir:freeToShare @<boolean>?;           # Acceptable to publicly share the 
                                            # content 
    fhir:component @<OneOrMore_ArtifactAssessment.content>?;  # Comment, classifier, or rating 
                                            # content 
}  

# Relationship to other Resources
<ArtifactAssessment.relatesTo> EXTENDS @<BackboneElement> CLOSED {   
    fhir:type @<code> AND
    	{fhir:v @fhirvs:artifact-relationship-type};  # documentation | justification | 
                                            # predecessor | successor | 
                                            # derived-from | depends-on | 
                                            # composed-of | part-of | amends | 
                                            # amended-with | appends | 
                                            # appended-with | cites | cited-by | 
                                            # comments-on | comment-in | 
                                            # contains | contained-in | corrects 
                                            # | correction-in | replaces | 
                                            # replaced-with | retracts | 
                                            # retracted-by | signs | similar-to 
                                            # | supports | supported-with | 
                                            # transforms | transformed-into | 
                                            # transformed-with | 
                                            # specification-of | created-with | 
                                            # cite-as | summarizes 
    fhir:target @<uri>  OR 
    			@<Attachment>  OR 
    			(@<canonical>  AND {fhir:link @<Resource> })  OR 
    			(@<Reference>  AND {fhir:link @<Resource> })  OR 
    			@<markdown>  ;  # The artifact that is related to 
                                            # this ArtifactAssessment 
}  

# Comment, classifier, or rating content
<ArtifactAssessment.content.componentnull> CLOSED {   
}  

#---------------------- Cardinality Types (OneOrMore) -------------------
<OneOrMore_Identifier> CLOSED {
    rdf:first @<Identifier>  ;
    rdf:rest [rdf:nil] OR @<OneOrMore_Identifier> 
}
<OneOrMore_ArtifactAssessment.relatesTo> CLOSED {
    rdf:first @<ArtifactAssessment.relatesTo>  ;
    rdf:rest [rdf:nil] OR @<OneOrMore_ArtifactAssessment.relatesTo> 
}
<OneOrMore_ArtifactAssessment.content> CLOSED {
    rdf:first @<ArtifactAssessment.content>  ;
    rdf:rest [rdf:nil] OR @<OneOrMore_ArtifactAssessment.content> 
}
<OneOrMore_CodeableConcept> CLOSED {
    rdf:first @<CodeableConcept>  ;
    rdf:rest [rdf:nil] OR @<OneOrMore_CodeableConcept> 
}
<OneOrMore_Reference_Device_OR_Organization_OR_Patient_OR_Practitioner_OR_PractitionerRole> CLOSED {
    rdf:first @<Reference> AND {fhir:link 
			@<Device> OR 
			@<Organization> OR 
			@<Patient> OR 
			@<Practitioner> OR 
			@<PractitionerRole> } ;
    rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Device_OR_Organization_OR_Patient_OR_Practitioner_OR_PractitionerRole> 
}
<OneOrMore_uri> CLOSED {
    rdf:first @<uri>  ;
    rdf:rest [rdf:nil] OR @<OneOrMore_uri> 
}

#---------------------- Value Sets ------------------------

# Type of relationship to the related artifact.
fhirvs:artifact-relationship-type ["documentation" "justification" "predecessor" "successor" "derived-from" "depends-on" "composed-of" "part-of" "amends" "amended-with" "appends" "appended-with" "cites" "cited-by" "comments-on" "comment-in" "contains" "contained-in" "corrects" "correction-in" "replaces" "replaced-with" "retracts" "retracted-by" "signs" "similar-to" "supports" "supported-with" "transforms" "transformed-into" "transformed-with" "specification-of" "created-with" "cite-as" "summarizes"]

# Possible values for the disposition of a comment or change request, typically used for comments and change requests, to indicate the disposition of the responsible party towards the changes suggested by the comment or change request.
fhirvs:artifactassessment-disposition ["unresolved" "not-persuasive" "persuasive" "persuasive-with-modification" "not-persuasive-with-modification"]

# Possible values for the workflow status of the comment or assessment, typically used to coordinate workflow around the process of accepting and rejecting changes and comments on the artifact.
fhirvs:artifactassessment-workflow-status ["submitted" "triaged" "waiting-for-input" "resolved-no-change" "resolved-change-required" "deferred" "duplicate" "applied" "published" "entered-in-error"]


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.