API for the Exchange of Medicinal Product Information (APIX)
0.1.0 - ci-build

API for the Exchange of Medicinal Product Information (APIX), published by Gravitate Health Project. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/APIX---API-Exchange-for-Medicinal-Products/ and changes regularly. See the Directory of published versions

: scenario1-04-finance-payment - TTL Representation

Raw ttl | Download


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

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

 a fhir:Task ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "scenario1-04-finance-payment"] ; # 
  fhir:meta [
fhir:versionId [ fhir:v "2" ] ;
fhir:lastUpdated [ fhir:v "2025-03-06T14:00:00+01:00"^^xsd:dateTime ] ;
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/uv/apix/StructureDefinition/apix-task"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/apix/StructureDefinition/apix-task>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Task scenario1-04-finance-payment</b></p><a name=\"scenario1-04-finance-payment\"> </a><a name=\"hcscenario1-04-finance-payment\"> </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\">version: 2; Last updated: 2025-03-06 14:00:00+0100</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-apix-task.html\">APIX Regulatory Task</a></p></div><p><b>identifier</b>: <a href=\"http://terminology.hl7.org/7.0.1/NamingSystem-uri.html\" title=\"As defined by RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt)(with many schemes defined in many RFCs). For OIDs and UUIDs, use the URN form (urn:oid:(note: lowercase) and urn:uuid:). See http://www.ietf.org/rfc/rfc3001.txt and http://www.ietf.org/rfc/rfc4122.txt #xD;#xA;#xD;#xA;This oid is used as an identifier II.root to indicate the the extension is an absolute URI (technically, an IRI). Typically, this is used for OIDs and GUIDs. Note that when this OID is used with OIDs and GUIDs, the II.extension should start with urn:oid or urn:uuid: #xD;#xA;#xD;#xA;Note that this OID is created to aid with interconversion between CDA and FHIR - FHIR uses urn:ietf:rfc:3986 as equivalent to this OID. URIs as identifiers appear more commonly in FHIR.#xD;#xA;#xD;#xA;This OID may also be used in CD.codeSystem.\">Uniform Resource Identifier (URI)</a>/urn:uuid:invoice-task-uuid</p><p><b>partOf</b>: <a href=\"Task-scenario1-01-initial-submission.html\">Task Type IB Variation</a></p><p><b>status</b>: Completed</p><p><b>businessStatus</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/apix/CodeSystem/apix-business-status payment-received}\">Payment Received</span></p><p><b>intent</b>: proposal</p><p><b>priority</b>: Routine</p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/apix/CodeSystem/apix-task-code request-payment}\">Request Payment</span></p><p><b>for</b>: <a href=\"MedicinalProductDefinition/example-ma\">WonderDrug 50mg Tablets</a></p><p><b>authoredOn</b>: 2025-03-05 09:00:00+0100</p><p><b>lastModified</b>: 2025-03-06 14:00:00+0100</p><p><b>requester</b>: <a href=\"#hcscenario1-04-finance-payment/org-ema-srm-hmed\">European Medicines Agency</a></p><h3>RequestedPerformers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Reference</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"#hcscenario1-04-finance-payment/org-synthpharma-ag\">SynthPharma AG</a></td></tr></table><h3>Inputs</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://hl7.org/fhir/uv/apix/CodeSystem/apix-task-input-type regulatory-document}\">Regulatory Document</span></td><td><a href=\"#hcscenario1-04-finance-payment/docref-invoice\">DocumentReference: version = 1.0; status = current; docStatus = final; type = Invoice</a></td></tr></table><h3>Outputs</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://hl7.org/fhir/uv/apix/CodeSystem/apix-task-output-type regulatory-document}\">Regulatory Document</span></td><td><a href=\"#hcscenario1-04-finance-payment/docref-payment-proof\">DocumentReference: version = 1.0; status = current; docStatus = final; type = Proof of Payment</a></td></tr></table><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Organization #org-synthpharma-ag</b></p><a name=\"scenario1-04-finance-payment/org-synthpharma-ag\"> </a><a name=\"hcscenario1-04-finance-payment/org-synthpharma-ag\"> </a><p><b>name</b>: SynthPharma AG</p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Organization #org-ema-srm-hmed</b></p><a name=\"scenario1-04-finance-payment/org-ema-srm-hmed\"> </a><a name=\"hcscenario1-04-finance-payment/org-ema-srm-hmed\"> </a><p><b>name</b>: European Medicines Agency – Human Medicines Evaluation Division</p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: DocumentReference #docref-invoice</b></p><a name=\"scenario1-04-finance-payment/docref-invoice\"> </a><a name=\"hcscenario1-04-finance-payment/docref-invoice\"> </a><p><b>version</b>: 1.0</p><p><b>status</b>: Current</p><p><b>docStatus</b>: Final</p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/apix/CodeSystem/ctd-section m1.0}\">Invoice</span></p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ContentType</b></td><td><b>Url</b></td><td><b>Size</b></td><td><b>Title</b></td><td><b>Creation</b></td></tr><tr><td style=\"display: none\">*</td><td>application/pdf</td><td><a href=\"https://api.ema.example/binaries/invoices/INV-2025-001.pdf\">https://api.ema.example/binaries/invoices/INV-2025-001.pdf</a></td><td>450000</td><td>INV-2025-001.pdf</td><td>2025-03-05 08:00:00+0100</td></tr></table></blockquote></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: DocumentReference #docref-payment-proof</b></p><a name=\"scenario1-04-finance-payment/docref-payment-proof\"> </a><a name=\"hcscenario1-04-finance-payment/docref-payment-proof\"> </a><p><b>version</b>: 1.0</p><p><b>status</b>: Current</p><p><b>docStatus</b>: Final</p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/apix/CodeSystem/ctd-section m1.0}\">Proof of Payment</span></p><h3>RelatesTos</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Target</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"DocumentReference/docref-invoice\">Invoice #INV-2025-001</a></td></tr></table><blockquote><p><b>content</b></p><h3>Attachments</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ContentType</b></td><td><b>Url</b></td><td><b>Size</b></td><td><b>Title</b></td><td><b>Creation</b></td></tr><tr><td style=\"display: none\">*</td><td>application/pdf</td><td><a href=\"https://api.synthpharma.example/binaries/payments/confirm-inv-2025-001.pdf\">https://api.synthpharma.example/binaries/payments/confirm-inv-2025-001.pdf</a></td><td>280000</td><td>Payment-Confirmation.pdf</td><td>2025-03-06 13:30:00+0100</td></tr></table></blockquote></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:contained ( [
a fhir:Organization ;
fhir:id [ fhir:v "org-synthpharma-ag" ] ;
fhir:name [ fhir:v "SynthPharma AG" ]
  ] [
a fhir:Organization ;
fhir:id [ fhir:v "org-ema-srm-hmed" ] ;
fhir:name [ fhir:v "European Medicines Agency – Human Medicines Evaluation Division" ]
  ] [
a fhir:DocumentReference ;
fhir:id [ fhir:v "docref-invoice" ] ;
fhir:version [ fhir:v "1.0" ] ;
fhir:status [ fhir:v "current" ] ;
fhir:docStatus [ fhir:v "final" ] ;
fhir:type [
      ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/uv/apix/CodeSystem/ctd-section"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/apix/CodeSystem/ctd-section>         ] ;
fhir:code [ fhir:v "m1.0" ] ;
fhir:display [ fhir:v "Invoice" ]       ] )     ] ;
    ( fhir:content [
fhir:attachment [
fhir:contentType [ fhir:v "application/pdf" ] ;
fhir:url [
fhir:v "https://api.ema.example/binaries/invoices/INV-2025-001.pdf"^^xsd:anyURI ;
fhir:l <https://api.ema.example/binaries/invoices/INV-2025-001.pdf>         ] ;
fhir:size [ fhir:v "450000"^^xsd:long ] ;
fhir:title [ fhir:v "INV-2025-001.pdf" ] ;
fhir:creation [ fhir:v "2025-03-05T08:00:00+01:00"^^xsd:dateTime ]       ]     ] )
  ] [
a fhir:DocumentReference ;
fhir:id [ fhir:v "docref-payment-proof" ] ;
fhir:version [ fhir:v "1.0" ] ;
fhir:status [ fhir:v "current" ] ;
fhir:docStatus [ fhir:v "final" ] ;
fhir:type [
      ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/uv/apix/CodeSystem/ctd-section"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/apix/CodeSystem/ctd-section>         ] ;
fhir:code [ fhir:v "m1.0" ] ;
fhir:display [ fhir:v "Proof of Payment" ]       ] )     ] ;
    ( fhir:relatesTo [
fhir:target [
fhir:l fhir:DocumentReference/docref-invoice ;
fhir:reference [ fhir:v "DocumentReference/docref-invoice" ] ;
fhir:display [ fhir:v "Invoice #INV-2025-001" ]       ]     ] ) ;
    ( fhir:content [
fhir:attachment [
fhir:contentType [ fhir:v "application/pdf" ] ;
fhir:url [
fhir:v "https://api.synthpharma.example/binaries/payments/confirm-inv-2025-001.pdf"^^xsd:anyURI ;
fhir:l <https://api.synthpharma.example/binaries/payments/confirm-inv-2025-001.pdf>         ] ;
fhir:size [ fhir:v "280000"^^xsd:long ] ;
fhir:title [ fhir:v "Payment-Confirmation.pdf" ] ;
fhir:creation [ fhir:v "2025-03-06T13:30:00+01:00"^^xsd:dateTime ]       ]     ] )
  ] ) ; # 
  fhir:identifier ( [
fhir:system [
fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
fhir:l <urn:ietf:rfc:3986>     ] ;
fhir:value [ fhir:v "urn:uuid:invoice-task-uuid" ]
  ] ) ; # 
  fhir:partOf ( [
fhir:l fhir:Task/scenario1-01-initial-submission ;
fhir:reference [ fhir:v "Task/scenario1-01-initial-submission" ]
  ] ) ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:businessStatus [
    ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/uv/apix/CodeSystem/apix-business-status"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/apix/CodeSystem/apix-business-status>       ] ;
fhir:code [ fhir:v "payment-received" ] ;
fhir:display [ fhir:v "Payment Received" ]     ] )
  ] ; # 
  fhir:intent [ fhir:v "proposal"] ; # 
  fhir:priority [ fhir:v "routine"] ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/uv/apix/CodeSystem/apix-task-code"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/apix/CodeSystem/apix-task-code>       ] ;
