Release 4 5 Ballot

This page is part of the FHIR Specification (v4.0.1: R4 (v5.0.0-ballot: R5 Ballot - Mixed Normative and STU see ballot notes ) in it's permanent home (it will always be available at this URL). ). 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.ttl

Example ImagingSelection/example-presentation-state-selection (Turtle)

Security Imaging Integration Work Group Maturity Level : N/A Standards Status : Informative Compartments : Device , Patient , Practitioner , RelatedPerson

Raw Turtle (+ also see Turtle/RDF Format Specification )

Provenance example for cwl workflow project Presentation State Selection

@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;

[a fhir:ImagingSelection;

  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example-cwl"];

  fhir:Resource.id [ fhir:value "example-presentation-state-selection"];

  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n			<p>\n				<b>Generated Narrative with Details</b>\n			</p><p>\n				<b>id</b>: cwl-example</p><p>\n				<b>target</b>: <a href=\"http://build.fhir.org/sequence-example-pgx-1.html\">MolecularSequence/example-pgx-1</a>\n			</p><p>\n				<b>period</b>: Nov 30, 2016 --&gt; (ongoing)</p><p>\n				<b>recorded</b>: Dec 1, 2016 8:12:14 AM</p><p>\n				<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>\n			<h3>Agents</h3>\n			<table>\n				<tr>\n					<td>-</td>\n					<td>\n						<b>Role</b>\n					</td>\n					<td>\n						<b>Who</b>\n					</td>\n				</tr>\n				<tr>\n					<td>*</td>\n					<td>Author (Details: http://hl7.org/fhir/provenance-participant-role code author = 'Author',\n             stated as 'null')</td>\n					<td>\n						<a href=\"http://build.fhir.org/patient-example.html\">Patient/example</a>\n					</td>\n				</tr>\n			</table>\n			<h3>Entities</h3>\n			<table>\n				<tr>\n					<td>-</td>\n					<td>\n						<b>Role</b>\n					</td>\n					<td>\n						<b>Reference</b>\n					</td>\n				</tr>\n				<tr>\n					<td>*</td>\n					<td>source</td>\n					<td>\n						<a href=\"https://github.com/common-workflow-language/workflows/blob/master/workflows/lobSTR/lobSTR-workflow.cwl\">CWL example</a>\n					</td>\n				</tr>\n			</table>\n		</div>"

     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: ImagingSelection</b><a name=\"example-presentation-state-selection\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource ImagingSelection &quot;example-presentation-state-selection&quot; </p></div><p><b>identifier</b>: id: urn:oid:1.2.840.113747.20080222.104120739293836151163903631439818.2.1</p><p><b>status</b>: available</p><p><b>subject</b>: <span/></p><p><b>code</b>: Referenced DICOM Grayscale Softcopy Presentation State <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>studyUid</b>: 1.2.840.113747.20080222.104120739293836153163903631439818</p><p><b>derivedFrom</b>: <span/></p><p><b>seriesUid</b>: 1.2.840.113747.20080222.104120739293836151283903631439818.1</p><p><b>frameOfReferenceUid</b>: 1.2.840.113747.20080222.104120739293289003163903631439818.0</p><p><b>focus</b>: <a href=\"imagingselection-example-basic-image-selection.html\">ImagingSelection/example-basic-image-selection</a></p><h3>Instances</h3><table class=\"grid\"><tr><td>-</td><td><b>Uid</b></td><td><b>SopClass</b></td></tr><tr><td>*</td><td>1.2.840.113747.20080222.104120739293836151289903631439818.1.0</td><td>urn:oid:1.2.840.10008.5.1.4.1.1.11.1 (Details: urn:ietf:rfc:3986 code urn:oid:1.2.840.10008.5.1.4.1.1.11.1 = 'urn:oid:1.2.840.10008.5.1.4.1.1.11.1', stated as 'null')</td></tr></table></div>"

  ];
  fhir:Provenance.target [

  fhir:ImagingSelection.identifier [

     fhir:index 0;
     fhir:link <http://hl7.org/fhir/MolecularSequence/example-pgx-1>;
     fhir:Reference.reference [ fhir:value "MolecularSequence/example-pgx-1" ]

     fhir:Identifier.system [ fhir:value "urn:dicom:uid" ];
     fhir:Identifier.value [ fhir:value "urn:oid:1.2.840.113747.20080222.104120739293836151163903631439818.2.1" ]

  ];
  fhir:Provenance.occurredPeriod [
     fhir:Period.start [ fhir:value "2016-11-30"^^xsd:date ]

  fhir:ImagingSelection.status [ fhir:value "available"];
  fhir:ImagingSelection.subject [
     fhir:Reference.type [ fhir:value "Patient" ];
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "https://fhirhospital.org" ];
       fhir:Identifier.value [ fhir:value "WMQVWGBPNPQHAWCO" ]
     ]

  ];
  fhir:Provenance.recorded [ fhir:value "2016-12-01T08:12:14+10:00"^^xsd:dateTime];
  fhir:Provenance.reason [
     fhir:index 0;
     fhir:CodeableConcept.text [ fhir:value "profiling Short Tandem Repeats (STRs) from high throughput sequencing data." ]

  fhir:ImagingSelection.code [
     fhir:CodeableConcept.text [ fhir:value "Referenced DICOM Grayscale Softcopy Presentation State" ]

  ];
  fhir:Provenance.agent [

  fhir:ImagingSelection.studyUid [ fhir:value "1.2.840.113747.20080222.104120739293836153163903631439818"];
  fhir:ImagingSelection.derivedFrom [

     fhir:index 0;
     fhir:Provenance.agent.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ];
         fhir:Coding.code [ fhir:value "AUT" ]
       ]
     ];
     fhir:Provenance.agent.who [
       fhir:link <http://hl7.org/fhir/Patient/example>;
       fhir:Reference.reference [ fhir:value "Patient/example" ]

     fhir:Reference.type [ fhir:value "ImagingStudy" ];
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "urn:dicom:uid" ];
       fhir:Identifier.value [ fhir:value "urn:oid:1.2.840.113747.20080222.104120739291289003163903631439818" ]

     ]
  ];
  fhir:Provenance.entity [

  fhir:ImagingSelection.seriesUid [ fhir:value "1.2.840.113747.20080222.104120739293836151283903631439818.1"];
  fhir:ImagingSelection.frameOfReferenceUid [ fhir:value "1.2.840.113747.20080222.104120739293289003163903631439818.0"];
  fhir:ImagingSelection.focus [

     fhir:index 0;
     fhir:Provenance.entity.role [ fhir:value "source" ];
     fhir:Provenance.entity.what [
       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.reference [ fhir:value "ImagingSelection/example-basic-image-selection" ]
  ];
  fhir:ImagingSelection.instance [
     fhir:index 0;
     fhir:ImagingSelection.instance.uid [ fhir:value "1.2.840.113747.20080222.104120739293836151289903631439818.1.0" ];
     fhir:ImagingSelection.instance.sopClass [
       fhir:Coding.system [ fhir:value "urn:ietf:rfc:3986" ];
       fhir:Coding.code [ fhir:value "urn:oid:1.2.840.10008.5.1.4.1.1.11.1" ]

     ]
  ] .

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

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

  ]] .


# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/Provenance/example-cwl.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Provenance/example-cwl.ttl> .

[a owl:Ontology;
  owl:imports fhir:fhir.ttl] .


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


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.