{
  "resourceType": "StructureDefinition",
  "id": "CytoCervix",
  "url": "http://fhir.org/guides/hspc/StructureDefinition/CytoCervix",
  "name": "HSPC CytoCervix Profile",
  "status": "draft",
  "date": "2017-05-16",
  "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-stdcoded",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation:hspcCytoCervix",
        "path": "Observation",
        "sliceName": "hspcCytoCervix",
        "short": "Measurements and simple assertions",
        "definition": "Measurements and simple assertions made about a patient, device or other subject.",
        "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:hspcCytoCervix.code",
        "path": "Observation.code",
        "short": "Laboratory Test Name",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "10524-7",
              "display": "Microscopic observation [Identifier] in Cervix by Cyto stain"
            }
          ]
        },
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "strength": "preferred",
          "description": "The list of LOINC codes that are used for coded lab tests",
          "valueSetReference": {
            "reference": "http://fhir.org/guides/hspc/ValueSet/CodedLabCodes"
          }
        }
      },
      {
        "id": "Observation:hspcCytoCervix.valueCodeableConcept",
        "path": "Observation.valueCodeableConcept",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Observation:hspcCytoCervix.dataAbsentReason",
        "path": "Observation.dataAbsentReason",
        "min": 0,
        "max": "1",
        "mustSupport": true,
        "isModifier": false,
        "binding": {
          "strength": "preferred",
          "description": "The list of reasons a lab value may be missing",
          "valueSetReference": {
            "reference": "http://fhir.org/guides/hspc/ValueSet/LabNullFlavor"
          }
        }
      },
      {
        "id": "Observation:hspcCytoCervix.interpretation",
        "path": "Observation.interpretation",
        "min": 0,
        "max": "1",
        "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": "ValueSet/abnInt-CodedNom"
          }
        }
      },
      {
        "id": "Observation:hspcCytoCervix.referenceRange",
        "path": "Observation.referenceRange",
        "min": 1,
        "max": "1",
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Observation:hspcCytoCervix.referenceRange.low",
        "path": "Observation.referenceRange.low",
        "min": 0,
        "max": "0",
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Observation:hspcCytoCervix.referenceRange.high",
        "path": "Observation.referenceRange.high",
        "min": 0,
        "max": "0",
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Observation:hspcCytoCervix.referenceRange.type",
        "path": "Observation.referenceRange.meaning",
        "min": 0,
        "max": "0",
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Observation:hspcCytoCervix.referenceRange.age",
        "path": "Observation.referenceRange.age",
        "min": 0,
        "max": "0",
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Observation:hspcCytoCervix.referenceRange.text",
        "path": "Observation.referenceRange.text",
        "min": 1,
        "max": "1",
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      }
    ]
  }
}