DailyProductionReport.uispin.html
2.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<ui:group
let:report="{# SELECT ?report WHERE { ?report a ep-report:ProductionReport . } }"
let:reportedFieldName="{# SELECT ?reportedFieldName
WHERE {
?report a ep-report:ProductionReport .
?report ep-report:reportOn ?partOfFacility .
?partOfFacility ep-core:temporalPartOf ?reportedField .
?reportedField npd:name ?reportedFieldName .
}}"
>
<h1>Daily Production Report : {= ?reportedFieldName } Field {# SELECT ?day WHERE { ?partOfFacility ep-activity:existsThroughout ?day . } }</h1>
<h2>Report title : {# SELECT ?title WHERE { ?report a ep-report:ProductionReport . ?report ep-core:name ?title . } }</h2>
<h2>Submitted by : {# SELECT ?submittingFieldName WHERE
{
?report a ep-report:ProductionReport .
?report ep-report:reportSubmittedFrom ?submittingFieldState .
?submittingFieldState ep-core:temporalPartOf ?submittingField .
?submittingField npd:name ?submittingFieldName .
} }</h2>
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:PersonnelInformation" />
<table>
<tr><th>Facility</th><th>Total Beds Available</th></tr>
<ui:forEach ui:resultSet="{# SELECT ?facilityName ?beds
WHERE {
?report a ep-report:ProductionReport .
?productionOperationReport ep-core:partOf ?productionReport .
?productionOperationReport a ep-report:ProductionOperationReport .
?productionOperationReport ep-report:reportOn ?temporalPartOfFacility .
?temporalPartOfFacility ep-core:temporalPartOf ?productionFacility .
?productionFacility a ep-fac:Field .
?productionFacility npd:name ?facilityName .
?productionOperationInstallationReport ep-core:partOf ?productionOperationReport .
?productionOperationInstallationReport a ep-report:ProductionOperationInstallationReport .
?productionOperationInstallationReport ep-report:reportOn ?installationPart .
?installationPart ep-prodfac:numberOfBedsAvailable ?beds .
}
}" >
<tr><td>{= ?facilityName }</td><td>{= ?beds}</td></tr>
</ui:forEach>
</table>
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductionOperationActivity" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductionVolumes" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductFlows" />
<hr />
<h2>General Well Test Information</h2>
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellTest" />
<hr />
<h2>Well Injection Test Information</h2>
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellInjectionTest" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellInjectionTestResults" />
</ui:group>