{
  "resourceType": "StructureDefinition",
  "id": "rr-rules-authoring-agency",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2018-09-29T20:27:06.866+00:00"
  },
  "url": "http://hl7.org/fhir/us/ecr/StructureDefinition/rr-rules-authoring-agency",
  "name": "rr-rules-authoring-agency",
  "title": "Rules Authoring Agency",
  "status": "draft",
  "date": "2018-08-01",
  "description": "The Rules Authoring Agency profile is based on the US Core Organization and sets the type to 'Rules Authoring Agency'. The Rules Authoring Agency is whose rules are being executed in decision support to determine reportability. This may be a State or Local PHA. In the majority of cases the Rules Authoring Agency will be the same as the Responsible Agency. Usually, a Local Public Health Agency will inherit rules from its relevant State agency, but a Local agency can adopt, replace or supplement relevant state rules.",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Organization",
  "baseDefinition": "http://hl7.org/fhir/us/ecr/StructureDefinition/ecr-organization",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Organization",
        "path": "Organization",
        "short": "Rules Authoring Agency",
        "definition": "The Rules Authoring Agency profile is based on the US Core Organization and sets the type to 'Rules Authoring Agency'. The Rules Authoring Agency is whose rules are being executed in decision support to determine reportability. This may be a State or Local PHA. In the majority of cases the Rules Authoring Agency will be the same as the Responsible Agency. Usually, a Local Public Health Agency will inherit rules from its relevant State agency, but a Local agency can adopt, replace or supplement relevant state rules.",
        "min": 1,
        "mustSupport": true,
        "isModifier": false
      },
      {
        "id": "Organization.text",
        "path": "Organization.text",
        "short": "Rules Authoring Agency Description",
        "definition": "Description of the Rules Authoring Agency",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier",
        "path": "Organization.identifier",
        "short": "Rules Authoring Agency Id",
        "mustSupport": true
      },
      {
        "id": "Organization.type",
        "path": "Organization.type",
        "min": 1,
        "max": "1",
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "urn:oid:2.16.840.1.114222.4.5.232",
              "code": "RR12",
              "display": "Rules Authoring Agency"
            }
          ]
        },
        "mustSupport": true,
        "isModifier": false
      },
      {
        "id": "Organization.name",
        "path": "Organization.name",
        "short": "Rules Authoring Agency Name",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.telecom",
        "path": "Organization.telecom",
        "short": "Rules Authoring Agency Contact Information",
        "mustSupport": true
      },
      {
        "id": "Organization.address",
        "path": "Organization.address",
        "short": "Rules Authoring Agency Address",
        "mustSupport": true
      }
    ]
  }
}