FHIR IG analytics
Resources that use this resource
Resources that this resource uses
Narrative
No narrative content found in resource
Source1
{
"resourceType": "StructureDefinition",
"id": "organization-data-access",
"url": "http://electronichealth.se/fhir/NDI/StructureDefinition/organization-data-access",
"version": "0.0.1",
"name": "OrganizationDataAccess",
"status": "draft",
"description": "Profile for organization, organizational unit or EU country in a data access domain.",
"fhirVersion": "5.0.0",
"kind": "resource",
"abstract": false,
"type": "Organization",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Organization",
"derivation": "constraint",
"differential": {
"element": [
{
"id": "Organization.identifier",
"path": "Organization.identifier",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "system"
}
],
"rules": "open",
"ordered": false,
"description": "Slice on identifier based on system value"
},
"min": 1,
"max": "1",
"mustSupport": true
},
{
"id": "Organization.identifier:organizationIdentifier",
"path": "Organization.identifier",
"sliceName": "organizationIdentifier",
"min": 0,
"max": "1",
"mustSupport": true
},
{
"id": "Organization.identifier:organizationIdentifier.system",
"path": "Organization.identifier.system",
"min": 1,
"fixedUri": "urn:oid:2.5.4.97",
"mustSupport": true
},
{
"id": "Organization.identifier:organizationIdentifier.value",
"path": "Organization.identifier.value",
"min": 1,
"constraint": [
{
"key": "ndi-organization-identifier-value-1",
"human": "A Swedish organization identifier (sv: organisationsnummer) should follow format 7999000057",
"source": "http://electronichealth.se/fhir/NDI/StructureDefinition/organization-data-access",
"severity": "error",
"expression": "value.matches('^\\\\d{6}\\\\d{4}[%content%]#39;) or system != 'urn:oid:2.5.4.97'"
}
],
"mustSupport": true
},
{
"id": "Organization.identifier:hvoOrganizationalUnitId",
"path": "Organization.identifier",
"sliceName": "hvoOrganizationalUnitId",
"min": 0,
"max": "1",
"mustSupport": true
},
{
"id": "Organization.identifier:hvoOrganizationalUnitId.system",
"path": "Organization.identifier.system",
"min": 1,
"fixedUri": "http://electronichealth.se/identifier/HVO/organization",
"mustSupport": true
},
{
"id": "Organization.identifier:hvoOrganizationalUnitId.value",
"path": "Organization.identifier.value",
"min": 1,
"mustSupport": true
},
{
"id": "Organization.identifier:countryCode",
"path": "Organization.identifier",
"sliceName": "countryCode",
"min": 0,
"max": "1",
"mustSupport": true
},
{
"id": "Organization.identifier:countryCode.system",
"path": "Organization.identifier.system",
"min": 1,
"fixedUri": "urn:iso:std:iso:3166",
"mustSupport": true
},
{
"id": "Organization.identifier:countryCode.value",
"path": "Organization.identifier.value",
"min": 1,
"mustSupport": true,
"binding": {
"strength": "required",
"valueSet": "http://terminology.hl7.org/ValueSet/v3-Country2"
}
},
{
"id": "Organization.identifier:personalIdentityNumber",
"path": "Organization.identifier",
"sliceName": "personalIdentityNumber",
"min": 0,
"max": "1",
"mustSupport": true
},
{
"id": "Organization.identifier:personalIdentityNumber.system",
"path": "Organization.identifier.system",
"min": 1,
"fixedUri": "http://electronichealth.se/identifier/personnummer",
"mustSupport": true
},
{
"id": "Organization.identifier:personalIdentityNumber.value",
"path": "Organization.identifier.value",
"min": 1,
"constraint": [
{
"key": "ndi-personal-identity-number-value-1",
"human": "A Swedish personal identity number (sv: personnummer) should follow format 198001032385",
"source": "http://electronichealth.se/fhir/NDI/StructureDefinition/organization-data-access",
"severity": "error",
"expression": "value.matches('^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(0[1-9]|1[0-2])(0[1-9]|[1-2][0-9]|3[0-1])\\\\d{4}[%content%]#39;) or system != 'http://electronichealth.se/identifier/personnummer'"
}
],
"mustSupport": true
},
{
"id": "Organization.identifier:coordinationNumber",
"path": "Organization.identifier",
"sliceName": "coordinationNumber",
"min": 0,
"max": "1",
"mustSupport": true
},
{
"id": "Organization.identifier:coordinationNumber.system",
"path": "Organization.identifier.system",
"min": 1,
"fixedUri": "http://electronichealth.se/identifier/samordningsnummer",
"mustSupport": true
},
{
"id": "Organization.identifier:coordinationNumber.value",
"path": "Organization.identifier.value",
"min": 1,
"constraint": [
{
"key": "ndi-coordination-number-value-1",
"human": "A Swedish coordination number (sv: samordningsnummer) should follow format 201903682399",
"source": "http://electronichealth.se/fhir/NDI/StructureDefinition/organization-data-access",
"severity": "error",
"expression": "value.matches('^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(0[1-9]|1[0-2])([6-9][1-9])\\\\d{4}[%content%]#39;) or system != 'http://electronichealth.se/identifier/samordningsnummer'"
}
],
"mustSupport": true
}
]
}
}