PackagesCanonicalsLogsProblems
    Packages
    ca.qc.sq.sgrdv@1.2.1
    http://sante.quebec/fhir/StructureDefinition/sgrdv-base-book-source-device
{
  "description": "Spécialisation du Device source pour les demandes de réservation. Embarque la tuile du portail REO via Device.property[tuilePortail] et le lieu Clinique d'origine via Device.owner (logical reference vers Organization).",
  "_filename": "StructureDefinition-sgrdv-base-book-source-device.json",
  "package_name": "ca.qc.sq.sgrdv",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "SGRDVBaseBookSourceDevice",
  "abstract": false,
  "type": "Device",
  "experimental": "true",
  "resourceType": "StructureDefinition",
  "title": "Système source SGRDV pour $book (Base)",
  "package_version": "1.2.1",
  "status": "draft",
  "id": "a56419d0-9a75-4f3b-96be-fac29bc7fb30",
  "kind": "resource",
  "url": "http://sante.quebec/fhir/StructureDefinition/sgrdv-base-book-source-device",
  "version": "1.2.1",
  "differential": {
    "element": [ {
      "id": "Device",
      "path": "Device",
      "constraint": [ {
        "key": "sgrdv-book-device-portail-identifier",
        "human": "Le Device source d'une demande $book doit porter au moins un identifiant émis par le portail RVSQ Réo ou par Votre santé.",
        "source": "http://sante.quebec/fhir/StructureDefinition/sgrdv-base-book-source-device",
        "severity": "error",
        "expression": "identifier.where(system = 'http://sante.quebec/fhir/NamingSystem/RVSQREO' or system = 'http://sante.quebec/fhir/NamingSystem/VOTRESANTE').exists()"
      } ]
    }, {
      "id": "Device.identifier",
      "path": "Device.identifier",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "system",
          "type": "value"
        } ]
      }
    }, {
      "id": "Device.identifier:reo",
      "max": "*",
      "min": 0,
      "path": "Device.identifier",
      "sliceName": "reo"
    }, {
      "id": "Device.identifier:reo.system",
      "min": 1,
      "path": "Device.identifier.system",
      "fixedUri": "http://sante.quebec/fhir/NamingSystem/RVSQREO"
    }, {
      "id": "Device.identifier:votresante",
      "max": "*",
      "min": 0,
      "path": "Device.identifier",
      "sliceName": "votresante"
    }, {
      "id": "Device.identifier:votresante.system",
      "min": 1,
      "path": "Device.identifier.system",
      "fixedUri": "http://sante.quebec/fhir/NamingSystem/VOTRESANTE"
    }, {
      "id": "Device.property",
      "path": "Device.property",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "type",
          "type": "pattern"
        } ]
      }
    }, {
      "id": "Device.property:tuilePortail",
      "max": "1",
      "min": 0,
      "path": "Device.property",
      "sliceName": "tuilePortail",
      "mustSupport": true
    }, {
      "id": "Device.property:tuilePortail.type",
      "path": "Device.property.type",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "tuilePortail",
          "system": "http://sante.quebec/fhir/CodeSystem/sgrdv-device-property-type"
        } ]
      }
    }, {
      "id": "Device.property:tuilePortail.valueCode",
      "max": "1",
      "min": 1,
      "path": "Device.property.valueCode",
      "binding": {
        "strength": "required",
        "valueSet": "http://sante.quebec/fhir/ValueSet/sgrdv-tuile-portail-reo-vs"
      },
      "mustSupport": true
    }, {
      "id": "Device.property:tuilePortail.valueCode.coding",
      "max": "1",
      "min": 1,
      "path": "Device.property.valueCode.coding"
    }, {
      "id": "Device.property:tuilePortail.valueCode.coding.system",
      "path": "Device.property.valueCode.coding.system",
      "fixedUri": "http://sante.quebec/fhir/CodeSystem/sgrdv-tuile-portail-reo"
    }, {
      "id": "Device.property:tuilePortail.valueCode.coding.code",
      "path": "Device.property.valueCode.coding.code",
      "mustSupport": true
    }, {
      "id": "Device.owner",
      "path": "Device.owner",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://sante.quebec/fhir/StructureDefinition/sgrdv-base-find-organization" ]
      } ],
      "mustSupport": true
    }, {
      "id": "Device.owner.reference",
      "max": "0",
      "path": "Device.owner.reference"
    }, {
      "id": "Device.owner.type",
      "path": "Device.owner.type",
      "fixedUri": "Organization"
    }, {
      "id": "Device.owner.identifier",
      "min": 1,
      "path": "Device.owner.identifier"
    }, {
      "id": "Device.owner.identifier.type",
      "min": 1,
      "path": "Device.owner.identifier.type"
    }, {
      "id": "Device.owner.identifier.type.coding",
      "max": "1",
      "min": 1,
      "path": "Device.owner.identifier.type.coding"
    }, {
      "id": "Device.owner.identifier.type.coding.system",
      "path": "Device.owner.identifier.type.coding.system",
      "fixedUri": "http://sante.quebec/fhir/CodeSystem/sgrdv-identifier-type"
    }, {
      "id": "Device.owner.identifier.type.coding.code",
      "path": "Device.owner.identifier.type.coding.code",
      "fixedCode": "CodeEtablissement"
    }, {
      "id": "Device.owner.identifier.system",
      "min": 1,
      "path": "Device.owner.identifier.system"
    }, {
      "id": "Device.owner.identifier.value",
      "min": 1,
      "path": "Device.owner.identifier.value"
    } ]
  },
  "baseDefinition": "http://sante.quebec/fhir/StructureDefinition/sgrdv-base-source-system-device"
}