AI Transparency on FHIR
1.0.0-current - STU1 Ballot International flag

AI Transparency on FHIR, published by HL7 International / Electronic Health Records. This guide is not an authorized publication; it is the continuous build for version 1.0.0-current built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/aitransparency-ig/ and changes regularly. See the Directory of published versions

: Provenance for AI with Model-Card, input, and output

Page standards status: Informative

Raw ttl | Download


@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/AI-full-lorem-ipsum> a fhir:Provenance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "AI-full-lorem-ipsum"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/uv/aitransparency/StructureDefinition/AI-Provenance" ;
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/uv/aitransparency/StructureDefinition/AI-Provenance>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Provenance AI-full-lorem-ipsum</b></p><a name=\"AI-full-lorem-ipsum\"> </a><a name=\"hcAI-full-lorem-ipsum\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-AI-Provenance.html\">AI Provenance</a></p></div><p>Provenance for: </p><ul><li><a href=\"http://server.example.org/fhir/Observation/14\">http://server.example.org/fhir/Observation/14</a></li><li><a href=\"http://server.example.org/fhir/CarePlan/19\">http://server.example.org/fhir/CarePlan/19</a></li></ul><p>Summary</p><table class=\"grid\"><tr><td>Occurrence</td><td>2023-10-01 00:00:00+0000</td></tr><tr><td>Recorded</td><td>2023-10-01 00:00:00+0000</td></tr><tr><td>Policy</td><td><a href=\"http://example.org/policies/ai-authorized-CDS\">http://example.org/policies/ai-authorized-CDS</a></td></tr></table><p><b>Agents</b></p><table class=\"grid\"><tr><td><b>Type</b></td><td><b>who</b></td></tr><tr><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/provenance-participant-type verifier}\">Verifier</span></td><td><a href=\"http://server.example.org/fhir/Practitioner/pract\">http://server.example.org/fhir/Practitioner/pract</a></td></tr><tr><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/provenance-participant-type author}\">Author</span></td><td><a href=\"Device-Note-ModelCard.html\">Device: extension = Large Language Models; identifier = http://example.org/ehr/client-ids#goodhealth; manufacturer = Acme Devices, Inc; type = All kinds of Artificial Intelligence; contact = http://example.org; note = ---\nlanguage:\n- en\nlicense:\n- bsd-3-clause\nannotations_creators:\n- crowdsourced\n- expert-generated\nlanguage_creators:\n- found\nmultilinguality:\n- monolingual\nsize_categories:\n- n&lt;1K\ntask_categories:\n- image-segmentation\ntask_ids:\n- semantic-segmentation\npretty_name: Sample Segmentation\n---\n\n# Dataset Card for Sample Segmentation\n\nThis is a sample dataset card for a semantic segmentation dataset.</a></td></tr></table></div>"
  ] ;
  fhir:DomainResource.contained [
     a fhir:DocumentReference ;
     fhir:index -1 ;
     fhir:Resource.id [ fhir:value "Input-Prompt-lorem-ipsum" ] ;
     fhir:Resource.meta [
       fhir:Meta.profile [
         fhir:value "http://hl7.org/fhir/uv/aitransparency/StructureDefinition/AI-InputPrompt" ;
         fhir:index -1 ;
         fhir:link <http://hl7.org/fhir/uv/aitransparency/StructureDefinition/AI-InputPrompt>
       ]
     ] ;
     fhir:DocumentReference.status [ fhir:value "current" ] ;
     fhir:DocumentReference.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/uv/aitransparency/CodeSystem/AIinputsCS" ] ;
         fhir:Coding.code [ fhir:value "AIInputPrompt" ] ;
         fhir:Coding.display [ fhir:value "AI Input Prompt" ]
       ]
     ] ;
     fhir:DocumentReference.description [ fhir:value "Generate a lorem ipsum text to serve as placeholder copy for use in design, development, and publishing. \n\n1. Specify the exact amount of text or the number of paragraphs required (e.g., 1 paragraph, 3 paragraphs, etc.). \n2. Create the lorem ipsum text using a classic style or introduce slight variations while keeping the nonsensical nature to suit the requested length. \n\nEnsure that the text maintains a good balance between readability and the traditional lorem ipsum style, giving a realistic impression of how the text will impact the overall layout and design.\n\n# Output Format\n- Provide a continuous block of lorem ipsum text corresponding to the specified amount needed." ] ;
     fhir:DocumentReference.content [
       fhir:index -1 ;
       fhir:DocumentReference.content.attachment [
         fhir:Attachment.contentType [ fhir:value "text/markdown" ] ;
         fhir:Attachment.data [ fhir:value "R2VuZXJhdGUgYSBsb3JlbSBpcHN1bSB0ZXh0IHRvIHNlcnZlIGFzIHBsYWNlaG9sZGVyIGNvcHkgZm9yIHVzZSBpbiBkZXNpZ24sIGRldmVsb3BtZW50LCBhbmQgcHVibGlzaGluZy4gCgoxLiBTcGVjaWZ5IHRoZSBleGFjdCBhbW91bnQgb2YgdGV4dCBvciB0aGUgbnVtYmVyIG9mIHBhcmFncmFwaHMgcmVxdWlyZWQgKGUuZy4sIDEgcGFyYWdyYXBoLCAzIHBhcmFncmFwaHMsIGV0Yy4pLiAKMi4gQ3JlYXRlIHRoZSBsb3JlbSBpcHN1bSB0ZXh0IHVzaW5nIGEgY2xhc3NpYyBzdHlsZSBvciBpbnRyb2R1Y2Ugc2xpZ2h0IHZhcmlhdGlvbnMgd2hpbGUga2VlcGluZyB0aGUgbm9uc2Vuc2ljYWwgbmF0dXJlIHRvIHN1aXQgdGhlIHJlcXVlc3RlZCBsZW5ndGguIAoKRW5zdXJlIHRoYXQgdGhlIHRleHQgbWFpbnRhaW5zIGEgZ29vZCBiYWxhbmNlIGJldHdlZW4gcmVhZGFiaWxpdHkgYW5kIHRoZSB0cmFkaXRpb25hbCBsb3JlbSBpcHN1bSBzdHlsZSwgZ2l2aW5nIGEgcmVhbGlzdGljIGltcHJlc3Npb24gb2YgaG93IHRoZSB0ZXh0IHdpbGwgaW1wYWN0IHRoZSBvdmVyYWxsIGxheW91dCBhbmQgZGVzaWduLgoKIyBPdXRwdXQgRm9ybWF0Ci0gUHJvdmlkZSBhIGNvbnRpbnVvdXMgYmxvY2sgb2YgbG9yZW0gaXBzdW0gdGV4dCBjb3JyZXNwb25kaW5nIHRvIHRoZSBzcGVjaWZpZWQgYW1vdW50IG5lZWRlZC4="^^xsd:base64Binary ]
       ]
     ]
  ] ;
  fhir:Provenance.target [
     fhir:index -1 ;
     fhir:link <http://server.example.org/fhir/Observation/14> ;
     fhir:Element.extension [
       fhir:index -1 ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/targetPath" ] ;
       fhir:Extension.valueString [ fhir:value "Observation.interpretation" ]
     ] ;
     fhir:Reference.reference [ fhir:value "http://server.example.org/fhir/Observation/14" ]
  ], [
     fhir:index -1 ;
     fhir:link <http://server.example.org/fhir/CarePlan/19> ;
     fhir:Reference.reference [ fhir:value "http://server.example.org/fhir/CarePlan/19" ]
  ] ;
  fhir:Provenance.occurredDateTime [ fhir:value "2023-10-01T00:00:00Z"^^xsd:dateTime] ;
  fhir:Provenance.recorded [ fhir:value "2023-10-01T00:00:00Z"^^xsd:dateTime] ;
  fhir:Provenance.policy [
     fhir:value "http://example.org/policies/ai-authorized-CDS" ;
     fhir:index -1
  ] ;
  fhir:Provenance.reason [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActReason" ] ;
       fhir:Coding.version [ fhir:value "4.0.0" ] ;
       fhir:Coding.code [ fhir:value "TREAT" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ObservationValue" ] ;
       fhir:Coding.version [ fhir:value "5.0.0" ] ;
       fhir:Coding.code [ fhir:value "AIAST" ]
     ]
  ] ;
  fhir:Provenance.agent [
     fhir:index -1 ;
     fhir:Provenance.agent.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/provenance-participant-type" ] ;
         fhir:Coding.code [ fhir:value "verifier" ] ;
         fhir:Coding.display [ fhir:value "Verifier" ]
       ]
     ] ;
     fhir:Provenance.agent.who [
       fhir:link <http://server.example.org/fhir/Practitioner/pract> ;
       fhir:Reference.reference [ fhir:value "http://server.example.org/fhir/Practitioner/pract" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:Provenance.agent.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/provenance-participant-type" ] ;
         fhir:Coding.code [ fhir:value "author" ] ;
         fhir:Coding.display [ fhir:value "Author" ]
       ]
     ] ;
     fhir:Provenance.agent.who [
       fhir:link <http://hl7.org/fhir/Device/Note-ModelCard> ;
       fhir:Reference.reference [ fhir:value "Device/Note-ModelCard" ]
     ]
  ] ;
  fhir:Provenance.entity [
     fhir:index -1 ;
     fhir:Provenance.entity.role [ fhir:value "source" ] ;
     fhir:Provenance.entity.what [
       fhir:link <http://server.example.org/fhir/documentreference/patient-cda-summary> ;
       fhir:Reference.reference [ fhir:value "http://server.example.org/fhir/documentreference/patient-cda-summary" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:Provenance.entity.role [ fhir:value "source" ] ;
     fhir:Provenance.entity.what [
       fhir:link <http://server.example.org/fhir/Observation/patient-lab-result> ;
       fhir:Reference.reference [ fhir:value "http://server.example.org/fhir/Observation/patient-lab-result" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:Provenance.entity.role [ fhir:value "derivation" ] ;
     fhir:Provenance.entity.what [
       fhir:link <http://server.example.org/fhir/PlanDefinition/plan-definition-example> ;
       fhir:Reference.reference [ fhir:value "http://server.example.org/fhir/PlanDefinition/plan-definition-example" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:Provenance.entity.role [ fhir:value "quotation" ] ;
     fhir:Provenance.entity.what [
       fhir:Reference.reference [ fhir:value "#Input-Prompt-lorem-ipsum" ]
     ] ;
     fhir:Provenance.entity.agent [
       fhir:index -1 ;
       fhir:Provenance.agent.type [
         fhir:CodeableConcept.coding [
           fhir:index -1 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/provenance-participant-type" ] ;
           fhir:Coding.code [ fhir:value "author" ] ;
           fhir:Coding.display [ fhir:value "Author" ]
         ]
       ] ;
       fhir:Provenance.agent.who [
         fhir:link <http://server.example.org/fhir/Practitioner/pract> ;
         fhir:Reference.reference [ fhir:value "http://server.example.org/fhir/Practitioner/pract" ]
       ]
     ]
  ] .

<http://hl7.org/fhir/Device/Note-ModelCard> a fhir:Device .

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

<http://hl7.org/fhir/Provenance/AI-full-lorem-ipsum.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/Provenance/AI-full-lorem-ipsum.ttl> .