{ "description": "The patient's legal status as citizen of a country.", "_filename": "StructureDefinition-patient-citizenship.json", "package_name": "hl7.fhir.r2b.core", "date": null, "derivation": "constraint", "publisher": "HL7", "fhirVersion": "1.6.0", "name": "Nation(s) where the patient claims citizenship", "baseType": "Extension", "abstract": false, "type": null, "experimental": "false", "resourceType": "StructureDefinition", "title": null, "package_version": "1.4.0", "snapshot": { "element": [ { "path": "Extension", "min": 0, "definition": "The patient's legal status as citizen of a country.", "isModifier": false, "short": "Nation(s) where the patient claims citizenship", "mustSupport": false, "max": "*", "maxLength": 0, "base": { "max": "*", "min": 0, "path": "Extension" }, "isSummary": false }, { "path": "Extension.id", "min": 0, "definition": "unique id for the element within a resource (for internal references).", "isModifier": false, "short": "xml:id (or equivalent in JSON)", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "id" } ], "mustSupport": false, "representation": [ "xmlAttr" ], "max": "1", "maxLength": 0, "base": { "max": "*", "min": 0, "path": "Element.id" }, "isSummary": false }, { "path": "Extension.extension", "min": 0, "definition": "An Extension", "isModifier": false, "short": "Extension", "slicing": { "rules": "open", "ordered": false, "discriminator": [ "url.@type" ] }, "type": [ { "code": "Extension" } ], "mustSupport": false, "max": "*", "maxLength": 0, "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "path": "Extension.extension", "min": 0, "definition": "Nation code representing the citizenship of patient.", "isModifier": false, "short": "Nation code of citizenship", "name": "code", "type": [ { "code": "Extension" } ], "mustSupport": false, "max": "1", "maxLength": 0, "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "path": "Extension.extension.id", "min": 0, "definition": "unique id for the element within a resource (for internal references).", "isModifier": false, "short": "xml:id (or equivalent in JSON)", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "id" } ], "mustSupport": false, "representation": [ "xmlAttr" ], "max": "1", "maxLength": 0, "base": { "max": "*", "min": 0, "path": "Element.id" }, "isSummary": false }, { "path": "Extension.extension.extension", "min": 0, "definition": "An Extension", "isModifier": false, "short": "Extension", "name": "extension", "type": [ { "code": "Extension" } ], "mustSupport": false, "max": "0", "maxLength": 0, "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "path": "Extension.extension.url", "min": 1, "definition": "Source of the definition for the extension code - a logical name or a URL.", "isModifier": false, "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" } ], "mustSupport": false, "representation": [ "xmlAttr" ], "max": "1", "maxLength": 0, "base": { "max": "1", "min": 1, "path": "Extension.url" }, "isSummary": false }, { "path": "Extension.extension.valueCodeableConcept", "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).", "isModifier": false, "short": "Value of extension", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "CodeableConcept" } ], "mustSupport": false, "max": "1", "maxLength": 0, "base": { "max": "1", "min": 0, "path": "Extension.value[x]" }, "isSummary": false }, { "path": "Extension.extension", "min": 0, "definition": "Period when citizenship was effective.", "isModifier": false, "short": "Time period of citizenship", "name": "period", "type": [ { "code": "Extension" } ], "mustSupport": false, "max": "1", "maxLength": 0, "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "path": "Extension.extension.id", "min": 0, "definition": "unique id for the element within a resource (for internal references).", "isModifier": false, "short": "xml:id (or equivalent in JSON)", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "id" } ], "mustSupport": false, "representation": [ "xmlAttr" ], "max": "1", "maxLength": 0, "base": { "max": "*", "min": 0, "path": "Element.id" }, "isSummary": false }, { "path": "Extension.extension.extension", "min": 0, "definition": "An Extension", "isModifier": false, "short": "Extension", "name": "extension", "type": [ { "code": "Extension" } ], "mustSupport": false, "max": "0", "maxLength": 0, "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "path": "Extension.extension.url", "min": 1, "definition": "Source of the definition for the extension code - a logical name or a URL.", "isModifier": false, "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" } ], "mustSupport": false, "representation": [ "xmlAttr" ], "max": "1", "maxLength": 0, "base": { "max": "1", "min": 1, "path": "Extension.url" }, "isSummary": false }, { "path": "Extension.extension.valuePeriod", "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).", "isModifier": false, "short": "Value of extension", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Period" } ], "mustSupport": false, "max": "1", "maxLength": 0, "base": { "max": "1", "min": 0, "path": "Extension.value[x]" }, "isSummary": false }, { "path": "Extension.url", "min": 1, "definition": "Source of the definition for the extension code - a logical name or a URL.", "isModifier": false, "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" } ], "mustSupport": false, "representation": [ "xmlAttr" ], "max": "1", "maxLength": 0, "base": { "max": "1", "min": 1, "path": "Extension.url" }, "isSummary": false }, { "path": "Extension.value[x]", "min": 0, "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).", "isModifier": false, "short": "Value of extension", "mapping": [ { "map": "N/A", "identity": "rim" } ], "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" } ], "mustSupport": false, "max": "0", "maxLength": 0, "base": { "max": "1", "min": 0, "path": "Extension.value[x]" }, "isSummary": false } ] }, "status": "draft", "id": "3be1e4a4-3d02-4622-82d1-18368d0dff1b", "kind": "datatype", "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", "context": [ "Patient" ], "version": null, "differential": { "element": [ { "path": "Extension", "min": 0, "definition": "The patient's legal status as citizen of a country.", "isModifier": false, "short": "Nation(s) where the patient claims citizenship", "type": [ { "code": "Extension" } ], "mustSupport": false, "max": "*", "maxLength": 0, "base": { "max": "*", "min": 0, "path": "Extension" }, "isSummary": false }, { "path": "Extension.extension", "min": 0, "definition": "Nation code representing the citizenship of patient.", "isModifier": false, "short": "Nation code of citizenship", "name": "code", "type": [ { "code": "Extension" } ], "mustSupport": false, "max": "1", "maxLength": 0, "base": { "max": "1", "min": 0, "path": "Extension.extension" }, "isSummary": false }, { "path": "Extension.extension.extension", "min": 0, "isModifier": false, "name": "extension", "mustSupport": false, "max": "0", "maxLength": 0, "base": { "max": "0", "min": 0, "path": "Extension.extension.extension" }, "isSummary": false }, { "path": "Extension.extension.url", "min": 0, "isModifier": false, "fixedUri": "code", "type": [ { "code": "uri" } ], "mustSupport": false, "maxLength": 0, "base": { "max": "1", "min": 0, "path": "Extension.extension.url" }, "isSummary": false }, { "min": 1, "base": { "max": "1", "min": 0, "path": "Extension.extension.value[x]" }, "path": "Extension.extension.value[x]", "type": [ { "code": "CodeableConcept" } ], "isSummary": false, "maxLength": 0, "isModifier": false, "mustSupport": false }, { "path": "Extension.extension", "min": 0, "definition": "Period when citizenship was effective.", "isModifier": false, "short": "Time period of citizenship", "name": "period", "type": [ { "code": "Extension" } ], "mustSupport": false, "max": "1", "maxLength": 0, "base": { "max": "1", "min": 0, "path": "Extension.extension" }, "isSummary": false }, { "path": "Extension.extension.extension", "min": 0, "isModifier": false, "name": "extension", "mustSupport": false, "max": "0", "maxLength": 0, "base": { "max": "0", "min": 0, "path": "Extension.extension.extension" }, "isSummary": false }, { "path": "Extension.extension.url", "min": 0, "isModifier": false, "fixedUri": "period", "type": [ { "code": "uri" } ], "mustSupport": false, "maxLength": 0, "base": { "max": "1", "min": 0, "path": "Extension.extension.url" }, "isSummary": false }, { "min": 1, "base": { "max": "1", "min": 0, "path": "Extension.extension.value[x]" }, "path": "Extension.extension.value[x]", "type": [ { "code": "Period" } ], "isSummary": false, "maxLength": 0, "isModifier": false, "mustSupport": false }, { "path": "Extension.url", "min": 0, "isModifier": false, "fixedUri": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", "type": [ { "code": "uri" } ], "mustSupport": false, "maxLength": 0, "base": { "max": "1", "min": 0, "path": "Extension.url" }, "isSummary": false }, { "max": "0", "min": 0, "base": { "max": "0", "min": 0, "path": "Extension.value[x]" }, "path": "Extension.value[x]", "isSummary": false, "maxLength": 0, "isModifier": false, "mustSupport": false } ] }, "contextType": "resource", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension" }