This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module namespace page = 'http://basex.org/modules/web-page'; | |
import module namespace request = "http://exquery.org/ns/request"; | |
declare variable $page:test_doc := <blah><node/><node/><node/></blah>; | |
declare | |
%rest:path("/multi-part") | |
%rest:GET | |
%output:method("xhtml") | |
function page:menu() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<doc><![CDATA[What | |
Happened | |
To | |
All | |
Of | |
My | |
Newlines? | |
]]></doc> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module namespace page = 'http://basex.org/modules/web-page'; | |
declare | |
%rest:path("/simple_post") | |
%rest:consumes("application/xml", "text/xml") | |
%rest:POST("{$posted}") | |
function page:csr($posted) | |
{ | |
<html> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<DocumentElement> | |
<Facility> | |
<FAC_Code>14753</FAC_Code> | |
<FAC_Name>Kapsara District Hospital</FAC_Name> | |
<FAC_Type>District Hospital</FAC_Type> | |
<FAC_Owner>Ministry of Health</FAC_Owner> | |
<FAC_County>Trans Nzoia</FAC_County> | |
<FAC_District>Trans Nzoia East</FAC_District> | |
<FAC_Division>Kaplanai</FAC_Division> | |
<FAC_Location>Makutano</FAC_Location> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Forms magic data under /modules/forms/forms/$form | |
class | |
display | |
storage (matbe only select between magicdata or entry for now. or only when there is a handler for the mechanism) | |
storage_options (only displayed if there is a relevant handler. example multiflat should be easy to add) | |
meta/child_forms = array of forms | |
meta/description | |
meta/child_form_data/$type used by populateChild() | |
meta/child_form_data/$type/$form/order = comma separated list of fields |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE I2CEConfiguration SYSTEM "I2CE_Configuration.dtd"> | |
<I2CEConfiguration name="County"> | |
<metadata> | |
<displayName>County</displayName> | |
<version>1.0.2014.03.26</version> | |
</metadata> | |
<configurationGroup name="County" path="//I2CE/formsData/forms/county"> | |
<displayName>Export</displayName> | |
<version>1.0.2014.03.26</version> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE I2CEConfiguration SYSTEM "I2CE_Configuration.dtd"> | |
<I2CEConfiguration name="County_Kenya"> | |
<metadata> | |
<displayName>County_Kenya</displayName> | |
<version>1.0.2014.03.26</version> | |
</metadata> | |
<configurationGroup name="County_Kenya" path="//I2CE/formsData/forms/district"> | |
<displayName>Export</displayName> | |
<version>1.0.2014.03.26</version> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<DocumentElement> | |
<Facility> | |
<FAC_Code>14753</FAC_Code> | |
<FAC_Name>Kapsara District Hospital</FAC_Name> | |
<FAC_Type>District Hospital</FAC_Type> | |
<FAC_Owner>Ministry of Health</FAC_Owner> | |
<FAC_County code="123">Trans Nzoia</FAC_County> | |
<Fac_District code="234">Trans Nzoia East</Fac_District> | |
<FAC_Division code="345">Kaplanai</FAC_Division> | |
<FAC_Location>Makutano</FAC_Location> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<RetrieveMultipleValueSetsResponse | |
xmlns="urn:ihe:iti:svs:2008" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="urn:ihe:iti:svs:2008:SVS.xsd"> | |
<DescribedValueSet ID="1.2.3" displayName="placeholder" version="version1"> | |
<ConceptList xml:lang="en-US"> | |
<Concept code="code1" codeSystem="2.3.4" codeSystemName="codeSystemName1" | |
codeSystemVersion="codeSystemVersion1" displayName="displayName1"/> | |
<Concept code="code7" codeSystem="2.3.4" codeSystemName="codeSystemName1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
With the provider_search query in the CSD standard (with the new Change Proposals applied) we can perform validation | |
of a provider against a facility and service as: | |
<csd:careServicesRequest xmlns:csd='urn:ihe:iti:csd:2013' xmlns='urn:ihe:iti:csd:2013'> | |
<function uuid='4e8bbeb9-f5f5-11e2-b778-0800200c9a66'> | |
<requestParams> | |
<id oid='2.25.309768652999692686176651983274504471835.646.1.615351552068889518564164611046405512878087'/> | |
<facilities> | |
<facility oid='2.25.309768652999692686176651983274504471835.646.2.12312321321'> | |
<service oisd='2.25.309768652999692686176651983274504471835.646.3.9129312312'/> |
OlderNewer