{ "description": "The nationality of the subject.", "_filename": "extension-patient-nationality.json", "package_name": "hl7.fhir.core", "date": "2016-03-31T08:01:25+11:00", "derivation": "constraint", "publisher": "HL7", "fhirVersion": "1.4.0", "name": "Nationality", "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": "Nationality", "definition": "The nationality of the subject." }, { "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": "Nationality Code", "definition": "Code representing nationality 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": "Nationality Period", "definition": "Period when nationality 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-nationality", "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": "87007eae-8ae4-4a05-a565-eb1aca2d3c93", "kind": "datatype", "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", "context": [ "Patient" ], "display": "nationality", "version": null, "differential": { "element": [ { "max": "*", "min": 0, "path": "Extension", "type": [ { "code": "Extension" } ], "short": "Nationality", "definition": "The nationality of the subject." }, { "max": "1", "min": 0, "name": "code", "path": "Extension.extension", "type": [ { "code": "Extension" } ], "short": "Nationality Code", "definition": "Code representing nationality 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": "Nationality Period", "definition": "Period when nationality 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-nationality" }, { "max": "0", "min": 0, "path": "Extension.value[x]" } ] }, "contextType": "resource", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension" }