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

Responsible Owner: Clinical Decision Support Work GroupStandards 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#> 

# ShEx Version 2.2
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:l @<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>?;            # Notice about intellectual property 
                                            # ownership, can include 
                                            # restrictions on use 
    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 
}  

# Relationship to other Resources
<ArtifactAssessment.relatesTo> EXTENDS @<BackboneElement> CLOSED {   
    fhir:type @<CodeableConcept>;           # documentation | justification | 
                                            # citation | 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 | documents | 
                                            # specification-of | created-with | 
                                            # cite-as | reprint | reprint-of | 
                                            # summarizes 
    fhir:target @<Uri>  OR 
    			@<Attachment>  OR 
    			(@<Canonical>  AND {fhir:l @<Resource> })  OR 
    			(@<Reference>  AND {fhir:l @<Resource> })  OR 
    			@<Markdown>  ;  # The artifact that is related to 
                                            # this ArtifactAssessment 
}  

# 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 
}  

# 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:l 
			@<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 ------------------------

# 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.