Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Example Provenance/example-cwl (XML)

Security Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Patient, Practitioner, RelatedPerson

Raw XML (canonical form + also see XML Format Specification)

Jump past Narrative

MolecularSequence for CWL workflow project (id = "example-cwl")

<?xml version="1.0" encoding="UTF-8"?>

<Provenance xmlns="http://hl7.org/fhir">
  <id value="example-cwl"/> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p> 
        <b> Generated Narrative with Details</b> 
      </p> <p> 
        <b> id</b> : cwl-example</p> <p> 
        <b> target</b> : <a href="sequence-example-pgx-1.html">MolecularSequence/example-pgx-1</a> 
      </p> <p> 
        <b> period</b> : Nov 30, 2016 --&gt; (ongoing)</p> <p> 
        <b> recorded</b> : Dec 1, 2016 8:12:14 AM</p> <p> 
        <b> reason</b> : profiling Short Tandem Repeats (STRs) from high throughput sequencing data. (Details:
         [not stated] code null = 'null', stated as 'profiling Short Tandem Repeats
         (STRs) from
         high throughput sequencing data.')</p> 
      <h3> Agents</h3> 
      <table> 
        <tr> 
          <td> -</td> 
          <td> 
            <b> Role</b> 
          </td> 
          <td> 
            <b> Who</b> 
          </td> 
        </tr> 
        <tr> 
          <td> *</td> 
          <td> Author (Details: http://hl7.org/fhir/provenance-participant-role code author =
             'Author',
             stated as 'null')</td> 
          <td> 
            <a href="patient-example.html">Patient/example</a> 
          </td> 
        </tr> 
      </table> 
      <h3> Entities</h3> 
      <table> 
        <tr> 
          <td> -</td> 
          <td> 
            <b> Role</b> 
          </td> 
          <td> 
            <b> Reference</b> 
          </td> 
        </tr> 
        <tr> 
          <td> *</td> 
          <td> source</td> 
          <td> 
            <a href="https://github.com/common-workflow-language/workflows/blob/master/workflows/lobSTR/lobSTR-wor
            kflow.cwl">CWL example</a> 
          </td> 
        </tr> 
      </table> 
    </div> 
  </text> 
  <target> 
    <reference value="MolecularSequence/example-pgx-1/_history/1"/> 
  </target> 
  <occurredPeriod> 
    <start value="2016-11-30"/> 
  </occurredPeriod> 
  <recorded value="2016-12-01T08:12:14+10:00"/> 

  <activity> 
    <coding> 
      <system value="http://terminology.hl7.org/CodeSystem/v3-DataOperation"/> 
      <code value="CREATE"/> 
      <display value="create"/> 
    </coding> 
    <text value="profiling Short Tandem Repeats (STRs) from high throughput sequencing data."/> 
  </activity> 
  <agent>  
    <type> 
      <coding> 
        <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/> 
        <code value="AUT"/> 
      </coding> 
    </type> 
    <who> 
      <reference value="Patient/example"/> 
    </who> 
  </agent> 

  <entity> 
    <role value="source"/> 
    <what> 
      <identifier> 
          <!--  
    <reference value="https://github.com/common-workflow-language/workflows/blob/master/workf
        lows/lobSTR/lobSTR-workflow.cwl"/>
  removed this as it throws warnings in build. Could not figure out what to replace
         it with.
    -->
        <type> 
          <coding> 
            <system value="https://github.com/common-workflow-language/workflows"/> 
            <code value="CWL"/> 
            <display value="lobSTR"/> 
          </coding> 
        </type> 
        <value value="https://github.com/common-workflow-language/workflows/blob/master/workflows/lobSTR/lobSTR-wor
        kflow.cwl"/> 
      </identifier> 
    </what> 
  </entity> 
</Provenance> 

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.