PackagesCanonicalsLogsProblems
    Packages
    se.electronichealth.fhir.merier.r5@0.1.0-alpha
    http://electronichealth.se/fhir/meri/StructureDefinition/healthcare-provider-se-meri
{
  "description": "Profile representing a healthcare provider that keeps medical records",
  "_filename": "StructureDefinition-healthcare-provider-se-meri.json",
  "package_name": "se.electronichealth.fhir.merier.r5",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "5.0.0",
  "name": "HealthcareProviderSeMeRI",
  "abstract": false,
  "type": "Organization",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "0.1.0-alpha",
  "status": "retired",
  "id": "07080c66-dde9-4c1f-8e51-69e78c04e063",
  "kind": "resource",
  "url": "http://electronichealth.se/fhir/meri/StructureDefinition/healthcare-provider-se-meri",
  "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": "se-meri-organization-identifier-value-1",
        "human": "A Swedish organization identifier (sv: organisationsnummer) should follow format 799900(-)0057",
        "source": "http://electronichealth.se/fhir/meri/StructureDefinition/healthcare-provider-se-meri",
        "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": "se-meri-personal-identity-number-value-1",
        "human": "A Swedish personal identity number (sv: personnummer) should follow format 19800103(-)2385",
        "source": "http://electronichealth.se/fhir/meri/StructureDefinition/healthcare-provider-se-meri",
        "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
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Organization"
}