PackagesCanonicalsLogsProblems
    Packages
    se.electronichealth.fhir.merier.r5@0.1.1-alpha
    http://electronichealth.se/fhir/NDI/StructureDefinition/organization-er
{
  "description": "This profile holds information about organizations that can use endpoints.",
  "_filename": "StructureDefinition-organization-er.json",
  "package_name": "se.electronichealth.fhir.merier.r5",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "5.0.0",
  "name": "OrganizationEr",
  "abstract": false,
  "type": "Organization",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "Organization (ER)",
  "package_version": "0.1.1-alpha",
  "status": "active",
  "id": "b8f44bb3-c526-4c90-99f1-ad91aa1240c5",
  "kind": "resource",
  "url": "http://electronichealth.se/fhir/NDI/StructureDefinition/organization-er",
  "version": "0.1.0",
  "differential": {
    "element": [ {
      "id": "Organization.identifier",
      "max": "1",
      "min": 1,
      "path": "Organization.identifier",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "description": "Slice on identifier based on system value",
        "discriminator": [ {
          "path": "system",
          "type": "value"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "Organization.identifier:organizationIdentifier",
      "max": "1",
      "min": 0,
      "path": "Organization.identifier",
      "sliceName": "organizationIdentifier",
      "mustSupport": true
    }, {
      "id": "Organization.identifier:organizationIdentifier.system",
      "min": 1,
      "path": "Organization.identifier.system",
      "fixedUri": "urn:oid:2.5.4.97",
      "mustSupport": true
    }, {
      "id": "Organization.identifier:organizationIdentifier.value",
      "min": 1,
      "path": "Organization.identifier.value",
      "constraint": [ {
        "key": "organization-identifier-value-er-1",
        "human": "A Swedish organization identifier (sv: organisationsnummer) should follow format 7999000057",
        "source": "http://electronichealth.se/fhir/NDI/StructureDefinition/organization-er",
        "severity": "error",
        "expression": "$this.matches('^\\\\d{6}\\\\d{4}$')"
      } ],
      "mustSupport": true
    }, {
      "id": "Organization.identifier:personalIdentityNumber",
      "max": "1",
      "min": 0,
      "path": "Organization.identifier",
      "sliceName": "personalIdentityNumber",
      "mustSupport": true
    }, {
      "id": "Organization.identifier:personalIdentityNumber.system",
      "min": 1,
      "path": "Organization.identifier.system",
      "fixedUri": "http://electronichealth.se/identifier/personnummer",
      "mustSupport": true
    }, {
      "id": "Organization.identifier:personalIdentityNumber.value",
      "min": 1,
      "path": "Organization.identifier.value",
      "constraint": [ {
        "key": "personal-identity-number-value-er-1",
        "human": "A Swedish personal identity number (sv: personnummer) should follow format 198001032385",
        "source": "http://electronichealth.se/fhir/NDI/StructureDefinition/organization-er",
        "severity": "error",
        "expression": "$this.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}$')"
      } ],
      "mustSupport": true
    }, {
      "id": "Organization.identifier:coordinationNumber",
      "max": "1",
      "min": 0,
      "path": "Organization.identifier",
      "sliceName": "coordinationNumber",
      "mustSupport": true
    }, {
      "id": "Organization.identifier:coordinationNumber.system",
      "min": 1,
      "path": "Organization.identifier.system",
      "fixedUri": "http://electronichealth.se/identifier/samordningsnummer",
      "mustSupport": true
    }, {
      "id": "Organization.identifier:coordinationNumber.value",
      "min": 1,
      "path": "Organization.identifier.value",
      "constraint": [ {
        "key": "coordination-number-value-er-1",
        "human": "A Swedish coordination number (sv: samordningsnummer) should follow format 201903682399",
        "source": "http://electronichealth.se/fhir/NDI/StructureDefinition/organization-er",
        "severity": "error",
        "expression": "$this.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}$')"
      } ],
      "mustSupport": true
    }, {
      "id": "Organization.type",
      "max": "1",
      "path": "Organization.type",
      "binding": {
        "strength": "required",
        "valueSet": "http://electronichealth.se/fhir/NDI/ValueSet/er-organization-type"
      },
      "mustSupport": true
    }, {
      "id": "Organization.type.coding",
      "max": "1",
      "min": 1,
      "path": "Organization.type.coding",
      "mustSupport": true
    }, {
      "id": "Organization.type.coding.system",
      "min": 1,
      "path": "Organization.type.coding.system",
      "mustSupport": true
    }, {
      "id": "Organization.type.coding.version",
      "path": "Organization.type.coding.version",
      "mustSupport": true
    }, {
      "id": "Organization.type.coding.code",
      "min": 1,
      "path": "Organization.type.coding.code",
      "mustSupport": true
    }, {
      "id": "Organization.type.coding.display",
      "min": 1,
      "path": "Organization.type.coding.display",
      "mustSupport": true
    }, {
      "id": "Organization.endpoint",
      "path": "Organization.endpoint",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://electronichealth.se/fhir/NDI/StructureDefinition/endpoint-er" ]
      } ],
      "mustSupport": true
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Organization"
}