BioMaxis Implementation Guide
0.0.0-semantic-release - ci-build

BioMaxis Implementation Guide - Local Development build (v0.0.0-semantic-release) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: Inventory Transaction - TTL Representation

Active as of 2025-12-12

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:OperationDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "transaction"] ; # 
  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: OperationDefinition transaction</b></p><a name=\"transaction\"> </a><a name=\"hctransaction\"> </a><h3>Parameters</h3><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>inventoryItem</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/references.html#Reference\">Reference</a></td><td/><td><div><p>The InventoryItem involved in the transaction.</p>\n</div></td></tr><tr><td>IN</td><td>identifier</td><td/><td>1..*</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#Identifier\">Identifier</a></td><td/><td><div><p>The identifier for the inventory transaction.</p>\n</div></td></tr><tr><td>IN</td><td>operationType</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td/><td><div><p>The type of operation being performed.</p>\n</div></td></tr><tr><td>IN</td><td>operationTypeReason</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td/><td><div><p>The reason for the transaction.</p>\n</div></td></tr><tr><td>IN</td><td>code</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td/><td><div><p>The code of the Inventory lot item.</p>\n</div></td></tr><tr><td>IN</td><td>lotNumber</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td/><td><div><p>The lot number of the InventoryItem.</p>\n</div></td></tr><tr><td>IN</td><td>location</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/references.html#Reference\">Reference</a></td><td/><td><div><p>The location of the InventoryItem as of the transaction.</p>\n</div></td></tr><tr><td>IN</td><td>quantity</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#Quantity\">Quantity</a></td><td/><td><div><p>The quantity of the InventoryItem involved in the transaction.</p>\n</div></td></tr><tr><td>IN</td><td>purchasePrice</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#Money\">Money</a></td><td/><td><div><p>The purchase price of the InventoryLot.</p>\n</div></td></tr><tr><td>IN</td><td>sellingPrice</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#Money\">Money</a></td><td/><td><div><p>The selling price of the InventoryLot.</p>\n</div></td></tr><tr><td>IN</td><td>expiryDate</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#date\">date</a></td><td/><td><div><p>The expiry date of the InventoryLot.</p>\n</div></td></tr><tr><td>OUT</td><td>response</td><td/><td>0..1</td><td><a href=\"StructureDefinition-InventoryReport.html\">InventoryReport</a></td><td/><td><div><p>The InventoryReport containing the transaction details.</p>\n</div></td></tr><tr><td>OUT</td><td>issues</td><td/><td>0..*</td><td><a href=\"http://hl7.org/fhir/R4/operationoutcome.html\">OperationOutcome</a></td><td/><td><div><p>Any issues encountered during the operation.</p>\n</div></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:url [
fhir:v "http://biomaxis.com/fhir/OperationDefinition/inventory-transaction"^^xsd:anyURI ;
fhir:l <http://biomaxis.com/fhir/OperationDefinition/inventory-transaction>
  ] ; # 
  fhir:version [ fhir:v "0.0.0-semantic-release"] ; # 
  fhir:name [ fhir:v "Transaction"] ; # 
  fhir:title [ fhir:v "Inventory Transaction"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:kind [ fhir:v "operation"] ; # 
  fhir:date [ fhir:v "2025-12-12T11:33:46+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "BioMaxis Pvt. Ltd."] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "BioMaxis Pvt. Ltd." ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://biomaxis.com" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "This operation is used to create a transaction for an inventory item. It records the details of the transaction including the item, lot number, location, and quantity involved."] ; # 
  fhir:code [ fhir:v "docref"] ; # 
  fhir:system [ fhir:v false] ; # 
  fhir:type [ fhir:v true] ; # 
  fhir:instance [ fhir:v false] ; # 
  fhir:parameter ( [
fhir:name [ fhir:v "inventoryItem" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "The InventoryItem involved in the transaction." ] ;
fhir:type [ fhir:v "Reference" ]
  ] [
fhir:name [ fhir:v "identifier" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:documentation [ fhir:v "The identifier for the inventory transaction." ] ;
fhir:type [ fhir:v "Identifier" ]
  ] [
fhir:name [ fhir:v "operationType" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "The type of operation being performed." ] ;
fhir:type [ fhir:v "CodeableConcept" ]
  ] [
fhir:name [ fhir:v "operationTypeReason" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "The reason for the transaction." ] ;
fhir:type [ fhir:v "CodeableConcept" ]
  ] [
fhir:name [ fhir:v "code" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "The code of the Inventory lot item." ] ;
fhir:type [ fhir:v "code" ]
  ] [
fhir:name [ fhir:v "lotNumber" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "The lot number of the InventoryItem." ] ;
fhir:type [ fhir:v "string" ]
  ] [
fhir:name [ fhir:v "location" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "The location of the InventoryItem as of the transaction." ] ;
fhir:type [ fhir:v "Reference" ]
  ] [
fhir:name [ fhir:v "quantity" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "The quantity of the InventoryItem involved in the transaction." ] ;
fhir:type [ fhir:v "Quantity" ]
  ] [
fhir:name [ fhir:v "purchasePrice" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "The purchase price of the InventoryLot." ] ;
fhir:type [ fhir:v "Money" ]
  ] [
fhir:name [ fhir:v "sellingPrice" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "The selling price of the InventoryLot." ] ;
fhir:type [ fhir:v "Money" ]
  ] [
fhir:name [ fhir:v "expiryDate" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "The expiry date of the InventoryLot." ] ;
fhir:type [ fhir:v "date" ]
  ] [
fhir:name [ fhir:v "response" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "The InventoryReport containing the transaction details." ] ;
fhir:type [ fhir:v "InventoryReport" ]
  ] [
fhir:name [ fhir:v "issues" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:documentation [ fhir:v "Any issues encountered during the operation." ] ;
fhir:type [ fhir:v "OperationOutcome" ]
  ] ) . #