Release 4B 5

This page is part of the FHIR Specification (v4.3.0: R4B (v5.0.0: R5 - STU ). The This is the current published version which supercedes in it's permanent home (it will always be available at this version is 5.0.0 . URL). For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R5 R4B R4 R3

Provenance-consent-signature.ttl

Example Provenance/consent-signature (Turtle)

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

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

Provenance with signature for a Consent example

@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/consent-signature> a fhir:Provenance;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "consent-signature"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></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 &quot;consent-signature&quot; </p></div><p><b>target</b>: <a href=\"consent-consent-example-signature.html\">Consent/consent-example-signature</a></p><p><b>recorded</b>: 26/05/2016 2:41:10 PM</p><h3>Agents</h3><table class=\"grid\"><tr><td>-</td><td><b>Role</b></td><td><b>Who</b></td></tr><tr><td>*</td><td>author (originator) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-ParticipationType.html\">ParticipationType</a>#AUT)</span></td><td><a href=\"todo.html\">Patient/72</a></td></tr></table></div>"
  ];
  fhir:Provenance.target [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/Consent/consent-example-signature>;
     fhir:Reference.reference [ fhir:value "Consent/consent-example-signature" ]
  ];
  fhir:Provenance.recorded [ fhir:value "2016-05-26T00:41:10-04:00"^^xsd:dateTime];
  fhir:Provenance.agent [
     fhir:index 0;
     fhir:Provenance.agent.role [
       fhir:index 0;
       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/72>;
       fhir:Reference.reference [ fhir:value "Patient/72" ]

[a fhir:Provenance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "consent-signature"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Provenance</b><a name=\"consent-signature\"> </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 Provenance &quot;consent-signature&quot; </p></div><p><b>target</b>: <a href=\"consent-example.html\">Consent/consent-example-basic/_history/1</a></p><p><b>recorded</b>: <span title=\"  the provenance is recorded at the same time as \n    the resource - batched together  \">26 May 2016, 2:41:10 pm</span></p><p><b>activity</b>: authenticated <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.1.0/CodeSystem-v3-DocumentCompletion.html\">DocumentCompletion</a>#AU)</span></p><p><b>patient</b>: <a href=\"patient-example.html\">Patient/example</a> &quot;Peter CHALMERS&quot;</p><h3>Agents</h3><table class=\"grid\"><tr><td>-</td><td><b>Role</b></td><td><b>Who</b></td></tr><tr><td>*</td><td>author (originator) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.1.0/CodeSystem-v3-ParticipationType.html\">ParticipationType</a>#AUT)</span></td><td><a href=\"broken-link.html\">Patient/72</a></td></tr></table><h3>Signatures</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>When</b></td><td><b>Who</b></td><td><b>TargetFormat</b></td><td><b>SigFormat</b></td><td><b>Data</b></td></tr><tr><td>*</td><td>Author's Signature (Details: urn:iso-astm:E1762-95:2013 code 1.2.840.10065.1.12.1.1 = 'Author's Signature', stated as 'Author's Signature')</td><td>26 May 2016, 2:41:10 pm</td><td><a href=\"broken-link.html\">Patient/72</a></td><td>application/fhir+xml</td><td>application/signature+xml</td><td>dGhpcyBibG9iIGlzIHNuaXBwZWQ=</td></tr></table></div>"
  ] ; # 
  fhir:target ( [
     fhir:reference [ fhir:v "Consent/consent-example-basic/_history/1" ]
  ] ) ; # 
  fhir:recorded [ fhir:v "2016-05-26T00:41:10-04:00"^^xsd:dateTime] ; #    the provenance is recorded at the same time as 
#    the resource - batched together   
  fhir:activity [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-DocumentCompletion"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "AU" ] ;
       fhir:display [ fhir:v "authenticated" ]
     ] )
  ] ; # 
  fhir:patient [
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:agent ( [
     fhir:role ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "AUT" ]
       ] )
     ] ) ;
     fhir:who [
       fhir:reference [ fhir:v "Patient/72" ]

     ]
  ];
  fhir:Provenance.signature [
     fhir:index 0;
     fhir:Signature.type [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "urn:iso-astm:E1762-95:2013" ];
       fhir:Coding.code [ fhir:value "1.2.840.10065.1.12.1.1" ];
       fhir:Coding.display [ fhir:value "Author's Signature" ]
     ];
     fhir:Signature.when [ fhir:value "2016-05-26T00:41:10-04:00"^^xsd:dateTime ];
     fhir:Signature.who [
       fhir:link <http://hl7.org/fhir/Patient/72>;
       fhir:Reference.reference [ fhir:value "Patient/72" ]
     ];
     fhir:Signature.targetFormat [ fhir:value "application/fhir+xml" ];
     fhir:Signature.sigFormat [ fhir:value "application/signature+xml" ];
     fhir:Signature.data [ fhir:value "dGhpcyBibG9iIGlzIHNuaXBwZWQ="^^xsd:base64Binary ]
  ] .

<http://hl7.org/fhir/Consent/consent-example-signature> a fhir:Consent .

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

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

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

  ] ) ; # 
  fhir:signature ( [
     fhir:type ( [
       fhir:system [ fhir:v "urn:iso-astm:E1762-95:2013"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "1.2.840.10065.1.12.1.1" ] ;
       fhir:display [ fhir:v "Author's Signature" ]
     ] ) ;
     fhir:when [ fhir:v "2016-05-26T00:41:10-04:00"^^xsd:dateTime ] ;
     fhir:who [
       fhir:reference [ fhir:v "Patient/72" ]
     ] ;
     fhir:targetFormat [ fhir:v "application/fhir+xml" ] ;
     fhir:sigFormat [ fhir:v "application/signature+xml" ] ;
     fhir:data [ fhir:v "dGhpcyBibG9iIGlzIHNuaXBwZWQ="^^xsd:base64Binary ]
  ] )] . # 


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


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.