PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.r3.elements@3.0.2
    http://hl7.org/fhir/DataElement/TestScript.setup.action.operation
{
  "description": null,
  "_filename": "DataElement-TestScript.setup.action.operation.json",
  "package_name": "hl7.fhir.r3.elements",
  "date": null,
  "meta": {
    "lastUpdated": "2019-10-24T11:53:00+11:00"
  },
  "publisher": null,
  "element": [ {
    "id": "TestScript.setup.action.operation",
    "max": "1",
    "min": 0,
    "path": "TestScript.setup.action.operation",
    "type": [ {
      "code": "BackboneElement"
    } ],
    "short": "The setup operation to perform",
    "constraint": [ {
      "key": "ele-1",
      "human": "All FHIR elements must have a @value or children",
      "xpath": "@value|f:*|h:div",
      "source": "Element",
      "severity": "error",
      "expression": "hasValue() | (children().count() > id.count())"
    }, {
      "key": "inv-7",
      "human": "Setup operation SHALL contain either sourceId or targetId or params or url.",
      "xpath": "f:sourceId or ((f:targetId or f:url or f:params) and (count(f:targetId) + count(f:url) + count(f:params) =1)) or (f:type/f:code/@value='capabilities' or f:type/f:code/@value='search' or f:type/f:code/@value='transaction' or f:type/f:code/@value='history')",
      "severity": "error",
      "expression": "sourceId.exists() or (targetId.count() + url.count() + params.count() = 1) or (type.code in ('capabilities' |'search' | 'transaction' | 'history'))"
    } ],
    "definition": "The operation to perform."
  } ],
  "name": null,
  "type": null,
  "experimental": "true",
  "resourceType": "DataElement",
  "title": null,
  "package_version": "3.0.2",
  "status": "draft",
  "id": "5cb514d9-53b3-49d5-ac4c-2f465f557859",
  "kind": null,
  "url": "http://hl7.org/fhir/DataElement/TestScript.setup.action.operation",
  "stringency": "fully-specified",
  "version": null
}