R4 Draft for Comment

This page is part of the FHIR Specification (v3.2.0: R4 Ballot 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Provenance-example-cwl.json

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

Raw JSON (canonical form)

Provenance example for cwl workflow project

{
  "resourceType": "Provenance",
  "id": "example-cwl",
  "text": {
    "status": "generated",
    "div": "<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=\"http://build.fhir.org/sequence-example-pgx-1.html\">Sequence/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:\n         [not stated] code null = 'null', stated as 'profiling Short Tandem Repeats (STRs) from\n         high throughput sequencing data.')</p><h3>Agents</h3><table><tr><td>-</td><td><b>Role</b></td><td><b>Who[x]</b></td></tr><tr><td>*</td><td>Author (Details: http://hl7.org/fhir/provenance-participant-role code author = 'Author',\n             stated as 'null')</td><td><a href=\"http://build.fhir.org/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-workflow.cwl\">CWL example</a></td></tr></table></div>"
  },
  "target": [
    {
      "reference": "Sequence/example-pgx-1"
    }
  ],
  "occurredPeriod": {
    "start": "2016-11-30"
  },
  "recorded": "2016-12-01T08:12:14+10:00",
  "reason": [
    {
      "text": "profiling Short Tandem Repeats (STRs) from high throughput sequencing data."
    }
  ],
  "agent": [
    {
      "type": {
        "coding": [
          {
            "system": "http://hl7.org/fhir/v3/ParticipationType",
            "code": "AUT"
          }
        ]
      },
      "whoReference": {
        "reference": "Patient/example"
      }
    }
  ],
  "entity": [
    {
      "role": "source",
      "whatIdentifier": {
        "type": {
          "coding": [
            {
              "system": "https://github.com/common-workflow-language/workflows",
              "code": "CWL",
              "display": "lobSTR"
            }
          ]
        },
        "value": "https://github.com/common-workflow-language/workflows/blob/master/workflows/lobSTR/lobSTR-workflow.cwl"
      }
    }
  ]
}

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.