Current Build

Provenance-example-cwl.ttl

Raw Turtle, JSON-LD

Provenance example for cwl workflow project

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/Provenance/example-cwl> a fhir:Provenance;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example-cwl"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.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>"
  ];
  fhir:Provenance.target [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/Sequence/example-pgx-1>;
     fhir:Reference.reference [ fhir:value "Sequence/example-pgx-1" ]
  ];
  fhir:Provenance.period [
     fhir:Period.start [ fhir:value "2016-11-30"^^xsd:date ]
  ];
  fhir:Provenance.recorded [ fhir:value "2016-12-01T08:12:14+10:00"^^xsd:dateTime];
  fhir:Provenance.reason [
     fhir:index 0;
     fhir:Coding.display [ fhir:value "profiling Short Tandem Repeats (STRs) from high throughput sequencing data." ]
  ];
  fhir:Provenance.agent [
     fhir:index 0;
     fhir:Provenance.agent.role [
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/provenance-participant-role" ];
       fhir:Coding.code [ fhir:value "author" ]
     ];
     fhir:Provenance.agent.whoReference [
       fhir:link <http://hl7.org/fhir/Patient/example>;
       fhir:Reference.reference [ fhir:value "Patient/example" ]
     ]
  ];
  fhir:Provenance.entity [
     fhir:index 0;
     fhir:Provenance.entity.role [ fhir:value "source" ];
     fhir:Provenance.entity.reference [
       fhir:link <https://github.com/common-workflow-language/workflows/blob/master/workflows/lobSTR/lobSTR-workflow.cwl>;
       fhir:Reference.reference [ fhir:value "https://github.com/common-workflow-language/workflows/blob/master/workflows/lobSTR/lobSTR-workflow.cwl" ];
       fhir:Reference.identifier [
         fhir:Identifier.type [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "https://github.com/common-workflow-language/workflows" ];
             fhir:Coding.code [ fhir:value "CWL" ];
             fhir:Coding.display [ fhir:value "lobSTR" ]
           ]
         ];
         fhir:Identifier.value [ fhir:value "https://github.com/common-workflow-language/workflows/blob/master/workflows/lobSTR/lobSTR-workflow.cwl" ]
       ];
       fhir:Reference.display [ fhir:value "CWL example" ]
     ]
  ] .

<http://hl7.org/fhir/Sequence/example-pgx-1> a fhir:Sequence .

<http://hl7.org/fhir/Patient/example> a fhir:Patient .

# -------------------------------------------------------------------------------------


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.