2nd DSTU Draft For Comment

This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R4B R4 R3 R2

Extension-regex.json

Raw JSON (canonical form)

Regular expression pattern

{
  "resourceType": "ExtensionDefinition",
  "id": "regex",
  "url": "http://hl7.org/fhir/ExtensionDefinition/regex",
  "name": "Regular expression pattern",
  "publisher": "HL7 FHIR project",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/fhir"
        }
      ]
    }
  ],
  "description": "A regular expression that defines the syntax for the data element to be considered valid.",
  "status": "draft",
  "date": "2014-04-27",
  "mapping": [
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM"
    }
  ],
  "contextType": "resource",
  "context": [
    "DataElement",
    "Questionnaire.group.question",
    "Profile.structure.element.definition"
  ],
  "element": [
    {
      "path": "Extension",
      "short": "Regular expression pattern",
      "definition": "A regular expression that defines the syntax for the data element to be considered valid.",
      "min": 0,
      "max": "1",
      "type": [
        {
          "code": "string"
        }
      ],
      "mapping": [
        {
          "identity": "v2",
          "map": "N/A"
        },
        {
          "identity": "rim",
          "map": "N/A (MIF-level)"
        }
      ]
    }
  ]
}

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.