fhir:code [ fhir:v "request-payment" ] ;
fhir:display [ fhir:v "Request Payment" ]     ] )
  ] ; # 
  fhir:for [
fhir:l fhir:MedicinalProductDefinition/example-ma ;
fhir:reference [ fhir:v "MedicinalProductDefinition/example-ma" ] ;
fhir:display [ fhir:v "WonderDrug 50mg Tablets" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2025-03-05T09:00:00+01:00"^^xsd:dateTime] ; # 
  fhir:lastModified [ fhir:v "2025-03-06T14:00:00+01:00"^^xsd:dateTime] ; # 
  fhir:requester [
fhir:l <#org-ema-srm-hmed> ;
fhir:reference [ fhir:v "#org-ema-srm-hmed" ] ;
fhir:display [ fhir:v "European Medicines Agency" ]
  ] ; # 
  fhir:requestedPerformer ( [
fhir:reference [
fhir:l <#org-synthpharma-ag> ;
fhir:reference [ fhir:v "#org-synthpharma-ag" ] ;
fhir:display [ fhir:v "SynthPharma AG" ]     ]
  ] ) ; # 
  fhir:input ( [
fhir:type [
      ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/uv/apix/CodeSystem/apix-task-input-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/apix/CodeSystem/apix-task-input-type>         ] ;
fhir:code [ fhir:v "regulatory-document" ] ;
fhir:display [ fhir:v "Regulatory Document" ]       ] )     ] ;
fhir:value [
a fhir:Reference ;
fhir:l <#docref-invoice> ;
fhir:reference [ fhir:v "#docref-invoice" ]     ]
  ] ) ; # 
  fhir:output ( [
fhir:type [
      ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/uv/apix/CodeSystem/apix-task-output-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/apix/CodeSystem/apix-task-output-type>         ] ;
fhir:code [ fhir:v "regulatory-document" ] ;
fhir:display [ fhir:v "Regulatory Document" ]       ] )     ] ;
fhir:value [
a fhir:Reference ;
fhir:l <#docref-payment-proof> ;
fhir:reference [ fhir:v "#docref-payment-proof" ]     ]
  ] ) . #