Holger Knublauch

Progress on title page of report

<html let:reportOn="{= spl:object(?this, ep-activity:reportOn) }">
<html let:activity="{= spl:object(?this, ep-activity:reportOn) }"
let:onWellBore="{# SELECT ?onWellBore WHERE { ?this ep-activity:reportOn/ep-activity:onWellBore ?onWellBore } }"
let:report="{= ?this }">
<head>
<link rel="stylesheet" type="text/css" href="lib/rh/ddr.css" />
</head>
<body>
<h1>Summary report Wellbore: {# SELECT ?wellBoreName WHERE { ?reportOn iso15926:hasPart/ep-activity:onWellBore/iso15926:temporalPartOf/rdfs:label ?wellBoreName } }</h1>
<div>End time: {= ui:label(spl:object(?reportOn, ep-activity:finishedAt)) }</div>
<body let:wellBore="{= spl:object(?onWellBore, ep-core:temporalPartOf) }">
<h1>Summary report Wellbore: {= rhspin:npdName(?wellBore) }</h1>
<div>End time: {= ui:label(spl:object(?activity, ep-activity:finishedAt)) }</div>
<hr />
<table><tr>
<td class="ddrSummaryLeft">
<rhswp:NameValuePair arg:name="Report Number:" arg:value="{ spl:object(?this, ?) }" />
<rhswp:NameValuePair arg:name="Wellbore:" arg:value="{# SELECT ?wellBoreName WHERE { ?reportOn iso15926:hasPart/ep-activity:onWellBore/iso15926:temporalPartOf/rdfs:label ?wellBoreName } }" />
<rhswp:NameValuePair arg:name="Status:" arg:value="{= ui:label(spl:object(?this, rdf:type)) }" />
<rhswp:NameValuePair arg:name="Operator:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Rig name:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Spud date:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Elevation RKB-MSL m:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Tight well:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Pressure psig:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Fixed rig:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth at Kick Off mMD:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Plug Back Depth mMD:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Penetration Rate m/h:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Pressure Test Type:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth At Formation Strength mMD:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Dia Last Casing In:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth At Last Casing MTVD:" arg:value="{ spl:object(?this, ???) }" />
</td>
<td class="ddrSummaryRight">
<rhswp:NameValuePair arg:name="Period:" arg:value="{= fn:concat(ui:label(spl:object(?reportOn, ep-activity:startedAt)), ' - ', ui:label(spl:object(?reportOn, ep-activity:finishedAt))) }" />
<rhswp:NameValuePair arg:name="Wellbore Id:" arg:value="{ SELECT ?wellBoreId WHERE { ?reportOn iso15926:hasPart/ep-activity:onWellBore/iso15926:temporalPartOf/??? ?wellBoreId } }" />
<rhswp:NameValuePair arg:name="Created date:" arg:value="{ spl:object(?this, ep-activity:createdAt) }" />
<rhswp:NameValuePair arg:name="Drilling contractor:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="NPD Rig Id:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Date Well Complete:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Water depth MSL m:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="High pressure - High temperature:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Temprature degC:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Wellbore type:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth at Kick Off mTVD:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth mTVD:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Dist Drilled m:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Hole Dia in:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Formation Strength g/cm3:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth At Formation Strength mTVD:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth At Last Casting mMD:" arg:value="{ spl:object(?this, ???) }" />
</td>
<rhswp:NameValuePair arg:name="Report Number:" arg:value="{ spl:object(?this, ?) }" />
<rhswp:NameValuePair arg:name="Wellbore:" arg:value="{= rhspin:npdName(?wellBore) }" />
<rhswp:NameValuePair arg:name="Status:" arg:value="{= ui:label(spl:object(?this, rdf:type)) }" />
<rhswp:NameValuePair arg:name="Operator:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Rig name:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Spud date:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Elevation RKB-MSL m:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Tight well:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Pressure psig:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Fixed rig:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth at Kick Off mMD:" arg:value="{= rhspin:dtypeValue(?activity, ddr:mdKickoff) }" />
<rhswp:NameValuePair arg:name="Plug Back Depth mMD:" arg:value="{= rhspin:dtypeValue(?activity, ddr:mdPlugTop) }" />
<rhswp:NameValuePair arg:name="Penetration Rate m/h:" arg:value="{ spl:object(?activity, ???) }" />
<rhswp:NameValuePair arg:name="Pressure Test Type:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth At Formation Strength mMD:" arg:value="{= rhspin:dtypeValue(?activity, ddr:mdStrengthForm) }" />
<rhswp:NameValuePair arg:name="Dia Last Casing In:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth At Last Casing MTVD:" arg:value="{= rhspin:dtypeValue(?activity, ddr:tvdCsgLast) }" />
</td>
<td class="ddrSummaryRight">
<rhswp:NameValuePair arg:name="Period:" arg:value="{= fn:concat(ui:label(spl:object(?activity, ep-activity:startedAt)), ' - ', ui:label(spl:object(?activity, ep-activity:finishedAt))) }" />
<rhswp:NameValuePair arg:name="Wellbore Id:" arg:value="{= rhspin:npdId(?wellBore) }" />
<rhswp:NameValuePair arg:name="Created date:" arg:value="{= spl:object(?this, ep-activity:createdAt) }" />
<rhswp:NameValuePair arg:name="Drilling contractor:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="NPD Rig Id:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Date Well Complete:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Water depth MSL m:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="High pressure - High temperature:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Temprature degC:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Wellbore type:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth at Kick Off mTVD:" arg:value="{= spl:object(?activity, ddr:tvdKickoff) }" />
<rhswp:NameValuePair arg:name="Depth mTVD:" arg:value="{= rhspin:dtypeValue(?activity, ddr:tvd) }" />
<rhswp:NameValuePair arg:name="Dist Drilled m:" arg:value="{= rhspin:dtypeValue(?activity, ddr:distDrill) }" />
<rhswp:NameValuePair arg:name="Hole Dia in:" arg:value="{= rhspin:dtypeValue(?activity, ddr:mdDiaHoleStart) }" />
<rhswp:NameValuePair arg:name="Formation Strength g/cm3:" arg:value="{= rhspin:dtypeValue(?activity, ddr:tvdStrengthForm) }" />
<rhswp:NameValuePair arg:name="Depth At Formation Strength mTVD:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth At Last Casing mMD:" arg:value="{= rhspin:dtypeValue(?activity, ddr:mdCsgLast) }" />
</td>
</tr></table>
</body>
</html>
\ No newline at end of file
......
<ui:group>
<h1>Summary report Wellbore: {= spl:object(?this, ddr:nameWell) }</h1>
<div>End time: {= ui:label(spl:object(?this, ddr:dTimEnd)) }</div>
<hr />
<div class="ddrSummaryLeft">
<rhswp:NameValuePair arg:name="Report Number:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Wellbore:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Status:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Operator:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Rig name:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Spud date:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Elevation RKB-MSL m:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Tight well:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Pressure psig:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Fixed rig:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth at Kick Off mMD:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Plug Back Depth mMD:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Penetration Rate m/h:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Pressure Test Type:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth At Formation Strength mMD:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Dia Last Casing In:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth At Last Casing MTVD:" arg:value="{= spl:object(?this, ???) }" />
</div>
<div class="ddrSummaryRight">
<rhswp:NameValuePair arg:name="Period:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Wellbore Id:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Created date:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Drilling contractor:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="NPD Rig Id:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Date Well Complete:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Water depth MSL m:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="High pressure - High temperature:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Temprature degC:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Wellbore type:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth at Kick Off mTVD:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth mTVD:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Dist Drilled m:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Hole Dia in:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Formation Strength g/cm3:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth At Formation Strength mTVD:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth At Last Casting mMD:" arg:value="{= spl:object(?this, ???) }" />
</div>
</ui:group>
\ No newline at end of file