PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.core@1.4.0
    http://hl7.org/fhir/StructureDefinition/patient-citizenship
{
  "description": "The patient's legal status as citizen of a country.",
  "_filename": "extension-patient-citizenship.json",
  "package_name": "hl7.fhir.core",
  "date": "2016-03-31T08:01:25+11:00",
  "derivation": "constraint",
  "publisher": "HL7",
  "fhirVersion": "1.4.0",
  "name": "Nation(s) where the patient claims citizenship",
  "baseType": "Extension",
  "abstract": false,
  "type": null,
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "1.4.0",
  "snapshot": {
    "element": [ {
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "Extension"
      },
      "path": "Extension",
      "type": [ {
        "code": "Extension"
      } ],
      "short": "Nation(s) where the patient claims citizenship",
      "definition": "The patient's legal status as citizen of a country."
    }, {
      "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": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "path": "Extension.extension",
      "type": [ {
        "code": "Extension"
      } ],
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ "url" ]
      },
      "definition": "An Extension"
    }, {
      "max": "1",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "name": "code",
      "path": "Extension.extension",
      "type": [ {
        "code": "Extension"
      } ],
      "short": "Nation code of citizenship",
      "definition": "Nation code representing the citizenship of patient."
    }, {
      "path": "Extension.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.extension",
      "type": [ {
        "code": "Extension"
      } ],
      "short": "Extension",
      "definition": "An Extension"
    }, {
      "path": "Extension.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": "code",
      "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"
      }
    }, {
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      },
      "path": "Extension.extension.valueCodeableConcept",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "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)."
    }, {
      "max": "1",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "name": "period",
      "path": "Extension.extension",
      "type": [ {
        "code": "Extension"
      } ],
      "short": "Time period of citizenship",
      "definition": "Period when citizenship was effective."
    }, {
      "path": "Extension.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.extension",
      "type": [ {
        "code": "Extension"
      } ],
      "short": "Extension",
      "definition": "An Extension"
    }, {
      "path": "Extension.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": "period",
      "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"
      }
    }, {
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      },
      "path": "Extension.extension.valuePeriod",
      "type": [ {
        "code": "Period"
      } ],
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "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)."
    }, {
      "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/patient-citizenship",
      "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"
      }
    }, {
      "max": "0",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      },
      "path": "Extension.value[x]",
      "type": [ {
        "code": "boolean"
      }, {
        "code": "integer"
      }, {
        "code": "decimal"
      }, {
        "code": "base64Binary"
      }, {
        "code": "instant"
      }, {
        "code": "string"
      }, {
        "code": "uri"
      }, {
        "code": "date"
      }, {
        "code": "dateTime"
      }, {
        "code": "time"
      }, {
        "code": "code"
      }, {
        "code": "oid"
      }, {
        "code": "id"
      }, {
        "code": "unsignedInt"
      }, {
        "code": "positiveInt"
      }, {
        "code": "markdown"
      }, {
        "code": "Annotation"
      }, {
        "code": "Attachment"
      }, {
        "code": "Identifier"
      }, {
        "code": "CodeableConcept"
      }, {
        "code": "Coding"
      }, {
        "code": "Quantity"
      }, {
        "code": "Range"
      }, {
        "code": "Period"
      }, {
        "code": "Ratio"
      }, {
        "code": "SampledData"
      }, {
        "code": "Signature"
      }, {
        "code": "HumanName"
      }, {
        "code": "Address"
      }, {
        "code": "ContactPoint"
      }, {
        "code": "Timing"
      }, {
        "code": "Reference"
      }, {
        "code": "Meta"
      } ],
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "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)."
    } ]
  },
  "status": "draft",
  "id": "a7103c38-1d58-4934-bd76-4e6793e6959f",
  "kind": "datatype",
  "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
  "context": [ "Patient" ],
  "display": "citizenship",
  "version": null,
  "differential": {
    "element": [ {
      "max": "*",
      "min": 0,
      "path": "Extension",
      "type": [ {
        "code": "Extension"
      } ],
      "short": "Nation(s) where the patient claims citizenship",
      "definition": "The patient's legal status as citizen of a country."
    }, {
      "max": "1",
      "min": 0,
      "name": "code",
      "path": "Extension.extension",
      "type": [ {
        "code": "Extension"
      } ],
      "short": "Nation code of citizenship",
      "definition": "Nation code representing the citizenship of patient."
    }, {
      "max": "0",
      "name": "extension",
      "path": "Extension.extension.extension"
    }, {
      "path": "Extension.extension.url",
      "type": [ {
        "code": "uri"
      } ],
      "fixedUri": "code"
    }, {
      "min": 1,
      "path": "Extension.extension.value[x]",
      "type": [ {
        "code": "CodeableConcept"
      } ]
    }, {
      "max": "1",
      "min": 0,
      "name": "period",
      "path": "Extension.extension",
      "type": [ {
        "code": "Extension"
      } ],
      "short": "Time period of citizenship",
      "definition": "Period when citizenship was effective."
    }, {
      "max": "0",
      "name": "extension",
      "path": "Extension.extension.extension"
    }, {
      "path": "Extension.extension.url",
      "type": [ {
        "code": "uri"
      } ],
      "fixedUri": "period"
    }, {
      "min": 1,
      "path": "Extension.extension.value[x]",
      "type": [ {
        "code": "Period"
      } ]
    }, {
      "path": "Extension.url",
      "type": [ {
        "code": "uri"
      } ],
      "fixedUri": "http://hl7.org/fhir/StructureDefinition/patient-citizenship"
    }, {
      "max": "0",
      "min": 0,
      "path": "Extension.value[x]"
    } ]
  },
  "contextType": "resource",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension"
}