This page is part of the FHIR Specification (v1.0.0: DSTU 2 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
GuidanceArtifact used to define an ECA Rule (id = "guidanceartifact-ecarule-example")
<Basic xmlns="http://hl7.org/fhir"> <!-- This example demonstrates the GuidanceArtifact structure used to define an ECA rule --> <id value="guidanceartifact-ecarule-example"/> <meta> <!-- TODO: Derived profile is being built, but attempting to validate with it now results in validation errors about matching multiple slices --> <profile value="http://hl7.org/fhir/StructureDefinition/cqif-guidanceartifact"/> </meta> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml">Chalmydia Screening CDS Example Using Common</div> </text> <!-- Version --> <!-- ValidationFailure: DerivedProfileElement <extension url="http://hl7.org/fhir/StructureDefinition/cqif-basic-moduleVersion"> <valueString value="1.0.0"/> </extension> --> <!-- Title --> <!-- ValidationFailure: DerivedProfileElement <extension url="http://hl7.org/fhir/StructureDefinition/cqif-basic-title"> <valueCode value="Chlamydia Screening CDS Example Using Common"/> </extension> --> <!-- Description --> <!-- ValidationFailure: DerivedProfileElement <extension url="http://hl7.org/fhir/StructureDefinition/cqif-basic-description"> <valueString value="Chlamydia Screening CDS Example Using Common"/> </extension> --> <!-- PublicationDate --> <!-- ValidationFailure: DerivedProfileElement <extension url="http://hl7.org/fhir/StructureDefinition/cqif-basic-publicationDate"> <valueDate value="2015-07-22"/> </extension> --> <!-- Topic --> <!-- ValidationFailure: DerivedProfileElement <extension url="http://hl7.org/fhir/StructureDefinition/cqif-basic-topic"> <valueCodeableConcept> <text value="Chlamydia Screeening"/> </valueCodeableConcept> </extension> --> <!-- Keyword --> <!-- ValidationFailure: DerivedProfileElement <extension url="http://hl7.org/fhir/StructureDefinition/cqif-basic-keyword"> <valueString value="Chlamydia Screening"/> </extension> --> <!-- Model --> <!-- ValidationFailure: DerivedProfileElement <extension url="http://hl7.org/fhir/StructureDefinition/cqif-basic-model"> <extension url="http://hl7.org/fhir/StructureDefinition/cqif-basic-model#name"> <valueString value="QUICK"/> </extension> </extension> --> <!-- Library --> <!-- ValidationFailure: DerivedProfileElement <extension url="http://hl7.org/fhir/StructureDefinition/cqif-basic-library"> <extension url="http://hl7.org/fhir/StructureDefinition/cqif-basic-library#name"> <valueString value="Common"/> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/cqif-basic-library#id"> <valueString value="ChlamydiaScreening_CDS_Common"/> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/cqif-basic-library#version"> <valueString value="2.0.0"/> </extension> </extension> --> <!-- Content --> <!-- ValidationFailure: DerivedProfileElement <extension url="http://hl7.org/fhir/StructureDefinition/cqif-basic-content"> <valueAttachment> <contentType value="application/x-cql+text"/> <url value="http://cqlrepository.org/ChlamydiaScreening_CDS_UsingCommon.cql"/> <title value="Chlamydia Screening CDS Using Common"/> </valueAttachment> </extension> --> <!-- Rule --> <!-- ValidationFailure: DerivedProfileElement <extension url="http://hl7.org/fhir/StructureDefinition/cqif-basic-expression"> <valueString value="No Screening"/> </extension> --> <!-- Action --> <!-- ValidationFailure: Element is unknown or does not match any slice <extension url="http://hl7.org/fhir/StructureDefinition/cqif-basic-guidance-action"> <extension url="http://hl7.org/fhir/StructureDefinition/cqif-basic-guidance-action#title"> <valueString value="Patient has not had chlamydia screening within the recommended timeframe..."/> </extension> <extension url="customization"> <extension url="customization.path"> <valueString value="~"/> </extension> <extension url="customization.expression"> <valueString value="ChlamydiaScreeningRequest"/> </extension> </extension> </extension> --> <!-- Status --> <modifierExtension url="http://hl7.org/fhir/StructureDefinition/cqif-basic-moduleStatus"> <valueCode value="draft"/> </modifierExtension> <!-- Evaluation Supported --> <modifierExtension url="http://hl7.org/fhir/StructureDefinition/cqif-basic-evaluationSupported"> <valueBoolean value="true"/> </modifierExtension> <!-- Identifier --> <identifier> <use value="official"/> <value value="ChlamydiaScreening_CDS_UsingCommon"/> </identifier> <!-- Code --> <code> <coding> <code value="eca-rule"/> </coding> </code> </Basic>
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.