R6 Ballot (2nd Draft)

Publish-box (todo)

Example Provenance/example-create-consent (Turtle)

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

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

Creation of a Consent from a Questionnaire

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

[a fhir:Provenance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-create-consent"] ; # 
  fhir:target ( [
     fhir:reference [ fhir:v "Consent/consent-example-basic/_history/1" ]
  ] ) ; # 
  fhir:recorded [ fhir:v "2021-09-10T07:08:21.722+00:00"^^xsd:dateTime] ; # 
  fhir:activity [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-DataOperation"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "CREATE" ] ;
       fhir:display [ fhir:v "create" ]
     ] )
  ] ; # 
  fhir:patient [
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:agent ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/provenance-participant-type"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "assembler" ] ;
         fhir:display [ fhir:v "Assembler" ]
       ] )
     ] ;
     fhir:who [
       fhir:display [ fhir:v "LEAP Consent Management Service" ]
     ]
  ] ) ; # 
  fhir:entity ( [
     fhir:role [ fhir:v "source" ] ;
     fhir:what [
       fhir:link <http://example.org/fhir/QuestionnaireResponse/some-questionnaire-response> ;
       fhir:reference [ fhir:v "http://example.org/fhir/QuestionnaireResponse/some-questionnaire-response" ]
     ]
  ] )] . # 

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


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.