PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.core@1.4.0
    http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
{
  "description": "Identifies the desired orientation when rendering a list of choices (typically radio-box or check-box lists).",
  "_filename": "extension-questionnaire-choiceorientation.json",
  "package_name": "hl7.fhir.core",
  "date": "2013-07-04",
  "derivation": "constraint",
  "publisher": "HL7",
  "fhirVersion": "1.4.0",
  "name": "horizontal | vertical",
  "baseType": "Extension",
  "abstract": false,
  "type": null,
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "1.4.0",
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "inv-6",
        "human": "choiceOrientation can only be present on elements of type \"choice\" or \"open-choice\"",
        "xpath": "parent::*/f:type/@value=('choice', 'open-choice')",
        "severity": "error",
        "expression": "$parent.type='choice' or $parent.type='open-choice'"
      } ],
      "path": "Extension",
      "min": 0,
      "definition": "Identifies the desired orientation when rendering a list of choices (typically radio-box or check-box lists).",
      "short": "horizontal | vertical",
      "comments": "Systems may choose to wrap answers rather than attempting to display them all in one row or column.  Language conventions may determine the order in which the choices are listed (left-to-right or right-to-left, etc.).",
      "type": [ {
        "code": "Extension"
      } ],
      "max": "1",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Extension"
      }
    }, {
      "path": "Extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references).",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "id"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "max": "0",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "name": "extension",
      "path": "Extension.extension",
      "type": [ {
        "code": "Extension"
      } ],
      "short": "Extension",
      "definition": "An Extension"
    }, {
      "path": "Extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
      "comments": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition should be version specific.  This will ideally be the URI for the Resource Profile defining the extension, with the code for the extension after a #.",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "Extension.valueCode",
      "min": 1,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "description": "Direction in which lists of question options should be displayed",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/choice-list-orientation"
        }
      },
      "max": "1",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    } ]
  },
  "status": "draft",
  "id": "7e7b63cd-18b5-4d9b-b64e-52fffa3ae023",
  "kind": "datatype",
  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
  "context": [ "Questionnaire.item", "Questionnaire.item.item" ],
  "version": null,
  "differential": {
    "element": [ {
      "max": "1",
      "min": 0,
      "path": "Extension",
      "type": [ {
        "code": "Extension"
      } ],
      "short": "horizontal | vertical",
      "comments": "Systems may choose to wrap answers rather than attempting to display them all in one row or column.  Language conventions may determine the order in which the choices are listed (left-to-right or right-to-left, etc.).",
      "constraint": [ {
        "key": "inv-6",
        "human": "choiceOrientation can only be present on elements of type \"choice\" or \"open-choice\"",
        "xpath": "parent::*/f:type/@value=('choice', 'open-choice')",
        "severity": "error",
        "expression": "$parent.type='choice' or $parent.type='open-choice'"
      } ],
      "definition": "Identifies the desired orientation when rendering a list of choices (typically radio-box or check-box lists)."
    }, {
      "max": "0",
      "name": "extension",
      "path": "Extension.extension"
    }, {
      "path": "Extension.url",
      "type": [ {
        "code": "uri"
      } ],
      "fixedUri": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation"
    }, {
      "min": 1,
      "path": "Extension.value[x]",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "description": "Direction in which lists of question options should be displayed",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/choice-list-orientation"
        }
      }
    } ]
  },
  "contact": [ {
    "telecom": [ {
      "value": "http://www.hl7.org",
      "system": "other"
    } ]
  } ],
  "contextType": "resource",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension"
}