{ "description": "Adds several Israel-specific extensions, plus geocode to the Address datatype", "_filename": "StructureDefinition-il-core-address.json", "package_name": "il.core.fhir.r4", "date": "2021-02-25", "derivation": "constraint", "publisher": "Israeli Ministry of Health", "fhirVersion": "4.0.1", "jurisdiction": [ { "coding": [ { "code": "IL", "system": "urn:iso:std:iso:3166" } ] } ], "name": "ILCoreAddress", "mapping": [ { "uri": "http://hl7.org/v2", "name": "HL7 v2 Mapping", "identity": "v2" }, { "uri": "http://hl7.org/v3", "name": "RIM Mapping", "identity": "rim" }, { "uri": "http://www.omg.org/spec/ServD/1.0/", "name": "ServD", "identity": "servd" }, { "uri": "http://w3.org/vcard", "name": "vCard Mapping", "identity": "vcard" } ], "abstract": false, "copyright": "Israeli Ministry of Health", "type": "Address", "experimental": null, "resourceType": "StructureDefinition", "title": "Israel Core Address profile", "package_version": "0.1.1", "status": "draft", "id": "a1cc45df-1b42-4193-9704-2ba919e2dc2c", "kind": "complex-type", "url": "http://fhir.health.org.il/StructureDefinition/il-core-address", "version": "0.1.0", "differential": { "element": [ { "id": "Address.extension:geolocation", "max": "1", "min": 0, "path": "Address.extension", "type": [ { "code": "Extension", "profile": [ "http://hl7.org/fhir/StructureDefinition/geolocation" ] } ], "short": "geolocation", "sliceName": "geolocation", "definition": "An absolute geographic location" }, { "id": "Address.line", "path": "Address.line", "mustSupport": true }, { "id": "Address.line.extension", "path": "Address.line.extension", "slicing": { "rules": "open", "ordered": false, "discriminator": [ { "path": "url", "type": "value" } ] } }, { "path": "Address.line.extension", "min": 0, "definition": "The street name of the address", "short": "Extension: street name", "type": [ { "code": "Extension", "profile": [ "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName" ] } ], "mustSupport": true, "sliceName": "streetname", "max": "1", "id": "Address.line.extension:streetname" }, { "path": "Address.line.extension", "min": 0, "definition": "The number of a building, house or lot alongside the street. Also known as \"primary street number\". This does not number the street but rather the building.", "short": "Extension: house number", "type": [ { "code": "Extension", "profile": [ "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber" ] } ], "mustSupport": true, "sliceName": "housenumber", "max": "1", "id": "Address.line.extension:housenumber" }, { "id": "Address.line.extension:buildingnumbersuffix", "max": "1", "min": 0, "path": "Address.line.extension", "type": [ { "code": "Extension", "profile": [ "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix" ] } ], "short": "Extension: building suffix", "sliceName": "buildingnumbersuffix", "definition": "The building suffix (כניסה)" }, { "id": "Address.line.extension:unitid", "max": "1", "min": 0, "path": "Address.line.extension", "type": [ { "code": "Extension", "profile": [ "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID" ] } ], "short": "unit id", "sliceName": "unitid", "definition": "The unit ID e.g., Apt#, Room" }, { "id": "Address.line.extension:postbox", "max": "1", "min": 0, "path": "Address.line.extension", "type": [ { "code": "Extension", "profile": [ "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox" ] } ], "short": "Extension: post box", "sliceName": "postbox", "definition": "The post box number of the address" }, { "id": "Address.city", "path": "Address.city", "mustSupport": true }, { "id": "Address.city.extension", "path": "Address.city.extension", "slicing": { "rules": "open", "ordered": false, "discriminator": [ { "path": "url", "type": "value" } ] } }, { "id": "Address.city.extension:citycode", "max": "1", "min": 0, "path": "Address.city.extension", "type": [ { "code": "Extension", "profile": [ "http://fhir.health.org.il/StructureDefinition/ext-city-code" ] } ], "short": "city code", "sliceName": "citycode", "definition": "A coded representation of the city, town or settlement" }, { "id": "Address.postalCode", "path": "Address.postalCode", "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "mikud-chk", "human": "Israeli postal code must be at least 5 digits.", "source": "http://fhir.health.org.il/StructureDefinition/il-core-address", "severity": "error", "expression": "\r\nmatches('[0-9]{5,}')\r\n" } ], "mustSupport": true }, { "id": "Address.period", "path": "Address.period", "mustSupport": true } ] }, "contact": [ { "telecom": [ { "use": "work", "value": "amos@outburn.co.il", "system": "email" } ] } ], "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Address" }