Using CQL with FHIR
2.0.0-ballot - STU2Ballot International flag

Using CQL with FHIR, published by HL7 International / Clinical Decision Support. This guide is not an authorized publication; it is the continuous build for version 2.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/cql-ig/ and changes regularly. See the Directory of published versions

Resource Profile: CQLModule - Mappings

Page standards status: Trial-use Maturity Level: 3

Mappings for the cql-module resource profile.

Mappings for RIM Mapping (http://hl7.org/v3)

CQLModule
LibraryEntity. Role, or Act, Act[classCode=GROUPER;moodCode=EVN]
   textAct.text?
   containedN/A
   modifierExtensionN/A
   url.identifier[scope=BUSN;reliability=ISS]
   identifier.identifier
   versionN/A (to add?)
   nameN/A
   title.title
   status.status
   experimentalN/A (to add?)
   type.code
   date.participation[typeCode=AUT].time
   publisher.participation[typeCode=AUT].role
   contact.participation[typeCode=CALLBCK].role
   description.text
   useContextN/A (to add?)
   jurisdictionN/A (to add?)
   purpose.reasonCode.text
   usageN/A (to add?)
   copyrightN/A (to add?)
   approvalDate.outboundRelationship[typeCode="SUBJ"].act[classCode=CACT;moodCode=EVN;code="approval"].effectiveTime
   lastReviewDate.outboundRelationship[typeCode="SUBJ"; subsetCode="RECENT"].act[classCode=CACT;moodCode=EVN;code="review"].effectiveTime
   effectivePeriodN/A (to add?)
   topicN/A (to add?)
   author.participation[typeCode=AUT]
   reviewer.participation[typeCode=VRF] {not clear whether VRF best corresponds to reviewer or endorser}
   endorser.participation[typeCode=VRF] {not clear whether VRF best corresponds to reviewer or endorser}
   relatedArtifact.outboundRelationship[typeCode=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}
   relatedArtifact (dependency).outboundRelationship[typeCode=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}
      idn/a
      extensionn/a
      extension (resourceReference)n/a, N/A
   parameterN/A (to add?)
      idn/a
      extensionn/a
   dataRequirementN/A (to add?)
      idn/a
      extensionn/a
      codeFilter
         idn/a
         extensionn/a
      dateFilter
         idn/a
         extensionn/a
      sort
         idn/a
         extensionn/a
   content.text

Mappings for Workflow Pattern (http://hl7.org/fhir/workflow)

CQLModule
Library
   urlDefinition.url
   identifierDefinition.identifier
   versionDefinition.version
   titleDefinition.title
   statusDefinition.status
   experimentalDefinition.experimental
   dateDefinition.date
   publisherDefinition.publisher
   contactDefinition.contact
   descriptionDefinition.description
   useContextDefinition.useContext
   jurisdictionDefinition.jurisdiction
   purposeDefinition.purpose
   copyrightDefinition.copyright
   approvalDateDefinition.approvalDate
   lastReviewDateDefinition.lastReviewDate
   effectivePeriodDefinition.effectivePeriod

Mappings for FiveWs Pattern Mapping (http://hl7.org/fhir/fivews)

CQLModule
Library
   urlFiveWs.identifier
   identifierFiveWs.identifier
   versionFiveWs.version
   statusFiveWs.status
   experimentalFiveWs.class
   typeFiveWs.what[x]
   dateFiveWs.recorded
   publisherFiveWs.witness
   purposeFiveWs.why[x]

Mappings for Object Implementation Information (http://hl7.org/fhir/object-implementation)

CQLModule
Library
   identifierno-gen-base
   purposeno-gen-base
   copyrightno-gen-base
   approvalDateno-gen-base
   lastReviewDateno-gen-base
   effectivePeriodno-gen-base