{
  "resourceType": "StructureDefinition",
  "id": "CytologyCmntCvxVagCytoImp",
  "url": "http://fhir.org/guides/hspc/StructureDefinition/CytologyCmntCvxVagCytoImp",
  "version": "1.0.0",
  "name": "HSPC CytologyCmntCvxVagCytoImp Profile",
  "status": "draft",
  "date": "2017-05-17",
  "publisher": "Healthcare Services Platform Consortium",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://healthcaresoa.org"
        }
      ]
    }
  ],
  "fhirVersion": "3.0.0",
  "mapping": [
    {
      "identity": "argonaut-dq-dstu2",
      "uri": "http://unknown.org/Argonaut DQ DSTU2",
      "name": "Argonaut DQ DSTU2"
    },
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Mapping"
    },
    {
      "identity": "sct-concept",
      "uri": "http://snomed.info/conceptdomain",
      "name": "SNOMED CT Concept Domain Binding"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    },
    {
      "identity": "sct-attr",
      "uri": "http://snomed.info/sct",
      "name": "SNOMED CT Attribute Binding"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://fhir.org/guides/hspc/StructureDefinition/hspc-stdnarrative",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation:hspcCytologyCmntCvxVagCytoImp",
        "path": "Observation",
        "sliceName": "hspcCytologyCmntCvxVagCytoImp",
        "short": "Measurements and simple assertions",
        "definition": "The HSPC Standard Lab Obs Narrative profile is based on the US Core Observation Results profile.",
        "alias": [
          "Obs"
        ],
        "constraint": [
          {
            "key": "us-core-2",
            "severity": "error",
            "human": "If there is no component or related element then either a value[x] or a data absent reason must be present",
            "expression": "(component.empty() and related.empty()) implies (dataAbsentReason or value)",
            "xpath": "exists(f:component) or exists(f:related) or exists(f:*[starts-with(local-name(.), 'value)]) or exists(f:dataAbsentReason)"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "mapping": [
          {
            "identity": "argonaut-dq-dstu2",
            "map": "Observation"
          }
        ]
      },
      {
        "id": "Observation:uscoreobs.status",
        "path": "Observation.status",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/observation-status"
          }
        },
        "mapping": [
          {
            "identity": "argonaut-dq-dstu2",
            "map": "Observation.status"
          }
        ]
      },
      {
        "id": "Observation:hspcCytologyCmntCvxVagCytoImp.code",
        "path": "Observation.code",
        "short": "Laboratory Test Name",
        "definition": "The test that was performed.  A LOINC **SHALL** be used if the concept is present in LOINC.",
        "comment": "The typical patterns for codes are:  1)  a LOINC code either as a  translation from a \"local\" code or as a primary code, or 2)  a local code only if no suitable LOINC exists,  or 3)  both the local and the LOINC translation.   Systems SHALL be capable of sending the local code if one exists.  When using LOINC , Use either the SHORTNAME or LONG_COMMON_NAME field for the display.",
        "alias": [
          "Test Name",
          "Observation Identifer"
        ],
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "19774-9",
              "display": "Cytology study comment Cervical or vaginal smear or scraping Cyto stain"
            }
          ]
        },
        "mustSupport": true,
        "isModifier": false,
        "binding": {
          "strength": "preferred",
          "description": "The set of LOINC codes for narrative lab tests",
          "valueSetReference": {
            "reference": "http://fhir.org/guides/hspc/ValueSet/NarrativeLabCodes"
          }
        },
        "mapping": [
          {
            "identity": "argonaut-dq-dstu2",
            "map": "Observation.code"
          }
        ]
      },
      {
        "id": "Observation:hspcCytologyCmntCvxVagCytoImp.valueString",
        "path": "Observation.valueString",
        "short": "Result Value",
        "definition": "The Laboratory result value.  If a coded value,  the valueCodeableConcept.code **SHOULD**  be selected from [SNOMED CT](http://hl7.org/fhir/ValueSet/uslab-obs-codedresults).  If a numeric value, valueQuantity.code **SHALL** be selected from [UCUM](http://unitsofmeasure.org).  A FHIR [UCUM Codes value set](http://hl7.org/fhir/STU3/valueset-ucum-units.html) that defines all UCUM codes is in the FHIR specification.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "mapping": [
          {
            "identity": "argonaut-dq-dstu2",
            "map": "Observation.value[x]"
          }
        ]
      },
      {
        "id": "Observation:hspcCytologyCmntCvxVagCytoImp.interpretation",
        "path": "Observation.interpretation",
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "strength": "preferred",
          "description": "The set of codes that describe in what way a lab value is abnormal",
          "valueSetReference": {
            "reference": "http://fhir.org/guides/hspc/ValueSet/hspc-abnInt-CodedNom"
          }
        }
      }
    ]
  }
}